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