pallet_staking_async_parachain_runtime/weights/pallet_staking_async.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
19//! Autogenerated weights for `pallet_staking_async`
20//!
21//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
22//! DATE: 2025-09-04, STEPS: `2`, REPEAT: `1`, LOW RANGE: `[]`, HIGH RANGE: `[]`
23//! WORST CASE MAP SIZE: `1000000`
24//! HOSTNAME: `PAR03662`, CPU: `<UNKNOWN>`
25//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
26
27// Executed Command:
28// ./target/release/frame-omni-bencher
29// v1
30// benchmark
31// pallet
32// --runtime
33// ./target/release/wbuild/pallet-staking-async-parachain-runtime/pallet_staking_async_parachain_runtime.compact.compressed.wasm
34// --pallet
35// pallet_staking_async
36// --extrinsic
37// *
38// --steps
39// 2
40// --repeat
41// 1
42// --genesis-builder-preset
43// fake-dot
44// --template
45// substrate/.maintain/frame-weight-template.hbs
46// --output
47// substrate/frame/staking-async/runtimes/parachain/src/weights/pallet_staking_async.rs
48
49#![cfg_attr(rustfmt, rustfmt_skip)]
50#![allow(unused_parens)]
51#![allow(unused_imports)]
52#![allow(missing_docs)]
53#![allow(dead_code)]
54
55use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
56use core::marker::PhantomData;
57
58/// Weight functions needed for `pallet_staking_async`.
59pub trait WeightInfo {
60 fn bond() -> Weight;
61 fn bond_extra() -> Weight;
62 fn unbond() -> Weight;
63 fn withdraw_unbonded_update() -> Weight;
64 fn withdraw_unbonded_kill() -> Weight;
65 fn validate() -> Weight;
66 fn kick(k: u32, ) -> Weight;
67 fn nominate(n: u32, ) -> Weight;
68 fn chill() -> Weight;
69 fn set_payee() -> Weight;
70 fn update_payee() -> Weight;
71 fn set_controller() -> Weight;
72 fn set_validator_count() -> Weight;
73 fn force_no_eras() -> Weight;
74 fn force_new_era() -> Weight;
75 fn force_new_era_always() -> Weight;
76 fn set_invulnerables(v: u32, ) -> Weight;
77 fn deprecate_controller_batch(u: u32, ) -> Weight;
78 fn force_unstake() -> Weight;
79 fn cancel_deferred_slash(s: u32, ) -> Weight;
80 fn payout_stakers_alive_staked(n: u32, ) -> Weight;
81 fn rebond(l: u32, ) -> Weight;
82 fn reap_stash() -> Weight;
83 fn set_staking_configs_all_set() -> Weight;
84 fn set_staking_configs_all_remove() -> Weight;
85 fn chill_other() -> Weight;
86 fn force_apply_min_commission() -> Weight;
87 fn set_min_commission() -> Weight;
88 fn restore_ledger() -> Weight;
89 fn migrate_currency() -> Weight;
90 fn apply_slash() -> Weight;
91 fn process_offence_queue() -> Weight;
92 fn rc_on_offence(v: u32, ) -> Weight;
93 fn rc_on_session_report() -> Weight;
94 fn prune_era_stakers_paged(v: u32, ) -> Weight;
95 fn prune_era_stakers_overview(v: u32, ) -> Weight;
96 fn prune_era_validator_prefs(v: u32, ) -> Weight;
97 fn prune_era_claimed_rewards(v: u32, ) -> Weight;
98 fn prune_era_validator_reward() -> Weight;
99 fn prune_era_reward_points() -> Weight;
100 fn prune_era_total_stake() -> Weight;
101}
102
103/// Weights for `pallet_staking_async` using the Substrate node and recommended hardware.
104pub struct SubstrateWeight<T>(PhantomData<T>);
105impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
106 /// Storage: `Staking::Bonded` (r:1 w:1)
107 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
108 /// Storage: `Staking::Ledger` (r:1 w:1)
109 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
110 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
111 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
112 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
113 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
114 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
115 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
116 /// Storage: `Balances::Holds` (r:1 w:1)
117 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
118 /// Storage: `Staking::Payee` (r:0 w:1)
119 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
120 fn bond() -> Weight {
121 // Proof Size summary in bytes:
122 // Measured: `6835`
123 // Estimated: `4218`
124 // Minimum execution time: 134_000_000 picoseconds.
125 Weight::from_parts(134_000_000, 4218)
126 .saturating_add(T::DbWeight::get().reads(6_u64))
127 .saturating_add(T::DbWeight::get().writes(4_u64))
128 }
129 /// Storage: `Staking::Bonded` (r:1 w:0)
130 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
131 /// Storage: `Staking::Ledger` (r:1 w:1)
132 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
133 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
134 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
135 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
136 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
137 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
138 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
139 /// Storage: `Balances::Holds` (r:1 w:1)
140 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
141 /// Storage: `VoterList::ListNodes` (r:3 w:3)
142 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
143 /// Storage: `VoterList::Lock` (r:1 w:0)
144 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
145 /// Storage: `VoterList::ListBags` (r:2 w:2)
146 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
147 fn bond_extra() -> Weight {
148 // Proof Size summary in bytes:
149 // Measured: `8263`
150 // Estimated: `8877`
151 // Minimum execution time: 238_000_000 picoseconds.
152 Weight::from_parts(238_000_000, 8877)
153 .saturating_add(T::DbWeight::get().reads(12_u64))
154 .saturating_add(T::DbWeight::get().writes(7_u64))
155 }
156 /// Storage: `Staking::Ledger` (r:1 w:1)
157 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
158 /// Storage: `Staking::Bonded` (r:1 w:0)
159 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
160 /// Storage: `Staking::Nominators` (r:1 w:0)
161 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
162 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
163 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
164 /// Storage: `Staking::ActiveEra` (r:1 w:0)
165 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
166 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
167 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
168 /// Storage: `Balances::Holds` (r:1 w:0)
169 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
170 /// Storage: `VoterList::ListNodes` (r:3 w:3)
171 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
172 /// Storage: `VoterList::Lock` (r:1 w:0)
173 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
174 /// Storage: `VoterList::ListBags` (r:2 w:2)
175 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
176 fn unbond() -> Weight {
177 // Proof Size summary in bytes:
178 // Measured: `8411`
179 // Estimated: `8877`
180 // Minimum execution time: 202_000_000 picoseconds.
181 Weight::from_parts(202_000_000, 8877)
182 .saturating_add(T::DbWeight::get().reads(13_u64))
183 .saturating_add(T::DbWeight::get().writes(6_u64))
184 }
185 /// Storage: `Staking::Ledger` (r:1 w:1)
186 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
187 /// Storage: `Staking::Bonded` (r:1 w:0)
188 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
189 /// Storage: `Staking::ActiveEra` (r:1 w:0)
190 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
191 /// Storage: `Staking::UnappliedSlashes` (r:1 w:0)
192 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(24735), added: 27210, mode: `MaxEncodedLen`)
193 /// Storage: `Staking::OffenceQueueEras` (r:1 w:0)
194 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
195 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
196 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
197 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
198 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
199 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
200 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
201 /// Storage: `Balances::Holds` (r:1 w:1)
202 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
203 /// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
204 /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
205 /// Storage: `DelegatedStaking::Agents` (r:1 w:0)
206 /// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`)
207 fn withdraw_unbonded_update() -> Weight {
208 // Proof Size summary in bytes:
209 // Measured: `7483`
210 // Estimated: `28200`
211 // Minimum execution time: 111_000_000 picoseconds.
212 Weight::from_parts(111_000_000, 28200)
213 .saturating_add(T::DbWeight::get().reads(11_u64))
214 .saturating_add(T::DbWeight::get().writes(2_u64))
215 }
216 /// Storage: `Staking::Ledger` (r:1 w:1)
217 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
218 /// Storage: `Staking::Bonded` (r:1 w:1)
219 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
220 /// Storage: `Staking::ActiveEra` (r:1 w:0)
221 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
222 /// Storage: `Staking::UnappliedSlashes` (r:1 w:0)
223 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(24735), added: 27210, mode: `MaxEncodedLen`)
224 /// Storage: `Staking::OffenceQueueEras` (r:1 w:0)
225 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
226 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
227 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
228 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
229 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
230 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
231 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
232 /// Storage: `Balances::Holds` (r:1 w:1)
233 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
234 /// Storage: `Staking::Validators` (r:1 w:0)
235 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
236 /// Storage: `Staking::Nominators` (r:1 w:1)
237 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
238 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
239 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
240 /// Storage: `VoterList::Lock` (r:1 w:0)
241 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
242 /// Storage: `VoterList::ListNodes` (r:2 w:2)
243 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
244 /// Storage: `VoterList::ListBags` (r:1 w:1)
245 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
246 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
247 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
248 /// Storage: `Staking::Payee` (r:0 w:1)
249 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
250 fn withdraw_unbonded_kill() -> Weight {
251 // Proof Size summary in bytes:
252 // Measured: `8349`
253 // Estimated: `28200`
254 // Minimum execution time: 221_000_000 picoseconds.
255 Weight::from_parts(221_000_000, 28200)
256 .saturating_add(T::DbWeight::get().reads(17_u64))
257 .saturating_add(T::DbWeight::get().writes(11_u64))
258 }
259 /// Storage: `Staking::Ledger` (r:1 w:0)
260 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
261 /// Storage: `Staking::Bonded` (r:1 w:0)
262 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
263 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
264 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
265 /// Storage: `Staking::MinCommission` (r:1 w:0)
266 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
267 /// Storage: `Staking::Validators` (r:1 w:1)
268 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
269 /// Storage: `Staking::MaxValidatorsCount` (r:1 w:0)
270 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
271 /// Storage: `Staking::Nominators` (r:1 w:0)
272 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
273 /// Storage: `VoterList::Lock` (r:1 w:0)
274 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
275 /// Storage: `VoterList::ListNodes` (r:1 w:1)
276 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
277 /// Storage: `VoterList::ListBags` (r:1 w:1)
278 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
279 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
280 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
281 /// Storage: `Staking::CounterForValidators` (r:1 w:1)
282 /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
283 fn validate() -> Weight {
284 // Proof Size summary in bytes:
285 // Measured: `9960`
286 // Estimated: `4218`
287 // Minimum execution time: 128_000_000 picoseconds.
288 Weight::from_parts(128_000_000, 4218)
289 .saturating_add(T::DbWeight::get().reads(12_u64))
290 .saturating_add(T::DbWeight::get().writes(5_u64))
291 }
292 /// Storage: `Staking::Ledger` (r:1 w:0)
293 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
294 /// Storage: `Staking::Bonded` (r:1 w:0)
295 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
296 /// Storage: `Staking::Nominators` (r:128 w:128)
297 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
298 /// The range of component `k` is `[1, 128]`.
299 fn kick(_k: u32, ) -> Weight {
300 // Proof Size summary in bytes:
301 // Measured: `5502 + k * (1134 ±0)`
302 // Estimated: `389214`
303 // Minimum execution time: 63_000_000 picoseconds.
304 Weight::from_parts(1_261_000_000, 389214)
305 .saturating_add(T::DbWeight::get().reads(130_u64))
306 .saturating_add(T::DbWeight::get().writes(128_u64))
307 }
308 /// Storage: `Staking::Ledger` (r:1 w:0)
309 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
310 /// Storage: `Staking::Bonded` (r:1 w:0)
311 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
312 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
313 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
314 /// Storage: `Staking::Nominators` (r:1 w:1)
315 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
316 /// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
317 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
318 /// Storage: `Staking::Validators` (r:17 w:0)
319 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
320 /// Storage: `Staking::CurrentEra` (r:1 w:0)
321 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
322 /// Storage: `VoterList::Lock` (r:1 w:0)
323 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
324 /// Storage: `VoterList::ListNodes` (r:2 w:2)
325 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
326 /// Storage: `VoterList::ListBags` (r:1 w:1)
327 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
328 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
329 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
330 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
331 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
332 /// The range of component `n` is `[1, 16]`.
333 fn nominate(_n: u32, ) -> Weight {
334 // Proof Size summary in bytes:
335 // Measured: `5057 + n * (69 ±0)`
336 // Estimated: `43830`
337 // Minimum execution time: 144_000_000 picoseconds.
338 Weight::from_parts(194_000_000, 43830)
339 .saturating_add(T::DbWeight::get().reads(29_u64))
340 .saturating_add(T::DbWeight::get().writes(6_u64))
341 }
342 /// Storage: `Staking::Ledger` (r:1 w:0)
343 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
344 /// Storage: `Staking::Bonded` (r:1 w:0)
345 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
346 /// Storage: `Staking::Validators` (r:1 w:0)
347 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
348 /// Storage: `Staking::Nominators` (r:1 w:1)
349 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
350 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
351 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
352 /// Storage: `VoterList::Lock` (r:1 w:0)
353 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
354 /// Storage: `VoterList::ListNodes` (r:2 w:2)
355 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
356 /// Storage: `VoterList::ListBags` (r:1 w:1)
357 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
358 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
359 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
360 fn chill() -> Weight {
361 // Proof Size summary in bytes:
362 // Measured: `5226`
363 // Estimated: `6248`
364 // Minimum execution time: 124_000_000 picoseconds.
365 Weight::from_parts(124_000_000, 6248)
366 .saturating_add(T::DbWeight::get().reads(10_u64))
367 .saturating_add(T::DbWeight::get().writes(6_u64))
368 }
369 /// Storage: `Staking::Ledger` (r:1 w:0)
370 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
371 /// Storage: `Staking::Bonded` (r:1 w:0)
372 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
373 /// Storage: `Staking::Payee` (r:0 w:1)
374 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
375 fn set_payee() -> Weight {
376 // Proof Size summary in bytes:
377 // Measured: `4082`
378 // Estimated: `4218`
379 // Minimum execution time: 37_000_000 picoseconds.
380 Weight::from_parts(37_000_000, 4218)
381 .saturating_add(T::DbWeight::get().reads(2_u64))
382 .saturating_add(T::DbWeight::get().writes(1_u64))
383 }
384 /// Storage: `Staking::Ledger` (r:1 w:0)
385 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
386 /// Storage: `Staking::Bonded` (r:1 w:0)
387 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
388 /// Storage: `Staking::Payee` (r:1 w:1)
389 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
390 fn update_payee() -> Weight {
391 // Proof Size summary in bytes:
392 // Measured: `5787`
393 // Estimated: `4218`
394 // Minimum execution time: 39_000_000 picoseconds.
395 Weight::from_parts(39_000_000, 4218)
396 .saturating_add(T::DbWeight::get().reads(3_u64))
397 .saturating_add(T::DbWeight::get().writes(1_u64))
398 }
399 /// Storage: `Staking::Bonded` (r:1 w:1)
400 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
401 /// Storage: `Staking::Ledger` (r:2 w:2)
402 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
403 fn set_controller() -> Weight {
404 // Proof Size summary in bytes:
405 // Measured: `5392`
406 // Estimated: `7446`
407 // Minimum execution time: 44_000_000 picoseconds.
408 Weight::from_parts(44_000_000, 7446)
409 .saturating_add(T::DbWeight::get().reads(3_u64))
410 .saturating_add(T::DbWeight::get().writes(3_u64))
411 }
412 /// Storage: `Staking::ValidatorCount` (r:0 w:1)
413 /// Proof: `Staking::ValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
414 fn set_validator_count() -> Weight {
415 // Proof Size summary in bytes:
416 // Measured: `0`
417 // Estimated: `0`
418 // Minimum execution time: 3_000_000 picoseconds.
419 Weight::from_parts(3_000_000, 0)
420 .saturating_add(T::DbWeight::get().writes(1_u64))
421 }
422 /// Storage: `Staking::ForceEra` (r:0 w:1)
423 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
424 fn force_no_eras() -> Weight {
425 // Proof Size summary in bytes:
426 // Measured: `0`
427 // Estimated: `0`
428 // Minimum execution time: 13_000_000 picoseconds.
429 Weight::from_parts(13_000_000, 0)
430 .saturating_add(T::DbWeight::get().writes(1_u64))
431 }
432 /// Storage: `Staking::ForceEra` (r:0 w:1)
433 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
434 fn force_new_era() -> Weight {
435 // Proof Size summary in bytes:
436 // Measured: `0`
437 // Estimated: `0`
438 // Minimum execution time: 14_000_000 picoseconds.
439 Weight::from_parts(14_000_000, 0)
440 .saturating_add(T::DbWeight::get().writes(1_u64))
441 }
442 /// Storage: `Staking::ForceEra` (r:0 w:1)
443 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
444 fn force_new_era_always() -> Weight {
445 // Proof Size summary in bytes:
446 // Measured: `0`
447 // Estimated: `0`
448 // Minimum execution time: 11_000_000 picoseconds.
449 Weight::from_parts(11_000_000, 0)
450 .saturating_add(T::DbWeight::get().writes(1_u64))
451 }
452 /// Storage: `Staking::Invulnerables` (r:0 w:1)
453 /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
454 /// The range of component `v` is `[0, 20]`.
455 fn set_invulnerables(_v: u32, ) -> Weight {
456 // Proof Size summary in bytes:
457 // Measured: `0`
458 // Estimated: `0`
459 // Minimum execution time: 4_000_000 picoseconds.
460 Weight::from_parts(6_000_000, 0)
461 .saturating_add(T::DbWeight::get().writes(1_u64))
462 }
463 /// Storage: `Staking::Ledger` (r:1502 w:1502)
464 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
465 /// Storage: `Staking::Bonded` (r:751 w:751)
466 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
467 /// Storage: `Staking::Payee` (r:751 w:0)
468 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
469 /// The range of component `u` is `[0, 751]`.
470 fn deprecate_controller_batch(_u: u32, ) -> Weight {
471 // Proof Size summary in bytes:
472 // Measured: `0 + u * (1311 ±0)`
473 // Estimated: `4849446`
474 // Minimum execution time: 5_000_000 picoseconds.
475 Weight::from_parts(24_577_000_000, 4849446)
476 .saturating_add(T::DbWeight::get().reads(3004_u64))
477 .saturating_add(T::DbWeight::get().writes(2253_u64))
478 }
479 /// Storage: `Staking::Bonded` (r:1 w:1)
480 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
481 /// Storage: `Staking::Ledger` (r:1 w:1)
482 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
483 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
484 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
485 /// Storage: `Balances::Holds` (r:1 w:1)
486 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
487 /// Storage: `System::Account` (r:1 w:1)
488 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
489 /// Storage: `Staking::Validators` (r:1 w:0)
490 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
491 /// Storage: `Staking::Nominators` (r:1 w:1)
492 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
493 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
494 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
495 /// Storage: `VoterList::Lock` (r:1 w:0)
496 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
497 /// Storage: `VoterList::ListNodes` (r:2 w:2)
498 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
499 /// Storage: `VoterList::ListBags` (r:1 w:1)
500 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
501 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
502 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
503 /// Storage: `Staking::Payee` (r:0 w:1)
504 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
505 fn force_unstake() -> Weight {
506 // Proof Size summary in bytes:
507 // Measured: `8294`
508 // Estimated: `6248`
509 // Minimum execution time: 192_000_000 picoseconds.
510 Weight::from_parts(192_000_000, 6248)
511 .saturating_add(T::DbWeight::get().reads(13_u64))
512 .saturating_add(T::DbWeight::get().writes(12_u64))
513 }
514 /// Storage: `Staking::CancelledSlashes` (r:1 w:1)
515 /// Proof: `Staking::CancelledSlashes` (`max_values`: None, `max_size`: Some(36014), added: 38489, mode: `MaxEncodedLen`)
516 /// The range of component `s` is `[1, 1000]`.
517 fn cancel_deferred_slash(_s: u32, ) -> Weight {
518 // Proof Size summary in bytes:
519 // Measured: `642`
520 // Estimated: `39479`
521 // Minimum execution time: 22_000_000 picoseconds.
522 Weight::from_parts(2_992_000_000, 39479)
523 .saturating_add(T::DbWeight::get().reads(1_u64))
524 .saturating_add(T::DbWeight::get().writes(1_u64))
525 }
526 /// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
527 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
528 /// Storage: `Staking::ClaimedRewards` (r:1 w:1)
529 /// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
530 /// Storage: `Staking::CurrentEra` (r:1 w:0)
531 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
532 /// Storage: `Staking::ErasValidatorReward` (r:1 w:0)
533 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
534 /// Storage: `Staking::Bonded` (r:513 w:0)
535 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
536 /// Storage: `Staking::Ledger` (r:513 w:513)
537 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
538 /// Storage: `System::Account` (r:513 w:513)
539 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
540 /// Storage: `Staking::VirtualStakers` (r:513 w:0)
541 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
542 /// Storage: `Balances::Holds` (r:513 w:513)
543 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
544 /// Storage: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
545 /// Proof: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
546 /// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
547 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `MaxEncodedLen`)
548 /// Storage: `Staking::ErasRewardPoints` (r:1 w:0)
549 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `MaxEncodedLen`)
550 /// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0)
551 /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
552 /// Storage: `Staking::Payee` (r:513 w:0)
553 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
554 /// The range of component `n` is `[0, 512]`.
555 fn payout_stakers_alive_staked(_n: u32, ) -> Weight {
556 // Proof Size summary in bytes:
557 // Measured: `9500 + n * (2363 ±0)`
558 // Estimated: `1656954`
559 // Minimum execution time: 284_000_000 picoseconds.
560 Weight::from_parts(55_638_000_000, 1656954)
561 .saturating_add(T::DbWeight::get().reads(3086_u64))
562 .saturating_add(T::DbWeight::get().writes(1540_u64))
563 }
564 /// Storage: `Staking::Ledger` (r:1 w:1)
565 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
566 /// Storage: `Staking::Bonded` (r:1 w:0)
567 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
568 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
569 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
570 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
571 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
572 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
573 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
574 /// Storage: `Balances::Holds` (r:1 w:0)
575 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
576 /// Storage: `VoterList::ListNodes` (r:3 w:3)
577 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
578 /// Storage: `VoterList::Lock` (r:1 w:0)
579 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
580 /// Storage: `VoterList::ListBags` (r:2 w:2)
581 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
582 /// The range of component `l` is `[1, 32]`.
583 fn rebond(_l: u32, ) -> Weight {
584 // Proof Size summary in bytes:
585 // Measured: `8265 + l * (4 ±0)`
586 // Estimated: `8877`
587 // Minimum execution time: 177_000_000 picoseconds.
588 Weight::from_parts(196_000_000, 8877)
589 .saturating_add(T::DbWeight::get().reads(12_u64))
590 .saturating_add(T::DbWeight::get().writes(6_u64))
591 }
592 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
593 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
594 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
595 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
596 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
597 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
598 /// Storage: `Staking::Bonded` (r:1 w:1)
599 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
600 /// Storage: `Staking::Ledger` (r:1 w:1)
601 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
602 /// Storage: `Balances::Holds` (r:1 w:1)
603 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
604 /// Storage: `Staking::Validators` (r:1 w:0)
605 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
606 /// Storage: `Staking::Nominators` (r:1 w:1)
607 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
608 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
609 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
610 /// Storage: `VoterList::Lock` (r:1 w:0)
611 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
612 /// Storage: `VoterList::ListNodes` (r:2 w:2)
613 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
614 /// Storage: `VoterList::ListBags` (r:1 w:1)
615 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
616 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
617 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
618 /// Storage: `Staking::Payee` (r:0 w:1)
619 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
620 fn reap_stash() -> Weight {
621 // Proof Size summary in bytes:
622 // Measured: `8357`
623 // Estimated: `6248`
624 // Minimum execution time: 234_000_000 picoseconds.
625 Weight::from_parts(234_000_000, 6248)
626 .saturating_add(T::DbWeight::get().reads(14_u64))
627 .saturating_add(T::DbWeight::get().writes(11_u64))
628 }
629 /// Storage: `Staking::MinCommission` (r:0 w:1)
630 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
631 /// Storage: `Staking::MinValidatorBond` (r:0 w:1)
632 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
633 /// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
634 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
635 /// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
636 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
637 /// Storage: `Staking::ChillThreshold` (r:0 w:1)
638 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
639 /// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
640 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
641 /// Storage: `Staking::MinNominatorBond` (r:0 w:1)
642 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
643 fn set_staking_configs_all_set() -> Weight {
644 // Proof Size summary in bytes:
645 // Measured: `0`
646 // Estimated: `0`
647 // Minimum execution time: 7_000_000 picoseconds.
648 Weight::from_parts(7_000_000, 0)
649 .saturating_add(T::DbWeight::get().writes(7_u64))
650 }
651 /// Storage: `Staking::MinCommission` (r:0 w:1)
652 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
653 /// Storage: `Staking::MinValidatorBond` (r:0 w:1)
654 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
655 /// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
656 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
657 /// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
658 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
659 /// Storage: `Staking::ChillThreshold` (r:0 w:1)
660 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
661 /// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
662 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
663 /// Storage: `Staking::MinNominatorBond` (r:0 w:1)
664 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
665 fn set_staking_configs_all_remove() -> Weight {
666 // Proof Size summary in bytes:
667 // Measured: `0`
668 // Estimated: `0`
669 // Minimum execution time: 6_000_000 picoseconds.
670 Weight::from_parts(6_000_000, 0)
671 .saturating_add(T::DbWeight::get().writes(7_u64))
672 }
673 /// Storage: `Staking::Bonded` (r:1 w:0)
674 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
675 /// Storage: `Staking::Ledger` (r:1 w:0)
676 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
677 /// Storage: `Staking::Nominators` (r:1 w:1)
678 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
679 /// Storage: `Staking::ChillThreshold` (r:1 w:0)
680 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
681 /// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
682 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
683 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
684 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
685 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
686 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
687 /// Storage: `Staking::Validators` (r:1 w:0)
688 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
689 /// Storage: `VoterList::Lock` (r:1 w:0)
690 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
691 /// Storage: `VoterList::ListNodes` (r:2 w:2)
692 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
693 /// Storage: `VoterList::ListBags` (r:1 w:1)
694 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
695 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
696 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
697 fn chill_other() -> Weight {
698 // Proof Size summary in bytes:
699 // Measured: `5349`
700 // Estimated: `6248`
701 // Minimum execution time: 144_000_000 picoseconds.
702 Weight::from_parts(144_000_000, 6248)
703 .saturating_add(T::DbWeight::get().reads(13_u64))
704 .saturating_add(T::DbWeight::get().writes(6_u64))
705 }
706 /// Storage: `Staking::MinCommission` (r:1 w:0)
707 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
708 /// Storage: `Staking::Validators` (r:1 w:1)
709 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
710 fn force_apply_min_commission() -> Weight {
711 // Proof Size summary in bytes:
712 // Measured: `652`
713 // Estimated: `3510`
714 // Minimum execution time: 34_000_000 picoseconds.
715 Weight::from_parts(34_000_000, 3510)
716 .saturating_add(T::DbWeight::get().reads(2_u64))
717 .saturating_add(T::DbWeight::get().writes(1_u64))
718 }
719 /// Storage: `Staking::MinCommission` (r:0 w:1)
720 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
721 fn set_min_commission() -> Weight {
722 // Proof Size summary in bytes:
723 // Measured: `0`
724 // Estimated: `0`
725 // Minimum execution time: 5_000_000 picoseconds.
726 Weight::from_parts(5_000_000, 0)
727 .saturating_add(T::DbWeight::get().writes(1_u64))
728 }
729 /// Storage: `System::Account` (r:1 w:0)
730 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
731 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
732 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
733 /// Storage: `Balances::Holds` (r:1 w:0)
734 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
735 /// Storage: `Balances::Locks` (r:1 w:0)
736 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
737 /// Storage: `Staking::Bonded` (r:1 w:1)
738 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
739 /// Storage: `Staking::Ledger` (r:1 w:1)
740 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
741 fn restore_ledger() -> Weight {
742 // Proof Size summary in bytes:
743 // Measured: `7116`
744 // Estimated: `4764`
745 // Minimum execution time: 66_000_000 picoseconds.
746 Weight::from_parts(66_000_000, 4764)
747 .saturating_add(T::DbWeight::get().reads(6_u64))
748 .saturating_add(T::DbWeight::get().writes(2_u64))
749 }
750 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
751 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
752 /// Storage: `Staking::Bonded` (r:1 w:0)
753 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
754 /// Storage: `Staking::Ledger` (r:1 w:0)
755 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
756 /// Storage: `Balances::Locks` (r:1 w:1)
757 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
758 /// Storage: `Balances::Freezes` (r:1 w:0)
759 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
760 /// Storage: `Balances::Holds` (r:1 w:1)
761 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
762 fn migrate_currency() -> Weight {
763 // Proof Size summary in bytes:
764 // Measured: `7061`
765 // Estimated: `4764`
766 // Minimum execution time: 102_000_000 picoseconds.
767 Weight::from_parts(102_000_000, 4764)
768 .saturating_add(T::DbWeight::get().reads(6_u64))
769 .saturating_add(T::DbWeight::get().writes(2_u64))
770 }
771 /// Storage: `Staking::ActiveEra` (r:1 w:0)
772 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
773 /// Storage: `Staking::UnappliedSlashes` (r:1 w:1)
774 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(24735), added: 27210, mode: `MaxEncodedLen`)
775 /// Storage: `Staking::Bonded` (r:513 w:0)
776 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
777 /// Storage: `Staking::Ledger` (r:513 w:513)
778 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
779 /// Storage: `NominationPools::ReversePoolIdLookup` (r:513 w:0)
780 /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
781 /// Storage: `DelegatedStaking::Agents` (r:513 w:513)
782 /// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`)
783 /// Storage: `System::Account` (r:513 w:513)
784 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
785 /// Storage: `Staking::VirtualStakers` (r:513 w:0)
786 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
787 /// Storage: `Balances::Holds` (r:513 w:513)
788 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
789 fn apply_slash() -> Weight {
790 // Proof Size summary in bytes:
791 // Measured: `1002216`
792 // Estimated: `1656954`
793 // Minimum execution time: 32_447_000_000 picoseconds.
794 Weight::from_parts(32_447_000_000, 1656954)
795 .saturating_add(T::DbWeight::get().reads(3593_u64))
796 .saturating_add(T::DbWeight::get().writes(2053_u64))
797 }
798 /// Storage: `Staking::ProcessingOffence` (r:1 w:1)
799 /// Proof: `Staking::ProcessingOffence` (`max_values`: Some(1), `max_size`: Some(85), added: 580, mode: `MaxEncodedLen`)
800 /// Storage: `Staking::OffenceQueueEras` (r:1 w:1)
801 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
802 /// Storage: `Staking::OffenceQueue` (r:2 w:1)
803 /// Proof: `Staking::OffenceQueue` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
804 /// Storage: `Staking::SlashRewardFraction` (r:1 w:0)
805 /// Proof: `Staking::SlashRewardFraction` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
806 /// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
807 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
808 /// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
809 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `MaxEncodedLen`)
810 /// Storage: `Staking::UnappliedSlashes` (r:0 w:1)
811 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(24735), added: 27210, mode: `MaxEncodedLen`)
812 fn process_offence_queue() -> Weight {
813 // Proof Size summary in bytes:
814 // Measured: `21578`
815 // Estimated: `28121`
816 // Minimum execution time: 207_000_000 picoseconds.
817 Weight::from_parts(207_000_000, 28121)
818 .saturating_add(T::DbWeight::get().reads(7_u64))
819 .saturating_add(T::DbWeight::get().writes(4_u64))
820 }
821 /// Storage: `Staking::ActiveEra` (r:1 w:0)
822 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
823 /// Storage: `Staking::BondedEras` (r:1 w:0)
824 /// Proof: `Staking::BondedEras` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
825 /// Storage: `Staking::Invulnerables` (r:1 w:0)
826 /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
827 /// Storage: `Staking::ErasStakersOverview` (r:500 w:0)
828 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
829 /// Storage: `Staking::ValidatorSlashInEra` (r:500 w:500)
830 /// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
831 /// Storage: `Staking::OffenceQueue` (r:500 w:500)
832 /// Proof: `Staking::OffenceQueue` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
833 /// Storage: `Staking::OffenceQueueEras` (r:1 w:1)
834 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
835 /// The range of component `v` is `[2, 500]`.
836 fn rc_on_offence(_v: u32, ) -> Weight {
837 // Proof Size summary in bytes:
838 // Measured: `829 + v * (96 ±0)`
839 // Estimated: `1288990`
840 // Minimum execution time: 79_000_000 picoseconds.
841 Weight::from_parts(8_227_000_000, 1288990)
842 .saturating_add(T::DbWeight::get().reads(1504_u64))
843 .saturating_add(T::DbWeight::get().writes(1001_u64))
844 }
845 /// Storage: `Staking::ActiveEra` (r:1 w:1)
846 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
847 /// Storage: `Staking::ErasRewardPoints` (r:1 w:1)
848 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `MaxEncodedLen`)
849 /// Storage: `Staking::CurrentEra` (r:1 w:1)
850 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
851 /// Storage: `Staking::ErasTotalStake` (r:1 w:0)
852 /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
853 /// Storage: `Staking::MaxStakedRewards` (r:1 w:0)
854 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
855 /// Storage: `Staking::BondedEras` (r:1 w:1)
856 /// Proof: `Staking::BondedEras` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
857 /// Storage: `Staking::ForceEra` (r:1 w:0)
858 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
859 /// Storage: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
860 /// Proof: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
861 /// Storage: UNKNOWN KEY `0x6358acd2035ec4bb863fa981e0c177b9` (r:1 w:0)
862 /// Proof: UNKNOWN KEY `0x6358acd2035ec4bb863fa981e0c177b9` (r:1 w:0)
863 /// Storage: UNKNOWN KEY `0xc209f5d8eb920681b56c64b8694ea78c` (r:1 w:0)
864 /// Proof: UNKNOWN KEY `0xc209f5d8eb920681b56c64b8694ea78c` (r:1 w:0)
865 /// Storage: UNKNOWN KEY `0x48384a816e4f71a936cb76dc9e303f2a` (r:1 w:0)
866 /// Proof: UNKNOWN KEY `0x48384a816e4f71a936cb76dc9e303f2a` (r:1 w:0)
867 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1)
868 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
869 /// Storage: `Staking::VoterSnapshotStatus` (r:0 w:1)
870 /// Proof: `Staking::VoterSnapshotStatus` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
871 /// Storage: `Staking::ErasValidatorReward` (r:0 w:1)
872 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
873 /// Storage: `Staking::NextElectionPage` (r:0 w:1)
874 /// Proof: `Staking::NextElectionPage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
875 /// Storage: `Staking::ElectableStashes` (r:0 w:1)
876 /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `MaxEncodedLen`)
877 fn rc_on_session_report() -> Weight {
878 // Proof Size summary in bytes:
879 // Measured: `1425`
880 // Estimated: `39483`
881 // Minimum execution time: 364_000_000 picoseconds.
882 Weight::from_parts(364_000_000, 39483)
883 .saturating_add(T::DbWeight::get().reads(12_u64))
884 .saturating_add(T::DbWeight::get().writes(9_u64))
885 }
886 /// Storage: `Staking::ActiveEra` (r:1 w:0)
887 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
888 /// Storage: `Staking::EraPruningState` (r:1 w:0)
889 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
890 /// Storage: `Staking::ErasStakersPaged` (r:101 w:100)
891 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `Measured`)
892 /// The range of component `v` is `[1, 1000]`.
893 fn prune_era_stakers_paged(_v: u32, ) -> Weight {
894 // Proof Size summary in bytes:
895 // Measured: `3028 + v * (7 ±0)`
896 // Estimated: `261477`
897 // Minimum execution time: 80_000_000 picoseconds.
898 Weight::from_parts(184_000_000, 261477)
899 .saturating_add(T::DbWeight::get().reads(103_u64))
900 .saturating_add(T::DbWeight::get().writes(100_u64))
901 }
902 /// Storage: `Staking::ActiveEra` (r:1 w:0)
903 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
904 /// Storage: `Staking::EraPruningState` (r:1 w:0)
905 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
906 /// Storage: `Staking::ErasStakersOverview` (r:101 w:100)
907 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `Measured`)
908 /// The range of component `v` is `[1, 1000]`.
909 fn prune_era_stakers_overview(_v: u32, ) -> Weight {
910 // Proof Size summary in bytes:
911 // Measured: `898 + v * (8 ±0)`
912 // Estimated: `260209`
913 // Minimum execution time: 33_000_000 picoseconds.
914 Weight::from_parts(169_000_000, 260209)
915 .saturating_add(T::DbWeight::get().reads(103_u64))
916 .saturating_add(T::DbWeight::get().writes(100_u64))
917 }
918 /// Storage: `Staking::ActiveEra` (r:1 w:0)
919 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
920 /// Storage: `Staking::EraPruningState` (r:1 w:0)
921 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
922 /// Storage: `Staking::ErasValidatorPrefs` (r:101 w:100)
923 /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `Measured`)
924 /// The range of component `v` is `[1, 1000]`.
925 fn prune_era_validator_prefs(_v: u32, ) -> Weight {
926 // Proof Size summary in bytes:
927 // Measured: `928 + v * (5 ±0)`
928 // Estimated: `257235`
929 // Minimum execution time: 37_000_000 picoseconds.
930 Weight::from_parts(149_000_000, 257235)
931 .saturating_add(T::DbWeight::get().reads(103_u64))
932 .saturating_add(T::DbWeight::get().writes(100_u64))
933 }
934 /// Storage: `Staking::ActiveEra` (r:1 w:0)
935 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
936 /// Storage: `Staking::EraPruningState` (r:1 w:0)
937 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
938 /// Storage: `Staking::ClaimedRewards` (r:101 w:100)
939 /// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `Measured`)
940 /// The range of component `v` is `[1, 1000]`.
941 fn prune_era_claimed_rewards(_v: u32, ) -> Weight {
942 // Proof Size summary in bytes:
943 // Measured: `898 + v * (8 ±0)`
944 // Estimated: `260209`
945 // Minimum execution time: 28_000_000 picoseconds.
946 Weight::from_parts(154_000_000, 260209)
947 .saturating_add(T::DbWeight::get().reads(103_u64))
948 .saturating_add(T::DbWeight::get().writes(100_u64))
949 }
950 /// Storage: `Staking::ActiveEra` (r:1 w:0)
951 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
952 /// Storage: `Staking::EraPruningState` (r:1 w:1)
953 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
954 /// Storage: `Staking::ErasValidatorReward` (r:0 w:1)
955 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`)
956 fn prune_era_validator_reward() -> Weight {
957 // Proof Size summary in bytes:
958 // Measured: `798`
959 // Estimated: `4263`
960 // Minimum execution time: 21_000_000 picoseconds.
961 Weight::from_parts(21_000_000, 4263)
962 .saturating_add(T::DbWeight::get().reads(2_u64))
963 .saturating_add(T::DbWeight::get().writes(2_u64))
964 }
965 /// Storage: `Staking::ActiveEra` (r:1 w:0)
966 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
967 /// Storage: `Staking::EraPruningState` (r:1 w:1)
968 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
969 /// Storage: `Staking::ErasRewardPoints` (r:0 w:1)
970 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `Measured`)
971 fn prune_era_reward_points() -> Weight {
972 // Proof Size summary in bytes:
973 // Measured: `798`
974 // Estimated: `4263`
975 // Minimum execution time: 23_000_000 picoseconds.
976 Weight::from_parts(23_000_000, 4263)
977 .saturating_add(T::DbWeight::get().reads(2_u64))
978 .saturating_add(T::DbWeight::get().writes(2_u64))
979 }
980 /// Storage: `Staking::ActiveEra` (r:1 w:0)
981 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
982 /// Storage: `Staking::EraPruningState` (r:1 w:1)
983 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
984 /// Storage: `Staking::ErasTotalStake` (r:0 w:1)
985 /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`)
986 fn prune_era_total_stake() -> Weight {
987 // Proof Size summary in bytes:
988 // Measured: `798`
989 // Estimated: `4263`
990 // Minimum execution time: 27_000_000 picoseconds.
991 Weight::from_parts(27_000_000, 4263)
992 .saturating_add(T::DbWeight::get().reads(2_u64))
993 .saturating_add(T::DbWeight::get().writes(2_u64))
994 }
995}
996
997// For backwards compatibility and tests.
998impl WeightInfo for () {
999 /// Storage: `Staking::Bonded` (r:1 w:1)
1000 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1001 /// Storage: `Staking::Ledger` (r:1 w:1)
1002 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1003 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
1004 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1005 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1006 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1007 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
1008 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1009 /// Storage: `Balances::Holds` (r:1 w:1)
1010 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1011 /// Storage: `Staking::Payee` (r:0 w:1)
1012 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1013 fn bond() -> Weight {
1014 // Proof Size summary in bytes:
1015 // Measured: `6835`
1016 // Estimated: `4218`
1017 // Minimum execution time: 134_000_000 picoseconds.
1018 Weight::from_parts(134_000_000, 4218)
1019 .saturating_add(RocksDbWeight::get().reads(6_u64))
1020 .saturating_add(RocksDbWeight::get().writes(4_u64))
1021 }
1022 /// Storage: `Staking::Bonded` (r:1 w:0)
1023 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1024 /// Storage: `Staking::Ledger` (r:1 w:1)
1025 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1026 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
1027 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1028 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
1029 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1030 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1031 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1032 /// Storage: `Balances::Holds` (r:1 w:1)
1033 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1034 /// Storage: `VoterList::ListNodes` (r:3 w:3)
1035 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1036 /// Storage: `VoterList::Lock` (r:1 w:0)
1037 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1038 /// Storage: `VoterList::ListBags` (r:2 w:2)
1039 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1040 fn bond_extra() -> Weight {
1041 // Proof Size summary in bytes:
1042 // Measured: `8263`
1043 // Estimated: `8877`
1044 // Minimum execution time: 238_000_000 picoseconds.
1045 Weight::from_parts(238_000_000, 8877)
1046 .saturating_add(RocksDbWeight::get().reads(12_u64))
1047 .saturating_add(RocksDbWeight::get().writes(7_u64))
1048 }
1049 /// Storage: `Staking::Ledger` (r:1 w:1)
1050 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1051 /// Storage: `Staking::Bonded` (r:1 w:0)
1052 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1053 /// Storage: `Staking::Nominators` (r:1 w:0)
1054 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1055 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1056 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1057 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1058 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
1059 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
1060 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1061 /// Storage: `Balances::Holds` (r:1 w:0)
1062 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1063 /// Storage: `VoterList::ListNodes` (r:3 w:3)
1064 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1065 /// Storage: `VoterList::Lock` (r:1 w:0)
1066 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1067 /// Storage: `VoterList::ListBags` (r:2 w:2)
1068 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1069 fn unbond() -> Weight {
1070 // Proof Size summary in bytes:
1071 // Measured: `8411`
1072 // Estimated: `8877`
1073 // Minimum execution time: 202_000_000 picoseconds.
1074 Weight::from_parts(202_000_000, 8877)
1075 .saturating_add(RocksDbWeight::get().reads(13_u64))
1076 .saturating_add(RocksDbWeight::get().writes(6_u64))
1077 }
1078 /// Storage: `Staking::Ledger` (r:1 w:1)
1079 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1080 /// Storage: `Staking::Bonded` (r:1 w:0)
1081 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1082 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1083 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
1084 /// Storage: `Staking::UnappliedSlashes` (r:1 w:0)
1085 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(24735), added: 27210, mode: `MaxEncodedLen`)
1086 /// Storage: `Staking::OffenceQueueEras` (r:1 w:0)
1087 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
1088 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
1089 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1090 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1091 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1092 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
1093 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1094 /// Storage: `Balances::Holds` (r:1 w:1)
1095 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1096 /// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
1097 /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
1098 /// Storage: `DelegatedStaking::Agents` (r:1 w:0)
1099 /// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`)
1100 fn withdraw_unbonded_update() -> Weight {
1101 // Proof Size summary in bytes:
1102 // Measured: `7483`
1103 // Estimated: `28200`
1104 // Minimum execution time: 111_000_000 picoseconds.
1105 Weight::from_parts(111_000_000, 28200)
1106 .saturating_add(RocksDbWeight::get().reads(11_u64))
1107 .saturating_add(RocksDbWeight::get().writes(2_u64))
1108 }
1109 /// Storage: `Staking::Ledger` (r:1 w:1)
1110 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1111 /// Storage: `Staking::Bonded` (r:1 w:1)
1112 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1113 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1114 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
1115 /// Storage: `Staking::UnappliedSlashes` (r:1 w:0)
1116 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(24735), added: 27210, mode: `MaxEncodedLen`)
1117 /// Storage: `Staking::OffenceQueueEras` (r:1 w:0)
1118 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
1119 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
1120 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1121 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1122 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1123 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
1124 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1125 /// Storage: `Balances::Holds` (r:1 w:1)
1126 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1127 /// Storage: `Staking::Validators` (r:1 w:0)
1128 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1129 /// Storage: `Staking::Nominators` (r:1 w:1)
1130 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1131 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
1132 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1133 /// Storage: `VoterList::Lock` (r:1 w:0)
1134 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1135 /// Storage: `VoterList::ListNodes` (r:2 w:2)
1136 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1137 /// Storage: `VoterList::ListBags` (r:1 w:1)
1138 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1139 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1140 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1141 /// Storage: `Staking::Payee` (r:0 w:1)
1142 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1143 fn withdraw_unbonded_kill() -> Weight {
1144 // Proof Size summary in bytes:
1145 // Measured: `8349`
1146 // Estimated: `28200`
1147 // Minimum execution time: 221_000_000 picoseconds.
1148 Weight::from_parts(221_000_000, 28200)
1149 .saturating_add(RocksDbWeight::get().reads(17_u64))
1150 .saturating_add(RocksDbWeight::get().writes(11_u64))
1151 }
1152 /// Storage: `Staking::Ledger` (r:1 w:0)
1153 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1154 /// Storage: `Staking::Bonded` (r:1 w:0)
1155 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1156 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
1157 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1158 /// Storage: `Staking::MinCommission` (r:1 w:0)
1159 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1160 /// Storage: `Staking::Validators` (r:1 w:1)
1161 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1162 /// Storage: `Staking::MaxValidatorsCount` (r:1 w:0)
1163 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1164 /// Storage: `Staking::Nominators` (r:1 w:0)
1165 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1166 /// Storage: `VoterList::Lock` (r:1 w:0)
1167 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1168 /// Storage: `VoterList::ListNodes` (r:1 w:1)
1169 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1170 /// Storage: `VoterList::ListBags` (r:1 w:1)
1171 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1172 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1173 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1174 /// Storage: `Staking::CounterForValidators` (r:1 w:1)
1175 /// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1176 fn validate() -> Weight {
1177 // Proof Size summary in bytes:
1178 // Measured: `9960`
1179 // Estimated: `4218`
1180 // Minimum execution time: 128_000_000 picoseconds.
1181 Weight::from_parts(128_000_000, 4218)
1182 .saturating_add(RocksDbWeight::get().reads(12_u64))
1183 .saturating_add(RocksDbWeight::get().writes(5_u64))
1184 }
1185 /// Storage: `Staking::Ledger` (r:1 w:0)
1186 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1187 /// Storage: `Staking::Bonded` (r:1 w:0)
1188 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1189 /// Storage: `Staking::Nominators` (r:128 w:128)
1190 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1191 /// The range of component `k` is `[1, 128]`.
1192 fn kick(_k: u32, ) -> Weight {
1193 // Proof Size summary in bytes:
1194 // Measured: `5502 + k * (1134 ±0)`
1195 // Estimated: `389214`
1196 // Minimum execution time: 63_000_000 picoseconds.
1197 Weight::from_parts(1_261_000_000, 389214)
1198 .saturating_add(RocksDbWeight::get().reads(130_u64))
1199 .saturating_add(RocksDbWeight::get().writes(128_u64))
1200 }
1201 /// Storage: `Staking::Ledger` (r:1 w:0)
1202 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1203 /// Storage: `Staking::Bonded` (r:1 w:0)
1204 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1205 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1206 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1207 /// Storage: `Staking::Nominators` (r:1 w:1)
1208 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1209 /// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
1210 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1211 /// Storage: `Staking::Validators` (r:17 w:0)
1212 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1213 /// Storage: `Staking::CurrentEra` (r:1 w:0)
1214 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1215 /// Storage: `VoterList::Lock` (r:1 w:0)
1216 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1217 /// Storage: `VoterList::ListNodes` (r:2 w:2)
1218 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1219 /// Storage: `VoterList::ListBags` (r:1 w:1)
1220 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1221 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1222 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1223 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
1224 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1225 /// The range of component `n` is `[1, 16]`.
1226 fn nominate(_n: u32, ) -> Weight {
1227 // Proof Size summary in bytes:
1228 // Measured: `5057 + n * (69 ±0)`
1229 // Estimated: `43830`
1230 // Minimum execution time: 144_000_000 picoseconds.
1231 Weight::from_parts(194_000_000, 43830)
1232 .saturating_add(RocksDbWeight::get().reads(29_u64))
1233 .saturating_add(RocksDbWeight::get().writes(6_u64))
1234 }
1235 /// Storage: `Staking::Ledger` (r:1 w:0)
1236 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1237 /// Storage: `Staking::Bonded` (r:1 w:0)
1238 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1239 /// Storage: `Staking::Validators` (r:1 w:0)
1240 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1241 /// Storage: `Staking::Nominators` (r:1 w:1)
1242 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1243 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
1244 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1245 /// Storage: `VoterList::Lock` (r:1 w:0)
1246 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1247 /// Storage: `VoterList::ListNodes` (r:2 w:2)
1248 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1249 /// Storage: `VoterList::ListBags` (r:1 w:1)
1250 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1251 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1252 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1253 fn chill() -> Weight {
1254 // Proof Size summary in bytes:
1255 // Measured: `5226`
1256 // Estimated: `6248`
1257 // Minimum execution time: 124_000_000 picoseconds.
1258 Weight::from_parts(124_000_000, 6248)
1259 .saturating_add(RocksDbWeight::get().reads(10_u64))
1260 .saturating_add(RocksDbWeight::get().writes(6_u64))
1261 }
1262 /// Storage: `Staking::Ledger` (r:1 w:0)
1263 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1264 /// Storage: `Staking::Bonded` (r:1 w:0)
1265 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1266 /// Storage: `Staking::Payee` (r:0 w:1)
1267 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1268 fn set_payee() -> Weight {
1269 // Proof Size summary in bytes:
1270 // Measured: `4082`
1271 // Estimated: `4218`
1272 // Minimum execution time: 37_000_000 picoseconds.
1273 Weight::from_parts(37_000_000, 4218)
1274 .saturating_add(RocksDbWeight::get().reads(2_u64))
1275 .saturating_add(RocksDbWeight::get().writes(1_u64))
1276 }
1277 /// Storage: `Staking::Ledger` (r:1 w:0)
1278 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1279 /// Storage: `Staking::Bonded` (r:1 w:0)
1280 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1281 /// Storage: `Staking::Payee` (r:1 w:1)
1282 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1283 fn update_payee() -> Weight {
1284 // Proof Size summary in bytes:
1285 // Measured: `5787`
1286 // Estimated: `4218`
1287 // Minimum execution time: 39_000_000 picoseconds.
1288 Weight::from_parts(39_000_000, 4218)
1289 .saturating_add(RocksDbWeight::get().reads(3_u64))
1290 .saturating_add(RocksDbWeight::get().writes(1_u64))
1291 }
1292 /// Storage: `Staking::Bonded` (r:1 w:1)
1293 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1294 /// Storage: `Staking::Ledger` (r:2 w:2)
1295 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1296 fn set_controller() -> Weight {
1297 // Proof Size summary in bytes:
1298 // Measured: `5392`
1299 // Estimated: `7446`
1300 // Minimum execution time: 44_000_000 picoseconds.
1301 Weight::from_parts(44_000_000, 7446)
1302 .saturating_add(RocksDbWeight::get().reads(3_u64))
1303 .saturating_add(RocksDbWeight::get().writes(3_u64))
1304 }
1305 /// Storage: `Staking::ValidatorCount` (r:0 w:1)
1306 /// Proof: `Staking::ValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1307 fn set_validator_count() -> Weight {
1308 // Proof Size summary in bytes:
1309 // Measured: `0`
1310 // Estimated: `0`
1311 // Minimum execution time: 3_000_000 picoseconds.
1312 Weight::from_parts(3_000_000, 0)
1313 .saturating_add(RocksDbWeight::get().writes(1_u64))
1314 }
1315 /// Storage: `Staking::ForceEra` (r:0 w:1)
1316 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1317 fn force_no_eras() -> Weight {
1318 // Proof Size summary in bytes:
1319 // Measured: `0`
1320 // Estimated: `0`
1321 // Minimum execution time: 13_000_000 picoseconds.
1322 Weight::from_parts(13_000_000, 0)
1323 .saturating_add(RocksDbWeight::get().writes(1_u64))
1324 }
1325 /// Storage: `Staking::ForceEra` (r:0 w:1)
1326 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1327 fn force_new_era() -> Weight {
1328 // Proof Size summary in bytes:
1329 // Measured: `0`
1330 // Estimated: `0`
1331 // Minimum execution time: 14_000_000 picoseconds.
1332 Weight::from_parts(14_000_000, 0)
1333 .saturating_add(RocksDbWeight::get().writes(1_u64))
1334 }
1335 /// Storage: `Staking::ForceEra` (r:0 w:1)
1336 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1337 fn force_new_era_always() -> Weight {
1338 // Proof Size summary in bytes:
1339 // Measured: `0`
1340 // Estimated: `0`
1341 // Minimum execution time: 11_000_000 picoseconds.
1342 Weight::from_parts(11_000_000, 0)
1343 .saturating_add(RocksDbWeight::get().writes(1_u64))
1344 }
1345 /// Storage: `Staking::Invulnerables` (r:0 w:1)
1346 /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
1347 /// The range of component `v` is `[0, 20]`.
1348 fn set_invulnerables(_v: u32, ) -> Weight {
1349 // Proof Size summary in bytes:
1350 // Measured: `0`
1351 // Estimated: `0`
1352 // Minimum execution time: 4_000_000 picoseconds.
1353 Weight::from_parts(6_000_000, 0)
1354 .saturating_add(RocksDbWeight::get().writes(1_u64))
1355 }
1356 /// Storage: `Staking::Ledger` (r:1502 w:1502)
1357 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1358 /// Storage: `Staking::Bonded` (r:751 w:751)
1359 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1360 /// Storage: `Staking::Payee` (r:751 w:0)
1361 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1362 /// The range of component `u` is `[0, 751]`.
1363 fn deprecate_controller_batch(_u: u32, ) -> Weight {
1364 // Proof Size summary in bytes:
1365 // Measured: `0 + u * (1311 ±0)`
1366 // Estimated: `4849446`
1367 // Minimum execution time: 5_000_000 picoseconds.
1368 Weight::from_parts(24_577_000_000, 4849446)
1369 .saturating_add(RocksDbWeight::get().reads(3004_u64))
1370 .saturating_add(RocksDbWeight::get().writes(2253_u64))
1371 }
1372 /// Storage: `Staking::Bonded` (r:1 w:1)
1373 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1374 /// Storage: `Staking::Ledger` (r:1 w:1)
1375 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1376 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
1377 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1378 /// Storage: `Balances::Holds` (r:1 w:1)
1379 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1380 /// Storage: `System::Account` (r:1 w:1)
1381 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1382 /// Storage: `Staking::Validators` (r:1 w:0)
1383 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1384 /// Storage: `Staking::Nominators` (r:1 w:1)
1385 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1386 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
1387 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1388 /// Storage: `VoterList::Lock` (r:1 w:0)
1389 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1390 /// Storage: `VoterList::ListNodes` (r:2 w:2)
1391 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1392 /// Storage: `VoterList::ListBags` (r:1 w:1)
1393 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1394 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1395 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1396 /// Storage: `Staking::Payee` (r:0 w:1)
1397 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1398 fn force_unstake() -> Weight {
1399 // Proof Size summary in bytes:
1400 // Measured: `8294`
1401 // Estimated: `6248`
1402 // Minimum execution time: 192_000_000 picoseconds.
1403 Weight::from_parts(192_000_000, 6248)
1404 .saturating_add(RocksDbWeight::get().reads(13_u64))
1405 .saturating_add(RocksDbWeight::get().writes(12_u64))
1406 }
1407 /// Storage: `Staking::CancelledSlashes` (r:1 w:1)
1408 /// Proof: `Staking::CancelledSlashes` (`max_values`: None, `max_size`: Some(36014), added: 38489, mode: `MaxEncodedLen`)
1409 /// The range of component `s` is `[1, 1000]`.
1410 fn cancel_deferred_slash(_s: u32, ) -> Weight {
1411 // Proof Size summary in bytes:
1412 // Measured: `642`
1413 // Estimated: `39479`
1414 // Minimum execution time: 22_000_000 picoseconds.
1415 Weight::from_parts(2_992_000_000, 39479)
1416 .saturating_add(RocksDbWeight::get().reads(1_u64))
1417 .saturating_add(RocksDbWeight::get().writes(1_u64))
1418 }
1419 /// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
1420 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
1421 /// Storage: `Staking::ClaimedRewards` (r:1 w:1)
1422 /// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `MaxEncodedLen`)
1423 /// Storage: `Staking::CurrentEra` (r:1 w:0)
1424 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1425 /// Storage: `Staking::ErasValidatorReward` (r:1 w:0)
1426 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
1427 /// Storage: `Staking::Bonded` (r:513 w:0)
1428 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1429 /// Storage: `Staking::Ledger` (r:513 w:513)
1430 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1431 /// Storage: `System::Account` (r:513 w:513)
1432 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1433 /// Storage: `Staking::VirtualStakers` (r:513 w:0)
1434 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1435 /// Storage: `Balances::Holds` (r:513 w:513)
1436 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1437 /// Storage: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
1438 /// Proof: UNKNOWN KEY `0x6f320d44e42312c78638e6c92dff65af` (r:1 w:0)
1439 /// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
1440 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `MaxEncodedLen`)
1441 /// Storage: `Staking::ErasRewardPoints` (r:1 w:0)
1442 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `MaxEncodedLen`)
1443 /// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0)
1444 /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
1445 /// Storage: `Staking::Payee` (r:513 w:0)
1446 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1447 /// The range of component `n` is `[0, 512]`.
1448 fn payout_stakers_alive_staked(_n: u32, ) -> Weight {
1449 // Proof Size summary in bytes:
1450 // Measured: `9500 + n * (2363 ±0)`
1451 // Estimated: `1656954`
1452 // Minimum execution time: 284_000_000 picoseconds.
1453 Weight::from_parts(55_638_000_000, 1656954)
1454 .saturating_add(RocksDbWeight::get().reads(3086_u64))
1455 .saturating_add(RocksDbWeight::get().writes(1540_u64))
1456 }
1457 /// Storage: `Staking::Ledger` (r:1 w:1)
1458 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1459 /// Storage: `Staking::Bonded` (r:1 w:0)
1460 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1461 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
1462 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1463 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1464 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1465 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
1466 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1467 /// Storage: `Balances::Holds` (r:1 w:0)
1468 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1469 /// Storage: `VoterList::ListNodes` (r:3 w:3)
1470 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1471 /// Storage: `VoterList::Lock` (r:1 w:0)
1472 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1473 /// Storage: `VoterList::ListBags` (r:2 w:2)
1474 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1475 /// The range of component `l` is `[1, 32]`.
1476 fn rebond(_l: u32, ) -> Weight {
1477 // Proof Size summary in bytes:
1478 // Measured: `8265 + l * (4 ±0)`
1479 // Estimated: `8877`
1480 // Minimum execution time: 177_000_000 picoseconds.
1481 Weight::from_parts(196_000_000, 8877)
1482 .saturating_add(RocksDbWeight::get().reads(12_u64))
1483 .saturating_add(RocksDbWeight::get().writes(6_u64))
1484 }
1485 /// Storage: `Staking::VirtualStakers` (r:1 w:1)
1486 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1487 /// Storage: `Staking::MinValidatorBond` (r:1 w:0)
1488 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1489 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1490 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1491 /// Storage: `Staking::Bonded` (r:1 w:1)
1492 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1493 /// Storage: `Staking::Ledger` (r:1 w:1)
1494 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1495 /// Storage: `Balances::Holds` (r:1 w:1)
1496 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1497 /// Storage: `Staking::Validators` (r:1 w:0)
1498 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1499 /// Storage: `Staking::Nominators` (r:1 w:1)
1500 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1501 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
1502 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1503 /// Storage: `VoterList::Lock` (r:1 w:0)
1504 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1505 /// Storage: `VoterList::ListNodes` (r:2 w:2)
1506 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1507 /// Storage: `VoterList::ListBags` (r:1 w:1)
1508 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1509 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1510 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1511 /// Storage: `Staking::Payee` (r:0 w:1)
1512 /// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1513 fn reap_stash() -> Weight {
1514 // Proof Size summary in bytes:
1515 // Measured: `8357`
1516 // Estimated: `6248`
1517 // Minimum execution time: 234_000_000 picoseconds.
1518 Weight::from_parts(234_000_000, 6248)
1519 .saturating_add(RocksDbWeight::get().reads(14_u64))
1520 .saturating_add(RocksDbWeight::get().writes(11_u64))
1521 }
1522 /// Storage: `Staking::MinCommission` (r:0 w:1)
1523 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1524 /// Storage: `Staking::MinValidatorBond` (r:0 w:1)
1525 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1526 /// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
1527 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1528 /// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
1529 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1530 /// Storage: `Staking::ChillThreshold` (r:0 w:1)
1531 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1532 /// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
1533 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1534 /// Storage: `Staking::MinNominatorBond` (r:0 w:1)
1535 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1536 fn set_staking_configs_all_set() -> Weight {
1537 // Proof Size summary in bytes:
1538 // Measured: `0`
1539 // Estimated: `0`
1540 // Minimum execution time: 7_000_000 picoseconds.
1541 Weight::from_parts(7_000_000, 0)
1542 .saturating_add(RocksDbWeight::get().writes(7_u64))
1543 }
1544 /// Storage: `Staking::MinCommission` (r:0 w:1)
1545 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1546 /// Storage: `Staking::MinValidatorBond` (r:0 w:1)
1547 /// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1548 /// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
1549 /// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1550 /// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
1551 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1552 /// Storage: `Staking::ChillThreshold` (r:0 w:1)
1553 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1554 /// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
1555 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1556 /// Storage: `Staking::MinNominatorBond` (r:0 w:1)
1557 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1558 fn set_staking_configs_all_remove() -> Weight {
1559 // Proof Size summary in bytes:
1560 // Measured: `0`
1561 // Estimated: `0`
1562 // Minimum execution time: 6_000_000 picoseconds.
1563 Weight::from_parts(6_000_000, 0)
1564 .saturating_add(RocksDbWeight::get().writes(7_u64))
1565 }
1566 /// Storage: `Staking::Bonded` (r:1 w:0)
1567 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1568 /// Storage: `Staking::Ledger` (r:1 w:0)
1569 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1570 /// Storage: `Staking::Nominators` (r:1 w:1)
1571 /// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1572 /// Storage: `Staking::ChillThreshold` (r:1 w:0)
1573 /// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1574 /// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
1575 /// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1576 /// Storage: `Staking::CounterForNominators` (r:1 w:1)
1577 /// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1578 /// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1579 /// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1580 /// Storage: `Staking::Validators` (r:1 w:0)
1581 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1582 /// Storage: `VoterList::Lock` (r:1 w:0)
1583 /// Proof: `VoterList::Lock` (`max_values`: Some(1), `max_size`: Some(0), added: 495, mode: `MaxEncodedLen`)
1584 /// Storage: `VoterList::ListNodes` (r:2 w:2)
1585 /// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1586 /// Storage: `VoterList::ListBags` (r:1 w:1)
1587 /// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1588 /// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1589 /// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1590 fn chill_other() -> Weight {
1591 // Proof Size summary in bytes:
1592 // Measured: `5349`
1593 // Estimated: `6248`
1594 // Minimum execution time: 144_000_000 picoseconds.
1595 Weight::from_parts(144_000_000, 6248)
1596 .saturating_add(RocksDbWeight::get().reads(13_u64))
1597 .saturating_add(RocksDbWeight::get().writes(6_u64))
1598 }
1599 /// Storage: `Staking::MinCommission` (r:1 w:0)
1600 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1601 /// Storage: `Staking::Validators` (r:1 w:1)
1602 /// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1603 fn force_apply_min_commission() -> Weight {
1604 // Proof Size summary in bytes:
1605 // Measured: `652`
1606 // Estimated: `3510`
1607 // Minimum execution time: 34_000_000 picoseconds.
1608 Weight::from_parts(34_000_000, 3510)
1609 .saturating_add(RocksDbWeight::get().reads(2_u64))
1610 .saturating_add(RocksDbWeight::get().writes(1_u64))
1611 }
1612 /// Storage: `Staking::MinCommission` (r:0 w:1)
1613 /// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1614 fn set_min_commission() -> Weight {
1615 // Proof Size summary in bytes:
1616 // Measured: `0`
1617 // Estimated: `0`
1618 // Minimum execution time: 5_000_000 picoseconds.
1619 Weight::from_parts(5_000_000, 0)
1620 .saturating_add(RocksDbWeight::get().writes(1_u64))
1621 }
1622 /// Storage: `System::Account` (r:1 w:0)
1623 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1624 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
1625 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1626 /// Storage: `Balances::Holds` (r:1 w:0)
1627 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1628 /// Storage: `Balances::Locks` (r:1 w:0)
1629 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
1630 /// Storage: `Staking::Bonded` (r:1 w:1)
1631 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1632 /// Storage: `Staking::Ledger` (r:1 w:1)
1633 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1634 fn restore_ledger() -> Weight {
1635 // Proof Size summary in bytes:
1636 // Measured: `7116`
1637 // Estimated: `4764`
1638 // Minimum execution time: 66_000_000 picoseconds.
1639 Weight::from_parts(66_000_000, 4764)
1640 .saturating_add(RocksDbWeight::get().reads(6_u64))
1641 .saturating_add(RocksDbWeight::get().writes(2_u64))
1642 }
1643 /// Storage: `Staking::VirtualStakers` (r:1 w:0)
1644 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1645 /// Storage: `Staking::Bonded` (r:1 w:0)
1646 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1647 /// Storage: `Staking::Ledger` (r:1 w:0)
1648 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1649 /// Storage: `Balances::Locks` (r:1 w:1)
1650 /// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
1651 /// Storage: `Balances::Freezes` (r:1 w:0)
1652 /// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
1653 /// Storage: `Balances::Holds` (r:1 w:1)
1654 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1655 fn migrate_currency() -> Weight {
1656 // Proof Size summary in bytes:
1657 // Measured: `7061`
1658 // Estimated: `4764`
1659 // Minimum execution time: 102_000_000 picoseconds.
1660 Weight::from_parts(102_000_000, 4764)
1661 .saturating_add(RocksDbWeight::get().reads(6_u64))
1662 .saturating_add(RocksDbWeight::get().writes(2_u64))
1663 }
1664 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1665 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
1666 /// Storage: `Staking::UnappliedSlashes` (r:1 w:1)
1667 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(24735), added: 27210, mode: `MaxEncodedLen`)
1668 /// Storage: `Staking::Bonded` (r:513 w:0)
1669 /// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1670 /// Storage: `Staking::Ledger` (r:513 w:513)
1671 /// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(753), added: 3228, mode: `MaxEncodedLen`)
1672 /// Storage: `NominationPools::ReversePoolIdLookup` (r:513 w:0)
1673 /// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
1674 /// Storage: `DelegatedStaking::Agents` (r:513 w:513)
1675 /// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`)
1676 /// Storage: `System::Account` (r:513 w:513)
1677 /// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1678 /// Storage: `Staking::VirtualStakers` (r:513 w:0)
1679 /// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1680 /// Storage: `Balances::Holds` (r:513 w:513)
1681 /// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(211), added: 2686, mode: `MaxEncodedLen`)
1682 fn apply_slash() -> Weight {
1683 // Proof Size summary in bytes:
1684 // Measured: `1002216`
1685 // Estimated: `1656954`
1686 // Minimum execution time: 32_447_000_000 picoseconds.
1687 Weight::from_parts(32_447_000_000, 1656954)
1688 .saturating_add(RocksDbWeight::get().reads(3593_u64))
1689 .saturating_add(RocksDbWeight::get().writes(2053_u64))
1690 }
1691 /// Storage: `Staking::ProcessingOffence` (r:1 w:1)
1692 /// Proof: `Staking::ProcessingOffence` (`max_values`: Some(1), `max_size`: Some(85), added: 580, mode: `MaxEncodedLen`)
1693 /// Storage: `Staking::OffenceQueueEras` (r:1 w:1)
1694 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
1695 /// Storage: `Staking::OffenceQueue` (r:2 w:1)
1696 /// Proof: `Staking::OffenceQueue` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
1697 /// Storage: `Staking::SlashRewardFraction` (r:1 w:0)
1698 /// Proof: `Staking::SlashRewardFraction` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1699 /// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
1700 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
1701 /// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
1702 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `MaxEncodedLen`)
1703 /// Storage: `Staking::UnappliedSlashes` (r:0 w:1)
1704 /// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(24735), added: 27210, mode: `MaxEncodedLen`)
1705 fn process_offence_queue() -> Weight {
1706 // Proof Size summary in bytes:
1707 // Measured: `21578`
1708 // Estimated: `28121`
1709 // Minimum execution time: 207_000_000 picoseconds.
1710 Weight::from_parts(207_000_000, 28121)
1711 .saturating_add(RocksDbWeight::get().reads(7_u64))
1712 .saturating_add(RocksDbWeight::get().writes(4_u64))
1713 }
1714 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1715 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
1716 /// Storage: `Staking::BondedEras` (r:1 w:0)
1717 /// Proof: `Staking::BondedEras` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
1718 /// Storage: `Staking::Invulnerables` (r:1 w:0)
1719 /// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
1720 /// Storage: `Staking::ErasStakersOverview` (r:500 w:0)
1721 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
1722 /// Storage: `Staking::ValidatorSlashInEra` (r:500 w:500)
1723 /// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1724 /// Storage: `Staking::OffenceQueue` (r:500 w:500)
1725 /// Proof: `Staking::OffenceQueue` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
1726 /// Storage: `Staking::OffenceQueueEras` (r:1 w:1)
1727 /// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(9), added: 504, mode: `MaxEncodedLen`)
1728 /// The range of component `v` is `[2, 500]`.
1729 fn rc_on_offence(_v: u32, ) -> Weight {
1730 // Proof Size summary in bytes:
1731 // Measured: `829 + v * (96 ±0)`
1732 // Estimated: `1288990`
1733 // Minimum execution time: 79_000_000 picoseconds.
1734 Weight::from_parts(8_227_000_000, 1288990)
1735 .saturating_add(RocksDbWeight::get().reads(1504_u64))
1736 .saturating_add(RocksDbWeight::get().writes(1001_u64))
1737 }
1738 /// Storage: `Staking::ActiveEra` (r:1 w:1)
1739 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
1740 /// Storage: `Staking::ErasRewardPoints` (r:1 w:1)
1741 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `MaxEncodedLen`)
1742 /// Storage: `Staking::CurrentEra` (r:1 w:1)
1743 /// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1744 /// Storage: `Staking::ErasTotalStake` (r:1 w:0)
1745 /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
1746 /// Storage: `Staking::MaxStakedRewards` (r:1 w:0)
1747 /// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1748 /// Storage: `Staking::BondedEras` (r:1 w:1)
1749 /// Proof: `Staking::BondedEras` (`max_values`: Some(1), `max_size`: Some(25), added: 520, mode: `MaxEncodedLen`)
1750 /// Storage: `Staking::ForceEra` (r:1 w:0)
1751 /// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1752 /// Storage: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
1753 /// Proof: UNKNOWN KEY `0xa143099d7a337c5fd879b91b2b157c2d` (r:1 w:0)
1754 /// Storage: UNKNOWN KEY `0x6358acd2035ec4bb863fa981e0c177b9` (r:1 w:0)
1755 /// Proof: UNKNOWN KEY `0x6358acd2035ec4bb863fa981e0c177b9` (r:1 w:0)
1756 /// Storage: UNKNOWN KEY `0xc209f5d8eb920681b56c64b8694ea78c` (r:1 w:0)
1757 /// Proof: UNKNOWN KEY `0xc209f5d8eb920681b56c64b8694ea78c` (r:1 w:0)
1758 /// Storage: UNKNOWN KEY `0x48384a816e4f71a936cb76dc9e303f2a` (r:1 w:0)
1759 /// Proof: UNKNOWN KEY `0x48384a816e4f71a936cb76dc9e303f2a` (r:1 w:0)
1760 /// Storage: `MultiBlockElection::CurrentPhase` (r:1 w:1)
1761 /// Proof: `MultiBlockElection::CurrentPhase` (`max_values`: Some(1), `max_size`: Some(5), added: 500, mode: `MaxEncodedLen`)
1762 /// Storage: `Staking::VoterSnapshotStatus` (r:0 w:1)
1763 /// Proof: `Staking::VoterSnapshotStatus` (`max_values`: Some(1), `max_size`: Some(33), added: 528, mode: `MaxEncodedLen`)
1764 /// Storage: `Staking::ErasValidatorReward` (r:0 w:1)
1765 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
1766 /// Storage: `Staking::NextElectionPage` (r:0 w:1)
1767 /// Proof: `Staking::NextElectionPage` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1768 /// Storage: `Staking::ElectableStashes` (r:0 w:1)
1769 /// Proof: `Staking::ElectableStashes` (`max_values`: Some(1), `max_size`: Some(32002), added: 32497, mode: `MaxEncodedLen`)
1770 fn rc_on_session_report() -> Weight {
1771 // Proof Size summary in bytes:
1772 // Measured: `1425`
1773 // Estimated: `39483`
1774 // Minimum execution time: 364_000_000 picoseconds.
1775 Weight::from_parts(364_000_000, 39483)
1776 .saturating_add(RocksDbWeight::get().reads(12_u64))
1777 .saturating_add(RocksDbWeight::get().writes(9_u64))
1778 }
1779 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1780 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
1781 /// Storage: `Staking::EraPruningState` (r:1 w:0)
1782 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
1783 /// Storage: `Staking::ErasStakersPaged` (r:101 w:100)
1784 /// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: Some(24656), added: 27131, mode: `Measured`)
1785 /// The range of component `v` is `[1, 1000]`.
1786 fn prune_era_stakers_paged(_v: u32, ) -> Weight {
1787 // Proof Size summary in bytes:
1788 // Measured: `3028 + v * (7 ±0)`
1789 // Estimated: `261477`
1790 // Minimum execution time: 80_000_000 picoseconds.
1791 Weight::from_parts(184_000_000, 261477)
1792 .saturating_add(RocksDbWeight::get().reads(103_u64))
1793 .saturating_add(RocksDbWeight::get().writes(100_u64))
1794 }
1795 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1796 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
1797 /// Storage: `Staking::EraPruningState` (r:1 w:0)
1798 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
1799 /// Storage: `Staking::ErasStakersOverview` (r:101 w:100)
1800 /// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `Measured`)
1801 /// The range of component `v` is `[1, 1000]`.
1802 fn prune_era_stakers_overview(_v: u32, ) -> Weight {
1803 // Proof Size summary in bytes:
1804 // Measured: `898 + v * (8 ±0)`
1805 // Estimated: `260209`
1806 // Minimum execution time: 33_000_000 picoseconds.
1807 Weight::from_parts(169_000_000, 260209)
1808 .saturating_add(RocksDbWeight::get().reads(103_u64))
1809 .saturating_add(RocksDbWeight::get().writes(100_u64))
1810 }
1811 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1812 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
1813 /// Storage: `Staking::EraPruningState` (r:1 w:0)
1814 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
1815 /// Storage: `Staking::ErasValidatorPrefs` (r:101 w:100)
1816 /// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `Measured`)
1817 /// The range of component `v` is `[1, 1000]`.
1818 fn prune_era_validator_prefs(_v: u32, ) -> Weight {
1819 // Proof Size summary in bytes:
1820 // Measured: `928 + v * (5 ±0)`
1821 // Estimated: `257235`
1822 // Minimum execution time: 37_000_000 picoseconds.
1823 Weight::from_parts(149_000_000, 257235)
1824 .saturating_add(RocksDbWeight::get().reads(103_u64))
1825 .saturating_add(RocksDbWeight::get().writes(100_u64))
1826 }
1827 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1828 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
1829 /// Storage: `Staking::EraPruningState` (r:1 w:0)
1830 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
1831 /// Storage: `Staking::ClaimedRewards` (r:101 w:100)
1832 /// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: Some(229), added: 2704, mode: `Measured`)
1833 /// The range of component `v` is `[1, 1000]`.
1834 fn prune_era_claimed_rewards(_v: u32, ) -> Weight {
1835 // Proof Size summary in bytes:
1836 // Measured: `898 + v * (8 ±0)`
1837 // Estimated: `260209`
1838 // Minimum execution time: 28_000_000 picoseconds.
1839 Weight::from_parts(154_000_000, 260209)
1840 .saturating_add(RocksDbWeight::get().reads(103_u64))
1841 .saturating_add(RocksDbWeight::get().writes(100_u64))
1842 }
1843 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1844 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
1845 /// Storage: `Staking::EraPruningState` (r:1 w:1)
1846 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
1847 /// Storage: `Staking::ErasValidatorReward` (r:0 w:1)
1848 /// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`)
1849 fn prune_era_validator_reward() -> Weight {
1850 // Proof Size summary in bytes:
1851 // Measured: `798`
1852 // Estimated: `4263`
1853 // Minimum execution time: 21_000_000 picoseconds.
1854 Weight::from_parts(21_000_000, 4263)
1855 .saturating_add(RocksDbWeight::get().reads(2_u64))
1856 .saturating_add(RocksDbWeight::get().writes(2_u64))
1857 }
1858 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1859 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
1860 /// Storage: `Staking::EraPruningState` (r:1 w:1)
1861 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
1862 /// Storage: `Staking::ErasRewardPoints` (r:0 w:1)
1863 /// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: Some(36018), added: 38493, mode: `Measured`)
1864 fn prune_era_reward_points() -> Weight {
1865 // Proof Size summary in bytes:
1866 // Measured: `798`
1867 // Estimated: `4263`
1868 // Minimum execution time: 23_000_000 picoseconds.
1869 Weight::from_parts(23_000_000, 4263)
1870 .saturating_add(RocksDbWeight::get().reads(2_u64))
1871 .saturating_add(RocksDbWeight::get().writes(2_u64))
1872 }
1873 /// Storage: `Staking::ActiveEra` (r:1 w:0)
1874 /// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `Measured`)
1875 /// Storage: `Staking::EraPruningState` (r:1 w:1)
1876 /// Proof: `Staking::EraPruningState` (`max_values`: None, `max_size`: Some(13), added: 2488, mode: `Measured`)
1877 /// Storage: `Staking::ErasTotalStake` (r:0 w:1)
1878 /// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `Measured`)
1879 fn prune_era_total_stake() -> Weight {
1880 // Proof Size summary in bytes:
1881 // Measured: `798`
1882 // Estimated: `4263`
1883 // Minimum execution time: 27_000_000 picoseconds.
1884 Weight::from_parts(27_000_000, 4263)
1885 .saturating_add(RocksDbWeight::get().reads(2_u64))
1886 .saturating_add(RocksDbWeight::get().writes(2_u64))
1887 }
1888}