pallet_commitment/weights.rs
1
2//! Autogenerated weights for `pallet_commitment`
3//!
4//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
5//! DATE: 2026-05-11, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`,
6//! HIGH RANGE: `[]`
7//! WORST CASE MAP SIZE: `1000000`
8//! HOSTNAME: `Naveens-MacBook-Air.local`, CPU: `<UNKNOWN>`
9//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
10
11// Executed Command:
12// frame-omni-bencher
13// v1
14// benchmark
15// pallet
16// --runtime
17// target/release/wbuild/frame-suite-runtime/frame_suite_runtime.wasm
18// --pallet
19// pallet_commitment
20// --extrinsic
21// *
22// --template
23// pallets/.maintain/frame-weight-template.hbs
24// --output
25// pallets/commitment/src/weights.rs
26
27#![cfg_attr(rustfmt, rustfmt_skip)]
28#![allow(unused_parens)]
29#![allow(unused_imports)]
30#![allow(missing_docs)]
31
32use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
33use core::marker::PhantomData;
34
35/// Weight functions needed for `pallet_commitment`.
36pub trait WeightInfo {
37fn deposit_reserve() -> Weight;
38fn withdraw_reserve() -> Weight;
39fn withdraw_reserve_partial() -> Weight;
40fn inspect_digest_model() -> Weight;
41fn inspect_commit_value() -> Weight;
42fn inspect_index_value() -> Weight;
43fn inspect_entry_value() -> Weight;
44fn inspect_entries_value() -> Weight;
45fn inspect_pool_value() -> Weight;
46fn inspect_slot_value() -> Weight;
47fn inspect_slots_value() -> Weight;
48fn inspect_pool_commission() -> Weight;
49fn inspect_pool_manager() -> Weight;
50fn inspect_asset_to_issue() -> Weight;
51fn inspect_asset_to_reap() -> Weight;
52fn inspect_reason_value() -> Weight;
53}
54
55/// Weights for `pallet_commitment` using the Substrate node and recommended hardware.
56pub struct SubstrateWeight<T>(PhantomData<T>);
57 impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
58 /// Storage: `Xp::XpOf` (r:1 w:1)
59 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
60 /// Storage: `Xp::ReservedXpOf` (r:1 w:1)
61 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
62 fn deposit_reserve() -> Weight {
63 // Proof Size summary in bytes:
64 // Measured: `1384`
65 // Estimated: `3573`
66 // Minimum execution time: 33_000_000 picoseconds.
67 Weight::from_parts(36_000_000,
68 3573)
69 .saturating_add(T::DbWeight::get().reads(2_u64))
70 .saturating_add(T::DbWeight::get().writes(2_u64))
71 }
72 /// Storage: `Xp::ReservedXpOf` (r:1 w:1)
73 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
74 /// Storage: `Xp::XpOf` (r:1 w:1)
75 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
76 fn withdraw_reserve() -> Weight {
77 // Proof Size summary in bytes:
78 // Measured: `1384`
79 // Estimated: `3573`
80 // Minimum execution time: 35_000_000 picoseconds.
81 Weight::from_parts(37_000_000,
82 3573)
83 .saturating_add(T::DbWeight::get().reads(2_u64))
84 .saturating_add(T::DbWeight::get().writes(2_u64))
85 }
86 /// Storage: `Xp::ReservedXpOf` (r:1 w:1)
87 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
88 /// Storage: `Xp::XpOf` (r:1 w:1)
89 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
90 fn withdraw_reserve_partial() -> Weight {
91 // Proof Size summary in bytes:
92 // Measured: `1384`
93 // Estimated: `3573`
94 // Minimum execution time: 35_000_000 picoseconds.
95 Weight::from_parts(37_000_000,
96 3573)
97 .saturating_add(T::DbWeight::get().reads(2_u64))
98 .saturating_add(T::DbWeight::get().writes(2_u64))
99 }
100 /// Storage: `Commitment::DigestMap` (r:1 w:0)
101 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
102 fn inspect_digest_model() -> Weight {
103 // Proof Size summary in bytes:
104 // Measured: `206`
105 // Estimated: `3694`
106 // Minimum execution time: 9_000_000 picoseconds.
107 Weight::from_parts(10_000_000,
108 3694)
109 .saturating_add(T::DbWeight::get().reads(1_u64))
110 }
111 /// Storage: `Commitment::CommitMap` (r:1 w:0)
112 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
113 /// Storage: `Commitment::DigestMap` (r:1 w:0)
114 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
115 fn inspect_commit_value() -> Weight {
116 // Proof Size summary in bytes:
117 // Measured: `371`
118 // Estimated: `5065`
119 // Minimum execution time: 28_000_000 picoseconds.
120 Weight::from_parts(30_000_000,
121 5065)
122 .saturating_add(T::DbWeight::get().reads(2_u64))
123 }
124 /// Storage: `Commitment::IndexMap` (r:1 w:0)
125 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
126 /// Storage: `Commitment::CommitMap` (r:1 w:0)
127 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
128 /// Storage: `Commitment::EntryMap` (r:2 w:0)
129 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
130 /// Storage: `Commitment::DigestMap` (r:2 w:0)
131 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
132 fn inspect_index_value() -> Weight {
133 // Proof Size summary in bytes:
134 // Measured: `1035`
135 // Estimated: `11757`
136 // Minimum execution time: 65_000_000 picoseconds.
137 Weight::from_parts(68_000_000,
138 11757)
139 .saturating_add(T::DbWeight::get().reads(6_u64))
140 }
141 /// Storage: `Commitment::CommitMap` (r:1 w:0)
142 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
143 /// Storage: `Commitment::IndexMap` (r:1 w:0)
144 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
145 /// Storage: `Commitment::EntryMap` (r:1 w:0)
146 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
147 /// Storage: `Commitment::DigestMap` (r:1 w:0)
148 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
149 fn inspect_entry_value() -> Weight {
150 // Proof Size summary in bytes:
151 // Measured: `840`
152 // Estimated: `11757`
153 // Minimum execution time: 37_000_000 picoseconds.
154 Weight::from_parts(38_000_000,
155 11757)
156 .saturating_add(T::DbWeight::get().reads(4_u64))
157 }
158 /// Storage: `Commitment::IndexMap` (r:1 w:0)
159 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
160 /// Storage: `Commitment::CommitMap` (r:1 w:0)
161 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
162 /// Storage: `Commitment::EntryMap` (r:2 w:0)
163 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
164 /// Storage: `Commitment::DigestMap` (r:2 w:0)
165 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
166 fn inspect_entries_value() -> Weight {
167 // Proof Size summary in bytes:
168 // Measured: `1035`
169 // Estimated: `11757`
170 // Minimum execution time: 64_000_000 picoseconds.
171 Weight::from_parts(66_000_000,
172 11757)
173 .saturating_add(T::DbWeight::get().reads(6_u64))
174 }
175 /// Storage: `Commitment::CommitMap` (r:1 w:0)
176 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
177 /// Storage: `Commitment::PoolMap` (r:1 w:0)
178 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
179 /// Storage: `Commitment::DigestMap` (r:2 w:0)
180 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
181 fn inspect_pool_value() -> Weight {
182 // Proof Size summary in bytes:
183 // Measured: `958`
184 // Estimated: `21799`
185 // Minimum execution time: 41_000_000 picoseconds.
186 Weight::from_parts(44_000_000,
187 21799)
188 .saturating_add(T::DbWeight::get().reads(4_u64))
189 }
190 /// Storage: `Commitment::CommitMap` (r:1 w:0)
191 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
192 /// Storage: `Commitment::PoolMap` (r:1 w:0)
193 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
194 /// Storage: `Commitment::DigestMap` (r:2 w:0)
195 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
196 fn inspect_slot_value() -> Weight {
197 // Proof Size summary in bytes:
198 // Measured: `958`
199 // Estimated: `21799`
200 // Minimum execution time: 47_000_000 picoseconds.
201 Weight::from_parts(49_000_000,
202 21799)
203 .saturating_add(T::DbWeight::get().reads(4_u64))
204 }
205 /// Storage: `Commitment::PoolMap` (r:1 w:0)
206 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
207 /// Storage: `Commitment::CommitMap` (r:1 w:0)
208 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
209 /// Storage: `Commitment::DigestMap` (r:2 w:0)
210 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
211 fn inspect_slots_value() -> Weight {
212 // Proof Size summary in bytes:
213 // Measured: `958`
214 // Estimated: `21799`
215 // Minimum execution time: 82_000_000 picoseconds.
216 Weight::from_parts(85_000_000,
217 21799)
218 .saturating_add(T::DbWeight::get().reads(4_u64))
219 }
220 /// Storage: `Commitment::PoolMap` (r:1 w:0)
221 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
222 fn inspect_pool_commission() -> Weight {
223 // Proof Size summary in bytes:
224 // Measured: `521`
225 // Estimated: `21799`
226 // Minimum execution time: 11_000_000 picoseconds.
227 Weight::from_parts(12_000_000,
228 21799)
229 .saturating_add(T::DbWeight::get().reads(1_u64))
230 }
231 /// Storage: `Commitment::PoolMap` (r:1 w:0)
232 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
233 /// Storage: `Commitment::PoolManager` (r:1 w:0)
234 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
235 fn inspect_pool_manager() -> Weight {
236 // Proof Size summary in bytes:
237 // Measured: `392`
238 // Estimated: `21799`
239 // Minimum execution time: 14_000_000 picoseconds.
240 Weight::from_parts(15_000_000,
241 21799)
242 .saturating_add(T::DbWeight::get().reads(2_u64))
243 }
244 /// Storage: `Commitment::AssetToIssue` (r:1 w:0)
245 /// Proof: `Commitment::AssetToIssue` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
246 fn inspect_asset_to_issue() -> Weight {
247 // Proof Size summary in bytes:
248 // Measured: `123`
249 // Estimated: `1501`
250 // Minimum execution time: 6_000_000 picoseconds.
251 Weight::from_parts(7_000_000,
252 1501)
253 .saturating_add(T::DbWeight::get().reads(1_u64))
254 }
255 /// Storage: `Commitment::AssetToReap` (r:1 w:0)
256 /// Proof: `Commitment::AssetToReap` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
257 fn inspect_asset_to_reap() -> Weight {
258 // Proof Size summary in bytes:
259 // Measured: `180`
260 // Estimated: `1501`
261 // Minimum execution time: 7_000_000 picoseconds.
262 Weight::from_parts(8_000_000,
263 1501)
264 .saturating_add(T::DbWeight::get().reads(1_u64))
265 }
266 /// Storage: `Commitment::ReasonValue` (r:1 w:0)
267 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
268 fn inspect_reason_value() -> Weight {
269 // Proof Size summary in bytes:
270 // Measured: `199`
271 // Estimated: `3499`
272 // Minimum execution time: 9_000_000 picoseconds.
273 Weight::from_parts(10_000_000,
274 3499)
275 .saturating_add(T::DbWeight::get().reads(1_u64))
276 }
277 }
278
279 // For backwards compatibility and tests.
280 impl WeightInfo for () {
281 /// Storage: `Xp::XpOf` (r:1 w:1)
282 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
283 /// Storage: `Xp::ReservedXpOf` (r:1 w:1)
284 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
285 fn deposit_reserve() -> Weight {
286 // Proof Size summary in bytes:
287 // Measured: `1384`
288 // Estimated: `3573`
289 // Minimum execution time: 33_000_000 picoseconds.
290 Weight::from_parts(36_000_000,
291 3573)
292 .saturating_add(RocksDbWeight::get().reads(2_u64))
293 .saturating_add(RocksDbWeight::get().writes(2_u64))
294 }
295 /// Storage: `Xp::ReservedXpOf` (r:1 w:1)
296 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
297 /// Storage: `Xp::XpOf` (r:1 w:1)
298 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
299 fn withdraw_reserve() -> Weight {
300 // Proof Size summary in bytes:
301 // Measured: `1384`
302 // Estimated: `3573`
303 // Minimum execution time: 35_000_000 picoseconds.
304 Weight::from_parts(37_000_000,
305 3573)
306 .saturating_add(RocksDbWeight::get().reads(2_u64))
307 .saturating_add(RocksDbWeight::get().writes(2_u64))
308 }
309 /// Storage: `Xp::ReservedXpOf` (r:1 w:1)
310 /// Proof: `Xp::ReservedXpOf` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
311 /// Storage: `Xp::XpOf` (r:1 w:1)
312 /// Proof: `Xp::XpOf` (`max_values`: None, `max_size`: Some(108), added: 2583, mode: `MaxEncodedLen`)
313 fn withdraw_reserve_partial() -> Weight {
314 // Proof Size summary in bytes:
315 // Measured: `1384`
316 // Estimated: `3573`
317 // Minimum execution time: 35_000_000 picoseconds.
318 Weight::from_parts(37_000_000,
319 3573)
320 .saturating_add(RocksDbWeight::get().reads(2_u64))
321 .saturating_add(RocksDbWeight::get().writes(2_u64))
322 }
323 /// Storage: `Commitment::DigestMap` (r:1 w:0)
324 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
325 fn inspect_digest_model() -> Weight {
326 // Proof Size summary in bytes:
327 // Measured: `206`
328 // Estimated: `3694`
329 // Minimum execution time: 9_000_000 picoseconds.
330 Weight::from_parts(10_000_000,
331 3694)
332 .saturating_add(RocksDbWeight::get().reads(1_u64))
333 }
334 /// Storage: `Commitment::CommitMap` (r:1 w:0)
335 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
336 /// Storage: `Commitment::DigestMap` (r:1 w:0)
337 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
338 fn inspect_commit_value() -> Weight {
339 // Proof Size summary in bytes:
340 // Measured: `371`
341 // Estimated: `5065`
342 // Minimum execution time: 28_000_000 picoseconds.
343 Weight::from_parts(30_000_000,
344 5065)
345 .saturating_add(RocksDbWeight::get().reads(2_u64))
346 }
347 /// Storage: `Commitment::IndexMap` (r:1 w:0)
348 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
349 /// Storage: `Commitment::CommitMap` (r:1 w:0)
350 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
351 /// Storage: `Commitment::EntryMap` (r:2 w:0)
352 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
353 /// Storage: `Commitment::DigestMap` (r:2 w:0)
354 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
355 fn inspect_index_value() -> Weight {
356 // Proof Size summary in bytes:
357 // Measured: `1035`
358 // Estimated: `11757`
359 // Minimum execution time: 65_000_000 picoseconds.
360 Weight::from_parts(68_000_000,
361 11757)
362 .saturating_add(RocksDbWeight::get().reads(6_u64))
363 }
364 /// Storage: `Commitment::CommitMap` (r:1 w:0)
365 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
366 /// Storage: `Commitment::IndexMap` (r:1 w:0)
367 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
368 /// Storage: `Commitment::EntryMap` (r:1 w:0)
369 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
370 /// Storage: `Commitment::DigestMap` (r:1 w:0)
371 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
372 fn inspect_entry_value() -> Weight {
373 // Proof Size summary in bytes:
374 // Measured: `840`
375 // Estimated: `11757`
376 // Minimum execution time: 37_000_000 picoseconds.
377 Weight::from_parts(38_000_000,
378 11757)
379 .saturating_add(RocksDbWeight::get().reads(4_u64))
380 }
381 /// Storage: `Commitment::IndexMap` (r:1 w:0)
382 /// Proof: `Commitment::IndexMap` (`max_values`: None, `max_size`: Some(8292), added: 10767, mode: `MaxEncodedLen`)
383 /// Storage: `Commitment::CommitMap` (r:1 w:0)
384 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
385 /// Storage: `Commitment::EntryMap` (r:2 w:0)
386 /// Proof: `Commitment::EntryMap` (`max_values`: None, `max_size`: Some(1663), added: 4138, mode: `MaxEncodedLen`)
387 /// Storage: `Commitment::DigestMap` (r:2 w:0)
388 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
389 fn inspect_entries_value() -> Weight {
390 // Proof Size summary in bytes:
391 // Measured: `1035`
392 // Estimated: `11757`
393 // Minimum execution time: 64_000_000 picoseconds.
394 Weight::from_parts(66_000_000,
395 11757)
396 .saturating_add(RocksDbWeight::get().reads(6_u64))
397 }
398 /// Storage: `Commitment::CommitMap` (r:1 w:0)
399 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
400 /// Storage: `Commitment::PoolMap` (r:1 w:0)
401 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
402 /// Storage: `Commitment::DigestMap` (r:2 w:0)
403 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
404 fn inspect_pool_value() -> Weight {
405 // Proof Size summary in bytes:
406 // Measured: `958`
407 // Estimated: `21799`
408 // Minimum execution time: 41_000_000 picoseconds.
409 Weight::from_parts(44_000_000,
410 21799)
411 .saturating_add(RocksDbWeight::get().reads(4_u64))
412 }
413 /// Storage: `Commitment::CommitMap` (r:1 w:0)
414 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
415 /// Storage: `Commitment::PoolMap` (r:1 w:0)
416 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
417 /// Storage: `Commitment::DigestMap` (r:2 w:0)
418 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
419 fn inspect_slot_value() -> Weight {
420 // Proof Size summary in bytes:
421 // Measured: `958`
422 // Estimated: `21799`
423 // Minimum execution time: 47_000_000 picoseconds.
424 Weight::from_parts(49_000_000,
425 21799)
426 .saturating_add(RocksDbWeight::get().reads(4_u64))
427 }
428 /// Storage: `Commitment::PoolMap` (r:1 w:0)
429 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
430 /// Storage: `Commitment::CommitMap` (r:1 w:0)
431 /// Proof: `Commitment::CommitMap` (`max_values`: None, `max_size`: Some(1600), added: 4075, mode: `MaxEncodedLen`)
432 /// Storage: `Commitment::DigestMap` (r:2 w:0)
433 /// Proof: `Commitment::DigestMap` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
434 fn inspect_slots_value() -> Weight {
435 // Proof Size summary in bytes:
436 // Measured: `958`
437 // Estimated: `21799`
438 // Minimum execution time: 82_000_000 picoseconds.
439 Weight::from_parts(85_000_000,
440 21799)
441 .saturating_add(RocksDbWeight::get().reads(4_u64))
442 }
443 /// Storage: `Commitment::PoolMap` (r:1 w:0)
444 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
445 fn inspect_pool_commission() -> Weight {
446 // Proof Size summary in bytes:
447 // Measured: `521`
448 // Estimated: `21799`
449 // Minimum execution time: 11_000_000 picoseconds.
450 Weight::from_parts(12_000_000,
451 21799)
452 .saturating_add(RocksDbWeight::get().reads(1_u64))
453 }
454 /// Storage: `Commitment::PoolMap` (r:1 w:0)
455 /// Proof: `Commitment::PoolMap` (`max_values`: None, `max_size`: Some(18334), added: 20809, mode: `MaxEncodedLen`)
456 /// Storage: `Commitment::PoolManager` (r:1 w:0)
457 /// Proof: `Commitment::PoolManager` (`max_values`: None, `max_size`: Some(98), added: 2573, mode: `MaxEncodedLen`)
458 fn inspect_pool_manager() -> Weight {
459 // Proof Size summary in bytes:
460 // Measured: `392`
461 // Estimated: `21799`
462 // Minimum execution time: 14_000_000 picoseconds.
463 Weight::from_parts(15_000_000,
464 21799)
465 .saturating_add(RocksDbWeight::get().reads(2_u64))
466 }
467 /// Storage: `Commitment::AssetToIssue` (r:1 w:0)
468 /// Proof: `Commitment::AssetToIssue` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
469 fn inspect_asset_to_issue() -> Weight {
470 // Proof Size summary in bytes:
471 // Measured: `123`
472 // Estimated: `1501`
473 // Minimum execution time: 6_000_000 picoseconds.
474 Weight::from_parts(7_000_000,
475 1501)
476 .saturating_add(RocksDbWeight::get().reads(1_u64))
477 }
478 /// Storage: `Commitment::AssetToReap` (r:1 w:0)
479 /// Proof: `Commitment::AssetToReap` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
480 fn inspect_asset_to_reap() -> Weight {
481 // Proof Size summary in bytes:
482 // Measured: `180`
483 // Estimated: `1501`
484 // Minimum execution time: 7_000_000 picoseconds.
485 Weight::from_parts(8_000_000,
486 1501)
487 .saturating_add(RocksDbWeight::get().reads(1_u64))
488 }
489 /// Storage: `Commitment::ReasonValue` (r:1 w:0)
490 /// Proof: `Commitment::ReasonValue` (`max_values`: None, `max_size`: Some(34), added: 2509, mode: `MaxEncodedLen`)
491 fn inspect_reason_value() -> Weight {
492 // Proof Size summary in bytes:
493 // Measured: `199`
494 // Estimated: `3499`
495 // Minimum execution time: 9_000_000 picoseconds.
496 Weight::from_parts(10_000_000,
497 3499)
498 .saturating_add(RocksDbWeight::get().reads(1_u64))
499 }
500 }