common_runtime/weights/
pallet_collective_technical_committee.rs

1//! Autogenerated weights for pallet_collective
2//!
3//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0
4//! DATE: 2025-08-20, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
5//! WORST CASE MAP SIZE: `1000000`
6//! HOSTNAME: `ip-10-173-5-194`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
7//! EXECUTION: , WASM-EXECUTION: Compiled, CHAIN: None, DB CACHE: 1024
8
9// Executed Command:
10// ./scripts/../target/release/frequency
11// benchmark
12// pallet
13// --pallet=pallet_collective
14// --extrinsic
15// *
16// --heap-pages=4096
17// --steps=50
18// --repeat=20
19// --output=./scripts/../runtime/common/src/weights
20// --template=./scripts/../.maintain/runtime-weight-template.hbs
21// --additional-trie-layers=3
22// --runtime=./scripts/../target/release/wbuild/frequency-runtime/frequency_runtime.wasm
23// --genesis-builder=runtime
24
25#![cfg_attr(rustfmt, rustfmt_skip)]
26#![allow(unused_parens)]
27#![allow(unused_imports)]
28#![allow(missing_docs)]
29
30use frame_support::{traits::Get, weights::Weight};
31use core::marker::PhantomData;
32
33/// Weights for `pallet_collective` using the Substrate node and recommended hardware.
34pub struct SubstrateWeight<T>(PhantomData<T>);
35impl<T: frame_system::Config> pallet_collective::WeightInfo for SubstrateWeight<T> {
36	/// Storage: `TechnicalCommittee::Members` (r:1 w:1)
37	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
38	/// Storage: `TechnicalCommittee::Proposals` (r:1 w:0)
39	/// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
40	/// Storage: `TechnicalCommittee::Voting` (r:25 w:25)
41	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
42	/// Storage: `TechnicalCommittee::Prime` (r:0 w:1)
43	/// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
44	/// The range of component `m` is `[0, 10]`.
45	/// The range of component `n` is `[0, 10]`.
46	/// The range of component `p` is `[0, 25]`.
47	/// The range of component `m` is `[0, 10]`.
48	/// The range of component `n` is `[0, 10]`.
49	/// The range of component `p` is `[0, 25]`.
50	fn set_members(m: u32, _n: u32, p: u32, ) -> Weight {
51		// Proof Size summary in bytes:
52		//  Measured:  `0 + m * (832 ±0) + p * (310 ±0)`
53		//  Estimated: `4751 + m * (489 ±5) + p * (2615 ±2)`
54		// Minimum execution time: 8_159_000 picoseconds.
55		Weight::from_parts(8_442_000, 4751)
56			// Standard Error: 105_200
57			.saturating_add(Weight::from_parts(3_605_594, 0).saturating_mul(m.into()))
58			// Standard Error: 42_749
59			.saturating_add(Weight::from_parts(4_022_602, 0).saturating_mul(p.into()))
60			.saturating_add(T::DbWeight::get().reads(2_u64))
61			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(p.into())))
62			.saturating_add(T::DbWeight::get().writes(2_u64))
63			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(p.into())))
64			.saturating_add(Weight::from_parts(0, 489).saturating_mul(m.into()))
65			.saturating_add(Weight::from_parts(0, 2615).saturating_mul(p.into()))
66	}
67	/// Storage: `TechnicalCommittee::Members` (r:1 w:0)
68	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
69	/// The range of component `b` is `[2, 1024]`.
70	/// The range of component `m` is `[1, 10]`.
71	/// The range of component `b` is `[2, 1024]`.
72	/// The range of component `m` is `[1, 10]`.
73	fn execute(b: u32, m: u32, ) -> Weight {
74		// Proof Size summary in bytes:
75		//  Measured:  `32 + m * (32 ±0)`
76		//  Estimated: `2011 + m * (32 ±0)`
77		// Minimum execution time: 12_503_000 picoseconds.
78		Weight::from_parts(12_950_138, 2011)
79			// Standard Error: 22
80			.saturating_add(Weight::from_parts(1_489, 0).saturating_mul(b.into()))
81			// Standard Error: 2_369
82			.saturating_add(Weight::from_parts(19_696, 0).saturating_mul(m.into()))
83			.saturating_add(T::DbWeight::get().reads(1_u64))
84			.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
85	}
86	/// Storage: `TechnicalCommittee::Members` (r:1 w:0)
87	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
88	/// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0)
89	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
90	/// The range of component `b` is `[2, 1024]`.
91	/// The range of component `m` is `[1, 10]`.
92	/// The range of component `b` is `[2, 1024]`.
93	/// The range of component `m` is `[1, 10]`.
94	fn propose_execute(b: u32, m: u32, ) -> Weight {
95		// Proof Size summary in bytes:
96		//  Measured:  `32 + m * (32 ±0)`
97		//  Estimated: `3991 + m * (32 ±0)`
98		// Minimum execution time: 15_458_000 picoseconds.
99		Weight::from_parts(15_818_151, 3991)
100			// Standard Error: 27
101			.saturating_add(Weight::from_parts(1_516, 0).saturating_mul(b.into()))
102			// Standard Error: 2_889
103			.saturating_add(Weight::from_parts(31_347, 0).saturating_mul(m.into()))
104			.saturating_add(T::DbWeight::get().reads(2_u64))
105			.saturating_add(Weight::from_parts(0, 32).saturating_mul(m.into()))
106	}
107	/// Storage: `TechnicalCommittee::Members` (r:1 w:0)
108	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
109	/// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1)
110	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
111	/// Storage: `TechnicalCommittee::Proposals` (r:1 w:1)
112	/// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
113	/// Storage: `TechnicalCommittee::ProposalCount` (r:1 w:1)
114	/// Proof: `TechnicalCommittee::ProposalCount` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
115	/// Storage: `TechnicalCommittee::Voting` (r:0 w:1)
116	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
117	/// The range of component `b` is `[2, 1024]`.
118	/// The range of component `m` is `[2, 10]`.
119	/// The range of component `p` is `[1, 25]`.
120	/// The range of component `b` is `[2, 1024]`.
121	/// The range of component `m` is `[2, 10]`.
122	/// The range of component `p` is `[1, 25]`.
123	fn propose_proposed(b: u32, m: u32, p: u32, ) -> Weight {
124		// Proof Size summary in bytes:
125		//  Measured:  `75 + m * (32 ±0) + p * (51 ±0)`
126		//  Estimated: `3987 + m * (42 ±0) + p * (49 ±0)`
127		// Minimum execution time: 20_982_000 picoseconds.
128		Weight::from_parts(21_407_686, 3987)
129			// Standard Error: 101
130			.saturating_add(Weight::from_parts(2_659, 0).saturating_mul(b.into()))
131			// Standard Error: 12_005
132			.saturating_add(Weight::from_parts(212_901, 0).saturating_mul(m.into()))
133			// Standard Error: 4_189
134			.saturating_add(Weight::from_parts(341_532, 0).saturating_mul(p.into()))
135			.saturating_add(T::DbWeight::get().reads(4_u64))
136			.saturating_add(T::DbWeight::get().writes(4_u64))
137			.saturating_add(Weight::from_parts(0, 42).saturating_mul(m.into()))
138			.saturating_add(Weight::from_parts(0, 49).saturating_mul(p.into()))
139	}
140	/// Storage: `TechnicalCommittee::Members` (r:1 w:0)
141	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
142	/// Storage: `TechnicalCommittee::Voting` (r:1 w:1)
143	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
144	/// The range of component `m` is `[5, 10]`.
145	/// The range of component `m` is `[5, 10]`.
146	fn vote(m: u32, ) -> Weight {
147		// Proof Size summary in bytes:
148		//  Measured:  `533 + m * (64 ±0)`
149		//  Estimated: `4493 + m * (64 ±0)`
150		// Minimum execution time: 21_453_000 picoseconds.
151		Weight::from_parts(21_936_959, 4493)
152			// Standard Error: 6_210
153			.saturating_add(Weight::from_parts(135_205, 0).saturating_mul(m.into()))
154			.saturating_add(T::DbWeight::get().reads(2_u64))
155			.saturating_add(T::DbWeight::get().writes(1_u64))
156			.saturating_add(Weight::from_parts(0, 64).saturating_mul(m.into()))
157	}
158	/// Storage: `TechnicalCommittee::Voting` (r:1 w:1)
159	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
160	/// Storage: `TechnicalCommittee::Members` (r:1 w:0)
161	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
162	/// Storage: `TechnicalCommittee::Proposals` (r:1 w:1)
163	/// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
164	/// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1)
165	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
166	/// The range of component `m` is `[4, 10]`.
167	/// The range of component `p` is `[1, 25]`.
168	/// The range of component `m` is `[4, 10]`.
169	/// The range of component `p` is `[1, 25]`.
170	fn close_early_disapproved(m: u32, p: u32, ) -> Weight {
171		// Proof Size summary in bytes:
172		//  Measured:  `3 + m * (64 ±0) + p * (54 ±0)`
173		//  Estimated: `3981 + m * (80 ±0) + p * (50 ±0)`
174		// Minimum execution time: 24_366_000 picoseconds.
175		Weight::from_parts(24_334_025, 3981)
176			// Standard Error: 9_684
177			.saturating_add(Weight::from_parts(199_680, 0).saturating_mul(m.into()))
178			// Standard Error: 2_583
179			.saturating_add(Weight::from_parts(264_462, 0).saturating_mul(p.into()))
180			.saturating_add(T::DbWeight::get().reads(3_u64))
181			.saturating_add(T::DbWeight::get().writes(3_u64))
182			.saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into()))
183			.saturating_add(Weight::from_parts(0, 50).saturating_mul(p.into()))
184	}
185	/// Storage: `TechnicalCommittee::Voting` (r:1 w:1)
186	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
187	/// Storage: `TechnicalCommittee::Members` (r:1 w:0)
188	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
189	/// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1)
190	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
191	/// Storage: `TechnicalCommittee::Proposals` (r:1 w:1)
192	/// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
193	/// The range of component `b` is `[2, 1024]`.
194	/// The range of component `m` is `[4, 10]`.
195	/// The range of component `p` is `[1, 25]`.
196	/// The range of component `b` is `[2, 1024]`.
197	/// The range of component `m` is `[4, 10]`.
198	/// The range of component `p` is `[1, 25]`.
199	fn close_early_approved(b: u32, m: u32, p: u32, ) -> Weight {
200		// Proof Size summary in bytes:
201		//  Measured:  `34 + b * (1 ±0) + m * (64 ±0) + p * (72 ±0)`
202		//  Estimated: `3987 + b * (1 ±0) + m * (85 ±1) + p * (65 ±0)`
203		// Minimum execution time: 34_469_000 picoseconds.
204		Weight::from_parts(30_714_400, 3987)
205			// Standard Error: 169
206			.saturating_add(Weight::from_parts(2_954, 0).saturating_mul(b.into()))
207			// Standard Error: 26_122
208			.saturating_add(Weight::from_parts(265_192, 0).saturating_mul(m.into()))
209			// Standard Error: 6_988
210			.saturating_add(Weight::from_parts(465_973, 0).saturating_mul(p.into()))
211			.saturating_add(T::DbWeight::get().reads(4_u64))
212			.saturating_add(T::DbWeight::get().writes(3_u64))
213			.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
214			.saturating_add(Weight::from_parts(0, 85).saturating_mul(m.into()))
215			.saturating_add(Weight::from_parts(0, 65).saturating_mul(p.into()))
216	}
217	/// Storage: `TechnicalCommittee::Voting` (r:1 w:1)
218	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
219	/// Storage: `TechnicalCommittee::Members` (r:1 w:0)
220	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
221	/// Storage: `TechnicalCommittee::Prime` (r:1 w:0)
222	/// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
223	/// Storage: `TechnicalCommittee::Proposals` (r:1 w:1)
224	/// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
225	/// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1)
226	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
227	/// The range of component `m` is `[4, 10]`.
228	/// The range of component `p` is `[1, 25]`.
229	/// The range of component `m` is `[4, 10]`.
230	/// The range of component `p` is `[1, 25]`.
231	fn close_disapproved(m: u32, p: u32, ) -> Weight {
232		// Proof Size summary in bytes:
233		//  Measured:  `23 + m * (64 ±0) + p * (54 ±0)`
234		//  Estimated: `4001 + m * (80 ±0) + p * (50 ±0)`
235		// Minimum execution time: 26_486_000 picoseconds.
236		Weight::from_parts(26_453_900, 4001)
237			// Standard Error: 9_686
238			.saturating_add(Weight::from_parts(222_574, 0).saturating_mul(m.into()))
239			// Standard Error: 2_583
240			.saturating_add(Weight::from_parts(261_744, 0).saturating_mul(p.into()))
241			.saturating_add(T::DbWeight::get().reads(4_u64))
242			.saturating_add(T::DbWeight::get().writes(3_u64))
243			.saturating_add(Weight::from_parts(0, 80).saturating_mul(m.into()))
244			.saturating_add(Weight::from_parts(0, 50).saturating_mul(p.into()))
245	}
246	/// Storage: `TechnicalCommittee::Voting` (r:1 w:1)
247	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
248	/// Storage: `TechnicalCommittee::Members` (r:1 w:0)
249	/// Proof: `TechnicalCommittee::Members` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
250	/// Storage: `TechnicalCommittee::Prime` (r:1 w:0)
251	/// Proof: `TechnicalCommittee::Prime` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
252	/// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1)
253	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
254	/// Storage: `TechnicalCommittee::Proposals` (r:1 w:1)
255	/// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
256	/// The range of component `b` is `[2, 1024]`.
257	/// The range of component `m` is `[4, 10]`.
258	/// The range of component `p` is `[1, 25]`.
259	/// The range of component `b` is `[2, 1024]`.
260	/// The range of component `m` is `[4, 10]`.
261	/// The range of component `p` is `[1, 25]`.
262	fn close_approved(b: u32, m: u32, p: u32, ) -> Weight {
263		// Proof Size summary in bytes:
264		//  Measured:  `54 + b * (1 ±0) + m * (64 ±0) + p * (72 ±0)`
265		//  Estimated: `4007 + b * (1 ±0) + m * (85 ±1) + p * (65 ±0)`
266		// Minimum execution time: 36_568_000 picoseconds.
267		Weight::from_parts(34_963_750, 4007)
268			// Standard Error: 92
269			.saturating_add(Weight::from_parts(2_271, 0).saturating_mul(b.into()))
270			// Standard Error: 14_235
271			.saturating_add(Weight::from_parts(176_761, 0).saturating_mul(m.into()))
272			// Standard Error: 3_808
273			.saturating_add(Weight::from_parts(447_692, 0).saturating_mul(p.into()))
274			.saturating_add(T::DbWeight::get().reads(5_u64))
275			.saturating_add(T::DbWeight::get().writes(3_u64))
276			.saturating_add(Weight::from_parts(0, 1).saturating_mul(b.into()))
277			.saturating_add(Weight::from_parts(0, 85).saturating_mul(m.into()))
278			.saturating_add(Weight::from_parts(0, 65).saturating_mul(p.into()))
279	}
280	/// Storage: `TechnicalCommittee::Proposals` (r:1 w:1)
281	/// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
282	/// Storage: `TechnicalCommittee::Voting` (r:0 w:1)
283	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
284	/// Storage: `TechnicalCommittee::ProposalOf` (r:0 w:1)
285	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
286	/// The range of component `p` is `[1, 25]`.
287	/// The range of component `p` is `[1, 25]`.
288	fn disapprove_proposal(p: u32, ) -> Weight {
289		// Proof Size summary in bytes:
290		//  Measured:  `188 + p * (32 ±0)`
291		//  Estimated: `2168 + p * (32 ±0)`
292		// Minimum execution time: 13_281_000 picoseconds.
293		Weight::from_parts(14_099_406, 2168)
294			// Standard Error: 1_293
295			.saturating_add(Weight::from_parts(219_860, 0).saturating_mul(p.into()))
296			.saturating_add(T::DbWeight::get().reads(1_u64))
297			.saturating_add(T::DbWeight::get().writes(3_u64))
298			.saturating_add(Weight::from_parts(0, 32).saturating_mul(p.into()))
299	}
300	/// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:1)
301	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
302	/// Storage: `TechnicalCommittee::CostOf` (r:1 w:0)
303	/// Proof: `TechnicalCommittee::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
304	/// Storage: `TechnicalCommittee::Proposals` (r:1 w:1)
305	/// Proof: `TechnicalCommittee::Proposals` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
306	/// Storage: `TechnicalCommittee::Voting` (r:0 w:1)
307	/// Proof: `TechnicalCommittee::Voting` (`max_values`: None, `max_size`: None, mode: `Measured`)
308	/// The range of component `d` is `[0, 1]`.
309	/// The range of component `p` is `[1, 25]`.
310	/// The range of component `d` is `[0, 1]`.
311	/// The range of component `p` is `[1, 25]`.
312	fn kill(d: u32, p: u32, ) -> Weight {
313		// Proof Size summary in bytes:
314		//  Measured:  `1147 + p * (52 ±0)`
315		//  Estimated: `5152 + d * (88 ±2) + p * (51 ±0)`
316		// Minimum execution time: 21_750_000 picoseconds.
317		Weight::from_parts(22_650_876, 5152)
318			// Standard Error: 41_435
319			.saturating_add(Weight::from_parts(365_525, 0).saturating_mul(d.into()))
320			// Standard Error: 2_572
321			.saturating_add(Weight::from_parts(318_146, 0).saturating_mul(p.into()))
322			.saturating_add(T::DbWeight::get().reads(3_u64))
323			.saturating_add(T::DbWeight::get().writes(3_u64))
324			.saturating_add(Weight::from_parts(0, 88).saturating_mul(d.into()))
325			.saturating_add(Weight::from_parts(0, 51).saturating_mul(p.into()))
326	}
327	/// Storage: `TechnicalCommittee::ProposalOf` (r:1 w:0)
328	/// Proof: `TechnicalCommittee::ProposalOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
329	/// Storage: `TechnicalCommittee::CostOf` (r:1 w:0)
330	/// Proof: `TechnicalCommittee::CostOf` (`max_values`: None, `max_size`: None, mode: `Measured`)
331	fn release_proposal_cost() -> Weight {
332		// Proof Size summary in bytes:
333		//  Measured:  `637`
334		//  Estimated: `4597`
335		// Minimum execution time: 14_006_000 picoseconds.
336		Weight::from_parts(14_575_000, 4597)
337			.saturating_add(T::DbWeight::get().reads(2_u64))
338	}
339}
340
341
342#[cfg(test)]
343mod tests {
344  use frame_support::{traits::Get, weights::Weight, dispatch::DispatchClass};
345  use crate::constants::{MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO};
346  use crate::weights::extrinsic_weights::ExtrinsicBaseWeight;
347
348  #[allow(dead_code)]
349  struct BlockWeights;
350  impl Get<frame_system::limits::BlockWeights> for BlockWeights {
351  	fn get() -> frame_system::limits::BlockWeights {
352  		frame_system::limits::BlockWeights::builder()
353  			.base_block(Weight::zero())
354  			.for_class(DispatchClass::all(), |weights| {
355  				weights.base_extrinsic = ExtrinsicBaseWeight::get();
356  			})
357  			.for_class(DispatchClass::non_mandatory(), |weights| {
358  				weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);
359  			})
360  			.build_or_panic()
361  	}
362  }
363
364	#[test]
365	fn test_set_members() {
366		assert!(
367			BlockWeights::get()
368				.per_class
369				.get(frame_support::dispatch::DispatchClass::Normal)
370				.max_extrinsic
371				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
372				.proof_size()
373				> 4751
374		);
375	}
376	#[test]
377	fn test_execute() {
378		assert!(
379			BlockWeights::get()
380				.per_class
381				.get(frame_support::dispatch::DispatchClass::Normal)
382				.max_extrinsic
383				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
384				.proof_size()
385				> 2011
386		);
387	}
388	#[test]
389	fn test_propose_execute() {
390		assert!(
391			BlockWeights::get()
392				.per_class
393				.get(frame_support::dispatch::DispatchClass::Normal)
394				.max_extrinsic
395				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
396				.proof_size()
397				> 3991
398		);
399	}
400	#[test]
401	fn test_propose_proposed() {
402		assert!(
403			BlockWeights::get()
404				.per_class
405				.get(frame_support::dispatch::DispatchClass::Normal)
406				.max_extrinsic
407				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
408				.proof_size()
409				> 3987
410		);
411	}
412	#[test]
413	fn test_vote() {
414		assert!(
415			BlockWeights::get()
416				.per_class
417				.get(frame_support::dispatch::DispatchClass::Normal)
418				.max_extrinsic
419				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
420				.proof_size()
421				> 4493
422		);
423	}
424	#[test]
425	fn test_close_early_disapproved() {
426		assert!(
427			BlockWeights::get()
428				.per_class
429				.get(frame_support::dispatch::DispatchClass::Normal)
430				.max_extrinsic
431				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
432				.proof_size()
433				> 3981
434		);
435	}
436	#[test]
437	fn test_close_early_approved() {
438		assert!(
439			BlockWeights::get()
440				.per_class
441				.get(frame_support::dispatch::DispatchClass::Normal)
442				.max_extrinsic
443				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
444				.proof_size()
445				> 3987
446		);
447	}
448	#[test]
449	fn test_close_disapproved() {
450		assert!(
451			BlockWeights::get()
452				.per_class
453				.get(frame_support::dispatch::DispatchClass::Normal)
454				.max_extrinsic
455				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
456				.proof_size()
457				> 4001
458		);
459	}
460	#[test]
461	fn test_close_approved() {
462		assert!(
463			BlockWeights::get()
464				.per_class
465				.get(frame_support::dispatch::DispatchClass::Normal)
466				.max_extrinsic
467				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
468				.proof_size()
469				> 4007
470		);
471	}
472	#[test]
473	fn test_disapprove_proposal() {
474		assert!(
475			BlockWeights::get()
476				.per_class
477				.get(frame_support::dispatch::DispatchClass::Normal)
478				.max_extrinsic
479				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
480				.proof_size()
481				> 2168
482		);
483	}
484	#[test]
485	fn test_kill() {
486		assert!(
487			BlockWeights::get()
488				.per_class
489				.get(frame_support::dispatch::DispatchClass::Normal)
490				.max_extrinsic
491				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
492				.proof_size()
493				> 5152
494		);
495	}
496	#[test]
497	fn test_release_proposal_cost() {
498		assert!(
499			BlockWeights::get()
500				.per_class
501				.get(frame_support::dispatch::DispatchClass::Normal)
502				.max_extrinsic
503				.unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
504				.proof_size()
505				> 4597
506		);
507	}
508}