pallet_nis/weights.rs
1// This file is part of Substrate.
2
3// Copyright (C) Parity Technologies (UK) Ltd.
4// SPDX-License-Identifier: Apache-2.0
5
6// Licensed under the Apache License, Version 2.0 (the "License");
7// you may not use this file except in compliance with the License.
8// You may obtain a copy of the License at
9//
10// http://www.apache.org/licenses/LICENSE-2.0
11//
12// Unless required by applicable law or agreed to in writing, software
13// distributed under the License is distributed on an "AS IS" BASIS,
14// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15// See the License for the specific language governing permissions and
16// limitations under the License.
17
18// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_nis`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-03-03, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `bd5e4dfa0790`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_nis
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/nis/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-umbrella-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame::weights_prelude::*;
71
72/// Weight functions needed for `pallet_nis`.
73pub trait WeightInfo {
74 fn place_bid(l: u32, ) -> Weight;
75 fn place_bid_max() -> Weight;
76 fn retract_bid(l: u32, ) -> Weight;
77 fn fund_deficit() -> Weight;
78 fn communify() -> Weight;
79 fn privatize() -> Weight;
80 fn thaw_private() -> Weight;
81 fn thaw_communal() -> Weight;
82 fn process_queues() -> Weight;
83 fn process_queue() -> Weight;
84 fn process_bid() -> Weight;
85}
86
87/// Weights for `pallet_nis` using the Substrate node and recommended hardware.
88pub struct SubstrateWeight<T>(PhantomData<T>);
89impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
90 /// Storage: `Nis::Queues` (r:1 w:1)
91 /// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
92 /// Storage: `Balances::Holds` (r:1 w:1)
93 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
94 /// Storage: `Nis::QueueTotals` (r:1 w:1)
95 /// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(6002), added: 6497, mode: `MaxEncodedLen`)
96 /// The range of component `l` is `[0, 999]`.
97 fn place_bid(l: u32, ) -> Weight {
98 // Proof Size summary in bytes:
99 // Measured: `6115 + l * (48 ±0)`
100 // Estimated: `51487`
101 // Minimum execution time: 43_703_000 picoseconds.
102 Weight::from_parts(42_231_449, 51487)
103 // Standard Error: 1_303
104 .saturating_add(Weight::from_parts(92_036, 0).saturating_mul(l.into()))
105 .saturating_add(T::DbWeight::get().reads(3_u64))
106 .saturating_add(T::DbWeight::get().writes(3_u64))
107 }
108 /// Storage: `Nis::Queues` (r:1 w:1)
109 /// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
110 /// Storage: `Balances::Holds` (r:1 w:1)
111 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
112 /// Storage: `Nis::QueueTotals` (r:1 w:1)
113 /// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(6002), added: 6497, mode: `MaxEncodedLen`)
114 fn place_bid_max() -> Weight {
115 // Proof Size summary in bytes:
116 // Measured: `54117`
117 // Estimated: `51487`
118 // Minimum execution time: 146_230_000 picoseconds.
119 Weight::from_parts(154_165_000, 51487)
120 .saturating_add(T::DbWeight::get().reads(3_u64))
121 .saturating_add(T::DbWeight::get().writes(3_u64))
122 }
123 /// Storage: `Nis::Queues` (r:1 w:1)
124 /// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
125 /// Storage: `Balances::Holds` (r:1 w:1)
126 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
127 /// Storage: `Nis::QueueTotals` (r:1 w:1)
128 /// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(6002), added: 6497, mode: `MaxEncodedLen`)
129 /// The range of component `l` is `[1, 1000]`.
130 fn retract_bid(l: u32, ) -> Weight {
131 // Proof Size summary in bytes:
132 // Measured: `6115 + l * (48 ±0)`
133 // Estimated: `51487`
134 // Minimum execution time: 43_614_000 picoseconds.
135 Weight::from_parts(37_201_688, 51487)
136 // Standard Error: 1_241
137 .saturating_add(Weight::from_parts(79_738, 0).saturating_mul(l.into()))
138 .saturating_add(T::DbWeight::get().reads(3_u64))
139 .saturating_add(T::DbWeight::get().writes(3_u64))
140 }
141 /// Storage: `Nis::Summary` (r:1 w:0)
142 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
143 /// Storage: `System::Account` (r:1 w:1)
144 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
145 fn fund_deficit() -> Weight {
146 // Proof Size summary in bytes:
147 // Measured: `153`
148 // Estimated: `3593`
149 // Minimum execution time: 29_920_000 picoseconds.
150 Weight::from_parts(30_761_000, 3593)
151 .saturating_add(T::DbWeight::get().reads(2_u64))
152 .saturating_add(T::DbWeight::get().writes(1_u64))
153 }
154 /// Storage: `Nis::Receipts` (r:1 w:1)
155 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
156 /// Storage: `Balances::Holds` (r:1 w:1)
157 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
158 /// Storage: `System::Account` (r:1 w:1)
159 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
160 /// Storage: `Nis::Summary` (r:1 w:1)
161 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
162 /// Storage: `Assets::Asset` (r:1 w:1)
163 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
164 /// Storage: `Assets::Account` (r:1 w:1)
165 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
166 fn communify() -> Weight {
167 // Proof Size summary in bytes:
168 // Measured: `533`
169 // Estimated: `3892`
170 // Minimum execution time: 71_257_000 picoseconds.
171 Weight::from_parts(72_559_000, 3892)
172 .saturating_add(T::DbWeight::get().reads(6_u64))
173 .saturating_add(T::DbWeight::get().writes(6_u64))
174 }
175 /// Storage: `Nis::Receipts` (r:1 w:1)
176 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
177 /// Storage: `Nis::Summary` (r:1 w:1)
178 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
179 /// Storage: `System::Account` (r:1 w:1)
180 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
181 /// Storage: `Assets::Asset` (r:1 w:1)
182 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
183 /// Storage: `Assets::Account` (r:1 w:1)
184 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
185 /// Storage: `Balances::Holds` (r:1 w:1)
186 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
187 fn privatize() -> Weight {
188 // Proof Size summary in bytes:
189 // Measured: `699`
190 // Estimated: `3892`
191 // Minimum execution time: 92_578_000 picoseconds.
192 Weight::from_parts(94_495_000, 3892)
193 .saturating_add(T::DbWeight::get().reads(6_u64))
194 .saturating_add(T::DbWeight::get().writes(6_u64))
195 }
196 /// Storage: `Nis::Receipts` (r:1 w:1)
197 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
198 /// Storage: `Nis::Summary` (r:1 w:1)
199 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
200 /// Storage: `System::Account` (r:1 w:0)
201 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
202 /// Storage: `Balances::Holds` (r:1 w:1)
203 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
204 fn thaw_private() -> Weight {
205 // Proof Size summary in bytes:
206 // Measured: `316`
207 // Estimated: `3892`
208 // Minimum execution time: 48_478_000 picoseconds.
209 Weight::from_parts(49_690_000, 3892)
210 .saturating_add(T::DbWeight::get().reads(4_u64))
211 .saturating_add(T::DbWeight::get().writes(3_u64))
212 }
213 /// Storage: `Nis::Receipts` (r:1 w:1)
214 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
215 /// Storage: `Nis::Summary` (r:1 w:1)
216 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
217 /// Storage: `Assets::Asset` (r:1 w:1)
218 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
219 /// Storage: `Assets::Account` (r:1 w:1)
220 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
221 /// Storage: `System::Account` (r:1 w:1)
222 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
223 fn thaw_communal() -> Weight {
224 // Proof Size summary in bytes:
225 // Measured: `642`
226 // Estimated: `3675`
227 // Minimum execution time: 89_681_000 picoseconds.
228 Weight::from_parts(92_693_000, 3675)
229 .saturating_add(T::DbWeight::get().reads(5_u64))
230 .saturating_add(T::DbWeight::get().writes(5_u64))
231 }
232 /// Storage: `Nis::Summary` (r:1 w:1)
233 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
234 /// Storage: `System::Account` (r:1 w:0)
235 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
236 /// Storage: `Nis::QueueTotals` (r:1 w:1)
237 /// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(6002), added: 6497, mode: `MaxEncodedLen`)
238 fn process_queues() -> Weight {
239 // Proof Size summary in bytes:
240 // Measured: `6563`
241 // Estimated: `7487`
242 // Minimum execution time: 19_670_000 picoseconds.
243 Weight::from_parts(22_353_000, 7487)
244 .saturating_add(T::DbWeight::get().reads(3_u64))
245 .saturating_add(T::DbWeight::get().writes(2_u64))
246 }
247 /// Storage: `Nis::Queues` (r:1 w:1)
248 /// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
249 fn process_queue() -> Weight {
250 // Proof Size summary in bytes:
251 // Measured: `0`
252 // Estimated: `51487`
253 // Minimum execution time: 2_755_000 picoseconds.
254 Weight::from_parts(2_944_000, 51487)
255 .saturating_add(T::DbWeight::get().reads(1_u64))
256 .saturating_add(T::DbWeight::get().writes(1_u64))
257 }
258 /// Storage: `Nis::Receipts` (r:0 w:1)
259 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
260 fn process_bid() -> Weight {
261 // Proof Size summary in bytes:
262 // Measured: `0`
263 // Estimated: `0`
264 // Minimum execution time: 3_919_000 picoseconds.
265 Weight::from_parts(4_114_000, 0)
266 .saturating_add(T::DbWeight::get().writes(1_u64))
267 }
268}
269
270// For backwards compatibility and tests.
271impl WeightInfo for () {
272 /// Storage: `Nis::Queues` (r:1 w:1)
273 /// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
274 /// Storage: `Balances::Holds` (r:1 w:1)
275 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
276 /// Storage: `Nis::QueueTotals` (r:1 w:1)
277 /// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(6002), added: 6497, mode: `MaxEncodedLen`)
278 /// The range of component `l` is `[0, 999]`.
279 fn place_bid(l: u32, ) -> Weight {
280 // Proof Size summary in bytes:
281 // Measured: `6115 + l * (48 ±0)`
282 // Estimated: `51487`
283 // Minimum execution time: 43_703_000 picoseconds.
284 Weight::from_parts(42_231_449, 51487)
285 // Standard Error: 1_303
286 .saturating_add(Weight::from_parts(92_036, 0).saturating_mul(l.into()))
287 .saturating_add(RocksDbWeight::get().reads(3_u64))
288 .saturating_add(RocksDbWeight::get().writes(3_u64))
289 }
290 /// Storage: `Nis::Queues` (r:1 w:1)
291 /// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
292 /// Storage: `Balances::Holds` (r:1 w:1)
293 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
294 /// Storage: `Nis::QueueTotals` (r:1 w:1)
295 /// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(6002), added: 6497, mode: `MaxEncodedLen`)
296 fn place_bid_max() -> Weight {
297 // Proof Size summary in bytes:
298 // Measured: `54117`
299 // Estimated: `51487`
300 // Minimum execution time: 146_230_000 picoseconds.
301 Weight::from_parts(154_165_000, 51487)
302 .saturating_add(RocksDbWeight::get().reads(3_u64))
303 .saturating_add(RocksDbWeight::get().writes(3_u64))
304 }
305 /// Storage: `Nis::Queues` (r:1 w:1)
306 /// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
307 /// Storage: `Balances::Holds` (r:1 w:1)
308 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
309 /// Storage: `Nis::QueueTotals` (r:1 w:1)
310 /// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(6002), added: 6497, mode: `MaxEncodedLen`)
311 /// The range of component `l` is `[1, 1000]`.
312 fn retract_bid(l: u32, ) -> Weight {
313 // Proof Size summary in bytes:
314 // Measured: `6115 + l * (48 ±0)`
315 // Estimated: `51487`
316 // Minimum execution time: 43_614_000 picoseconds.
317 Weight::from_parts(37_201_688, 51487)
318 // Standard Error: 1_241
319 .saturating_add(Weight::from_parts(79_738, 0).saturating_mul(l.into()))
320 .saturating_add(RocksDbWeight::get().reads(3_u64))
321 .saturating_add(RocksDbWeight::get().writes(3_u64))
322 }
323 /// Storage: `Nis::Summary` (r:1 w:0)
324 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
325 /// Storage: `System::Account` (r:1 w:1)
326 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
327 fn fund_deficit() -> Weight {
328 // Proof Size summary in bytes:
329 // Measured: `153`
330 // Estimated: `3593`
331 // Minimum execution time: 29_920_000 picoseconds.
332 Weight::from_parts(30_761_000, 3593)
333 .saturating_add(RocksDbWeight::get().reads(2_u64))
334 .saturating_add(RocksDbWeight::get().writes(1_u64))
335 }
336 /// Storage: `Nis::Receipts` (r:1 w:1)
337 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
338 /// Storage: `Balances::Holds` (r:1 w:1)
339 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
340 /// Storage: `System::Account` (r:1 w:1)
341 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
342 /// Storage: `Nis::Summary` (r:1 w:1)
343 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
344 /// Storage: `Assets::Asset` (r:1 w:1)
345 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
346 /// Storage: `Assets::Account` (r:1 w:1)
347 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
348 fn communify() -> Weight {
349 // Proof Size summary in bytes:
350 // Measured: `533`
351 // Estimated: `3892`
352 // Minimum execution time: 71_257_000 picoseconds.
353 Weight::from_parts(72_559_000, 3892)
354 .saturating_add(RocksDbWeight::get().reads(6_u64))
355 .saturating_add(RocksDbWeight::get().writes(6_u64))
356 }
357 /// Storage: `Nis::Receipts` (r:1 w:1)
358 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
359 /// Storage: `Nis::Summary` (r:1 w:1)
360 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
361 /// Storage: `System::Account` (r:1 w:1)
362 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
363 /// Storage: `Assets::Asset` (r:1 w:1)
364 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
365 /// Storage: `Assets::Account` (r:1 w:1)
366 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
367 /// Storage: `Balances::Holds` (r:1 w:1)
368 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
369 fn privatize() -> Weight {
370 // Proof Size summary in bytes:
371 // Measured: `699`
372 // Estimated: `3892`
373 // Minimum execution time: 92_578_000 picoseconds.
374 Weight::from_parts(94_495_000, 3892)
375 .saturating_add(RocksDbWeight::get().reads(6_u64))
376 .saturating_add(RocksDbWeight::get().writes(6_u64))
377 }
378 /// Storage: `Nis::Receipts` (r:1 w:1)
379 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
380 /// Storage: `Nis::Summary` (r:1 w:1)
381 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
382 /// Storage: `System::Account` (r:1 w:0)
383 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
384 /// Storage: `Balances::Holds` (r:1 w:1)
385 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
386 fn thaw_private() -> Weight {
387 // Proof Size summary in bytes:
388 // Measured: `316`
389 // Estimated: `3892`
390 // Minimum execution time: 48_478_000 picoseconds.
391 Weight::from_parts(49_690_000, 3892)
392 .saturating_add(RocksDbWeight::get().reads(4_u64))
393 .saturating_add(RocksDbWeight::get().writes(3_u64))
394 }
395 /// Storage: `Nis::Receipts` (r:1 w:1)
396 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
397 /// Storage: `Nis::Summary` (r:1 w:1)
398 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
399 /// Storage: `Assets::Asset` (r:1 w:1)
400 /// Proof: `Assets::Asset` (`max_values`: None, `max_size`: Some(210), added: 2685, mode: `MaxEncodedLen`)
401 /// Storage: `Assets::Account` (r:1 w:1)
402 /// Proof: `Assets::Account` (`max_values`: None, `max_size`: Some(134), added: 2609, mode: `MaxEncodedLen`)
403 /// Storage: `System::Account` (r:1 w:1)
404 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
405 fn thaw_communal() -> Weight {
406 // Proof Size summary in bytes:
407 // Measured: `642`
408 // Estimated: `3675`
409 // Minimum execution time: 89_681_000 picoseconds.
410 Weight::from_parts(92_693_000, 3675)
411 .saturating_add(RocksDbWeight::get().reads(5_u64))
412 .saturating_add(RocksDbWeight::get().writes(5_u64))
413 }
414 /// Storage: `Nis::Summary` (r:1 w:1)
415 /// Proof: `Nis::Summary` (`max_values`: Some(1), `max_size`: Some(40), added: 535, mode: `MaxEncodedLen`)
416 /// Storage: `System::Account` (r:1 w:0)
417 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
418 /// Storage: `Nis::QueueTotals` (r:1 w:1)
419 /// Proof: `Nis::QueueTotals` (`max_values`: Some(1), `max_size`: Some(6002), added: 6497, mode: `MaxEncodedLen`)
420 fn process_queues() -> Weight {
421 // Proof Size summary in bytes:
422 // Measured: `6563`
423 // Estimated: `7487`
424 // Minimum execution time: 19_670_000 picoseconds.
425 Weight::from_parts(22_353_000, 7487)
426 .saturating_add(RocksDbWeight::get().reads(3_u64))
427 .saturating_add(RocksDbWeight::get().writes(2_u64))
428 }
429 /// Storage: `Nis::Queues` (r:1 w:1)
430 /// Proof: `Nis::Queues` (`max_values`: None, `max_size`: Some(48022), added: 50497, mode: `MaxEncodedLen`)
431 fn process_queue() -> Weight {
432 // Proof Size summary in bytes:
433 // Measured: `0`
434 // Estimated: `51487`
435 // Minimum execution time: 2_755_000 picoseconds.
436 Weight::from_parts(2_944_000, 51487)
437 .saturating_add(RocksDbWeight::get().reads(1_u64))
438 .saturating_add(RocksDbWeight::get().writes(1_u64))
439 }
440 /// Storage: `Nis::Receipts` (r:0 w:1)
441 /// Proof: `Nis::Receipts` (`max_values`: None, `max_size`: Some(81), added: 2556, mode: `MaxEncodedLen`)
442 fn process_bid() -> Weight {
443 // Proof Size summary in bytes:
444 // Measured: `0`
445 // Estimated: `0`
446 // Minimum execution time: 3_919_000 picoseconds.
447 Weight::from_parts(4_114_000, 0)
448 .saturating_add(RocksDbWeight::get().writes(1_u64))
449 }
450}