referrerpolicy=no-referrer-when-downgrade

westend_runtime/weights/
pallet_referenda_referenda.rs

1// Copyright (C) Parity Technologies (UK) Ltd.
2// This file is part of Polkadot.
3
4// Polkadot is free software: you can redistribute it and/or modify
5// it under the terms of the GNU General Public License as published by
6// the Free Software Foundation, either version 3 of the License, or
7// (at your option) any later version.
8
9// Polkadot is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12// GNU General Public License for more details.
13
14// You should have received a copy of the GNU General Public License
15// along with Polkadot.  If not, see <http://www.gnu.org/licenses/>.
16
17//! Autogenerated weights for `pallet_referenda`
18//!
19//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
20//! DATE: 2023-06-19, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
21//! WORST CASE MAP SIZE: `1000000`
22//! HOSTNAME: `runner-e8ezs4ez-project-163-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
23//! EXECUTION: Some(Wasm), WASM-EXECUTION: Compiled, CHAIN: Some("kusama-dev"), DB CACHE: 1024
24
25// Executed Command:
26// ./target/production/polkadot
27// benchmark
28// pallet
29// --chain=kusama-dev
30// --steps=50
31// --repeat=20
32// --no-storage-info
33// --no-median-slopes
34// --no-min-squares
35// --pallet=pallet_referenda
36// --extrinsic=*
37// --execution=wasm
38// --wasm-execution=compiled
39// --header=./file_header.txt
40// --output=./runtime/kusama/src/weights/
41
42#![cfg_attr(rustfmt, rustfmt_skip)]
43#![allow(unused_parens)]
44#![allow(unused_imports)]
45#![allow(missing_docs)]
46
47use frame_support::{traits::Get, weights::Weight};
48use core::marker::PhantomData;
49
50/// Weight functions for `pallet_referenda`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_referenda::WeightInfo for WeightInfo<T> {
53	/// Storage: Referenda ReferendumCount (r:1 w:1)
54	/// Proof: Referenda ReferendumCount (max_values: Some(1), max_size: Some(4), added: 499, mode: MaxEncodedLen)
55	/// Storage: Scheduler Agenda (r:1 w:1)
56	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
57	/// Storage: Referenda ReferendumInfoFor (r:0 w:1)
58	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
59	fn submit() -> Weight {
60		// Proof Size summary in bytes:
61		//  Measured:  `186`
62		//  Estimated: `42428`
63		// Minimum execution time: 39_146_000 picoseconds.
64		Weight::from_parts(40_383_000, 0)
65			.saturating_add(Weight::from_parts(0, 42428))
66			.saturating_add(T::DbWeight::get().reads(2))
67			.saturating_add(T::DbWeight::get().writes(3))
68	}
69	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
70	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
71	/// Storage: Scheduler Agenda (r:2 w:2)
72	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
73	fn place_decision_deposit_preparing() -> Weight {
74		// Proof Size summary in bytes:
75		//  Measured:  `439`
76		//  Estimated: `83866`
77		// Minimum execution time: 51_385_000 picoseconds.
78		Weight::from_parts(52_701_000, 0)
79			.saturating_add(Weight::from_parts(0, 83866))
80			.saturating_add(T::DbWeight::get().reads(3))
81			.saturating_add(T::DbWeight::get().writes(3))
82	}
83	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
84	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
85	/// Storage: Referenda DecidingCount (r:1 w:0)
86	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
87	/// Storage: Referenda TrackQueue (r:1 w:1)
88	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
89	/// Storage: Scheduler Agenda (r:1 w:1)
90	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
91	fn place_decision_deposit_queued() -> Weight {
92		// Proof Size summary in bytes:
93		//  Measured:  `3196`
94		//  Estimated: `42428`
95		// Minimum execution time: 70_018_000 picoseconds.
96		Weight::from_parts(75_868_000, 0)
97			.saturating_add(Weight::from_parts(0, 42428))
98			.saturating_add(T::DbWeight::get().reads(4))
99			.saturating_add(T::DbWeight::get().writes(3))
100	}
101	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
102	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
103	/// Storage: Referenda DecidingCount (r:1 w:0)
104	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
105	/// Storage: Referenda TrackQueue (r:1 w:1)
106	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
107	/// Storage: Scheduler Agenda (r:1 w:1)
108	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
109	fn place_decision_deposit_not_queued() -> Weight {
110		// Proof Size summary in bytes:
111		//  Measured:  `3216`
112		//  Estimated: `42428`
113		// Minimum execution time: 69_311_000 picoseconds.
114		Weight::from_parts(72_425_000, 0)
115			.saturating_add(Weight::from_parts(0, 42428))
116			.saturating_add(T::DbWeight::get().reads(4))
117			.saturating_add(T::DbWeight::get().writes(3))
118	}
119	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
120	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
121	/// Storage: Referenda DecidingCount (r:1 w:1)
122	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
123	/// Storage: Balances InactiveIssuance (r:1 w:0)
124	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
125	/// Storage: Scheduler Agenda (r:2 w:2)
126	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
127	fn place_decision_deposit_passing() -> Weight {
128		// Proof Size summary in bytes:
129		//  Measured:  `439`
130		//  Estimated: `83866`
131		// Minimum execution time: 64_385_000 picoseconds.
132		Weight::from_parts(66_178_000, 0)
133			.saturating_add(Weight::from_parts(0, 83866))
134			.saturating_add(T::DbWeight::get().reads(5))
135			.saturating_add(T::DbWeight::get().writes(4))
136	}
137	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
138	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
139	/// Storage: Referenda DecidingCount (r:1 w:1)
140	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
141	/// Storage: Balances InactiveIssuance (r:1 w:0)
142	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
143	/// Storage: Scheduler Agenda (r:2 w:2)
144	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
145	fn place_decision_deposit_failing() -> Weight {
146		// Proof Size summary in bytes:
147		//  Measured:  `439`
148		//  Estimated: `83866`
149		// Minimum execution time: 62_200_000 picoseconds.
150		Weight::from_parts(63_782_000, 0)
151			.saturating_add(Weight::from_parts(0, 83866))
152			.saturating_add(T::DbWeight::get().reads(5))
153			.saturating_add(T::DbWeight::get().writes(4))
154	}
155	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
156	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
157	fn refund_decision_deposit() -> Weight {
158		// Proof Size summary in bytes:
159		//  Measured:  `279`
160		//  Estimated: `4401`
161		// Minimum execution time: 29_677_000 picoseconds.
162		Weight::from_parts(30_603_000, 0)
163			.saturating_add(Weight::from_parts(0, 4401))
164			.saturating_add(T::DbWeight::get().reads(1))
165			.saturating_add(T::DbWeight::get().writes(1))
166	}
167	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
168	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
169	fn refund_submission_deposit() -> Weight {
170		// Proof Size summary in bytes:
171		//  Measured:  `269`
172		//  Estimated: `4401`
173		// Minimum execution time: 29_897_000 picoseconds.
174		Weight::from_parts(30_618_000, 0)
175			.saturating_add(Weight::from_parts(0, 4401))
176			.saturating_add(T::DbWeight::get().reads(1))
177			.saturating_add(T::DbWeight::get().writes(1))
178	}
179	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
180	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
181	/// Storage: Scheduler Agenda (r:2 w:2)
182	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
183	fn cancel() -> Weight {
184		// Proof Size summary in bytes:
185		//  Measured:  `347`
186		//  Estimated: `83866`
187		// Minimum execution time: 37_697_000 picoseconds.
188		Weight::from_parts(38_953_000, 0)
189			.saturating_add(Weight::from_parts(0, 83866))
190			.saturating_add(T::DbWeight::get().reads(3))
191			.saturating_add(T::DbWeight::get().writes(3))
192	}
193	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
194	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
195	/// Storage: Scheduler Agenda (r:2 w:2)
196	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
197	/// Storage: Referenda MetadataOf (r:1 w:0)
198	/// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
199	fn kill() -> Weight {
200		// Proof Size summary in bytes:
201		//  Measured:  `588`
202		//  Estimated: `83866`
203		// Minimum execution time: 106_001_000 picoseconds.
204		Weight::from_parts(107_102_000, 0)
205			.saturating_add(Weight::from_parts(0, 83866))
206			.saturating_add(T::DbWeight::get().reads(4))
207			.saturating_add(T::DbWeight::get().writes(3))
208	}
209	/// Storage: Referenda TrackQueue (r:1 w:0)
210	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
211	/// Storage: Referenda DecidingCount (r:1 w:1)
212	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
213	fn one_fewer_deciding_queue_empty() -> Weight {
214		// Proof Size summary in bytes:
215		//  Measured:  `102`
216		//  Estimated: `5477`
217		// Minimum execution time: 8_987_000 picoseconds.
218		Weight::from_parts(9_431_000, 0)
219			.saturating_add(Weight::from_parts(0, 5477))
220			.saturating_add(T::DbWeight::get().reads(2))
221			.saturating_add(T::DbWeight::get().writes(1))
222	}
223	/// Storage: Referenda TrackQueue (r:1 w:1)
224	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
225	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
226	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
227	/// Storage: Balances InactiveIssuance (r:1 w:0)
228	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
229	/// Storage: Scheduler Agenda (r:1 w:1)
230	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
231	fn one_fewer_deciding_failing() -> Weight {
232		// Proof Size summary in bytes:
233		//  Measured:  `3116`
234		//  Estimated: `42428`
235		// Minimum execution time: 55_344_000 picoseconds.
236		Weight::from_parts(58_026_000, 0)
237			.saturating_add(Weight::from_parts(0, 42428))
238			.saturating_add(T::DbWeight::get().reads(4))
239			.saturating_add(T::DbWeight::get().writes(3))
240	}
241	/// Storage: Referenda TrackQueue (r:1 w:1)
242	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
243	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
244	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
245	/// Storage: Balances InactiveIssuance (r:1 w:0)
246	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
247	/// Storage: Scheduler Agenda (r:1 w:1)
248	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
249	fn one_fewer_deciding_passing() -> Weight {
250		// Proof Size summary in bytes:
251		//  Measured:  `3116`
252		//  Estimated: `42428`
253		// Minimum execution time: 57_003_000 picoseconds.
254		Weight::from_parts(60_347_000, 0)
255			.saturating_add(Weight::from_parts(0, 42428))
256			.saturating_add(T::DbWeight::get().reads(4))
257			.saturating_add(T::DbWeight::get().writes(3))
258	}
259	/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
260	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
261	/// Storage: Referenda TrackQueue (r:1 w:1)
262	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
263	fn nudge_referendum_requeued_insertion() -> Weight {
264		// Proof Size summary in bytes:
265		//  Measured:  `2939`
266		//  Estimated: `5477`
267		// Minimum execution time: 23_001_000 picoseconds.
268		Weight::from_parts(24_812_000, 0)
269			.saturating_add(Weight::from_parts(0, 5477))
270			.saturating_add(T::DbWeight::get().reads(2))
271			.saturating_add(T::DbWeight::get().writes(1))
272	}
273	/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
274	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
275	/// Storage: Referenda TrackQueue (r:1 w:1)
276	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
277	fn nudge_referendum_requeued_slide() -> Weight {
278		// Proof Size summary in bytes:
279		//  Measured:  `2939`
280		//  Estimated: `5477`
281		// Minimum execution time: 23_299_000 picoseconds.
282		Weight::from_parts(24_465_000, 0)
283			.saturating_add(Weight::from_parts(0, 5477))
284			.saturating_add(T::DbWeight::get().reads(2))
285			.saturating_add(T::DbWeight::get().writes(1))
286	}
287	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
288	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
289	/// Storage: Referenda DecidingCount (r:1 w:0)
290	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
291	/// Storage: Referenda TrackQueue (r:1 w:1)
292	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
293	fn nudge_referendum_queued() -> Weight {
294		// Proof Size summary in bytes:
295		//  Measured:  `2943`
296		//  Estimated: `5477`
297		// Minimum execution time: 28_223_000 picoseconds.
298		Weight::from_parts(29_664_000, 0)
299			.saturating_add(Weight::from_parts(0, 5477))
300			.saturating_add(T::DbWeight::get().reads(3))
301			.saturating_add(T::DbWeight::get().writes(2))
302	}
303	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
304	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
305	/// Storage: Referenda DecidingCount (r:1 w:0)
306	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
307	/// Storage: Referenda TrackQueue (r:1 w:1)
308	/// Proof: Referenda TrackQueue (max_values: None, max_size: Some(2012), added: 4487, mode: MaxEncodedLen)
309	fn nudge_referendum_not_queued() -> Weight {
310		// Proof Size summary in bytes:
311		//  Measured:  `2963`
312		//  Estimated: `5477`
313		// Minimum execution time: 27_474_000 picoseconds.
314		Weight::from_parts(29_072_000, 0)
315			.saturating_add(Weight::from_parts(0, 5477))
316			.saturating_add(T::DbWeight::get().reads(3))
317			.saturating_add(T::DbWeight::get().writes(2))
318	}
319	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
320	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
321	/// Storage: Scheduler Agenda (r:1 w:1)
322	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
323	fn nudge_referendum_no_deposit() -> Weight {
324		// Proof Size summary in bytes:
325		//  Measured:  `299`
326		//  Estimated: `42428`
327		// Minimum execution time: 24_405_000 picoseconds.
328		Weight::from_parts(25_184_000, 0)
329			.saturating_add(Weight::from_parts(0, 42428))
330			.saturating_add(T::DbWeight::get().reads(2))
331			.saturating_add(T::DbWeight::get().writes(2))
332	}
333	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
334	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
335	/// Storage: Scheduler Agenda (r:1 w:1)
336	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
337	fn nudge_referendum_preparing() -> Weight {
338		// Proof Size summary in bytes:
339		//  Measured:  `347`
340		//  Estimated: `42428`
341		// Minimum execution time: 24_572_000 picoseconds.
342		Weight::from_parts(25_287_000, 0)
343			.saturating_add(Weight::from_parts(0, 42428))
344			.saturating_add(T::DbWeight::get().reads(2))
345			.saturating_add(T::DbWeight::get().writes(2))
346	}
347	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
348	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
349	fn nudge_referendum_timed_out() -> Weight {
350		// Proof Size summary in bytes:
351		//  Measured:  `206`
352		//  Estimated: `4401`
353		// Minimum execution time: 16_042_000 picoseconds.
354		Weight::from_parts(16_610_000, 0)
355			.saturating_add(Weight::from_parts(0, 4401))
356			.saturating_add(T::DbWeight::get().reads(1))
357			.saturating_add(T::DbWeight::get().writes(1))
358	}
359	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
360	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
361	/// Storage: Referenda DecidingCount (r:1 w:1)
362	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
363	/// Storage: Balances InactiveIssuance (r:1 w:0)
364	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
365	/// Storage: Scheduler Agenda (r:1 w:1)
366	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
367	fn nudge_referendum_begin_deciding_failing() -> Weight {
368		// Proof Size summary in bytes:
369		//  Measured:  `347`
370		//  Estimated: `42428`
371		// Minimum execution time: 33_639_000 picoseconds.
372		Weight::from_parts(34_749_000, 0)
373			.saturating_add(Weight::from_parts(0, 42428))
374			.saturating_add(T::DbWeight::get().reads(4))
375			.saturating_add(T::DbWeight::get().writes(3))
376	}
377	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
378	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
379	/// Storage: Referenda DecidingCount (r:1 w:1)
380	/// Proof: Referenda DecidingCount (max_values: None, max_size: Some(14), added: 2489, mode: MaxEncodedLen)
381	/// Storage: Balances InactiveIssuance (r:1 w:0)
382	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
383	/// Storage: Scheduler Agenda (r:1 w:1)
384	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
385	fn nudge_referendum_begin_deciding_passing() -> Weight {
386		// Proof Size summary in bytes:
387		//  Measured:  `347`
388		//  Estimated: `42428`
389		// Minimum execution time: 36_467_000 picoseconds.
390		Weight::from_parts(37_693_000, 0)
391			.saturating_add(Weight::from_parts(0, 42428))
392			.saturating_add(T::DbWeight::get().reads(4))
393			.saturating_add(T::DbWeight::get().writes(3))
394	}
395	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
396	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
397	/// Storage: Balances InactiveIssuance (r:1 w:0)
398	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
399	/// Storage: Scheduler Agenda (r:1 w:1)
400	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
401	fn nudge_referendum_begin_confirming() -> Weight {
402		// Proof Size summary in bytes:
403		//  Measured:  `400`
404		//  Estimated: `42428`
405		// Minimum execution time: 29_857_000 picoseconds.
406		Weight::from_parts(30_840_000, 0)
407			.saturating_add(Weight::from_parts(0, 42428))
408			.saturating_add(T::DbWeight::get().reads(3))
409			.saturating_add(T::DbWeight::get().writes(2))
410	}
411	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
412	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
413	/// Storage: Balances InactiveIssuance (r:1 w:0)
414	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
415	/// Storage: Scheduler Agenda (r:1 w:1)
416	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
417	fn nudge_referendum_end_confirming() -> Weight {
418		// Proof Size summary in bytes:
419		//  Measured:  `383`
420		//  Estimated: `42428`
421		// Minimum execution time: 31_028_000 picoseconds.
422		Weight::from_parts(32_154_000, 0)
423			.saturating_add(Weight::from_parts(0, 42428))
424			.saturating_add(T::DbWeight::get().reads(3))
425			.saturating_add(T::DbWeight::get().writes(2))
426	}
427	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
428	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
429	/// Storage: Balances InactiveIssuance (r:1 w:0)
430	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
431	/// Storage: Scheduler Agenda (r:1 w:1)
432	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
433	fn nudge_referendum_continue_not_confirming() -> Weight {
434		// Proof Size summary in bytes:
435		//  Measured:  `400`
436		//  Estimated: `42428`
437		// Minimum execution time: 28_594_000 picoseconds.
438		Weight::from_parts(29_092_000, 0)
439			.saturating_add(Weight::from_parts(0, 42428))
440			.saturating_add(T::DbWeight::get().reads(3))
441			.saturating_add(T::DbWeight::get().writes(2))
442	}
443	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
444	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
445	/// Storage: Balances InactiveIssuance (r:1 w:0)
446	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
447	/// Storage: Scheduler Agenda (r:1 w:1)
448	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
449	fn nudge_referendum_continue_confirming() -> Weight {
450		// Proof Size summary in bytes:
451		//  Measured:  `404`
452		//  Estimated: `42428`
453		// Minimum execution time: 27_246_000 picoseconds.
454		Weight::from_parts(28_003_000, 0)
455			.saturating_add(Weight::from_parts(0, 42428))
456			.saturating_add(T::DbWeight::get().reads(3))
457			.saturating_add(T::DbWeight::get().writes(2))
458	}
459	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
460	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
461	/// Storage: Balances InactiveIssuance (r:1 w:0)
462	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
463	/// Storage: Scheduler Agenda (r:2 w:2)
464	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
465	/// Storage: Scheduler Lookup (r:1 w:1)
466	/// Proof: Scheduler Lookup (max_values: None, max_size: Some(48), added: 2523, mode: MaxEncodedLen)
467	fn nudge_referendum_approved() -> Weight {
468		// Proof Size summary in bytes:
469		//  Measured:  `404`
470		//  Estimated: `83866`
471		// Minimum execution time: 43_426_000 picoseconds.
472		Weight::from_parts(44_917_000, 0)
473			.saturating_add(Weight::from_parts(0, 83866))
474			.saturating_add(T::DbWeight::get().reads(5))
475			.saturating_add(T::DbWeight::get().writes(4))
476	}
477	/// Storage: Referenda ReferendumInfoFor (r:1 w:1)
478	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
479	/// Storage: Balances InactiveIssuance (r:1 w:0)
480	/// Proof: Balances InactiveIssuance (max_values: Some(1), max_size: Some(16), added: 511, mode: MaxEncodedLen)
481	/// Storage: Scheduler Agenda (r:1 w:1)
482	/// Proof: Scheduler Agenda (max_values: None, max_size: Some(38963), added: 41438, mode: MaxEncodedLen)
483	fn nudge_referendum_rejected() -> Weight {
484		// Proof Size summary in bytes:
485		//  Measured:  `400`
486		//  Estimated: `42428`
487		// Minimum execution time: 30_285_000 picoseconds.
488		Weight::from_parts(31_575_000, 0)
489			.saturating_add(Weight::from_parts(0, 42428))
490			.saturating_add(T::DbWeight::get().reads(3))
491			.saturating_add(T::DbWeight::get().writes(2))
492	}
493	/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
494	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
495	/// Storage: Preimage StatusFor (r:1 w:0)
496	/// Proof: Preimage StatusFor (max_values: None, max_size: Some(91), added: 2566, mode: MaxEncodedLen)
497	/// Storage: Referenda MetadataOf (r:0 w:1)
498	/// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
499	fn set_some_metadata() -> Weight {
500		// Proof Size summary in bytes:
501		//  Measured:  `350`
502		//  Estimated: `4401`
503		// Minimum execution time: 19_254_000 picoseconds.
504		Weight::from_parts(19_855_000, 0)
505			.saturating_add(Weight::from_parts(0, 4401))
506			.saturating_add(T::DbWeight::get().reads(2))
507			.saturating_add(T::DbWeight::get().writes(1))
508	}
509	/// Storage: Referenda ReferendumInfoFor (r:1 w:0)
510	/// Proof: Referenda ReferendumInfoFor (max_values: None, max_size: Some(936), added: 3411, mode: MaxEncodedLen)
511	/// Storage: Referenda MetadataOf (r:1 w:1)
512	/// Proof: Referenda MetadataOf (max_values: None, max_size: Some(52), added: 2527, mode: MaxEncodedLen)
513	fn clear_metadata() -> Weight {
514		// Proof Size summary in bytes:
515		//  Measured:  `283`
516		//  Estimated: `4401`
517		// Minimum execution time: 16_957_000 picoseconds.
518		Weight::from_parts(17_556_000, 0)
519			.saturating_add(Weight::from_parts(0, 4401))
520			.saturating_add(T::DbWeight::get().reads(2))
521			.saturating_add(T::DbWeight::get().writes(1))
522	}
523}