pallet_time_release/weights.rs
1
2//! Autogenerated weights for `pallet_time_release`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 49.1.0
5//! DATE: 2025-08-20, STEPS: `20`, REPEAT: `10`, LOW RANGE: `[]`, HIGH RANGE: `[]`
6//! WORST CASE MAP SIZE: `1000000`
7//! HOSTNAME: `ip-10-173-5-194`, CPU: `Intel(R) Xeon(R) Platinum 8375C CPU @ 2.90GHz`
8//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
9
10// Executed Command:
11// ./scripts/../target/release/frequency
12// benchmark
13// pallet
14// --pallet=pallet_time-release
15// --extrinsic
16// *
17// --heap-pages=4096
18// --steps=20
19// --repeat=10
20// --output=./scripts/../pallets/time-release/src/weights.rs
21// --template=./scripts/../.maintain/frame-weight-template.hbs
22// --additional-trie-layers=3
23// --runtime=./scripts/../target/release/wbuild/frequency-runtime/frequency_runtime.wasm
24// --genesis-builder=runtime
25
26#![cfg_attr(rustfmt, rustfmt_skip)]
27#![allow(unused_parens)]
28#![allow(unused_imports)]
29#![allow(missing_docs)]
30
31use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
32use core::marker::PhantomData;
33
34/// Weight functions needed for `pallet_time_release`.
35pub trait WeightInfo {
36 fn transfer() -> Weight;
37 fn schedule_named_transfer() -> Weight;
38 fn execute_scheduled_named_transfer() -> Weight;
39 fn claim(i: u32, ) -> Weight;
40 fn update_release_schedules(i: u32, ) -> Weight;
41 fn cancel_scheduled_named_transfer(i: u32, ) -> Weight;
42}
43
44/// Weights for `pallet_time_release` using the Substrate node and recommended hardware.
45pub struct SubstrateWeight<T>(PhantomData<T>);
46impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
47 /// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
48 /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
49 /// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
50 /// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
51 /// Storage: `TimeRelease::ReleaseSchedules` (r:1 w:1)
52 /// Proof: `TimeRelease::ReleaseSchedules` (`max_values`: None, `max_size`: Some(1449), added: 3924, mode: `MaxEncodedLen`)
53 /// Storage: `System::Account` (r:1 w:1)
54 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
55 /// Storage: `Balances::Freezes` (r:1 w:1)
56 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
57 /// Storage: `Balances::Locks` (r:1 w:0)
58 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
59 fn transfer() -> Weight {
60 // Proof Size summary in bytes:
61 // Measured: `148`
62 // Estimated: `5409`
63 // Minimum execution time: 77_759_000 picoseconds.
64 Weight::from_parts(80_025_000, 5409)
65 .saturating_add(T::DbWeight::get().reads(6_u64))
66 .saturating_add(T::DbWeight::get().writes(3_u64))
67 }
68 /// Storage: `TimeRelease::ScheduleReservedAmounts` (r:1 w:1)
69 /// Proof: `TimeRelease::ScheduleReservedAmounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`)
70 /// Storage: `Balances::Holds` (r:1 w:1)
71 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
72 /// Storage: `Scheduler::Lookup` (r:1 w:1)
73 /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
74 /// Storage: `Scheduler::Agenda` (r:1 w:1)
75 /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`)
76 fn schedule_named_transfer() -> Weight {
77 // Proof Size summary in bytes:
78 // Measured: `148`
79 // Estimated: `42923`
80 // Minimum execution time: 62_403_000 picoseconds.
81 Weight::from_parts(63_729_000, 42923)
82 .saturating_add(T::DbWeight::get().reads(4_u64))
83 .saturating_add(T::DbWeight::get().writes(4_u64))
84 }
85 /// Storage: `Balances::Holds` (r:1 w:1)
86 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
87 /// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
88 /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
89 /// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
90 /// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
91 /// Storage: `TimeRelease::ReleaseSchedules` (r:1 w:1)
92 /// Proof: `TimeRelease::ReleaseSchedules` (`max_values`: None, `max_size`: Some(1449), added: 3924, mode: `MaxEncodedLen`)
93 /// Storage: `System::Account` (r:1 w:1)
94 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
95 /// Storage: `Balances::Freezes` (r:1 w:1)
96 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
97 /// Storage: `Balances::Locks` (r:1 w:0)
98 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
99 /// Storage: `TimeRelease::ScheduleReservedAmounts` (r:0 w:1)
100 /// Proof: `TimeRelease::ScheduleReservedAmounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`)
101 fn execute_scheduled_named_transfer() -> Weight {
102 // Proof Size summary in bytes:
103 // Measured: `203`
104 // Estimated: `5409`
105 // Minimum execution time: 80_484_000 picoseconds.
106 Weight::from_parts(83_178_000, 5409)
107 .saturating_add(T::DbWeight::get().reads(7_u64))
108 .saturating_add(T::DbWeight::get().writes(5_u64))
109 }
110 /// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
111 /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
112 /// Storage: `TimeRelease::ReleaseSchedules` (r:1 w:1)
113 /// Proof: `TimeRelease::ReleaseSchedules` (`max_values`: None, `max_size`: Some(1449), added: 3924, mode: `MaxEncodedLen`)
114 /// Storage: `Balances::Freezes` (r:1 w:1)
115 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
116 /// Storage: `Balances::Locks` (r:1 w:0)
117 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
118 /// The range of component `i` is `[1, 50]`.
119 fn claim(i: u32, ) -> Weight {
120 // Proof Size summary in bytes:
121 // Measured: `208 + i * (16 ±0)`
122 // Estimated: `5409 + i * (16 ±0)`
123 // Minimum execution time: 37_137_000 picoseconds.
124 Weight::from_parts(38_928_525, 5409)
125 // Standard Error: 3_189
126 .saturating_add(Weight::from_parts(50_050, 0).saturating_mul(i.into()))
127 .saturating_add(T::DbWeight::get().reads(4_u64))
128 .saturating_add(T::DbWeight::get().writes(2_u64))
129 .saturating_add(Weight::from_parts(0, 16).saturating_mul(i.into()))
130 }
131 /// Storage: `System::Account` (r:1 w:1)
132 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
133 /// Storage: `Balances::Freezes` (r:1 w:1)
134 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
135 /// Storage: `Balances::Locks` (r:1 w:0)
136 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
137 /// Storage: `TimeRelease::ReleaseSchedules` (r:0 w:1)
138 /// Proof: `TimeRelease::ReleaseSchedules` (`max_values`: None, `max_size`: Some(1449), added: 3924, mode: `MaxEncodedLen`)
139 /// The range of component `i` is `[1, 50]`.
140 fn update_release_schedules(i: u32, ) -> Weight {
141 // Proof Size summary in bytes:
142 // Measured: `141`
143 // Estimated: `5259`
144 // Minimum execution time: 31_228_000 picoseconds.
145 Weight::from_parts(31_931_090, 5259)
146 // Standard Error: 4_346
147 .saturating_add(Weight::from_parts(54_528, 0).saturating_mul(i.into()))
148 .saturating_add(T::DbWeight::get().reads(3_u64))
149 .saturating_add(T::DbWeight::get().writes(3_u64))
150 }
151 /// Storage: `Scheduler::Lookup` (r:1 w:1)
152 /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
153 /// Storage: `Scheduler::Agenda` (r:1 w:1)
154 /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`)
155 /// Storage: `TimeRelease::ScheduleReservedAmounts` (r:1 w:1)
156 /// Proof: `TimeRelease::ScheduleReservedAmounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`)
157 /// Storage: `System::Account` (r:1 w:1)
158 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
159 /// Storage: `Balances::Holds` (r:1 w:1)
160 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
161 /// Storage: `Scheduler::Retries` (r:0 w:1)
162 /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
163 /// The range of component `i` is `[1, 50]`.
164 fn cancel_scheduled_named_transfer(i: u32, ) -> Weight {
165 // Proof Size summary in bytes:
166 // Measured: `863 + i * (170 ±0)`
167 // Estimated: `42923`
168 // Minimum execution time: 63_239_000 picoseconds.
169 Weight::from_parts(68_318_690, 42923)
170 // Standard Error: 10_348
171 .saturating_add(Weight::from_parts(859_199, 0).saturating_mul(i.into()))
172 .saturating_add(T::DbWeight::get().reads(5_u64))
173 .saturating_add(T::DbWeight::get().writes(6_u64))
174 }
175}
176
177// For backwards compatibility and tests.
178impl WeightInfo for () {
179 /// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
180 /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
181 /// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
182 /// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
183 /// Storage: `TimeRelease::ReleaseSchedules` (r:1 w:1)
184 /// Proof: `TimeRelease::ReleaseSchedules` (`max_values`: None, `max_size`: Some(1449), added: 3924, mode: `MaxEncodedLen`)
185 /// Storage: `System::Account` (r:1 w:1)
186 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
187 /// Storage: `Balances::Freezes` (r:1 w:1)
188 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
189 /// Storage: `Balances::Locks` (r:1 w:0)
190 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
191 fn transfer() -> Weight {
192 // Proof Size summary in bytes:
193 // Measured: `148`
194 // Estimated: `5409`
195 // Minimum execution time: 77_759_000 picoseconds.
196 Weight::from_parts(80_025_000, 5409)
197 .saturating_add(RocksDbWeight::get().reads(6_u64))
198 .saturating_add(RocksDbWeight::get().writes(3_u64))
199 }
200 /// Storage: `TimeRelease::ScheduleReservedAmounts` (r:1 w:1)
201 /// Proof: `TimeRelease::ScheduleReservedAmounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`)
202 /// Storage: `Balances::Holds` (r:1 w:1)
203 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
204 /// Storage: `Scheduler::Lookup` (r:1 w:1)
205 /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
206 /// Storage: `Scheduler::Agenda` (r:1 w:1)
207 /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`)
208 fn schedule_named_transfer() -> Weight {
209 // Proof Size summary in bytes:
210 // Measured: `148`
211 // Estimated: `42923`
212 // Minimum execution time: 62_403_000 picoseconds.
213 Weight::from_parts(63_729_000, 42923)
214 .saturating_add(RocksDbWeight::get().reads(4_u64))
215 .saturating_add(RocksDbWeight::get().writes(4_u64))
216 }
217 /// Storage: `Balances::Holds` (r:1 w:1)
218 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
219 /// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
220 /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
221 /// Storage: `ParachainSystem::LastRelayChainBlockNumber` (r:1 w:0)
222 /// Proof: `ParachainSystem::LastRelayChainBlockNumber` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
223 /// Storage: `TimeRelease::ReleaseSchedules` (r:1 w:1)
224 /// Proof: `TimeRelease::ReleaseSchedules` (`max_values`: None, `max_size`: Some(1449), added: 3924, mode: `MaxEncodedLen`)
225 /// Storage: `System::Account` (r:1 w:1)
226 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
227 /// Storage: `Balances::Freezes` (r:1 w:1)
228 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
229 /// Storage: `Balances::Locks` (r:1 w:0)
230 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
231 /// Storage: `TimeRelease::ScheduleReservedAmounts` (r:0 w:1)
232 /// Proof: `TimeRelease::ScheduleReservedAmounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`)
233 fn execute_scheduled_named_transfer() -> Weight {
234 // Proof Size summary in bytes:
235 // Measured: `203`
236 // Estimated: `5409`
237 // Minimum execution time: 80_484_000 picoseconds.
238 Weight::from_parts(83_178_000, 5409)
239 .saturating_add(RocksDbWeight::get().reads(7_u64))
240 .saturating_add(RocksDbWeight::get().writes(5_u64))
241 }
242 /// Storage: `ParachainSystem::ValidationData` (r:1 w:0)
243 /// Proof: `ParachainSystem::ValidationData` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
244 /// Storage: `TimeRelease::ReleaseSchedules` (r:1 w:1)
245 /// Proof: `TimeRelease::ReleaseSchedules` (`max_values`: None, `max_size`: Some(1449), added: 3924, mode: `MaxEncodedLen`)
246 /// Storage: `Balances::Freezes` (r:1 w:1)
247 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
248 /// Storage: `Balances::Locks` (r:1 w:0)
249 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
250 /// The range of component `i` is `[1, 50]`.
251 fn claim(i: u32, ) -> Weight {
252 // Proof Size summary in bytes:
253 // Measured: `208 + i * (16 ±0)`
254 // Estimated: `5409 + i * (16 ±0)`
255 // Minimum execution time: 37_137_000 picoseconds.
256 Weight::from_parts(38_928_525, 5409)
257 // Standard Error: 3_189
258 .saturating_add(Weight::from_parts(50_050, 0).saturating_mul(i.into()))
259 .saturating_add(RocksDbWeight::get().reads(4_u64))
260 .saturating_add(RocksDbWeight::get().writes(2_u64))
261 .saturating_add(Weight::from_parts(0, 16).saturating_mul(i.into()))
262 }
263 /// Storage: `System::Account` (r:1 w:1)
264 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
265 /// Storage: `Balances::Freezes` (r:1 w:1)
266 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
267 /// Storage: `Balances::Locks` (r:1 w:0)
268 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
269 /// Storage: `TimeRelease::ReleaseSchedules` (r:0 w:1)
270 /// Proof: `TimeRelease::ReleaseSchedules` (`max_values`: None, `max_size`: Some(1449), added: 3924, mode: `MaxEncodedLen`)
271 /// The range of component `i` is `[1, 50]`.
272 fn update_release_schedules(i: u32, ) -> Weight {
273 // Proof Size summary in bytes:
274 // Measured: `141`
275 // Estimated: `5259`
276 // Minimum execution time: 31_228_000 picoseconds.
277 Weight::from_parts(31_931_090, 5259)
278 // Standard Error: 4_346
279 .saturating_add(Weight::from_parts(54_528, 0).saturating_mul(i.into()))
280 .saturating_add(RocksDbWeight::get().reads(3_u64))
281 .saturating_add(RocksDbWeight::get().writes(3_u64))
282 }
283 /// Storage: `Scheduler::Lookup` (r:1 w:1)
284 /// Proof: `Scheduler::Lookup` (`max_values`: None, `max_size`: Some(48), added: 2523, mode: `MaxEncodedLen`)
285 /// Storage: `Scheduler::Agenda` (r:1 w:1)
286 /// Proof: `Scheduler::Agenda` (`max_values`: None, `max_size`: Some(38963), added: 41438, mode: `MaxEncodedLen`)
287 /// Storage: `TimeRelease::ScheduleReservedAmounts` (r:1 w:1)
288 /// Proof: `TimeRelease::ScheduleReservedAmounts` (`max_values`: None, `max_size`: Some(56), added: 2531, mode: `MaxEncodedLen`)
289 /// Storage: `System::Account` (r:1 w:1)
290 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
291 /// Storage: `Balances::Holds` (r:1 w:1)
292 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
293 /// Storage: `Scheduler::Retries` (r:0 w:1)
294 /// Proof: `Scheduler::Retries` (`max_values`: None, `max_size`: Some(30), added: 2505, mode: `MaxEncodedLen`)
295 /// The range of component `i` is `[1, 50]`.
296 fn cancel_scheduled_named_transfer(i: u32, ) -> Weight {
297 // Proof Size summary in bytes:
298 // Measured: `863 + i * (170 ±0)`
299 // Estimated: `42923`
300 // Minimum execution time: 63_239_000 picoseconds.
301 Weight::from_parts(68_318_690, 42923)
302 // Standard Error: 10_348
303 .saturating_add(Weight::from_parts(859_199, 0).saturating_mul(i.into()))
304 .saturating_add(RocksDbWeight::get().reads(5_u64))
305 .saturating_add(RocksDbWeight::get().writes(6_u64))
306 }
307}
308
309
310#[cfg(test)]
311mod tests {
312 use frame_support::{traits::Get, weights::Weight, dispatch::DispatchClass};
313 use common_runtime::constants::{MAXIMUM_BLOCK_WEIGHT, NORMAL_DISPATCH_RATIO};
314 use common_runtime::weights::extrinsic_weights::ExtrinsicBaseWeight;
315
316 #[allow(dead_code)]
317 struct BlockWeights;
318 impl Get<frame_system::limits::BlockWeights> for BlockWeights {
319 fn get() -> frame_system::limits::BlockWeights {
320 frame_system::limits::BlockWeights::builder()
321 .base_block(Weight::zero())
322 .for_class(DispatchClass::all(), |weights| {
323 weights.base_extrinsic = ExtrinsicBaseWeight::get();
324 })
325 .for_class(DispatchClass::non_mandatory(), |weights| {
326 weights.max_total = Some(NORMAL_DISPATCH_RATIO * MAXIMUM_BLOCK_WEIGHT);
327 })
328 .build_or_panic()
329 }
330 }
331
332 #[test]
333 fn test_transfer() {
334 assert!(
335 BlockWeights::get()
336 .per_class
337 .get(frame_support::dispatch::DispatchClass::Normal)
338 .max_extrinsic
339 .unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
340 .proof_size()
341 > 5409
342 );
343 }
344 #[test]
345 fn test_schedule_named_transfer() {
346 assert!(
347 BlockWeights::get()
348 .per_class
349 .get(frame_support::dispatch::DispatchClass::Normal)
350 .max_extrinsic
351 .unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
352 .proof_size()
353 > 42923
354 );
355 }
356 #[test]
357 fn test_execute_scheduled_named_transfer() {
358 assert!(
359 BlockWeights::get()
360 .per_class
361 .get(frame_support::dispatch::DispatchClass::Normal)
362 .max_extrinsic
363 .unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
364 .proof_size()
365 > 5409
366 );
367 }
368 #[test]
369 fn test_claim() {
370 assert!(
371 BlockWeights::get()
372 .per_class
373 .get(frame_support::dispatch::DispatchClass::Normal)
374 .max_extrinsic
375 .unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
376 .proof_size()
377 > 5409
378 );
379 }
380 #[test]
381 fn test_update_release_schedules() {
382 assert!(
383 BlockWeights::get()
384 .per_class
385 .get(frame_support::dispatch::DispatchClass::Normal)
386 .max_extrinsic
387 .unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
388 .proof_size()
389 > 5259
390 );
391 }
392 #[test]
393 fn test_cancel_scheduled_named_transfer() {
394 assert!(
395 BlockWeights::get()
396 .per_class
397 .get(frame_support::dispatch::DispatchClass::Normal)
398 .max_extrinsic
399 .unwrap_or_else(<Weight as sp_runtime::traits::Bounded>::max_value)
400 .proof_size()
401 > 42923
402 );
403 }
404}