referrerpolicy=no-referrer-when-downgrade

pallet_staking/
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// This file is part of Substrate.
19
20// Copyright (C) Parity Technologies (UK) Ltd.
21// SPDX-License-Identifier: Apache-2.0
22
23// Licensed under the Apache License, Version 2.0 (the "License");
24// you may not use this file except in compliance with the License.
25// You may obtain a copy of the License at
26//
27// 	http://www.apache.org/licenses/LICENSE-2.0
28//
29// Unless required by applicable law or agreed to in writing, software
30// distributed under the License is distributed on an "AS IS" BASIS,
31// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
32// See the License for the specific language governing permissions and
33// limitations under the License.
34
35//! Autogenerated weights for `pallet_staking`
36//!
37//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
38//! DATE: 2025-02-21, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
39//! WORST CASE MAP SIZE: `1000000`
40//! HOSTNAME: `4563561839a5`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
41//! WASM-EXECUTION: `Compiled`, CHAIN: `None`, DB CACHE: `1024`
42
43// Executed Command:
44// frame-omni-bencher
45// v1
46// benchmark
47// pallet
48// --extrinsic=*
49// --runtime=target/production/wbuild/kitchensink-runtime/kitchensink_runtime.wasm
50// --pallet=pallet_staking
51// --header=/__w/polkadot-sdk/polkadot-sdk/substrate/HEADER-APACHE2
52// --output=/__w/polkadot-sdk/polkadot-sdk/substrate/frame/staking/src/weights.rs
53// --wasm-execution=compiled
54// --steps=50
55// --repeat=20
56// --heap-pages=4096
57// --template=substrate/.maintain/frame-weight-template.hbs
58// --no-storage-info
59// --no-min-squares
60// --no-median-slopes
61// --genesis-builder-policy=none
62// --exclude-pallets=pallet_xcm,pallet_xcm_benchmarks::fungible,pallet_xcm_benchmarks::generic,pallet_nomination_pools,pallet_remark,pallet_transaction_storage,pallet_election_provider_multi_block,pallet_election_provider_multi_block::signed,pallet_election_provider_multi_block::unsigned,pallet_election_provider_multi_block::verifier
63
64#![cfg_attr(rustfmt, rustfmt_skip)]
65#![allow(unused_parens)]
66#![allow(unused_imports)]
67#![allow(missing_docs)]
68#![allow(dead_code)]
69
70use frame_support::{traits::Get, weights::{Weight, constants::RocksDbWeight}};
71use core::marker::PhantomData;
72
73/// Weight functions needed for `pallet_staking`.
74pub trait WeightInfo {
75	fn get_npos_voters(v: u32, n: u32, ) -> Weight;
76	fn get_npos_targets(v: u32, ) -> Weight;
77	fn bond() -> Weight;
78	fn bond_extra() -> Weight;
79	fn unbond() -> Weight;
80	fn withdraw_unbonded_update(s: u32, ) -> Weight;
81	fn withdraw_unbonded_kill(s: u32, ) -> Weight;
82	fn validate() -> Weight;
83	fn kick(k: u32, ) -> Weight;
84	fn nominate(n: u32, ) -> Weight;
85	fn chill() -> Weight;
86	fn set_payee() -> Weight;
87	fn update_payee() -> Weight;
88	fn set_controller() -> Weight;
89	fn set_validator_count() -> Weight;
90	fn force_no_eras() -> Weight;
91	fn force_new_era() -> Weight;
92	fn force_new_era_always() -> Weight;
93	fn set_invulnerables(v: u32, ) -> Weight;
94	fn deprecate_controller_batch(u: u32, ) -> Weight;
95	fn force_unstake(s: u32, ) -> Weight;
96	fn cancel_deferred_slash(s: u32, ) -> Weight;
97	fn payout_stakers_alive_staked(n: u32, ) -> Weight;
98	fn rebond(l: u32, ) -> Weight;
99	fn reap_stash(s: u32, ) -> Weight;
100	fn new_era(v: u32, n: u32, ) -> Weight;
101	fn set_staking_configs_all_set() -> Weight;
102	fn set_staking_configs_all_remove() -> Weight;
103	fn chill_other() -> Weight;
104	fn force_apply_min_commission() -> Weight;
105	fn set_min_commission() -> Weight;
106	fn restore_ledger() -> Weight;
107	fn migrate_currency() -> Weight;
108	fn manual_slash() -> Weight;
109}
110
111/// Weights for `pallet_staking` using the Substrate node and recommended hardware.
112pub struct SubstrateWeight<T>(PhantomData<T>);
113impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
114	/// Storage: `VoterList::CounterForListNodes` (r:1 w:0)
115	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
116	/// Storage: `VoterList::ListBags` (r:180 w:0)
117	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
118	/// Storage: `VoterList::ListNodes` (r:6000 w:0)
119	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
120	/// Storage: `Staking::Bonded` (r:6000 w:0)
121	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
122	/// Storage: `Staking::Ledger` (r:6000 w:0)
123	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
124	/// Storage: `Staking::Nominators` (r:6000 w:0)
125	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
126	/// Storage: `Staking::Validators` (r:1000 w:0)
127	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
128	/// Storage: `Staking::MinimumActiveStake` (r:0 w:1)
129	/// Proof: `Staking::MinimumActiveStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
130	/// The range of component `v` is `[500, 1000]`.
131	/// The range of component `n` is `[2500, 5000]`.
132	fn get_npos_voters(v: u32, n: u32, ) -> Weight {
133		// Proof Size summary in bytes:
134		//  Measured:  `1660 + n * (911 ±0) + v * (395 ±0)`
135		//  Estimated: `405466 + n * (3566 ±0) + v * (3566 ±0)`
136		// Minimum execution time: 119_117_302_000 picoseconds.
137		Weight::from_parts(119_749_229_000, 405466)
138			// Standard Error: 256_250
139			.saturating_add(Weight::from_parts(22_752_790, 0).saturating_mul(n.into()))
140			.saturating_add(T::DbWeight::get().reads(159_u64))
141			.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
142			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
143			.saturating_add(T::DbWeight::get().writes(1_u64))
144			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into()))
145			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into()))
146	}
147	/// Storage: `Staking::CounterForValidators` (r:1 w:0)
148	/// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
149	/// Storage: `Staking::Validators` (r:1001 w:0)
150	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
151	/// The range of component `v` is `[500, 1000]`.
152	fn get_npos_targets(v: u32, ) -> Weight {
153		// Proof Size summary in bytes:
154		//  Measured:  `477 + v * (50 ±0)`
155		//  Estimated: `3510 + v * (2520 ±0)`
156		// Minimum execution time: 3_140_347_000 picoseconds.
157		Weight::from_parts(154_881_571, 3510)
158			// Standard Error: 10_222
159			.saturating_add(Weight::from_parts(6_025_622, 0).saturating_mul(v.into()))
160			.saturating_add(T::DbWeight::get().reads(2_u64))
161			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
162			.saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into()))
163	}
164	/// Storage: `Staking::Bonded` (r:1 w:1)
165	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
166	/// Storage: `Staking::Ledger` (r:1 w:1)
167	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
168	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
169	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
170	/// Storage: `Balances::Holds` (r:1 w:1)
171	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
172	/// Storage: `Staking::Payee` (r:0 w:1)
173	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
174	fn bond() -> Weight {
175		// Proof Size summary in bytes:
176		//  Measured:  `52`
177		//  Estimated: `4556`
178		// Minimum execution time: 55_615_000 picoseconds.
179		Weight::from_parts(57_007_000, 4556)
180			.saturating_add(T::DbWeight::get().reads(4_u64))
181			.saturating_add(T::DbWeight::get().writes(4_u64))
182	}
183	/// Storage: `Staking::Bonded` (r:1 w:0)
184	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
185	/// Storage: `Staking::Ledger` (r:1 w:1)
186	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
187	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
188	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
189	/// Storage: `Balances::Holds` (r:1 w:1)
190	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
191	/// Storage: `VoterList::ListNodes` (r:3 w:3)
192	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
193	/// Storage: `VoterList::ListBags` (r:2 w:2)
194	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
195	fn bond_extra() -> Weight {
196		// Proof Size summary in bytes:
197		//  Measured:  `1220`
198		//  Estimated: `8877`
199		// Minimum execution time: 117_131_000 picoseconds.
200		Weight::from_parts(119_358_000, 8877)
201			.saturating_add(T::DbWeight::get().reads(9_u64))
202			.saturating_add(T::DbWeight::get().writes(7_u64))
203	}
204	/// Storage: `Staking::Ledger` (r:1 w:1)
205	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
206	/// Storage: `Staking::Bonded` (r:1 w:0)
207	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
208	/// Storage: `Staking::Nominators` (r:1 w:0)
209	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
210	/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
211	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
212	/// Storage: `Staking::CurrentEra` (r:1 w:0)
213	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
214	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
215	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
216	/// Storage: `Balances::Holds` (r:1 w:0)
217	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
218	/// Storage: `VoterList::ListNodes` (r:3 w:3)
219	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
220	/// Storage: `VoterList::ListBags` (r:2 w:2)
221	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
222	fn unbond() -> Weight {
223		// Proof Size summary in bytes:
224		//  Measured:  `1390`
225		//  Estimated: `8877`
226		// Minimum execution time: 95_030_000 picoseconds.
227		Weight::from_parts(97_151_000, 8877)
228			.saturating_add(T::DbWeight::get().reads(12_u64))
229			.saturating_add(T::DbWeight::get().writes(6_u64))
230	}
231	/// Storage: `Staking::Ledger` (r:1 w:1)
232	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
233	/// Storage: `Staking::Bonded` (r:1 w:0)
234	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
235	/// Storage: `Staking::CurrentEra` (r:1 w:0)
236	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
237	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
238	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
239	/// Storage: `Balances::Holds` (r:1 w:1)
240	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
241	/// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
242	/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
243	/// Storage: `DelegatedStaking::Agents` (r:1 w:0)
244	/// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`)
245	/// The range of component `s` is `[0, 100]`.
246	fn withdraw_unbonded_update(s: u32, ) -> Weight {
247		// Proof Size summary in bytes:
248		//  Measured:  `445`
249		//  Estimated: `4556`
250		// Minimum execution time: 59_600_000 picoseconds.
251		Weight::from_parts(61_158_456, 4556)
252			// Standard Error: 1_551
253			.saturating_add(Weight::from_parts(56_426, 0).saturating_mul(s.into()))
254			.saturating_add(T::DbWeight::get().reads(7_u64))
255			.saturating_add(T::DbWeight::get().writes(2_u64))
256	}
257	/// Storage: `Staking::Ledger` (r:1 w:1)
258	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
259	/// Storage: `Staking::Bonded` (r:1 w:1)
260	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
261	/// Storage: `Staking::CurrentEra` (r:1 w:0)
262	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
263	/// Storage: `Staking::SlashingSpans` (r:1 w:1)
264	/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
265	/// Storage: `Staking::VirtualStakers` (r:1 w:1)
266	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
267	/// Storage: `Balances::Holds` (r:1 w:1)
268	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
269	/// Storage: `Staking::Validators` (r:1 w:0)
270	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
271	/// Storage: `Staking::Nominators` (r:1 w:1)
272	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
273	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
274	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
275	/// Storage: `VoterList::ListNodes` (r:2 w:2)
276	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
277	/// Storage: `VoterList::ListBags` (r:1 w:1)
278	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
279	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
280	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
281	/// Storage: `Staking::Payee` (r:0 w:1)
282	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
283	/// Storage: `Staking::SpanSlash` (r:0 w:100)
284	/// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
285	/// The range of component `s` is `[0, 100]`.
286	fn withdraw_unbonded_kill(s: u32, ) -> Weight {
287		// Proof Size summary in bytes:
288		//  Measured:  `1397 + s * (4 ±0)`
289		//  Estimated: `6248 + s * (4 ±0)`
290		// Minimum execution time: 101_985_000 picoseconds.
291		Weight::from_parts(113_757_192, 6248)
292			// Standard Error: 5_702
293			.saturating_add(Weight::from_parts(1_450_972, 0).saturating_mul(s.into()))
294			.saturating_add(T::DbWeight::get().reads(13_u64))
295			.saturating_add(T::DbWeight::get().writes(12_u64))
296			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
297			.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
298	}
299	/// Storage: `Staking::Ledger` (r:1 w:0)
300	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
301	/// Storage: `Staking::Bonded` (r:1 w:0)
302	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
303	/// Storage: `Staking::MinValidatorBond` (r:1 w:0)
304	/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
305	/// Storage: `Staking::MinCommission` (r:1 w:0)
306	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
307	/// Storage: `Staking::Validators` (r:1 w:1)
308	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
309	/// Storage: `Staking::MaxValidatorsCount` (r:1 w:0)
310	/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
311	/// Storage: `Staking::Nominators` (r:1 w:0)
312	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
313	/// Storage: `VoterList::ListNodes` (r:1 w:1)
314	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
315	/// Storage: `VoterList::ListBags` (r:1 w:1)
316	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
317	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
318	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
319	/// Storage: `Staking::CounterForValidators` (r:1 w:1)
320	/// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
321	fn validate() -> Weight {
322		// Proof Size summary in bytes:
323		//  Measured:  `266`
324		//  Estimated: `4556`
325		// Minimum execution time: 41_269_000 picoseconds.
326		Weight::from_parts(42_374_000, 4556)
327			.saturating_add(T::DbWeight::get().reads(11_u64))
328			.saturating_add(T::DbWeight::get().writes(5_u64))
329	}
330	/// Storage: `Staking::Ledger` (r:1 w:0)
331	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
332	/// Storage: `Staking::Bonded` (r:1 w:0)
333	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
334	/// Storage: `Staking::Nominators` (r:128 w:128)
335	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
336	/// The range of component `k` is `[1, 128]`.
337	fn kick(k: u32, ) -> Weight {
338		// Proof Size summary in bytes:
339		//  Measured:  `1304 + k * (572 ±0)`
340		//  Estimated: `4556 + k * (3033 ±0)`
341		// Minimum execution time: 35_515_000 picoseconds.
342		Weight::from_parts(41_989_563, 4556)
343			// Standard Error: 7_877
344			.saturating_add(Weight::from_parts(7_217_165, 0).saturating_mul(k.into()))
345			.saturating_add(T::DbWeight::get().reads(2_u64))
346			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
347			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
348			.saturating_add(Weight::from_parts(0, 3033).saturating_mul(k.into()))
349	}
350	/// Storage: `Staking::Ledger` (r:1 w:0)
351	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
352	/// Storage: `Staking::Bonded` (r:1 w:0)
353	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
354	/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
355	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
356	/// Storage: `Staking::Nominators` (r:1 w:1)
357	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
358	/// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
359	/// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
360	/// Storage: `Staking::Validators` (r:17 w:0)
361	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
362	/// Storage: `Staking::CurrentEra` (r:1 w:0)
363	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
364	/// Storage: `VoterList::ListNodes` (r:2 w:2)
365	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
366	/// Storage: `VoterList::ListBags` (r:1 w:1)
367	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
368	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
369	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
370	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
371	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
372	/// The range of component `n` is `[1, 16]`.
373	fn nominate(n: u32, ) -> Weight {
374		// Proof Size summary in bytes:
375		//  Measured:  `1103 + n * (106 ±0)`
376		//  Estimated: `6248 + n * (2520 ±0)`
377		// Minimum execution time: 66_864_000 picoseconds.
378		Weight::from_parts(64_888_216, 6248)
379			// Standard Error: 18_383
380			.saturating_add(Weight::from_parts(4_675_038, 0).saturating_mul(n.into()))
381			.saturating_add(T::DbWeight::get().reads(12_u64))
382			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
383			.saturating_add(T::DbWeight::get().writes(6_u64))
384			.saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into()))
385	}
386	/// Storage: `Staking::Ledger` (r:1 w:0)
387	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
388	/// Storage: `Staking::Bonded` (r:1 w:0)
389	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
390	/// Storage: `Staking::Validators` (r:1 w:0)
391	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
392	/// Storage: `Staking::Nominators` (r:1 w:1)
393	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
394	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
395	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
396	/// Storage: `VoterList::ListNodes` (r:2 w:2)
397	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
398	/// Storage: `VoterList::ListBags` (r:1 w:1)
399	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
400	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
401	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
402	fn chill() -> Weight {
403		// Proof Size summary in bytes:
404		//  Measured:  `1037`
405		//  Estimated: `6248`
406		// Minimum execution time: 57_553_000 picoseconds.
407		Weight::from_parts(58_722_000, 6248)
408			.saturating_add(T::DbWeight::get().reads(9_u64))
409			.saturating_add(T::DbWeight::get().writes(6_u64))
410	}
411	/// Storage: `Staking::Ledger` (r:1 w:0)
412	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
413	/// Storage: `Staking::Bonded` (r:1 w:0)
414	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
415	/// Storage: `Staking::Payee` (r:0 w:1)
416	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
417	fn set_payee() -> Weight {
418		// Proof Size summary in bytes:
419		//  Measured:  `237`
420		//  Estimated: `4556`
421		// Minimum execution time: 15_999_000 picoseconds.
422		Weight::from_parts(16_306_000, 4556)
423			.saturating_add(T::DbWeight::get().reads(2_u64))
424			.saturating_add(T::DbWeight::get().writes(1_u64))
425	}
426	/// Storage: `Staking::Ledger` (r:1 w:0)
427	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
428	/// Storage: `Staking::Bonded` (r:1 w:0)
429	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
430	/// Storage: `Staking::Payee` (r:1 w:1)
431	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
432	fn update_payee() -> Weight {
433		// Proof Size summary in bytes:
434		//  Measured:  `266`
435		//  Estimated: `4556`
436		// Minimum execution time: 18_991_000 picoseconds.
437		Weight::from_parts(19_621_000, 4556)
438			.saturating_add(T::DbWeight::get().reads(3_u64))
439			.saturating_add(T::DbWeight::get().writes(1_u64))
440	}
441	/// Storage: `Staking::Bonded` (r:1 w:1)
442	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
443	/// Storage: `Staking::Ledger` (r:2 w:2)
444	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
445	fn set_controller() -> Weight {
446		// Proof Size summary in bytes:
447		//  Measured:  `237`
448		//  Estimated: `8122`
449		// Minimum execution time: 18_901_000 picoseconds.
450		Weight::from_parts(19_563_000, 8122)
451			.saturating_add(T::DbWeight::get().reads(3_u64))
452			.saturating_add(T::DbWeight::get().writes(3_u64))
453	}
454	/// Storage: `Staking::ValidatorCount` (r:0 w:1)
455	/// Proof: `Staking::ValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
456	fn set_validator_count() -> Weight {
457		// Proof Size summary in bytes:
458		//  Measured:  `0`
459		//  Estimated: `0`
460		// Minimum execution time: 1_903_000 picoseconds.
461		Weight::from_parts(1_974_000, 0)
462			.saturating_add(T::DbWeight::get().writes(1_u64))
463	}
464	/// Storage: `Staking::ForceEra` (r:0 w:1)
465	/// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
466	fn force_no_eras() -> Weight {
467		// Proof Size summary in bytes:
468		//  Measured:  `0`
469		//  Estimated: `0`
470		// Minimum execution time: 5_723_000 picoseconds.
471		Weight::from_parts(5_938_000, 0)
472			.saturating_add(T::DbWeight::get().writes(1_u64))
473	}
474	/// Storage: `Staking::ForceEra` (r:0 w:1)
475	/// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
476	fn force_new_era() -> Weight {
477		// Proof Size summary in bytes:
478		//  Measured:  `0`
479		//  Estimated: `0`
480		// Minimum execution time: 5_722_000 picoseconds.
481		Weight::from_parts(5_973_000, 0)
482			.saturating_add(T::DbWeight::get().writes(1_u64))
483	}
484	/// Storage: `Staking::ForceEra` (r:0 w:1)
485	/// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
486	fn force_new_era_always() -> Weight {
487		// Proof Size summary in bytes:
488		//  Measured:  `0`
489		//  Estimated: `0`
490		// Minimum execution time: 5_754_000 picoseconds.
491		Weight::from_parts(5_980_000, 0)
492			.saturating_add(T::DbWeight::get().writes(1_u64))
493	}
494	/// Storage: `Staking::Invulnerables` (r:0 w:1)
495	/// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
496	/// The range of component `v` is `[0, 20]`.
497	fn set_invulnerables(v: u32, ) -> Weight {
498		// Proof Size summary in bytes:
499		//  Measured:  `0`
500		//  Estimated: `0`
501		// Minimum execution time: 2_152_000 picoseconds.
502		Weight::from_parts(2_383_345, 0)
503			// Standard Error: 457
504			.saturating_add(Weight::from_parts(21_323, 0).saturating_mul(v.into()))
505			.saturating_add(T::DbWeight::get().writes(1_u64))
506	}
507	/// Storage: `Staking::Ledger` (r:11800 w:11800)
508	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
509	/// Storage: `Staking::Bonded` (r:5900 w:5900)
510	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
511	/// Storage: `Staking::Payee` (r:5900 w:0)
512	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
513	/// The range of component `u` is `[0, 5900]`.
514	fn deprecate_controller_batch(u: u32, ) -> Weight {
515		// Proof Size summary in bytes:
516		//  Measured:  `1015 + u * (229 ±0)`
517		//  Estimated: `990 + u * (7132 ±0)`
518		// Minimum execution time: 4_048_000 picoseconds.
519		Weight::from_parts(4_168_000, 990)
520			// Standard Error: 78_180
521			.saturating_add(Weight::from_parts(34_730_792, 0).saturating_mul(u.into()))
522			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(u.into())))
523			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(u.into())))
524			.saturating_add(Weight::from_parts(0, 7132).saturating_mul(u.into()))
525	}
526	/// Storage: `Staking::SlashingSpans` (r:1 w:1)
527	/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
528	/// Storage: `Staking::Bonded` (r:1 w:1)
529	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
530	/// Storage: `Staking::Ledger` (r:1 w:1)
531	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
532	/// Storage: `Staking::VirtualStakers` (r:1 w:1)
533	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
534	/// Storage: `Balances::Holds` (r:1 w:1)
535	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
536	/// Storage: `System::Account` (r:1 w:1)
537	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
538	/// Storage: `Staking::Validators` (r:1 w:0)
539	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
540	/// Storage: `Staking::Nominators` (r:1 w:1)
541	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
542	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
543	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
544	/// Storage: `VoterList::ListNodes` (r:2 w:2)
545	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
546	/// Storage: `VoterList::ListBags` (r:1 w:1)
547	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
548	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
549	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
550	/// Storage: `Staking::Payee` (r:0 w:1)
551	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
552	/// Storage: `Staking::SpanSlash` (r:0 w:100)
553	/// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
554	/// The range of component `s` is `[0, 100]`.
555	fn force_unstake(s: u32, ) -> Weight {
556		// Proof Size summary in bytes:
557		//  Measured:  `1374 + s * (4 ±0)`
558		//  Estimated: `6248 + s * (4 ±0)`
559		// Minimum execution time: 95_846_000 picoseconds.
560		Weight::from_parts(105_798_816, 6248)
561			// Standard Error: 5_238
562			.saturating_add(Weight::from_parts(1_462_800, 0).saturating_mul(s.into()))
563			.saturating_add(T::DbWeight::get().reads(13_u64))
564			.saturating_add(T::DbWeight::get().writes(13_u64))
565			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
566			.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
567	}
568	/// Storage: `Staking::UnappliedSlashes` (r:999 w:999)
569	/// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(1694), added: 4169, mode: `MaxEncodedLen`)
570	/// The range of component `s` is `[1, 1000]`.
571	fn cancel_deferred_slash(s: u32, ) -> Weight {
572		// Proof Size summary in bytes:
573		//  Measured:  `58 + s * (122 ±0)`
574		//  Estimated: `990 + s * (4169 ±0)`
575		// Minimum execution time: 9_827_000 picoseconds.
576		Weight::from_parts(9_971_000, 990)
577			// Standard Error: 10_729
578			.saturating_add(Weight::from_parts(7_511_252, 0).saturating_mul(s.into()))
579			.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(s.into())))
580			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
581			.saturating_add(Weight::from_parts(0, 4169).saturating_mul(s.into()))
582	}
583	/// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
584	/// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
585	/// Storage: `Staking::ClaimedRewards` (r:1 w:1)
586	/// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: None, mode: `Measured`)
587	/// Storage: `Staking::CurrentEra` (r:1 w:0)
588	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
589	/// Storage: `Staking::ErasValidatorReward` (r:1 w:0)
590	/// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
591	/// Storage: `Staking::Bonded` (r:33 w:0)
592	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
593	/// Storage: `Staking::Ledger` (r:33 w:33)
594	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
595	/// Storage: `System::Account` (r:33 w:33)
596	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
597	/// Storage: `Staking::VirtualStakers` (r:33 w:0)
598	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
599	/// Storage: `Balances::Holds` (r:33 w:33)
600	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
601	/// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
602	/// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`)
603	/// Storage: `Staking::ErasRewardPoints` (r:1 w:0)
604	/// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: None, mode: `Measured`)
605	/// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0)
606	/// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
607	/// Storage: `Staking::Payee` (r:33 w:0)
608	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
609	/// The range of component `n` is `[0, 32]`.
610	fn payout_stakers_alive_staked(n: u32, ) -> Weight {
611		// Proof Size summary in bytes:
612		//  Measured:  `3830 + n * (401 ±0)`
613		//  Estimated: `7268 + n * (3566 ±0)`
614		// Minimum execution time: 172_357_000 picoseconds.
615		Weight::from_parts(190_956_682, 7268)
616			// Standard Error: 44_355
617			.saturating_add(Weight::from_parts(77_126_544, 0).saturating_mul(n.into()))
618			.saturating_add(T::DbWeight::get().reads(13_u64))
619			.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into())))
620			.saturating_add(T::DbWeight::get().writes(4_u64))
621			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(n.into())))
622			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into()))
623	}
624	/// Storage: `Staking::Ledger` (r:1 w:1)
625	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
626	/// Storage: `Staking::Bonded` (r:1 w:0)
627	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
628	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
629	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
630	/// Storage: `Balances::Holds` (r:1 w:0)
631	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
632	/// Storage: `VoterList::ListNodes` (r:3 w:3)
633	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
634	/// Storage: `VoterList::ListBags` (r:2 w:2)
635	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
636	/// The range of component `l` is `[1, 32]`.
637	fn rebond(l: u32, ) -> Weight {
638		// Proof Size summary in bytes:
639		//  Measured:  `1221 + l * (7 ±0)`
640		//  Estimated: `8877`
641		// Minimum execution time: 78_377_000 picoseconds.
642		Weight::from_parts(81_329_157, 8877)
643			// Standard Error: 6_895
644			.saturating_add(Weight::from_parts(71_249, 0).saturating_mul(l.into()))
645			.saturating_add(T::DbWeight::get().reads(9_u64))
646			.saturating_add(T::DbWeight::get().writes(6_u64))
647	}
648	/// Storage: `Staking::VirtualStakers` (r:1 w:1)
649	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
650	/// Storage: `Staking::Bonded` (r:1 w:1)
651	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
652	/// Storage: `Staking::Ledger` (r:1 w:1)
653	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
654	/// Storage: `Staking::SlashingSpans` (r:1 w:1)
655	/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
656	/// Storage: `Balances::Holds` (r:1 w:1)
657	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
658	/// Storage: `Staking::Validators` (r:1 w:0)
659	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
660	/// Storage: `Staking::Nominators` (r:1 w:1)
661	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
662	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
663	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
664	/// Storage: `VoterList::ListNodes` (r:2 w:2)
665	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
666	/// Storage: `VoterList::ListBags` (r:1 w:1)
667	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
668	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
669	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
670	/// Storage: `Staking::Payee` (r:0 w:1)
671	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
672	/// Storage: `Staking::SpanSlash` (r:0 w:100)
673	/// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
674	/// The range of component `s` is `[1, 100]`.
675	fn reap_stash(s: u32, ) -> Weight {
676		// Proof Size summary in bytes:
677		//  Measured:  `1374 + s * (4 ±0)`
678		//  Estimated: `6248 + s * (4 ±0)`
679		// Minimum execution time: 108_591_000 picoseconds.
680		Weight::from_parts(115_802_501, 6248)
681			// Standard Error: 5_724
682			.saturating_add(Weight::from_parts(1_378_120, 0).saturating_mul(s.into()))
683			.saturating_add(T::DbWeight::get().reads(12_u64))
684			.saturating_add(T::DbWeight::get().writes(12_u64))
685			.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
686			.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
687	}
688	/// Storage: `VoterList::CounterForListNodes` (r:1 w:0)
689	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
690	/// Storage: `VoterList::ListBags` (r:200 w:0)
691	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
692	/// Storage: `VoterList::ListNodes` (r:110 w:0)
693	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
694	/// Storage: `Staking::Bonded` (r:110 w:0)
695	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
696	/// Storage: `Staking::Ledger` (r:110 w:0)
697	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
698	/// Storage: `Staking::Nominators` (r:110 w:0)
699	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
700	/// Storage: `Staking::Validators` (r:11 w:0)
701	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
702	/// Storage: `Staking::CounterForValidators` (r:1 w:0)
703	/// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
704	/// Storage: `Staking::ValidatorCount` (r:1 w:0)
705	/// Proof: `Staking::ValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
706	/// Storage: `Staking::MinimumValidatorCount` (r:1 w:0)
707	/// Proof: `Staking::MinimumValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
708	/// Storage: `Staking::CurrentEra` (r:1 w:1)
709	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
710	/// Storage: `Staking::ErasValidatorPrefs` (r:0 w:10)
711	/// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
712	/// Storage: `Staking::ErasStakersPaged` (r:0 w:10)
713	/// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`)
714	/// Storage: `Staking::ErasStakersOverview` (r:0 w:10)
715	/// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
716	/// Storage: `Staking::ErasTotalStake` (r:0 w:1)
717	/// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
718	/// Storage: `Staking::ErasStartSessionIndex` (r:0 w:1)
719	/// Proof: `Staking::ErasStartSessionIndex` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
720	/// Storage: `Staking::MinimumActiveStake` (r:0 w:1)
721	/// Proof: `Staking::MinimumActiveStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
722	/// The range of component `v` is `[1, 10]`.
723	/// The range of component `n` is `[0, 100]`.
724	fn new_era(v: u32, n: u32, ) -> Weight {
725		// Proof Size summary in bytes:
726		//  Measured:  `0 + n * (720 ±0) + v * (3598 ±0)`
727		//  Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
728		// Minimum execution time: 692_301_000 picoseconds.
729		Weight::from_parts(708_732_000, 512390)
730			// Standard Error: 2_117_299
731			.saturating_add(Weight::from_parts(70_087_600, 0).saturating_mul(v.into()))
732			// Standard Error: 210_977
733			.saturating_add(Weight::from_parts(22_953_405, 0).saturating_mul(n.into()))
734			.saturating_add(T::DbWeight::get().reads(206_u64))
735			.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
736			.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
737			.saturating_add(T::DbWeight::get().writes(3_u64))
738			.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(v.into())))
739			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into()))
740			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into()))
741	}
742	/// Storage: `Staking::MinCommission` (r:0 w:1)
743	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
744	/// Storage: `Staking::MinValidatorBond` (r:0 w:1)
745	/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
746	/// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
747	/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
748	/// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
749	/// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
750	/// Storage: `Staking::ChillThreshold` (r:0 w:1)
751	/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
752	/// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
753	/// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
754	/// Storage: `Staking::MinNominatorBond` (r:0 w:1)
755	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
756	fn set_staking_configs_all_set() -> Weight {
757		// Proof Size summary in bytes:
758		//  Measured:  `0`
759		//  Estimated: `0`
760		// Minimum execution time: 3_421_000 picoseconds.
761		Weight::from_parts(3_542_000, 0)
762			.saturating_add(T::DbWeight::get().writes(7_u64))
763	}
764	/// Storage: `Staking::MinCommission` (r:0 w:1)
765	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
766	/// Storage: `Staking::MinValidatorBond` (r:0 w:1)
767	/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
768	/// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
769	/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
770	/// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
771	/// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
772	/// Storage: `Staking::ChillThreshold` (r:0 w:1)
773	/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
774	/// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
775	/// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
776	/// Storage: `Staking::MinNominatorBond` (r:0 w:1)
777	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
778	fn set_staking_configs_all_remove() -> Weight {
779		// Proof Size summary in bytes:
780		//  Measured:  `0`
781		//  Estimated: `0`
782		// Minimum execution time: 3_134_000 picoseconds.
783		Weight::from_parts(3_267_000, 0)
784			.saturating_add(T::DbWeight::get().writes(7_u64))
785	}
786	/// Storage: `Staking::Bonded` (r:1 w:0)
787	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
788	/// Storage: `Staking::Ledger` (r:1 w:0)
789	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
790	/// Storage: `Staking::Nominators` (r:1 w:1)
791	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
792	/// Storage: `Staking::ChillThreshold` (r:1 w:0)
793	/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
794	/// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
795	/// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
796	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
797	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
798	/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
799	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
800	/// Storage: `Staking::Validators` (r:1 w:0)
801	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
802	/// Storage: `VoterList::ListNodes` (r:2 w:2)
803	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
804	/// Storage: `VoterList::ListBags` (r:1 w:1)
805	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
806	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
807	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
808	fn chill_other() -> Weight {
809		// Proof Size summary in bytes:
810		//  Measured:  `1203`
811		//  Estimated: `6248`
812		// Minimum execution time: 69_173_000 picoseconds.
813		Weight::from_parts(72_321_000, 6248)
814			.saturating_add(T::DbWeight::get().reads(12_u64))
815			.saturating_add(T::DbWeight::get().writes(6_u64))
816	}
817	/// Storage: `Staking::MinCommission` (r:1 w:0)
818	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
819	/// Storage: `Staking::Validators` (r:1 w:1)
820	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
821	fn force_apply_min_commission() -> Weight {
822		// Proof Size summary in bytes:
823		//  Measured:  `200`
824		//  Estimated: `3510`
825		// Minimum execution time: 9_401_000 picoseconds.
826		Weight::from_parts(9_790_000, 3510)
827			.saturating_add(T::DbWeight::get().reads(2_u64))
828			.saturating_add(T::DbWeight::get().writes(1_u64))
829	}
830	/// Storage: `Staking::MinCommission` (r:0 w:1)
831	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
832	fn set_min_commission() -> Weight {
833		// Proof Size summary in bytes:
834		//  Measured:  `0`
835		//  Estimated: `0`
836		// Minimum execution time: 1_914_000 picoseconds.
837		Weight::from_parts(1_999_000, 0)
838			.saturating_add(T::DbWeight::get().writes(1_u64))
839	}
840	/// Storage: `System::Account` (r:1 w:0)
841	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
842	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
843	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
844	/// Storage: `Balances::Holds` (r:1 w:0)
845	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
846	/// Storage: `Balances::Locks` (r:1 w:0)
847	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
848	/// Storage: `Staking::Bonded` (r:1 w:1)
849	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
850	/// Storage: `Staking::Ledger` (r:1 w:1)
851	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
852	fn restore_ledger() -> Weight {
853		// Proof Size summary in bytes:
854		//  Measured:  `223`
855		//  Estimated: `4764`
856		// Minimum execution time: 38_029_000 picoseconds.
857		Weight::from_parts(38_545_000, 4764)
858			.saturating_add(T::DbWeight::get().reads(6_u64))
859			.saturating_add(T::DbWeight::get().writes(2_u64))
860	}
861	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
862	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
863	/// Storage: `Staking::Bonded` (r:1 w:0)
864	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
865	/// Storage: `Staking::Ledger` (r:1 w:0)
866	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
867	/// Storage: `Balances::Locks` (r:1 w:1)
868	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
869	/// Storage: `Balances::Freezes` (r:1 w:0)
870	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
871	/// Storage: `Balances::Holds` (r:1 w:1)
872	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
873	fn migrate_currency() -> Weight {
874		// Proof Size summary in bytes:
875		//  Measured:  `389`
876		//  Estimated: `4764`
877		// Minimum execution time: 77_496_000 picoseconds.
878		Weight::from_parts(78_353_000, 4764)
879			.saturating_add(T::DbWeight::get().reads(6_u64))
880			.saturating_add(T::DbWeight::get().writes(2_u64))
881	}
882	/// Storage: `Staking::CurrentEra` (r:1 w:0)
883	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
884	/// Storage: `Staking::ErasStartSessionIndex` (r:1 w:0)
885	/// Proof: `Staking::ErasStartSessionIndex` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
886	/// Storage: `Staking::ActiveEra` (r:1 w:0)
887	/// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
888	/// Storage: `Staking::Invulnerables` (r:1 w:0)
889	/// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
890	/// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
891	/// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
892	/// Storage: `Session::DisabledValidators` (r:1 w:1)
893	/// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
894	/// Storage: `Session::Validators` (r:1 w:0)
895	/// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
896	/// Storage: `Staking::ValidatorSlashInEra` (r:1 w:1)
897	/// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
898	/// Storage: `Staking::OffenceQueue` (r:1 w:1)
899	/// Proof: `Staking::OffenceQueue` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
900	/// Storage: `Staking::OffenceQueueEras` (r:1 w:1)
901	/// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(2690), added: 3185, mode: `MaxEncodedLen`)
902	fn manual_slash() -> Weight {
903		// Proof Size summary in bytes:
904		//  Measured:  `514`
905		//  Estimated: `4175`
906		// Minimum execution time: 30_000_000 picoseconds.
907		Weight::from_parts(33_000_000, 4175)
908			.saturating_add(RocksDbWeight::get().reads(10_u64))
909			.saturating_add(RocksDbWeight::get().writes(4_u64))
910	}
911}
912
913// For backwards compatibility and tests.
914impl WeightInfo for () {
915	/// Storage: `VoterList::CounterForListNodes` (r:1 w:0)
916	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
917	/// Storage: `VoterList::ListBags` (r:180 w:0)
918	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
919	/// Storage: `VoterList::ListNodes` (r:6000 w:0)
920	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
921	/// Storage: `Staking::Bonded` (r:6000 w:0)
922	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
923	/// Storage: `Staking::Ledger` (r:6000 w:0)
924	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
925	/// Storage: `Staking::Nominators` (r:6000 w:0)
926	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
927	/// Storage: `Staking::Validators` (r:1000 w:0)
928	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
929	/// Storage: `Staking::MinimumActiveStake` (r:0 w:1)
930	/// Proof: `Staking::MinimumActiveStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
931	/// The range of component `v` is `[500, 1000]`.
932	/// The range of component `n` is `[2500, 5000]`.
933	fn get_npos_voters(v: u32, n: u32, ) -> Weight {
934		// Proof Size summary in bytes:
935		//  Measured:  `1660 + n * (911 ±0) + v * (395 ±0)`
936		//  Estimated: `405466 + n * (3566 ±0) + v * (3566 ±0)`
937		// Minimum execution time: 119_117_302_000 picoseconds.
938		Weight::from_parts(119_749_229_000, 405466)
939			// Standard Error: 256_250
940			.saturating_add(Weight::from_parts(22_752_790, 0).saturating_mul(n.into()))
941			.saturating_add(RocksDbWeight::get().reads(159_u64))
942			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(v.into())))
943			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(n.into())))
944			.saturating_add(RocksDbWeight::get().writes(1_u64))
945			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into()))
946			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into()))
947	}
948	/// Storage: `Staking::CounterForValidators` (r:1 w:0)
949	/// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
950	/// Storage: `Staking::Validators` (r:1001 w:0)
951	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
952	/// The range of component `v` is `[500, 1000]`.
953	fn get_npos_targets(v: u32, ) -> Weight {
954		// Proof Size summary in bytes:
955		//  Measured:  `477 + v * (50 ±0)`
956		//  Estimated: `3510 + v * (2520 ±0)`
957		// Minimum execution time: 3_140_347_000 picoseconds.
958		Weight::from_parts(154_881_571, 3510)
959			// Standard Error: 10_222
960			.saturating_add(Weight::from_parts(6_025_622, 0).saturating_mul(v.into()))
961			.saturating_add(RocksDbWeight::get().reads(2_u64))
962			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(v.into())))
963			.saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into()))
964	}
965	/// Storage: `Staking::Bonded` (r:1 w:1)
966	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
967	/// Storage: `Staking::Ledger` (r:1 w:1)
968	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
969	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
970	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
971	/// Storage: `Balances::Holds` (r:1 w:1)
972	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
973	/// Storage: `Staking::Payee` (r:0 w:1)
974	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
975	fn bond() -> Weight {
976		// Proof Size summary in bytes:
977		//  Measured:  `52`
978		//  Estimated: `4556`
979		// Minimum execution time: 55_615_000 picoseconds.
980		Weight::from_parts(57_007_000, 4556)
981			.saturating_add(RocksDbWeight::get().reads(4_u64))
982			.saturating_add(RocksDbWeight::get().writes(4_u64))
983	}
984	/// Storage: `Staking::Bonded` (r:1 w:0)
985	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
986	/// Storage: `Staking::Ledger` (r:1 w:1)
987	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
988	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
989	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
990	/// Storage: `Balances::Holds` (r:1 w:1)
991	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
992	/// Storage: `VoterList::ListNodes` (r:3 w:3)
993	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
994	/// Storage: `VoterList::ListBags` (r:2 w:2)
995	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
996	fn bond_extra() -> Weight {
997		// Proof Size summary in bytes:
998		//  Measured:  `1220`
999		//  Estimated: `8877`
1000		// Minimum execution time: 117_131_000 picoseconds.
1001		Weight::from_parts(119_358_000, 8877)
1002			.saturating_add(RocksDbWeight::get().reads(9_u64))
1003			.saturating_add(RocksDbWeight::get().writes(7_u64))
1004	}
1005	/// Storage: `Staking::Ledger` (r:1 w:1)
1006	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1007	/// Storage: `Staking::Bonded` (r:1 w:0)
1008	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1009	/// Storage: `Staking::Nominators` (r:1 w:0)
1010	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1011	/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1012	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1013	/// Storage: `Staking::CurrentEra` (r:1 w:0)
1014	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1015	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
1016	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1017	/// Storage: `Balances::Holds` (r:1 w:0)
1018	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1019	/// Storage: `VoterList::ListNodes` (r:3 w:3)
1020	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1021	/// Storage: `VoterList::ListBags` (r:2 w:2)
1022	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1023	fn unbond() -> Weight {
1024		// Proof Size summary in bytes:
1025		//  Measured:  `1390`
1026		//  Estimated: `8877`
1027		// Minimum execution time: 95_030_000 picoseconds.
1028		Weight::from_parts(97_151_000, 8877)
1029			.saturating_add(RocksDbWeight::get().reads(12_u64))
1030			.saturating_add(RocksDbWeight::get().writes(6_u64))
1031	}
1032	/// Storage: `Staking::Ledger` (r:1 w:1)
1033	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1034	/// Storage: `Staking::Bonded` (r:1 w:0)
1035	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1036	/// Storage: `Staking::CurrentEra` (r:1 w:0)
1037	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1038	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
1039	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1040	/// Storage: `Balances::Holds` (r:1 w:1)
1041	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1042	/// Storage: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
1043	/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
1044	/// Storage: `DelegatedStaking::Agents` (r:1 w:0)
1045	/// Proof: `DelegatedStaking::Agents` (`max_values`: None, `max_size`: Some(120), added: 2595, mode: `MaxEncodedLen`)
1046	/// The range of component `s` is `[0, 100]`.
1047	fn withdraw_unbonded_update(s: u32, ) -> Weight {
1048		// Proof Size summary in bytes:
1049		//  Measured:  `445`
1050		//  Estimated: `4556`
1051		// Minimum execution time: 59_600_000 picoseconds.
1052		Weight::from_parts(61_158_456, 4556)
1053			// Standard Error: 1_551
1054			.saturating_add(Weight::from_parts(56_426, 0).saturating_mul(s.into()))
1055			.saturating_add(RocksDbWeight::get().reads(7_u64))
1056			.saturating_add(RocksDbWeight::get().writes(2_u64))
1057	}
1058	/// Storage: `Staking::Ledger` (r:1 w:1)
1059	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1060	/// Storage: `Staking::Bonded` (r:1 w:1)
1061	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1062	/// Storage: `Staking::CurrentEra` (r:1 w:0)
1063	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1064	/// Storage: `Staking::SlashingSpans` (r:1 w:1)
1065	/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
1066	/// Storage: `Staking::VirtualStakers` (r:1 w:1)
1067	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1068	/// Storage: `Balances::Holds` (r:1 w:1)
1069	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1070	/// Storage: `Staking::Validators` (r:1 w:0)
1071	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1072	/// Storage: `Staking::Nominators` (r:1 w:1)
1073	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1074	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
1075	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1076	/// Storage: `VoterList::ListNodes` (r:2 w:2)
1077	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1078	/// Storage: `VoterList::ListBags` (r:1 w:1)
1079	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1080	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1081	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1082	/// Storage: `Staking::Payee` (r:0 w:1)
1083	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1084	/// Storage: `Staking::SpanSlash` (r:0 w:100)
1085	/// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
1086	/// The range of component `s` is `[0, 100]`.
1087	fn withdraw_unbonded_kill(s: u32, ) -> Weight {
1088		// Proof Size summary in bytes:
1089		//  Measured:  `1397 + s * (4 ±0)`
1090		//  Estimated: `6248 + s * (4 ±0)`
1091		// Minimum execution time: 101_985_000 picoseconds.
1092		Weight::from_parts(113_757_192, 6248)
1093			// Standard Error: 5_702
1094			.saturating_add(Weight::from_parts(1_450_972, 0).saturating_mul(s.into()))
1095			.saturating_add(RocksDbWeight::get().reads(13_u64))
1096			.saturating_add(RocksDbWeight::get().writes(12_u64))
1097			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
1098			.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
1099	}
1100	/// Storage: `Staking::Ledger` (r:1 w:0)
1101	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1102	/// Storage: `Staking::Bonded` (r:1 w:0)
1103	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1104	/// Storage: `Staking::MinValidatorBond` (r:1 w:0)
1105	/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1106	/// Storage: `Staking::MinCommission` (r:1 w:0)
1107	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1108	/// Storage: `Staking::Validators` (r:1 w:1)
1109	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1110	/// Storage: `Staking::MaxValidatorsCount` (r:1 w:0)
1111	/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1112	/// Storage: `Staking::Nominators` (r:1 w:0)
1113	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1114	/// Storage: `VoterList::ListNodes` (r:1 w:1)
1115	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1116	/// Storage: `VoterList::ListBags` (r:1 w:1)
1117	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1118	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1119	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1120	/// Storage: `Staking::CounterForValidators` (r:1 w:1)
1121	/// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1122	fn validate() -> Weight {
1123		// Proof Size summary in bytes:
1124		//  Measured:  `266`
1125		//  Estimated: `4556`
1126		// Minimum execution time: 41_269_000 picoseconds.
1127		Weight::from_parts(42_374_000, 4556)
1128			.saturating_add(RocksDbWeight::get().reads(11_u64))
1129			.saturating_add(RocksDbWeight::get().writes(5_u64))
1130	}
1131	/// Storage: `Staking::Ledger` (r:1 w:0)
1132	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1133	/// Storage: `Staking::Bonded` (r:1 w:0)
1134	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1135	/// Storage: `Staking::Nominators` (r:128 w:128)
1136	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1137	/// The range of component `k` is `[1, 128]`.
1138	fn kick(k: u32, ) -> Weight {
1139		// Proof Size summary in bytes:
1140		//  Measured:  `1304 + k * (572 ±0)`
1141		//  Estimated: `4556 + k * (3033 ±0)`
1142		// Minimum execution time: 35_515_000 picoseconds.
1143		Weight::from_parts(41_989_563, 4556)
1144			// Standard Error: 7_877
1145			.saturating_add(Weight::from_parts(7_217_165, 0).saturating_mul(k.into()))
1146			.saturating_add(RocksDbWeight::get().reads(2_u64))
1147			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
1148			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
1149			.saturating_add(Weight::from_parts(0, 3033).saturating_mul(k.into()))
1150	}
1151	/// Storage: `Staking::Ledger` (r:1 w:0)
1152	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1153	/// Storage: `Staking::Bonded` (r:1 w:0)
1154	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1155	/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1156	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1157	/// Storage: `Staking::Nominators` (r:1 w:1)
1158	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1159	/// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
1160	/// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1161	/// Storage: `Staking::Validators` (r:17 w:0)
1162	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1163	/// Storage: `Staking::CurrentEra` (r:1 w:0)
1164	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1165	/// Storage: `VoterList::ListNodes` (r:2 w:2)
1166	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1167	/// Storage: `VoterList::ListBags` (r:1 w:1)
1168	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1169	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1170	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1171	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
1172	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1173	/// The range of component `n` is `[1, 16]`.
1174	fn nominate(n: u32, ) -> Weight {
1175		// Proof Size summary in bytes:
1176		//  Measured:  `1103 + n * (106 ±0)`
1177		//  Estimated: `6248 + n * (2520 ±0)`
1178		// Minimum execution time: 66_864_000 picoseconds.
1179		Weight::from_parts(64_888_216, 6248)
1180			// Standard Error: 18_383
1181			.saturating_add(Weight::from_parts(4_675_038, 0).saturating_mul(n.into()))
1182			.saturating_add(RocksDbWeight::get().reads(12_u64))
1183			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
1184			.saturating_add(RocksDbWeight::get().writes(6_u64))
1185			.saturating_add(Weight::from_parts(0, 2520).saturating_mul(n.into()))
1186	}
1187	/// Storage: `Staking::Ledger` (r:1 w:0)
1188	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1189	/// Storage: `Staking::Bonded` (r:1 w:0)
1190	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1191	/// Storage: `Staking::Validators` (r:1 w:0)
1192	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1193	/// Storage: `Staking::Nominators` (r:1 w:1)
1194	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1195	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
1196	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1197	/// Storage: `VoterList::ListNodes` (r:2 w:2)
1198	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1199	/// Storage: `VoterList::ListBags` (r:1 w:1)
1200	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1201	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1202	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1203	fn chill() -> Weight {
1204		// Proof Size summary in bytes:
1205		//  Measured:  `1037`
1206		//  Estimated: `6248`
1207		// Minimum execution time: 57_553_000 picoseconds.
1208		Weight::from_parts(58_722_000, 6248)
1209			.saturating_add(RocksDbWeight::get().reads(9_u64))
1210			.saturating_add(RocksDbWeight::get().writes(6_u64))
1211	}
1212	/// Storage: `Staking::Ledger` (r:1 w:0)
1213	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1214	/// Storage: `Staking::Bonded` (r:1 w:0)
1215	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1216	/// Storage: `Staking::Payee` (r:0 w:1)
1217	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1218	fn set_payee() -> Weight {
1219		// Proof Size summary in bytes:
1220		//  Measured:  `237`
1221		//  Estimated: `4556`
1222		// Minimum execution time: 15_999_000 picoseconds.
1223		Weight::from_parts(16_306_000, 4556)
1224			.saturating_add(RocksDbWeight::get().reads(2_u64))
1225			.saturating_add(RocksDbWeight::get().writes(1_u64))
1226	}
1227	/// Storage: `Staking::Ledger` (r:1 w:0)
1228	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1229	/// Storage: `Staking::Bonded` (r:1 w:0)
1230	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1231	/// Storage: `Staking::Payee` (r:1 w:1)
1232	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1233	fn update_payee() -> Weight {
1234		// Proof Size summary in bytes:
1235		//  Measured:  `266`
1236		//  Estimated: `4556`
1237		// Minimum execution time: 18_991_000 picoseconds.
1238		Weight::from_parts(19_621_000, 4556)
1239			.saturating_add(RocksDbWeight::get().reads(3_u64))
1240			.saturating_add(RocksDbWeight::get().writes(1_u64))
1241	}
1242	/// Storage: `Staking::Bonded` (r:1 w:1)
1243	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1244	/// Storage: `Staking::Ledger` (r:2 w:2)
1245	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1246	fn set_controller() -> Weight {
1247		// Proof Size summary in bytes:
1248		//  Measured:  `237`
1249		//  Estimated: `8122`
1250		// Minimum execution time: 18_901_000 picoseconds.
1251		Weight::from_parts(19_563_000, 8122)
1252			.saturating_add(RocksDbWeight::get().reads(3_u64))
1253			.saturating_add(RocksDbWeight::get().writes(3_u64))
1254	}
1255	/// Storage: `Staking::ValidatorCount` (r:0 w:1)
1256	/// Proof: `Staking::ValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1257	fn set_validator_count() -> Weight {
1258		// Proof Size summary in bytes:
1259		//  Measured:  `0`
1260		//  Estimated: `0`
1261		// Minimum execution time: 1_903_000 picoseconds.
1262		Weight::from_parts(1_974_000, 0)
1263			.saturating_add(RocksDbWeight::get().writes(1_u64))
1264	}
1265	/// Storage: `Staking::ForceEra` (r:0 w:1)
1266	/// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1267	fn force_no_eras() -> Weight {
1268		// Proof Size summary in bytes:
1269		//  Measured:  `0`
1270		//  Estimated: `0`
1271		// Minimum execution time: 5_723_000 picoseconds.
1272		Weight::from_parts(5_938_000, 0)
1273			.saturating_add(RocksDbWeight::get().writes(1_u64))
1274	}
1275	/// Storage: `Staking::ForceEra` (r:0 w:1)
1276	/// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1277	fn force_new_era() -> Weight {
1278		// Proof Size summary in bytes:
1279		//  Measured:  `0`
1280		//  Estimated: `0`
1281		// Minimum execution time: 5_722_000 picoseconds.
1282		Weight::from_parts(5_973_000, 0)
1283			.saturating_add(RocksDbWeight::get().writes(1_u64))
1284	}
1285	/// Storage: `Staking::ForceEra` (r:0 w:1)
1286	/// Proof: `Staking::ForceEra` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1287	fn force_new_era_always() -> Weight {
1288		// Proof Size summary in bytes:
1289		//  Measured:  `0`
1290		//  Estimated: `0`
1291		// Minimum execution time: 5_754_000 picoseconds.
1292		Weight::from_parts(5_980_000, 0)
1293			.saturating_add(RocksDbWeight::get().writes(1_u64))
1294	}
1295	/// Storage: `Staking::Invulnerables` (r:0 w:1)
1296	/// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
1297	/// The range of component `v` is `[0, 20]`.
1298	fn set_invulnerables(v: u32, ) -> Weight {
1299		// Proof Size summary in bytes:
1300		//  Measured:  `0`
1301		//  Estimated: `0`
1302		// Minimum execution time: 2_152_000 picoseconds.
1303		Weight::from_parts(2_383_345, 0)
1304			// Standard Error: 457
1305			.saturating_add(Weight::from_parts(21_323, 0).saturating_mul(v.into()))
1306			.saturating_add(RocksDbWeight::get().writes(1_u64))
1307	}
1308	/// Storage: `Staking::Ledger` (r:11800 w:11800)
1309	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1310	/// Storage: `Staking::Bonded` (r:5900 w:5900)
1311	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1312	/// Storage: `Staking::Payee` (r:5900 w:0)
1313	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1314	/// The range of component `u` is `[0, 5900]`.
1315	fn deprecate_controller_batch(u: u32, ) -> Weight {
1316		// Proof Size summary in bytes:
1317		//  Measured:  `1015 + u * (229 ±0)`
1318		//  Estimated: `990 + u * (7132 ±0)`
1319		// Minimum execution time: 4_048_000 picoseconds.
1320		Weight::from_parts(4_168_000, 990)
1321			// Standard Error: 78_180
1322			.saturating_add(Weight::from_parts(34_730_792, 0).saturating_mul(u.into()))
1323			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(u.into())))
1324			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(u.into())))
1325			.saturating_add(Weight::from_parts(0, 7132).saturating_mul(u.into()))
1326	}
1327	/// Storage: `Staking::SlashingSpans` (r:1 w:1)
1328	/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
1329	/// Storage: `Staking::Bonded` (r:1 w:1)
1330	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1331	/// Storage: `Staking::Ledger` (r:1 w:1)
1332	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1333	/// Storage: `Staking::VirtualStakers` (r:1 w:1)
1334	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1335	/// Storage: `Balances::Holds` (r:1 w:1)
1336	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1337	/// Storage: `System::Account` (r:1 w:1)
1338	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1339	/// Storage: `Staking::Validators` (r:1 w:0)
1340	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1341	/// Storage: `Staking::Nominators` (r:1 w:1)
1342	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1343	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
1344	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1345	/// Storage: `VoterList::ListNodes` (r:2 w:2)
1346	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1347	/// Storage: `VoterList::ListBags` (r:1 w:1)
1348	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1349	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1350	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1351	/// Storage: `Staking::Payee` (r:0 w:1)
1352	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1353	/// Storage: `Staking::SpanSlash` (r:0 w:100)
1354	/// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
1355	/// The range of component `s` is `[0, 100]`.
1356	fn force_unstake(s: u32, ) -> Weight {
1357		// Proof Size summary in bytes:
1358		//  Measured:  `1374 + s * (4 ±0)`
1359		//  Estimated: `6248 + s * (4 ±0)`
1360		// Minimum execution time: 95_846_000 picoseconds.
1361		Weight::from_parts(105_798_816, 6248)
1362			// Standard Error: 5_238
1363			.saturating_add(Weight::from_parts(1_462_800, 0).saturating_mul(s.into()))
1364			.saturating_add(RocksDbWeight::get().reads(13_u64))
1365			.saturating_add(RocksDbWeight::get().writes(13_u64))
1366			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
1367			.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
1368	}
1369	/// Storage: `Staking::UnappliedSlashes` (r:999 w:999)
1370	/// Proof: `Staking::UnappliedSlashes` (`max_values`: None, `max_size`: Some(1694), added: 4169, mode: `MaxEncodedLen`)
1371	/// The range of component `s` is `[1, 1000]`.
1372	fn cancel_deferred_slash(s: u32, ) -> Weight {
1373		// Proof Size summary in bytes:
1374		//  Measured:  `58 + s * (122 ±0)`
1375		//  Estimated: `990 + s * (4169 ±0)`
1376		// Minimum execution time: 9_827_000 picoseconds.
1377		Weight::from_parts(9_971_000, 990)
1378			// Standard Error: 10_729
1379			.saturating_add(Weight::from_parts(7_511_252, 0).saturating_mul(s.into()))
1380			.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(s.into())))
1381			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
1382			.saturating_add(Weight::from_parts(0, 4169).saturating_mul(s.into()))
1383	}
1384	/// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
1385	/// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
1386	/// Storage: `Staking::ClaimedRewards` (r:1 w:1)
1387	/// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: None, mode: `Measured`)
1388	/// Storage: `Staking::CurrentEra` (r:1 w:0)
1389	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1390	/// Storage: `Staking::ErasValidatorReward` (r:1 w:0)
1391	/// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
1392	/// Storage: `Staking::Bonded` (r:33 w:0)
1393	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1394	/// Storage: `Staking::Ledger` (r:33 w:33)
1395	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1396	/// Storage: `System::Account` (r:33 w:33)
1397	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1398	/// Storage: `Staking::VirtualStakers` (r:33 w:0)
1399	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1400	/// Storage: `Balances::Holds` (r:33 w:33)
1401	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1402	/// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
1403	/// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`)
1404	/// Storage: `Staking::ErasRewardPoints` (r:1 w:0)
1405	/// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: None, mode: `Measured`)
1406	/// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0)
1407	/// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
1408	/// Storage: `Staking::Payee` (r:33 w:0)
1409	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1410	/// The range of component `n` is `[0, 32]`.
1411	fn payout_stakers_alive_staked(n: u32, ) -> Weight {
1412		// Proof Size summary in bytes:
1413		//  Measured:  `3830 + n * (401 ±0)`
1414		//  Estimated: `7268 + n * (3566 ±0)`
1415		// Minimum execution time: 172_357_000 picoseconds.
1416		Weight::from_parts(190_956_682, 7268)
1417			// Standard Error: 44_355
1418			.saturating_add(Weight::from_parts(77_126_544, 0).saturating_mul(n.into()))
1419			.saturating_add(RocksDbWeight::get().reads(13_u64))
1420			.saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(n.into())))
1421			.saturating_add(RocksDbWeight::get().writes(4_u64))
1422			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(n.into())))
1423			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into()))
1424	}
1425	/// Storage: `Staking::Ledger` (r:1 w:1)
1426	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1427	/// Storage: `Staking::Bonded` (r:1 w:0)
1428	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1429	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
1430	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1431	/// Storage: `Balances::Holds` (r:1 w:0)
1432	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1433	/// Storage: `VoterList::ListNodes` (r:3 w:3)
1434	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1435	/// Storage: `VoterList::ListBags` (r:2 w:2)
1436	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1437	/// The range of component `l` is `[1, 32]`.
1438	fn rebond(l: u32, ) -> Weight {
1439		// Proof Size summary in bytes:
1440		//  Measured:  `1221 + l * (7 ±0)`
1441		//  Estimated: `8877`
1442		// Minimum execution time: 78_377_000 picoseconds.
1443		Weight::from_parts(81_329_157, 8877)
1444			// Standard Error: 6_895
1445			.saturating_add(Weight::from_parts(71_249, 0).saturating_mul(l.into()))
1446			.saturating_add(RocksDbWeight::get().reads(9_u64))
1447			.saturating_add(RocksDbWeight::get().writes(6_u64))
1448	}
1449	/// Storage: `Staking::VirtualStakers` (r:1 w:1)
1450	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1451	/// Storage: `Staking::Bonded` (r:1 w:1)
1452	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1453	/// Storage: `Staking::Ledger` (r:1 w:1)
1454	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1455	/// Storage: `Staking::SlashingSpans` (r:1 w:1)
1456	/// Proof: `Staking::SlashingSpans` (`max_values`: None, `max_size`: None, mode: `Measured`)
1457	/// Storage: `Balances::Holds` (r:1 w:1)
1458	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1459	/// Storage: `Staking::Validators` (r:1 w:0)
1460	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1461	/// Storage: `Staking::Nominators` (r:1 w:1)
1462	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1463	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
1464	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1465	/// Storage: `VoterList::ListNodes` (r:2 w:2)
1466	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1467	/// Storage: `VoterList::ListBags` (r:1 w:1)
1468	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1469	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1470	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1471	/// Storage: `Staking::Payee` (r:0 w:1)
1472	/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
1473	/// Storage: `Staking::SpanSlash` (r:0 w:100)
1474	/// Proof: `Staking::SpanSlash` (`max_values`: None, `max_size`: Some(76), added: 2551, mode: `MaxEncodedLen`)
1475	/// The range of component `s` is `[1, 100]`.
1476	fn reap_stash(s: u32, ) -> Weight {
1477		// Proof Size summary in bytes:
1478		//  Measured:  `1374 + s * (4 ±0)`
1479		//  Estimated: `6248 + s * (4 ±0)`
1480		// Minimum execution time: 108_591_000 picoseconds.
1481		Weight::from_parts(115_802_501, 6248)
1482			// Standard Error: 5_724
1483			.saturating_add(Weight::from_parts(1_378_120, 0).saturating_mul(s.into()))
1484			.saturating_add(RocksDbWeight::get().reads(12_u64))
1485			.saturating_add(RocksDbWeight::get().writes(12_u64))
1486			.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
1487			.saturating_add(Weight::from_parts(0, 4).saturating_mul(s.into()))
1488	}
1489	/// Storage: `VoterList::CounterForListNodes` (r:1 w:0)
1490	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1491	/// Storage: `VoterList::ListBags` (r:200 w:0)
1492	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1493	/// Storage: `VoterList::ListNodes` (r:110 w:0)
1494	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1495	/// Storage: `Staking::Bonded` (r:110 w:0)
1496	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1497	/// Storage: `Staking::Ledger` (r:110 w:0)
1498	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1499	/// Storage: `Staking::Nominators` (r:110 w:0)
1500	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1501	/// Storage: `Staking::Validators` (r:11 w:0)
1502	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1503	/// Storage: `Staking::CounterForValidators` (r:1 w:0)
1504	/// Proof: `Staking::CounterForValidators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1505	/// Storage: `Staking::ValidatorCount` (r:1 w:0)
1506	/// Proof: `Staking::ValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1507	/// Storage: `Staking::MinimumValidatorCount` (r:1 w:0)
1508	/// Proof: `Staking::MinimumValidatorCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1509	/// Storage: `Staking::CurrentEra` (r:1 w:1)
1510	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1511	/// Storage: `Staking::ErasValidatorPrefs` (r:0 w:10)
1512	/// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
1513	/// Storage: `Staking::ErasStakersPaged` (r:0 w:10)
1514	/// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`)
1515	/// Storage: `Staking::ErasStakersOverview` (r:0 w:10)
1516	/// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
1517	/// Storage: `Staking::ErasTotalStake` (r:0 w:1)
1518	/// Proof: `Staking::ErasTotalStake` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
1519	/// Storage: `Staking::ErasStartSessionIndex` (r:0 w:1)
1520	/// Proof: `Staking::ErasStartSessionIndex` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
1521	/// Storage: `Staking::MinimumActiveStake` (r:0 w:1)
1522	/// Proof: `Staking::MinimumActiveStake` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1523	/// The range of component `v` is `[1, 10]`.
1524	/// The range of component `n` is `[0, 100]`.
1525	fn new_era(v: u32, n: u32, ) -> Weight {
1526		// Proof Size summary in bytes:
1527		//  Measured:  `0 + n * (720 ±0) + v * (3598 ±0)`
1528		//  Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
1529		// Minimum execution time: 692_301_000 picoseconds.
1530		Weight::from_parts(708_732_000, 512390)
1531			// Standard Error: 2_117_299
1532			.saturating_add(Weight::from_parts(70_087_600, 0).saturating_mul(v.into()))
1533			// Standard Error: 210_977
1534			.saturating_add(Weight::from_parts(22_953_405, 0).saturating_mul(n.into()))
1535			.saturating_add(RocksDbWeight::get().reads(206_u64))
1536			.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(v.into())))
1537			.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(n.into())))
1538			.saturating_add(RocksDbWeight::get().writes(3_u64))
1539			.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(v.into())))
1540			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(n.into()))
1541			.saturating_add(Weight::from_parts(0, 3566).saturating_mul(v.into()))
1542	}
1543	/// Storage: `Staking::MinCommission` (r:0 w:1)
1544	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1545	/// Storage: `Staking::MinValidatorBond` (r:0 w:1)
1546	/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1547	/// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
1548	/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1549	/// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
1550	/// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1551	/// Storage: `Staking::ChillThreshold` (r:0 w:1)
1552	/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1553	/// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
1554	/// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1555	/// Storage: `Staking::MinNominatorBond` (r:0 w:1)
1556	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1557	fn set_staking_configs_all_set() -> Weight {
1558		// Proof Size summary in bytes:
1559		//  Measured:  `0`
1560		//  Estimated: `0`
1561		// Minimum execution time: 3_421_000 picoseconds.
1562		Weight::from_parts(3_542_000, 0)
1563			.saturating_add(RocksDbWeight::get().writes(7_u64))
1564	}
1565	/// Storage: `Staking::MinCommission` (r:0 w:1)
1566	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1567	/// Storage: `Staking::MinValidatorBond` (r:0 w:1)
1568	/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1569	/// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
1570	/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1571	/// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
1572	/// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1573	/// Storage: `Staking::ChillThreshold` (r:0 w:1)
1574	/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1575	/// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
1576	/// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1577	/// Storage: `Staking::MinNominatorBond` (r:0 w:1)
1578	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1579	fn set_staking_configs_all_remove() -> Weight {
1580		// Proof Size summary in bytes:
1581		//  Measured:  `0`
1582		//  Estimated: `0`
1583		// Minimum execution time: 3_134_000 picoseconds.
1584		Weight::from_parts(3_267_000, 0)
1585			.saturating_add(RocksDbWeight::get().writes(7_u64))
1586	}
1587	/// Storage: `Staking::Bonded` (r:1 w:0)
1588	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1589	/// Storage: `Staking::Ledger` (r:1 w:0)
1590	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1591	/// Storage: `Staking::Nominators` (r:1 w:1)
1592	/// Proof: `Staking::Nominators` (`max_values`: None, `max_size`: Some(558), added: 3033, mode: `MaxEncodedLen`)
1593	/// Storage: `Staking::ChillThreshold` (r:1 w:0)
1594	/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
1595	/// Storage: `Staking::MaxNominatorsCount` (r:1 w:0)
1596	/// Proof: `Staking::MaxNominatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1597	/// Storage: `Staking::CounterForNominators` (r:1 w:1)
1598	/// Proof: `Staking::CounterForNominators` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1599	/// Storage: `Staking::MinNominatorBond` (r:1 w:0)
1600	/// Proof: `Staking::MinNominatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
1601	/// Storage: `Staking::Validators` (r:1 w:0)
1602	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1603	/// Storage: `VoterList::ListNodes` (r:2 w:2)
1604	/// Proof: `VoterList::ListNodes` (`max_values`: None, `max_size`: Some(154), added: 2629, mode: `MaxEncodedLen`)
1605	/// Storage: `VoterList::ListBags` (r:1 w:1)
1606	/// Proof: `VoterList::ListBags` (`max_values`: None, `max_size`: Some(82), added: 2557, mode: `MaxEncodedLen`)
1607	/// Storage: `VoterList::CounterForListNodes` (r:1 w:1)
1608	/// Proof: `VoterList::CounterForListNodes` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1609	fn chill_other() -> Weight {
1610		// Proof Size summary in bytes:
1611		//  Measured:  `1203`
1612		//  Estimated: `6248`
1613		// Minimum execution time: 69_173_000 picoseconds.
1614		Weight::from_parts(72_321_000, 6248)
1615			.saturating_add(RocksDbWeight::get().reads(12_u64))
1616			.saturating_add(RocksDbWeight::get().writes(6_u64))
1617	}
1618	/// Storage: `Staking::MinCommission` (r:1 w:0)
1619	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1620	/// Storage: `Staking::Validators` (r:1 w:1)
1621	/// Proof: `Staking::Validators` (`max_values`: None, `max_size`: Some(45), added: 2520, mode: `MaxEncodedLen`)
1622	fn force_apply_min_commission() -> Weight {
1623		// Proof Size summary in bytes:
1624		//  Measured:  `200`
1625		//  Estimated: `3510`
1626		// Minimum execution time: 9_401_000 picoseconds.
1627		Weight::from_parts(9_790_000, 3510)
1628			.saturating_add(RocksDbWeight::get().reads(2_u64))
1629			.saturating_add(RocksDbWeight::get().writes(1_u64))
1630	}
1631	/// Storage: `Staking::MinCommission` (r:0 w:1)
1632	/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1633	fn set_min_commission() -> Weight {
1634		// Proof Size summary in bytes:
1635		//  Measured:  `0`
1636		//  Estimated: `0`
1637		// Minimum execution time: 1_914_000 picoseconds.
1638		Weight::from_parts(1_999_000, 0)
1639			.saturating_add(RocksDbWeight::get().writes(1_u64))
1640	}
1641	/// Storage: `System::Account` (r:1 w:0)
1642	/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
1643	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
1644	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1645	/// Storage: `Balances::Holds` (r:1 w:0)
1646	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1647	/// Storage: `Balances::Locks` (r:1 w:0)
1648	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
1649	/// Storage: `Staking::Bonded` (r:1 w:1)
1650	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1651	/// Storage: `Staking::Ledger` (r:1 w:1)
1652	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1653	fn restore_ledger() -> Weight {
1654		// Proof Size summary in bytes:
1655		//  Measured:  `223`
1656		//  Estimated: `4764`
1657		// Minimum execution time: 38_029_000 picoseconds.
1658		Weight::from_parts(38_545_000, 4764)
1659			.saturating_add(RocksDbWeight::get().reads(6_u64))
1660			.saturating_add(RocksDbWeight::get().writes(2_u64))
1661	}
1662	/// Storage: `Staking::VirtualStakers` (r:1 w:0)
1663	/// Proof: `Staking::VirtualStakers` (`max_values`: None, `max_size`: Some(40), added: 2515, mode: `MaxEncodedLen`)
1664	/// Storage: `Staking::Bonded` (r:1 w:0)
1665	/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1666	/// Storage: `Staking::Ledger` (r:1 w:0)
1667	/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
1668	/// Storage: `Balances::Locks` (r:1 w:1)
1669	/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
1670	/// Storage: `Balances::Freezes` (r:1 w:0)
1671	/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(85), added: 2560, mode: `MaxEncodedLen`)
1672	/// Storage: `Balances::Holds` (r:1 w:1)
1673	/// Proof: `Balances::Holds` (`max_values`: None, `max_size`: Some(427), added: 2902, mode: `MaxEncodedLen`)
1674	fn migrate_currency() -> Weight {
1675		// Proof Size summary in bytes:
1676		//  Measured:  `389`
1677		//  Estimated: `4764`
1678		// Minimum execution time: 77_496_000 picoseconds.
1679		Weight::from_parts(78_353_000, 4764)
1680			.saturating_add(RocksDbWeight::get().reads(6_u64))
1681			.saturating_add(RocksDbWeight::get().writes(2_u64))
1682	}
1683	/// Storage: `Staking::CurrentEra` (r:1 w:0)
1684	/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
1685	/// Storage: `Staking::ErasStartSessionIndex` (r:1 w:0)
1686	/// Proof: `Staking::ErasStartSessionIndex` (`max_values`: None, `max_size`: Some(16), added: 2491, mode: `MaxEncodedLen`)
1687	/// Storage: `Staking::ActiveEra` (r:1 w:0)
1688	/// Proof: `Staking::ActiveEra` (`max_values`: Some(1), `max_size`: Some(13), added: 508, mode: `MaxEncodedLen`)
1689	/// Storage: `Staking::Invulnerables` (r:1 w:0)
1690	/// Proof: `Staking::Invulnerables` (`max_values`: Some(1), `max_size`: Some(641), added: 1136, mode: `MaxEncodedLen`)
1691	/// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
1692	/// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
1693	/// Storage: `Session::DisabledValidators` (r:1 w:1)
1694	/// Proof: `Session::DisabledValidators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1695	/// Storage: `Session::Validators` (r:1 w:0)
1696	/// Proof: `Session::Validators` (`max_values`: Some(1), `max_size`: None, mode: `Measured`)
1697	/// Storage: `Staking::ValidatorSlashInEra` (r:1 w:1)
1698	/// Proof: `Staking::ValidatorSlashInEra` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
1699	/// Storage: `Staking::OffenceQueue` (r:1 w:1)
1700	/// Proof: `Staking::OffenceQueue` (`max_values`: None, `max_size`: Some(101), added: 2576, mode: `MaxEncodedLen`)
1701	/// Storage: `Staking::OffenceQueueEras` (r:1 w:1)
1702	/// Proof: `Staking::OffenceQueueEras` (`max_values`: Some(1), `max_size`: Some(2690), added: 3185, mode: `MaxEncodedLen`)
1703	fn manual_slash() -> Weight {
1704		// Proof Size summary in bytes:
1705		//  Measured:  `514`
1706		//  Estimated: `4175`
1707		// Minimum execution time: 30_000_000 picoseconds.
1708		Weight::from_parts(33_000_000, 4175)
1709			.saturating_add(RocksDbWeight::get().reads(10_u64))
1710			.saturating_add(RocksDbWeight::get().writes(4_u64))
1711	}
1712}