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