asset_hub_westend_runtime/weights/pallet_staking_async.rs
1// Copyright (C) Parity Technologies (UK) Ltd.
2// SPDX-License-Identifier: Apache-2.0
3
4// Licensed under the Apache License, Version 2.0 (the "License");
5// you may not use this file except in compliance with the License.
6// You may obtain a copy of the License at
7//
8// http://www.apache.org/licenses/LICENSE-2.0
9//
10// Unless required by applicable law or agreed to in writing, software
11// distributed under the License is distributed on an "AS IS" BASIS,
12// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13// See the License for the specific language governing permissions and
14// limitations under the License.
15
16//! Autogenerated weights for `pallet_staking_async`
17//!
18//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
19//! DATE: 2025-09-04, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
20//! WORST CASE MAP SIZE: `1000000`
21//! HOSTNAME: `04e6bcf4596d`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
22//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: 1024
23
24// Executed Command:
25// frame-omni-bencher
26// v1
27// benchmark
28// pallet
29// --extrinsic=*
30// --runtime=target/production/wbuild/asset-hub-westend-runtime/asset_hub_westend_runtime.wasm
31// --pallet=pallet_staking_async
32// --header=/__w/polkadot-sdk/polkadot-sdk/cumulus/file_header.txt
33// --output=./cumulus/parachains/runtimes/assets/asset-hub-westend/src/weights
34// --wasm-execution=compiled
35// --steps=50
36// --repeat=20
37// --heap-pages=4096
38// --no-storage-info
39// --no-min-squares
40// --no-median-slopes
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_staking_async`.
51pub struct WeightInfo<T>(PhantomData<T>);
52impl<T: frame_system::Config> pallet_staking_async::WeightInfo for WeightInfo<T> {
53 /// Storage: `Staking::Bonded` (r:1 w:1)
54 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
55 /// Storage: `Staking::Ledger` (r:1 w:1)
56 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
57 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
58 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
59 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
60 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
61 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
62 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
63 /// Storage: `Balances::Holds` (r:1 w:1)
64 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
65 /// Storage: `Staking::Payee` (r:0 w:1)
66 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
67 fn bond() -> Weight {
68 // Proof Size summary in bytes:
69 // Measured: `6813`
70 // Estimated: `4218`
71 // Minimum execution time: 113_577_000 picoseconds.
72 Weight::from_parts(116_932_000, 0)
73 .saturating_add(Weight::from_parts(0, 4218))
74 .saturating_add(T::DbWeight::get().reads(6))
75 .saturating_add(T::DbWeight::get().writes(4))
76 }
77 /// Storage: `Staking::Bonded` (r:1 w:0)
78 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
79 /// Storage: `Staking::Ledger` (r:1 w:1)
80 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
81 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
82 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
83 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
84 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
85 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
86 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
87 /// Storage: `Balances::Holds` (r:1 w:1)
88 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
89 /// Storage: `VoterList::ListNodes` (r:3 w:3)
90 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
91 /// Storage: `VoterList::Lock` (r:1 w:0)
92 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
93 /// Storage: `VoterList::ListBags` (r:2 w:2)
94 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
95 fn bond_extra() -> Weight {
96 // Proof Size summary in bytes:
97 // Measured: `8274`
98 // Estimated: `8877`
99 // Minimum execution time: 289_644_000 picoseconds.
100 Weight::from_parts(302_513_000, 0)
101 .saturating_add(Weight::from_parts(0, 8877))
102 .saturating_add(T::DbWeight::get().reads(12))
103 .saturating_add(T::DbWeight::get().writes(7))
104 }
105 /// Storage: `Staking::Ledger` (r:1 w:1)
106 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
107 /// Storage: `Staking::Bonded` (r:1 w:0)
108 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
109 /// Storage: `Staking::Nominators` (r:1 w:0)
110 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
111 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
112 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
113 /// Storage: `Staking::ActiveEra` (r:1 w:0)
114 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
115 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
116 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
117 /// Storage: `Balances::Holds` (r:1 w:0)
118 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
119 /// Storage: `VoterList::ListNodes` (r:3 w:3)
120 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
121 /// Storage: `VoterList::Lock` (r:1 w:0)
122 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
123 /// Storage: `VoterList::ListBags` (r:2 w:2)
124 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
125 fn unbond() -> Weight {
126 // Proof Size summary in bytes:
127 // Measured: `8422`
128 // Estimated: `8877`
129 // Minimum execution time: 248_875_000 picoseconds.
130 Weight::from_parts(256_830_000, 0)
131 .saturating_add(Weight::from_parts(0, 8877))
132 .saturating_add(T::DbWeight::get().reads(13))
133 .saturating_add(T::DbWeight::get().writes(6))
134 }
135 /// Storage: `Staking::Ledger` (r:1 w:1)
136 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
137 /// Storage: `Staking::Bonded` (r:1 w:0)
138 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
139 /// Storage: `Staking::ActiveEra` (r:1 w:0)
140 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
141 /// Storage: `Staking::UnappliedSlashes` (r:1 w:0)
142 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(3231), added: 5706, mode: `MaxEncodedLen`)
143 /// Storage: `Staking::OffenceQueueEras` (r:1 w:0)
144 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
145 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
146 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
147 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
148 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
149 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
150 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
151 /// Storage: `Balances::Holds` (r:1 w:1)
152 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
153 /// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
154 /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
155 /// Storage: `DelegatedStaking::Agents` (r:1 w:0)
156 /// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`)
157 fn withdraw_unbonded_update() -> Weight {
158 // Proof Size summary in bytes:
159 // Measured: `7413`
160 // Estimated: `6696`
161 // Minimum execution time: 131_705_000 picoseconds.
162 Weight::from_parts(135_270_000, 0)
163 .saturating_add(Weight::from_parts(0, 6696))
164 .saturating_add(T::DbWeight::get().reads(11))
165 .saturating_add(T::DbWeight::get().writes(2))
166 }
167 /// Storage: `Staking::Ledger` (r:1 w:1)
168 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
169 /// Storage: `Staking::Bonded` (r:1 w:1)
170 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
171 /// Storage: `Staking::ActiveEra` (r:1 w:0)
172 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
173 /// Storage: `Staking::UnappliedSlashes` (r:1 w:0)
174 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(3231), added: 5706, mode: `MaxEncodedLen`)
175 /// Storage: `Staking::OffenceQueueEras` (r:1 w:0)
176 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
177 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
178 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
179 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
180 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
181 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
182 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
183 /// Storage: `Balances::Holds` (r:1 w:1)
184 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
185 /// Storage: `Staking::Validators` (r:1 w:0)
186 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
187 /// Storage: `Staking::Nominators` (r:1 w:1)
188 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
189 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
190 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
191 /// Storage: `VoterList::Lock` (r:1 w:0)
192 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
193 /// Storage: `VoterList::ListNodes` (r:2 w:2)
194 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
195 /// Storage: `VoterList::ListBags` (r:1 w:1)
196 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
197 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
198 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
199 /// Storage: `Staking::Payee` (r:0 w:1)
200 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
201 fn withdraw_unbonded_kill() -> Weight {
202 // Proof Size summary in bytes:
203 // Measured: `8360`
204 // Estimated: `6696`
205 // Minimum execution time: 299_116_000 picoseconds.
206 Weight::from_parts(312_554_000, 0)
207 .saturating_add(Weight::from_parts(0, 6696))
208 .saturating_add(T::DbWeight::get().reads(17))
209 .saturating_add(T::DbWeight::get().writes(11))
210 }
211 /// Storage: `Staking::Ledger` (r:1 w:0)
212 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
213 /// Storage: `Staking::Bonded` (r:1 w:0)
214 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
215 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
216 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
217 /// Storage: `Staking::MinCommission` (r:1 w:0)
218 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
219 /// Storage: `Staking::Validators` (r:1 w:1)
220 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
221 /// Storage: `Staking::MaxValidatorsCount` (r:1 w:0)
222 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
223 /// Storage: `Staking::Nominators` (r:1 w:0)
224 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
225 /// Storage: `VoterList::Lock` (r:1 w:0)
226 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
227 /// Storage: `VoterList::ListNodes` (r:1 w:1)
228 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
229 /// Storage: `VoterList::ListBags` (r:1 w:1)
230 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
231 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
232 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
233 /// Storage: `Staking::CounterForValidators` (r:1 w:1)
234 /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
235 fn validate() -> Weight {
236 // Proof Size summary in bytes:
237 // Measured: `8771`
238 // Estimated: `4218`
239 // Minimum execution time: 102_777_000 picoseconds.
240 Weight::from_parts(106_153_000, 0)
241 .saturating_add(Weight::from_parts(0, 4218))
242 .saturating_add(T::DbWeight::get().reads(12))
243 .saturating_add(T::DbWeight::get().writes(5))
244 }
245 /// Storage: `Staking::Ledger` (r:1 w:0)
246 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
247 /// Storage: `Staking::Bonded` (r:1 w:0)
248 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
249 /// Storage: `Staking::Nominators` (r:128 w:128)
250 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
251 /// The range of component `k` is `[1, 128]`.
252 fn kick(k: u32, ) -> Weight {
253 // Proof Size summary in bytes:
254 // Measured: `12207 + k * (1121 ±0)`
255 // Estimated: `4218 + k * (3033 ±0)`
256 // Minimum execution time: 79_398_000 picoseconds.
257 Weight::from_parts(87_226_243, 0)
258 .saturating_add(Weight::from_parts(0, 4218))
259 // Standard Error: 43_658
260 .saturating_add(Weight::from_parts(16_818_523, 0).saturating_mul(k.into()))
261 .saturating_add(T::DbWeight::get().reads(2))
262 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
263 .saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
264 .saturating_add(Weight::from_parts(0, 3033).saturating_mul(k.into()))
265 }
266 /// Storage: `Staking::Ledger` (r:1 w:0)
267 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
268 /// Storage: `Staking::Bonded` (r:1 w:0)
269 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
270 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
271 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
272 /// Storage: `Staking::Nominators` (r:1 w:1)
273 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
274 /// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
275 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
276 /// Storage: `Staking::Validators` (r:17 w:0)
277 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
278 /// Storage: `Staking::CurrentEra` (r:1 w:0)
279 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
280 /// Storage: `VoterList::Lock` (r:1 w:0)
281 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
282 /// Storage: `VoterList::ListNodes` (r:2 w:2)
283 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
284 /// Storage: `VoterList::ListBags` (r:1 w:1)
285 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
286 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
287 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
288 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
289 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
290 /// The range of component `n` is `[1, 16]`.
291 fn nominate(n: u32, ) -> Weight {
292 // Proof Size summary in bytes:
293 // Measured: `4995 + n * (68 ±0)`
294 // Estimated: `6248 + n * (2520 ±0)`
295 // Minimum execution time: 180_698_000 picoseconds.
296 Weight::from_parts(202_744_514, 0)
297 .saturating_add(Weight::from_parts(0, 6248))
298 // Standard Error: 82_249
299 .saturating_add(Weight::from_parts(5_669_284, 0).saturating_mul(n.into()))
300 .saturating_add(T::DbWeight::get().reads(13))
301 .saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
302 .saturating_add(T::DbWeight::get().writes(6))
303 .saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into()))
304 }
305 /// Storage: `Staking::Ledger` (r:1 w:0)
306 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
307 /// Storage: `Staking::Bonded` (r:1 w:0)
308 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
309 /// Storage: `Staking::Validators` (r:1 w:0)
310 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
311 /// Storage: `Staking::Nominators` (r:1 w:1)
312 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
313 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
314 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
315 /// Storage: `VoterList::Lock` (r:1 w:0)
316 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
317 /// Storage: `VoterList::ListNodes` (r:2 w:2)
318 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
319 /// Storage: `VoterList::ListBags` (r:1 w:1)
320 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
321 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
322 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
323 fn chill() -> Weight {
324 // Proof Size summary in bytes:
325 // Measured: `5237`
326 // Estimated: `6248`
327 // Minimum execution time: 170_702_000 picoseconds.
328 Weight::from_parts(184_776_000, 0)
329 .saturating_add(Weight::from_parts(0, 6248))
330 .saturating_add(T::DbWeight::get().reads(10))
331 .saturating_add(T::DbWeight::get().writes(6))
332 }
333 /// Storage: `Staking::Ledger` (r:1 w:0)
334 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
335 /// Storage: `Staking::Bonded` (r:1 w:0)
336 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
337 /// Storage: `Staking::Payee` (r:0 w:1)
338 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
339 fn set_payee() -> Weight {
340 // Proof Size summary in bytes:
341 // Measured: `4060`
342 // Estimated: `4218`
343 // Minimum execution time: 38_367_000 picoseconds.
344 Weight::from_parts(39_752_000, 0)
345 .saturating_add(Weight::from_parts(0, 4218))
346 .saturating_add(T::DbWeight::get().reads(2))
347 .saturating_add(T::DbWeight::get().writes(1))
348 }
349 /// Storage: `Staking::Ledger` (r:1 w:0)
350 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
351 /// Storage: `Staking::Bonded` (r:1 w:0)
352 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
353 /// Storage: `Staking::Payee` (r:1 w:1)
354 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
355 fn update_payee() -> Weight {
356 // Proof Size summary in bytes:
357 // Measured: `5732`
358 // Estimated: `4218`
359 // Minimum execution time: 48_642_000 picoseconds.
360 Weight::from_parts(50_461_000, 0)
361 .saturating_add(Weight::from_parts(0, 4218))
362 .saturating_add(T::DbWeight::get().reads(3))
363 .saturating_add(T::DbWeight::get().writes(1))
364 }
365 /// Storage: `Staking::Bonded` (r:1 w:1)
366 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
367 /// Storage: `Staking::Ledger` (r:2 w:2)
368 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
369 fn set_controller() -> Weight {
370 // Proof Size summary in bytes:
371 // Measured: `5370`
372 // Estimated: `7446`
373 // Minimum execution time: 49_900_000 picoseconds.
374 Weight::from_parts(51_842_000, 0)
375 .saturating_add(Weight::from_parts(0, 7446))
376 .saturating_add(T::DbWeight::get().reads(3))
377 .saturating_add(T::DbWeight::get().writes(3))
378 }
379 /// Storage: `Staking::ValidatorCount` (r:0 w:1)
380 /// Proof: `Staking::ValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
381 fn set_validator_count() -> Weight {
382 // Proof Size summary in bytes:
383 // Measured: `0`
384 // Estimated: `0`
385 // Minimum execution time: 2_517_000 picoseconds.
386 Weight::from_parts(2_842_000, 0)
387 .saturating_add(Weight::from_parts(0, 0))
388 .saturating_add(T::DbWeight::get().writes(1))
389 }
390 /// Storage: `Staking::ForceEra` (r:0 w:1)
391 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
392 fn force_no_eras() -> Weight {
393 // Proof Size summary in bytes:
394 // Measured: `0`
395 // Estimated: `0`
396 // Minimum execution time: 14_680_000 picoseconds.
397 Weight::from_parts(15_760_000, 0)
398 .saturating_add(Weight::from_parts(0, 0))
399 .saturating_add(T::DbWeight::get().writes(1))
400 }
401 /// Storage: `Staking::ForceEra` (r:0 w:1)
402 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
403 fn force_new_era() -> Weight {
404 // Proof Size summary in bytes:
405 // Measured: `0`
406 // Estimated: `0`
407 // Minimum execution time: 15_091_000 picoseconds.
408 Weight::from_parts(15_838_000, 0)
409 .saturating_add(Weight::from_parts(0, 0))
410 .saturating_add(T::DbWeight::get().writes(1))
411 }
412 /// Storage: `Staking::ForceEra` (r:0 w:1)
413 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
414 fn force_new_era_always() -> Weight {
415 // Proof Size summary in bytes:
416 // Measured: `0`
417 // Estimated: `0`
418 // Minimum execution time: 14_927_000 picoseconds.
419 Weight::from_parts(16_114_000, 0)
420 .saturating_add(Weight::from_parts(0, 0))
421 .saturating_add(T::DbWeight::get().writes(1))
422 }
423 /// Storage: `Staking::Invulnerables` (r:0 w:1)
424 /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
425 /// The range of component `v` is `[0, 20]`.
426 fn set_invulnerables(v: u32, ) -> Weight {
427 // Proof Size summary in bytes:
428 // Measured: `0`
429 // Estimated: `0`
430 // Minimum execution time: 2_826_000 picoseconds.
431 Weight::from_parts(3_433_272, 0)
432 .saturating_add(Weight::from_parts(0, 0))
433 // Standard Error: 967
434 .saturating_add(Weight::from_parts(17_572, 0).saturating_mul(v.into()))
435 .saturating_add(T::DbWeight::get().writes(1))
436 }
437 /// Storage: `Staking::Ledger` (r:1502 w:1502)
438 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
439 /// Storage: `Staking::Bonded` (r:751 w:751)
440 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
441 /// Storage: `Staking::Payee` (r:751 w:0)
442 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
443 /// The range of component `u` is `[0, 751]`.
444 fn deprecate_controller_batch(u: u32, ) -> Weight {
445 // Proof Size summary in bytes:
446 // Measured: `194937 + u * (1086 ±0)`
447 // Estimated: `990 + u * (6456 ±0)`
448 // Minimum execution time: 5_707_000 picoseconds.
449 Weight::from_parts(416_986_998, 0)
450 .saturating_add(Weight::from_parts(0, 990))
451 // Standard Error: 83_724
452 .saturating_add(Weight::from_parts(48_456_907, 0).saturating_mul(u.into()))
453 .saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into())))
454 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(u.into())))
455 .saturating_add(Weight::from_parts(0, 6456).saturating_mul(u.into()))
456 }
457 /// Storage: `Staking::Bonded` (r:1 w:1)
458 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
459 /// Storage: `Staking::Ledger` (r:1 w:1)
460 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
461 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
462 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
463 /// Storage: `Balances::Holds` (r:1 w:1)
464 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
465 /// Storage: `System::Account` (r:1 w:1)
466 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
467 /// Storage: `Staking::Validators` (r:1 w:0)
468 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
469 /// Storage: `Staking::Nominators` (r:1 w:1)
470 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
471 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
472 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
473 /// Storage: `VoterList::Lock` (r:1 w:0)
474 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
475 /// Storage: `VoterList::ListNodes` (r:2 w:2)
476 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
477 /// Storage: `VoterList::ListBags` (r:1 w:1)
478 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
479 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
480 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
481 /// Storage: `Staking::Payee` (r:0 w:1)
482 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
483 fn force_unstake() -> Weight {
484 // Proof Size summary in bytes:
485 // Measured: `8305`
486 // Estimated: `6248`
487 // Minimum execution time: 268_494_000 picoseconds.
488 Weight::from_parts(287_320_000, 0)
489 .saturating_add(Weight::from_parts(0, 6248))
490 .saturating_add(T::DbWeight::get().reads(13))
491 .saturating_add(T::DbWeight::get().writes(12))
492 }
493 /// Storage: `Staking::CancelledSlashes` (r:1 w:1)
494 /// Proof: `Staking::CancelledSlashes` (`max_values`: None, `max_size`: Some(36014), added: 38489, mode: `MaxEncodedLen`)
495 /// The range of component `s` is `[1, 1000]`.
496 fn cancel_deferred_slash(s: u32, ) -> Weight {
497 // Proof Size summary in bytes:
498 // Measured: `653`
499 // Estimated: `39479`
500 // Minimum execution time: 16_163_000 picoseconds.
501 Weight::from_parts(16_564_000, 0)
502 .saturating_add(Weight::from_parts(0, 39479))
503 // Standard Error: 8_347
504 .saturating_add(Weight::from_parts(2_970_506, 0).saturating_mul(s.into()))
505 .saturating_add(T::DbWeight::get().reads(1))
506 .saturating_add(T::DbWeight::get().writes(1))
507 }
508 /// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
509 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
510 /// Storage: `Staking::ClaimedRewards` (r:1 w:1)
511 /// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: Some(1462), added: 3937, mode: `MaxEncodedLen`)
512 /// Storage: `Staking::CurrentEra` (r:1 w:0)
513 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
514 /// Storage: `Staking::ErasValidatorReward` (r:1 w:0)
515 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
516 /// Storage: `Staking::Bonded` (r:65 w:0)
517 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
518 /// Storage: `Staking::Ledger` (r:65 w:65)
519 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
520 /// Storage: `System::Account` (r:65 w:65)
521 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
522 /// Storage: `Staking::VirtualStakers` (r:65 w:0)
523 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
524 /// Storage: `Balances::Holds` (r:65 w:65)
525 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
526 /// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
527 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(3152), added: 5627, mode: `MaxEncodedLen`)
528 /// Storage: `Staking::ErasRewardPoints` (r:1 w:0)
529 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `MaxEncodedLen`)
530 /// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0)
531 /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
532 /// Storage: `Staking::Payee` (r:65 w:0)
533 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
534 /// The range of component `n` is `[0, 64]`.
535 fn payout_stakers_alive_staked(n: u32, ) -> Weight {
536 // Proof Size summary in bytes:
537 // Measured: `32761 + n * (3627 ±0)`
538 // Estimated: `39483 + n * (3228 ±0)`
539 // Minimum execution time: 341_005_000 picoseconds.
540 Weight::from_parts(484_113_723, 0)
541 .saturating_add(Weight::from_parts(0, 39483))
542 // Standard Error: 179_884
543 .saturating_add(Weight::from_parts(141_242_813, 0).saturating_mul(n.into()))
544 .saturating_add(T::DbWeight::get().reads(13))
545 .saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into())))
546 .saturating_add(T::DbWeight::get().writes(4))
547 .saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into())))
548 .saturating_add(Weight::from_parts(0, 3228).saturating_mul(n.into()))
549 }
550 /// Storage: `Staking::Ledger` (r:1 w:1)
551 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
552 /// Storage: `Staking::Bonded` (r:1 w:0)
553 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
554 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
555 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
556 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
557 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
558 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
559 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
560 /// Storage: `Balances::Holds` (r:1 w:0)
561 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
562 /// Storage: `VoterList::ListNodes` (r:3 w:3)
563 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
564 /// Storage: `VoterList::Lock` (r:1 w:0)
565 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
566 /// Storage: `VoterList::ListBags` (r:2 w:2)
567 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
568 /// The range of component `l` is `[1, 32]`.
569 fn rebond(l: u32, ) -> Weight {
570 // Proof Size summary in bytes:
571 // Measured: `8275 + l * (5 ±0)`
572 // Estimated: `8877`
573 // Minimum execution time: 241_410_000 picoseconds.
574 Weight::from_parts(262_304_335, 0)
575 .saturating_add(Weight::from_parts(0, 8877))
576 // Standard Error: 46_723
577 .saturating_add(Weight::from_parts(309_679, 0).saturating_mul(l.into()))
578 .saturating_add(T::DbWeight::get().reads(12))
579 .saturating_add(T::DbWeight::get().writes(6))
580 }
581 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
582 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
583 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
584 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
585 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
586 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
587 /// Storage: `Staking::Bonded` (r:1 w:1)
588 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
589 /// Storage: `Staking::Ledger` (r:1 w:1)
590 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
591 /// Storage: `Balances::Holds` (r:1 w:1)
592 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
593 /// Storage: `Staking::Validators` (r:1 w:0)
594 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
595 /// Storage: `Staking::Nominators` (r:1 w:1)
596 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
597 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
598 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
599 /// Storage: `VoterList::Lock` (r:1 w:0)
600 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
601 /// Storage: `VoterList::ListNodes` (r:2 w:2)
602 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
603 /// Storage: `VoterList::ListBags` (r:1 w:1)
604 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
605 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
606 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
607 /// Storage: `Staking::Payee` (r:0 w:1)
608 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
609 fn reap_stash() -> Weight {
610 // Proof Size summary in bytes:
611 // Measured: `8368`
612 // Estimated: `6248`
613 // Minimum execution time: 300_336_000 picoseconds.
614 Weight::from_parts(320_628_000, 0)
615 .saturating_add(Weight::from_parts(0, 6248))
616 .saturating_add(T::DbWeight::get().reads(14))
617 .saturating_add(T::DbWeight::get().writes(11))
618 }
619 /// Storage: `Staking::MinCommission` (r:0 w:1)
620 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
621 /// Storage: `Staking::MinValidatorBond` (r:0 w:1)
622 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
623 /// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
624 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
625 /// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
626 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
627 /// Storage: `Staking::ChillThreshold` (r:0 w:1)
628 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
629 /// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
630 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
631 /// Storage: `Staking::MinNominatorBond` (r:0 w:1)
632 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
633 fn set_staking_configs_all_set() -> Weight {
634 // Proof Size summary in bytes:
635 // Measured: `0`
636 // Estimated: `0`
637 // Minimum execution time: 4_554_000 picoseconds.
638 Weight::from_parts(4_900_000, 0)
639 .saturating_add(Weight::from_parts(0, 0))
640 .saturating_add(T::DbWeight::get().writes(7))
641 }
642 /// Storage: `Staking::MinCommission` (r:0 w:1)
643 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
644 /// Storage: `Staking::MinValidatorBond` (r:0 w:1)
645 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
646 /// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
647 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
648 /// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
649 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
650 /// Storage: `Staking::ChillThreshold` (r:0 w:1)
651 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
652 /// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
653 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
654 /// Storage: `Staking::MinNominatorBond` (r:0 w:1)
655 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
656 fn set_staking_configs_all_remove() -> Weight {
657 // Proof Size summary in bytes:
658 // Measured: `0`
659 // Estimated: `0`
660 // Minimum execution time: 4_200_000 picoseconds.
661 Weight::from_parts(4_453_000, 0)
662 .saturating_add(Weight::from_parts(0, 0))
663 .saturating_add(T::DbWeight::get().writes(7))
664 }
665 /// Storage: `Staking::Bonded` (r:1 w:0)
666 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
667 /// Storage: `Staking::Ledger` (r:1 w:0)
668 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
669 /// Storage: `Staking::Nominators` (r:1 w:1)
670 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
671 /// Storage: `Staking::ChillThreshold` (r:1 w:0)
672 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
673 /// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
674 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
675 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
676 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
677 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
678 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
679 /// Storage: `Staking::Validators` (r:1 w:0)
680 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
681 /// Storage: `VoterList::Lock` (r:1 w:0)
682 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
683 /// Storage: `VoterList::ListNodes` (r:2 w:2)
684 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
685 /// Storage: `VoterList::ListBags` (r:1 w:1)
686 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
687 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
688 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
689 fn chill_other() -> Weight {
690 // Proof Size summary in bytes:
691 // Measured: `5360`
692 // Estimated: `6248`
693 // Minimum execution time: 210_278_000 picoseconds.
694 Weight::from_parts(223_503_000, 0)
695 .saturating_add(Weight::from_parts(0, 6248))
696 .saturating_add(T::DbWeight::get().reads(13))
697 .saturating_add(T::DbWeight::get().writes(6))
698 }
699 /// Storage: `Staking::MinCommission` (r:1 w:0)
700 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
701 /// Storage: `Staking::Validators` (r:1 w:1)
702 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
703 fn force_apply_min_commission() -> Weight {
704 // Proof Size summary in bytes:
705 // Measured: `663`
706 // Estimated: `3510`
707 // Minimum execution time: 37_633_000 picoseconds.
708 Weight::from_parts(40_846_000, 0)
709 .saturating_add(Weight::from_parts(0, 3510))
710 .saturating_add(T::DbWeight::get().reads(2))
711 .saturating_add(T::DbWeight::get().writes(1))
712 }
713 /// Storage: `Staking::MinCommission` (r:0 w:1)
714 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
715 fn set_min_commission() -> Weight {
716 // Proof Size summary in bytes:
717 // Measured: `0`
718 // Estimated: `0`
719 // Minimum execution time: 2_570_000 picoseconds.
720 Weight::from_parts(2_849_000, 0)
721 .saturating_add(Weight::from_parts(0, 0))
722 .saturating_add(T::DbWeight::get().writes(1))
723 }
724 /// Storage: `System::Account` (r:1 w:0)
725 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
726 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
727 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
728 /// Storage: `Balances::Holds` (r:1 w:0)
729 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
730 /// Storage: `Balances::Locks` (r:1 w:0)
731 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
732 /// Storage: `Staking::Bonded` (r:1 w:1)
733 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
734 /// Storage: `Staking::Ledger` (r:1 w:1)
735 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
736 fn restore_ledger() -> Weight {
737 // Proof Size summary in bytes:
738 // Measured: `6968`
739 // Estimated: `4764`
740 // Minimum execution time: 77_211_000 picoseconds.
741 Weight::from_parts(79_223_000, 0)
742 .saturating_add(Weight::from_parts(0, 4764))
743 .saturating_add(T::DbWeight::get().reads(6))
744 .saturating_add(T::DbWeight::get().writes(2))
745 }
746 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
747 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
748 /// Storage: `Staking::Bonded` (r:1 w:0)
749 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
750 /// Storage: `Staking::Ledger` (r:1 w:0)
751 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
752 /// Storage: `Balances::Locks` (r:1 w:1)
753 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
754 /// Storage: `Balances::Freezes` (r:1 w:0)
755 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
756 /// Storage: `Balances::Holds` (r:1 w:1)
757 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
758 fn migrate_currency() -> Weight {
759 // Proof Size summary in bytes:
760 // Measured: `7039`
761 // Estimated: `4764`
762 // Minimum execution time: 124_593_000 picoseconds.
763 Weight::from_parts(128_244_000, 0)
764 .saturating_add(Weight::from_parts(0, 4764))
765 .saturating_add(T::DbWeight::get().reads(6))
766 .saturating_add(T::DbWeight::get().writes(2))
767 }
768 /// Storage: `Staking::ActiveEra` (r:1 w:0)
769 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
770 /// Storage: `Staking::UnappliedSlashes` (r:1 w:1)
771 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(3231), added: 5706, mode: `MaxEncodedLen`)
772 /// Storage: `Staking::Bonded` (r:65 w:0)
773 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
774 /// Storage: `Staking::Ledger` (r:65 w:65)
775 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
776 /// Storage: `NominationPools::ReversePoolIdLookup` (r:65 w:0)
777 /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
778 /// Storage: `DelegatedStaking::Agents` (r:65 w:65)
779 /// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`)
780 /// Storage: `System::Account` (r:65 w:65)
781 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
782 /// Storage: `Staking::VirtualStakers` (r:65 w:0)
783 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
784 /// Storage: `Balances::Holds` (r:65 w:65)
785 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(265), added: 2740, mode: `MaxEncodedLen`)
786 fn apply_slash() -> Weight {
787 // Proof Size summary in bytes:
788 // Measured: `212846`
789 // Estimated: `210810`
790 // Minimum execution time: 6_294_738_000 picoseconds.
791 Weight::from_parts(6_451_211_000, 0)
792 .saturating_add(Weight::from_parts(0, 210810))
793 .saturating_add(T::DbWeight::get().reads(457))
794 .saturating_add(T::DbWeight::get().writes(261))
795 }
796 /// Storage: `Staking::ProcessingOffence` (r:1 w:1)
797 /// Proof: `Staking::ProcessingOffence` (`max_values`: Some(1), `max_size`: Some(85), added: 580, mode: `MaxEncodedLen`)
798 /// Storage: `Staking::OffenceQueueEras` (r:1 w:1)
799 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
800 /// Storage: `Staking::OffenceQueue` (r:2 w:1)
801 /// Proof: `Staking::OffenceQueue` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
802 /// Storage: `Staking::SlashRewardFraction` (r:1 w:0)
803 /// Proof: `Staking::SlashRewardFraction` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
804 /// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
805 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
806 /// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
807 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(3152), added: 5627, mode: `MaxEncodedLen`)
808 /// Storage: `Staking::UnappliedSlashes` (r:0 w:1)
809 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(3231), added: 5706, mode: `MaxEncodedLen`)
810 fn process_offence_queue() -> Weight {
811 // Proof Size summary in bytes:
812 // Measured: `3622`
813 // Estimated: `6617`
814 // Minimum execution time: 160_545_000 picoseconds.
815 Weight::from_parts(170_185_000, 0)
816 .saturating_add(Weight::from_parts(0, 6617))
817 .saturating_add(T::DbWeight::get().reads(7))
818 .saturating_add(T::DbWeight::get().writes(4))
819 }
820 /// Storage: `Staking::ActiveEra` (r:1 w:0)
821 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
822 /// Storage: `Staking::BondedEras` (r:1 w:0)
823 /// Proof: `Staking::BondedEras` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
824 /// Storage: `Staking::Invulnerables` (r:1 w:0)
825 /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
826 /// Storage: `Staking::ErasStakersOverview` (r:500 w:0)
827 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
828 /// Storage: `Staking::ValidatorSlashInEra` (r:500 w:500)
829 /// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
830 /// Storage: `Staking::OffenceQueue` (r:500 w:500)
831 /// Proof: `Staking::OffenceQueue` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
832 /// Storage: `Staking::OffenceQueueEras` (r:1 w:1)
833 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
834 /// The range of component `v` is `[2, 500]`.
835 fn rc_on_offence(v: u32, ) -> Weight {
836 // Proof Size summary in bytes:
837 // Measured: `687 + v * (96 ±0)`
838 // Estimated: `2126 + v * (2576 ±0)`
839 // Minimum execution time: 97_236_000 picoseconds.
840 Weight::from_parts(7_707_285, 0)
841 .saturating_add(Weight::from_parts(0, 2126))
842 // Standard Error: 15_935
843 .saturating_add(Weight::from_parts(19_925_892, 0).saturating_mul(v.into()))
844 .saturating_add(T::DbWeight::get().reads(4))
845 .saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(v.into())))
846 .saturating_add(T::DbWeight::get().writes(1))
847 .saturating_add(T::DbWeight::get().writes((2_u64).saturating_mul(v.into())))
848 .saturating_add(Weight::from_parts(0, 2576).saturating_mul(v.into()))
849 }
850 /// Storage: `Staking::ActiveEra` (r:1 w:1)
851 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
852 /// Storage: `Staking::ErasRewardPoints` (r:1 w:1)
853 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `MaxEncodedLen`)
854 /// Storage: `Staking::CurrentEra` (r:1 w:0)
855 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
856 /// Storage: `Staking::ErasTotalStake` (r:1 w:0)
857 /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
858 /// Storage: `Staking::MaxStakedRewards` (r:1 w:0)
859 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
860 /// Storage: `Staking::BondedEras` (r:1 w:1)
861 /// Proof: `Staking::BondedEras` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
862 /// Storage: `Staking::ForceEra` (r:1 w:0)
863 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
864 /// Storage: UNKNOWN KEY `0x6358acd2035ec4bb863fa981e0c177b9` (r:1 w:0)
865 /// Proof: UNKNOWN KEY `0x6358acd2035ec4bb863fa981e0c177b9` (r:1 w:0)
866 /// Storage: UNKNOWN KEY `0xc209f5d8eb920681b56c64b8694ea78c` (r:1 w:0)
867 /// Proof: UNKNOWN KEY `0xc209f5d8eb920681b56c64b8694ea78c` (r:1 w:0)
868 /// Storage: UNKNOWN KEY `0x48384a816e4f71a936cb76dc9e303f2a` (r:1 w:0)
869 /// Proof: UNKNOWN KEY `0x48384a816e4f71a936cb76dc9e303f2a` (r:1 w:0)
870 /// Storage: `Staking::VoterSnapshotStatus` (r:0 w:1)
871 /// Proof: `Staking::VoterSnapshotStatus` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
872 /// Storage: `Staking::ErasValidatorReward` (r:0 w:1)
873 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
874 /// Storage: `Staking::NextElectionPage` (r:0 w:1)
875 /// Proof: `Staking::NextElectionPage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
876 /// Storage: `Staking::ElectableStashes` (r:0 w:1)
877 /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `MaxEncodedLen`)
878 fn rc_on_session_report() -> Weight {
879 // Proof Size summary in bytes:
880 // Measured: `1230`
881 // Estimated: `39483`
882 // Minimum execution time: 466_552_000 picoseconds.
883 Weight::from_parts(491_384_000, 0)
884 .saturating_add(Weight::from_parts(0, 39483))
885 .saturating_add(T::DbWeight::get().reads(10))
886 .saturating_add(T::DbWeight::get().writes(7))
887 }
888 /// Storage: `Staking::ActiveEra` (r:1 w:0)
889 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
890 /// Storage: `Staking::EraPruningState` (r:1 w:0)
891 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
892 /// Storage: `Staking::ErasStakersPaged` (r:101 w:100)
893 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(3152), added: 5627, mode: `Measured`)
894 /// The range of component `v` is `[1, 1000]`.
895 fn prune_era_stakers_paged(v: u32, ) -> Weight {
896 // Proof Size summary in bytes:
897 // Measured: `7932 + v * (3 ±0)`
898 // Estimated: `258685 + v * (4 ±0)`
899 // Minimum execution time: 177_161_000 picoseconds.
900 Weight::from_parts(215_748_309, 0)
901 .saturating_add(Weight::from_parts(0, 258685))
902 // Standard Error: 1_574
903 .saturating_add(Weight::from_parts(63_902, 0).saturating_mul(v.into()))
904 .saturating_add(T::DbWeight::get().reads(103))
905 .saturating_add(T::DbWeight::get().writes(100))
906 .saturating_add(Weight::from_parts(0, 4).saturating_mul(v.into()))
907 }
908 /// Storage: `Staking::ActiveEra` (r:1 w:0)
909 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
910 /// Storage: `Staking::EraPruningState` (r:1 w:0)
911 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
912 /// Storage: `Staking::ErasStakersOverview` (r:101 w:100)
913 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `Measured`)
914 /// The range of component `v` is `[1, 1000]`.
915 fn prune_era_stakers_overview(v: u32, ) -> Weight {
916 // Proof Size summary in bytes:
917 // Measured: `8859`
918 // Estimated: `203138 + v * (84 ±0)`
919 // Minimum execution time: 45_108_000 picoseconds.
920 Weight::from_parts(184_023_118, 0)
921 .saturating_add(Weight::from_parts(0, 203138))
922 // Standard Error: 4_913
923 .saturating_add(Weight::from_parts(110_136, 0).saturating_mul(v.into()))
924 .saturating_add(T::DbWeight::get().reads(81))
925 .saturating_add(T::DbWeight::get().writes(79))
926 .saturating_add(Weight::from_parts(0, 84).saturating_mul(v.into()))
927 }
928 /// Storage: `Staking::ActiveEra` (r:1 w:0)
929 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
930 /// Storage: `Staking::EraPruningState` (r:1 w:0)
931 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
932 /// Storage: `Staking::ErasValidatorPrefs` (r:101 w:100)
933 /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `Measured`)
934 /// The range of component `v` is `[1, 1000]`.
935 fn prune_era_validator_prefs(v: u32, ) -> Weight {
936 // Proof Size summary in bytes:
937 // Measured: `5885`
938 // Estimated: `200831 + v * (83 ±6)`
939 // Minimum execution time: 44_850_000 picoseconds.
940 Weight::from_parts(176_036_211, 0)
941 .saturating_add(Weight::from_parts(0, 200831))
942 // Standard Error: 4_585
943 .saturating_add(Weight::from_parts(101_327, 0).saturating_mul(v.into()))
944 .saturating_add(T::DbWeight::get().reads(81))
945 .saturating_add(T::DbWeight::get().writes(79))
946 .saturating_add(Weight::from_parts(0, 83).saturating_mul(v.into()))
947 }
948 /// Storage: `Staking::ActiveEra` (r:1 w:0)
949 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
950 /// Storage: `Staking::EraPruningState` (r:1 w:0)
951 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
952 /// Storage: `Staking::ClaimedRewards` (r:101 w:100)
953 /// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: Some(1462), added: 3937, mode: `Measured`)
954 /// The range of component `v` is `[1, 1000]`.
955 fn prune_era_claimed_rewards(v: u32, ) -> Weight {
956 // Proof Size summary in bytes:
957 // Measured: `8859`
958 // Estimated: `203138 + v * (84 ±0)`
959 // Minimum execution time: 41_789_000 picoseconds.
960 Weight::from_parts(168_784_316, 0)
961 .saturating_add(Weight::from_parts(0, 203138))
962 // Standard Error: 4_527
963 .saturating_add(Weight::from_parts(123_314, 0).saturating_mul(v.into()))
964 .saturating_add(T::DbWeight::get().reads(81))
965 .saturating_add(T::DbWeight::get().writes(79))
966 .saturating_add(Weight::from_parts(0, 84).saturating_mul(v.into()))
967 }
968 /// Storage: `Staking::ActiveEra` (r:1 w:0)
969 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
970 /// Storage: `Staking::EraPruningState` (r:1 w:1)
971 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
972 /// Storage: `Staking::ErasValidatorReward` (r:0 w:1)
973 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`)
974 fn prune_era_validator_reward() -> Weight {
975 // Proof Size summary in bytes:
976 // Measured: `809`
977 // Estimated: `4274`
978 // Minimum execution time: 32_432_000 picoseconds.
979 Weight::from_parts(34_510_000, 0)
980 .saturating_add(Weight::from_parts(0, 4274))
981 .saturating_add(T::DbWeight::get().reads(2))
982 .saturating_add(T::DbWeight::get().writes(2))
983 }
984 /// Storage: `Staking::ActiveEra` (r:1 w:0)
985 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
986 /// Storage: `Staking::EraPruningState` (r:1 w:1)
987 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
988 /// Storage: `Staking::ErasRewardPoints` (r:0 w:1)
989 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `Measured`)
990 fn prune_era_reward_points() -> Weight {
991 // Proof Size summary in bytes:
992 // Measured: `809`
993 // Estimated: `4274`
994 // Minimum execution time: 32_296_000 picoseconds.
995 Weight::from_parts(34_923_000, 0)
996 .saturating_add(Weight::from_parts(0, 4274))
997 .saturating_add(T::DbWeight::get().reads(2))
998 .saturating_add(T::DbWeight::get().writes(2))
999 }
1000 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1001 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
1002 /// Storage: `Staking::EraPruningState` (r:1 w:1)
1003 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
1004 /// Storage: `Staking::ErasTotalStake` (r:0 w:1)
1005 /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`)
1006 fn prune_era_total_stake() -> Weight {
1007 // Proof Size summary in bytes:
1008 // Measured: `809`
1009 // Estimated: `4274`
1010 // Minimum execution time: 40_141_000 picoseconds.
1011 Weight::from_parts(43_990_000, 0)
1012 .saturating_add(Weight::from_parts(0, 4274))
1013 .saturating_add(T::DbWeight::get().reads(2))
1014 .saturating_add(T::DbWeight::get().writes(2))
1015 }
1016}