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