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