mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-06-18 06:01:02 +00:00
Deprecate RewardDestination::Controller (#2380)
Deprecates `RewardDestination::Controller` variant. - [x] `RewardDestination::Controller` annotated with `#[deprecated]`. - [x] `Controller` variant is now handled the same way as `Stash` in `payout_stakers`. - [x] `set_payee` errors if `RewardDestination::Controller` is provided. - [x] Added `update_payee` call to lazily migrate `RewardDestination::Controller` `Payee` storage entries to `RewardDestination::Account(controller)` . - [x] `payout_stakers_dead_controller` has been removed from benches & weights - was not used. - [x] Tests no longer use `RewardDestination::Controller`. --------- Co-authored-by: command-bot <> Co-authored-by: Gonçalo Pestana <g6pestana@gmail.com> Co-authored-by: georgepisaltu <52418509+georgepisaltu@users.noreply.github.com>
This commit is contained in:
Generated
+208
-260
@@ -18,7 +18,7 @@
|
||||
//! Autogenerated weights for `pallet_staking`
|
||||
//!
|
||||
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
|
||||
//! DATE: 2023-10-31, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! DATE: 2023-11-17, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
|
||||
//! WORST CASE MAP SIZE: `1000000`
|
||||
//! HOSTNAME: `runner-yprdrvc7-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
|
||||
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
|
||||
@@ -59,6 +59,7 @@ pub trait WeightInfo {
|
||||
fn nominate(n: u32, ) -> Weight;
|
||||
fn chill() -> Weight;
|
||||
fn set_payee() -> Weight;
|
||||
fn update_payee() -> Weight;
|
||||
fn set_controller() -> Weight;
|
||||
fn set_validator_count() -> Weight;
|
||||
fn force_no_eras() -> Weight;
|
||||
@@ -67,7 +68,6 @@ pub trait WeightInfo {
|
||||
fn set_invulnerables(v: u32, ) -> Weight;
|
||||
fn force_unstake(s: u32, ) -> Weight;
|
||||
fn cancel_deferred_slash(s: u32, ) -> Weight;
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight;
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight;
|
||||
fn rebond(l: u32, ) -> Weight;
|
||||
fn reap_stash(s: u32, ) -> Weight;
|
||||
@@ -98,8 +98,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `927`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 42_811_000 picoseconds.
|
||||
Weight::from_parts(44_465_000, 4764)
|
||||
// Minimum execution time: 43_427_000 picoseconds.
|
||||
Weight::from_parts(45_221_000, 4764)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -119,8 +119,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1990`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 87_628_000 picoseconds.
|
||||
Weight::from_parts(90_020_000, 8877)
|
||||
// Minimum execution time: 87_100_000 picoseconds.
|
||||
Weight::from_parts(90_599_000, 8877)
|
||||
.saturating_add(T::DbWeight::get().reads(9_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7_u64))
|
||||
}
|
||||
@@ -146,8 +146,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2195`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 91_655_000 picoseconds.
|
||||
Weight::from_parts(94_146_000, 8877)
|
||||
// Minimum execution time: 91_488_000 picoseconds.
|
||||
Weight::from_parts(94_126_000, 8877)
|
||||
.saturating_add(T::DbWeight::get().reads(12_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7_u64))
|
||||
}
|
||||
@@ -166,10 +166,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1115`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 42_953_000 picoseconds.
|
||||
Weight::from_parts(44_648_505, 4764)
|
||||
// Standard Error: 937
|
||||
.saturating_add(Weight::from_parts(51_090, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 42_713_000 picoseconds.
|
||||
Weight::from_parts(44_530_499, 4764)
|
||||
// Standard Error: 1_067
|
||||
.saturating_add(Weight::from_parts(51_411, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -206,10 +206,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2196 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 89_218_000 picoseconds.
|
||||
Weight::from_parts(97_761_884, 6248)
|
||||
// Standard Error: 3_888
|
||||
.saturating_add(Weight::from_parts(1_346_441, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 88_700_000 picoseconds.
|
||||
Weight::from_parts(98_329_624, 6248)
|
||||
// Standard Error: 4_477
|
||||
.saturating_add(Weight::from_parts(1_347_380, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(13_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(11_u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -241,8 +241,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1372`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 51_200_000 picoseconds.
|
||||
Weight::from_parts(53_403_000, 4556)
|
||||
// Minimum execution time: 51_877_000 picoseconds.
|
||||
Weight::from_parts(53_503_000, 4556)
|
||||
.saturating_add(T::DbWeight::get().reads(11_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -255,10 +255,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1280 + k * (569 ±0)`
|
||||
// Estimated: `4556 + k * (3033 ±0)`
|
||||
// Minimum execution time: 28_963_000 picoseconds.
|
||||
Weight::from_parts(29_884_371, 4556)
|
||||
// Standard Error: 9_063
|
||||
.saturating_add(Weight::from_parts(6_532_967, 0).saturating_mul(k.into()))
|
||||
// Minimum execution time: 29_604_000 picoseconds.
|
||||
Weight::from_parts(31_726_296, 4556)
|
||||
// Standard Error: 6_350
|
||||
.saturating_add(Weight::from_parts(6_416_846, 0).saturating_mul(k.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
|
||||
@@ -291,10 +291,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1866 + n * (102 ±0)`
|
||||
// Estimated: `6248 + n * (2520 ±0)`
|
||||
// Minimum execution time: 64_644_000 picoseconds.
|
||||
Weight::from_parts(62_855_016, 6248)
|
||||
// Standard Error: 17_528
|
||||
.saturating_add(Weight::from_parts(3_993_850, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 64_276_000 picoseconds.
|
||||
Weight::from_parts(62_615_844, 6248)
|
||||
// Standard Error: 14_914
|
||||
.saturating_add(Weight::from_parts(4_097_019, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(12_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
@@ -318,8 +318,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1650`
|
||||
// Estimated: `6248`
|
||||
// Minimum execution time: 54_505_000 picoseconds.
|
||||
Weight::from_parts(56_026_000, 6248)
|
||||
// Minimum execution time: 55_064_000 picoseconds.
|
||||
Weight::from_parts(56_566_000, 6248)
|
||||
.saturating_add(T::DbWeight::get().reads(8_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
@@ -333,11 +333,26 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `902`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 16_639_000 picoseconds.
|
||||
Weight::from_parts(17_342_000, 4556)
|
||||
// Minimum execution time: 16_626_000 picoseconds.
|
||||
Weight::from_parts(17_519_000, 4556)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::Ledger` (r:1 w:0)
|
||||
/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Payee` (r:1 w:1)
|
||||
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Bonded` (r:1 w:0)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
fn update_payee() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `969`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 20_545_000 picoseconds.
|
||||
Weight::from_parts(21_395_000, 4556)
|
||||
.saturating_add(T::DbWeight::get().reads(3_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::Bonded` (r:1 w:1)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Ledger` (r:1 w:2)
|
||||
@@ -346,8 +361,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `902`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 20_334_000 picoseconds.
|
||||
Weight::from_parts(21_067_000, 4556)
|
||||
// Minimum execution time: 20_179_000 picoseconds.
|
||||
Weight::from_parts(20_728_000, 4556)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -357,8 +372,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_680_000 picoseconds.
|
||||
Weight::from_parts(2_774_000, 0)
|
||||
// Minimum execution time: 2_594_000 picoseconds.
|
||||
Weight::from_parts(2_777_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::ForceEra` (r:0 w:1)
|
||||
@@ -367,8 +382,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_613_000 picoseconds.
|
||||
Weight::from_parts(8_922_000, 0)
|
||||
// Minimum execution time: 8_302_000 picoseconds.
|
||||
Weight::from_parts(8_741_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::ForceEra` (r:0 w:1)
|
||||
@@ -377,8 +392,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_657_000 picoseconds.
|
||||
Weight::from_parts(9_020_000, 0)
|
||||
// Minimum execution time: 8_504_000 picoseconds.
|
||||
Weight::from_parts(8_774_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::ForceEra` (r:0 w:1)
|
||||
@@ -387,8 +402,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_600_000 picoseconds.
|
||||
Weight::from_parts(9_157_000, 0)
|
||||
// Minimum execution time: 8_474_000 picoseconds.
|
||||
Weight::from_parts(8_740_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::Invulnerables` (r:0 w:1)
|
||||
@@ -398,10 +413,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_792_000 picoseconds.
|
||||
Weight::from_parts(3_293_694, 0)
|
||||
// Standard Error: 31
|
||||
.saturating_add(Weight::from_parts(10_668, 0).saturating_mul(v.into()))
|
||||
// Minimum execution time: 2_732_000 picoseconds.
|
||||
Weight::from_parts(3_360_048, 0)
|
||||
// Standard Error: 34
|
||||
.saturating_add(Weight::from_parts(9_964, 0).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::SlashingSpans` (r:1 w:1)
|
||||
@@ -437,10 +452,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2196 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 86_537_000 picoseconds.
|
||||
Weight::from_parts(95_127_637, 6248)
|
||||
// Standard Error: 3_902
|
||||
.saturating_add(Weight::from_parts(1_336_182, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 87_495_000 picoseconds.
|
||||
Weight::from_parts(95_710_388, 6248)
|
||||
// Standard Error: 5_849
|
||||
.saturating_add(Weight::from_parts(1_339_335, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(13_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(12_u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -453,54 +468,13 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `66672`
|
||||
// Estimated: `70137`
|
||||
// Minimum execution time: 100_777_000 picoseconds.
|
||||
Weight::from_parts(896_540_406, 70137)
|
||||
// Standard Error: 57_788
|
||||
.saturating_add(Weight::from_parts(4_870_910, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 98_255_000 picoseconds.
|
||||
Weight::from_parts(892_807_378, 70137)
|
||||
// Standard Error: 57_735
|
||||
.saturating_add(Weight::from_parts(4_876_449, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::CurrentEra` (r:1 w:0)
|
||||
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::ErasValidatorReward` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Bonded` (r:257 w:0)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Ledger` (r:1 w:1)
|
||||
/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Balances::Locks` (r:1 w:1)
|
||||
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Balances::Freezes` (r:1 w:0)
|
||||
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
|
||||
/// Storage: `System::Account` (r:258 w:258)
|
||||
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::ClaimedRewards` (r:1 w:1)
|
||||
/// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `Staking::ErasRewardPoints` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Payee` (r:257 w:0)
|
||||
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
|
||||
/// The range of component `n` is `[0, 256]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `21644 + n * (155 ±0)`
|
||||
// Estimated: `21412 + n * (2603 ±0)`
|
||||
// Minimum execution time: 133_129_000 picoseconds.
|
||||
Weight::from_parts(190_983_630, 21412)
|
||||
// Standard Error: 17_497
|
||||
.saturating_add(Weight::from_parts(24_723_153, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(14_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(5_u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into()))
|
||||
}
|
||||
/// Storage: `Staking::Bonded` (r:257 w:0)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Ledger` (r:257 w:257)
|
||||
@@ -534,10 +508,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `33297 + n * (377 ±0)`
|
||||
// Estimated: `30944 + n * (3774 ±3)`
|
||||
// Minimum execution time: 149_773_000 picoseconds.
|
||||
Weight::from_parts(151_527_124, 30944)
|
||||
// Standard Error: 24_152
|
||||
.saturating_add(Weight::from_parts(46_124_074, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 144_258_000 picoseconds.
|
||||
Weight::from_parts(175_256_796, 30944)
|
||||
// Standard Error: 24_339
|
||||
.saturating_add(Weight::from_parts(46_011_700, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(14_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4_u64))
|
||||
@@ -561,10 +535,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1991 + l * (7 ±0)`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 81_618_000 picoseconds.
|
||||
Weight::from_parts(85_245_630, 8877)
|
||||
// Standard Error: 5_049
|
||||
.saturating_add(Weight::from_parts(39_811, 0).saturating_mul(l.into()))
|
||||
// Minimum execution time: 83_532_000 picoseconds.
|
||||
Weight::from_parts(86_757_943, 8877)
|
||||
// Standard Error: 6_379
|
||||
.saturating_add(Weight::from_parts(57_566, 0).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(9_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(7_u64))
|
||||
}
|
||||
@@ -599,10 +573,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2196 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 95_395_000 picoseconds.
|
||||
Weight::from_parts(100_459_234, 6248)
|
||||
// Standard Error: 3_781
|
||||
.saturating_add(Weight::from_parts(1_333_607, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 96_776_000 picoseconds.
|
||||
Weight::from_parts(100_950_027, 6248)
|
||||
// Standard Error: 4_719
|
||||
.saturating_add(Weight::from_parts(1_432_091, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(12_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(11_u64))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -648,12 +622,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + n * (720 ±0) + v * (3598 ±0)`
|
||||
// Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
|
||||
// Minimum execution time: 571_337_000 picoseconds.
|
||||
Weight::from_parts(578_857_000, 512390)
|
||||
// Standard Error: 2_090_511
|
||||
.saturating_add(Weight::from_parts(68_626_083, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 208_307
|
||||
.saturating_add(Weight::from_parts(18_645_374, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 577_699_000 picoseconds.
|
||||
Weight::from_parts(582_827_000, 512390)
|
||||
// Standard Error: 2_000_851
|
||||
.saturating_add(Weight::from_parts(67_316_744, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 199_373
|
||||
.saturating_add(Weight::from_parts(18_503_387, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(206_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
|
||||
@@ -684,12 +658,12 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3175 + n * (911 ±0) + v * (395 ±0)`
|
||||
// Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
|
||||
// Minimum execution time: 34_590_734_000 picoseconds.
|
||||
Weight::from_parts(35_238_091_000, 512390)
|
||||
// Standard Error: 427_974
|
||||
.saturating_add(Weight::from_parts(5_084_196, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 427_974
|
||||
.saturating_add(Weight::from_parts(4_503_420, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 34_048_778_000 picoseconds.
|
||||
Weight::from_parts(34_397_777_000, 512390)
|
||||
// Standard Error: 346_115
|
||||
.saturating_add(Weight::from_parts(3_704_941, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 346_115
|
||||
.saturating_add(Weight::from_parts(4_064_819, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(201_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
|
||||
@@ -706,10 +680,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `979 + v * (50 ±0)`
|
||||
// Estimated: `3510 + v * (2520 ±0)`
|
||||
// Minimum execution time: 2_509_588_000 picoseconds.
|
||||
Weight::from_parts(89_050_539, 3510)
|
||||
// Standard Error: 11_803
|
||||
.saturating_add(Weight::from_parts(5_031_416, 0).saturating_mul(v.into()))
|
||||
// Minimum execution time: 2_473_149_000 picoseconds.
|
||||
Weight::from_parts(84_721_859, 3510)
|
||||
// Standard Error: 8_690
|
||||
.saturating_add(Weight::from_parts(4_870_439, 0).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
|
||||
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into()))
|
||||
@@ -730,8 +704,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_347_000 picoseconds.
|
||||
Weight::from_parts(5_562_000, 0)
|
||||
// Minimum execution time: 5_312_000 picoseconds.
|
||||
Weight::from_parts(5_897_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: `Staking::MinCommission` (r:0 w:1)
|
||||
@@ -750,8 +724,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_725_000 picoseconds.
|
||||
Weight::from_parts(5_075_000, 0)
|
||||
// Minimum execution time: 4_676_000 picoseconds.
|
||||
Weight::from_parts(4_913_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: `Staking::Ledger` (r:1 w:0)
|
||||
@@ -778,8 +752,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1773`
|
||||
// Estimated: `6248`
|
||||
// Minimum execution time: 67_204_000 picoseconds.
|
||||
Weight::from_parts(69_197_000, 6248)
|
||||
// Minimum execution time: 67_286_000 picoseconds.
|
||||
Weight::from_parts(69_081_000, 6248)
|
||||
.saturating_add(T::DbWeight::get().reads(11_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(6_u64))
|
||||
}
|
||||
@@ -791,8 +765,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `691`
|
||||
// Estimated: `3510`
|
||||
// Minimum execution time: 12_497_000 picoseconds.
|
||||
Weight::from_parts(12_943_000, 3510)
|
||||
// Minimum execution time: 12_749_000 picoseconds.
|
||||
Weight::from_parts(13_275_000, 3510)
|
||||
.saturating_add(T::DbWeight::get().reads(2_u64))
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -802,8 +776,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_245_000 picoseconds.
|
||||
Weight::from_parts(3_352_000, 0)
|
||||
// Minimum execution time: 3_155_000 picoseconds.
|
||||
Weight::from_parts(3_319_000, 0)
|
||||
.saturating_add(T::DbWeight::get().writes(1_u64))
|
||||
}
|
||||
}
|
||||
@@ -824,8 +798,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `927`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 42_811_000 picoseconds.
|
||||
Weight::from_parts(44_465_000, 4764)
|
||||
// Minimum execution time: 43_427_000 picoseconds.
|
||||
Weight::from_parts(45_221_000, 4764)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
}
|
||||
@@ -845,8 +819,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1990`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 87_628_000 picoseconds.
|
||||
Weight::from_parts(90_020_000, 8877)
|
||||
// Minimum execution time: 87_100_000 picoseconds.
|
||||
Weight::from_parts(90_599_000, 8877)
|
||||
.saturating_add(RocksDbWeight::get().reads(9_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(7_u64))
|
||||
}
|
||||
@@ -872,8 +846,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2195`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 91_655_000 picoseconds.
|
||||
Weight::from_parts(94_146_000, 8877)
|
||||
// Minimum execution time: 91_488_000 picoseconds.
|
||||
Weight::from_parts(94_126_000, 8877)
|
||||
.saturating_add(RocksDbWeight::get().reads(12_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(7_u64))
|
||||
}
|
||||
@@ -892,10 +866,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1115`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 42_953_000 picoseconds.
|
||||
Weight::from_parts(44_648_505, 4764)
|
||||
// Standard Error: 937
|
||||
.saturating_add(Weight::from_parts(51_090, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 42_713_000 picoseconds.
|
||||
Weight::from_parts(44_530_499, 4764)
|
||||
// Standard Error: 1_067
|
||||
.saturating_add(Weight::from_parts(51_411, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(2_u64))
|
||||
}
|
||||
@@ -932,10 +906,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2196 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 89_218_000 picoseconds.
|
||||
Weight::from_parts(97_761_884, 6248)
|
||||
// Standard Error: 3_888
|
||||
.saturating_add(Weight::from_parts(1_346_441, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 88_700_000 picoseconds.
|
||||
Weight::from_parts(98_329_624, 6248)
|
||||
// Standard Error: 4_477
|
||||
.saturating_add(Weight::from_parts(1_347_380, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(13_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(11_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -967,8 +941,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1372`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 51_200_000 picoseconds.
|
||||
Weight::from_parts(53_403_000, 4556)
|
||||
// Minimum execution time: 51_877_000 picoseconds.
|
||||
Weight::from_parts(53_503_000, 4556)
|
||||
.saturating_add(RocksDbWeight::get().reads(11_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
||||
}
|
||||
@@ -981,10 +955,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1280 + k * (569 ±0)`
|
||||
// Estimated: `4556 + k * (3033 ±0)`
|
||||
// Minimum execution time: 28_963_000 picoseconds.
|
||||
Weight::from_parts(29_884_371, 4556)
|
||||
// Standard Error: 9_063
|
||||
.saturating_add(Weight::from_parts(6_532_967, 0).saturating_mul(k.into()))
|
||||
// Minimum execution time: 29_604_000 picoseconds.
|
||||
Weight::from_parts(31_726_296, 4556)
|
||||
// Standard Error: 6_350
|
||||
.saturating_add(Weight::from_parts(6_416_846, 0).saturating_mul(k.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(k.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(k.into())))
|
||||
@@ -1017,10 +991,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1866 + n * (102 ±0)`
|
||||
// Estimated: `6248 + n * (2520 ±0)`
|
||||
// Minimum execution time: 64_644_000 picoseconds.
|
||||
Weight::from_parts(62_855_016, 6248)
|
||||
// Standard Error: 17_528
|
||||
.saturating_add(Weight::from_parts(3_993_850, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 64_276_000 picoseconds.
|
||||
Weight::from_parts(62_615_844, 6248)
|
||||
// Standard Error: 14_914
|
||||
.saturating_add(Weight::from_parts(4_097_019, 0).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(12_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
@@ -1044,8 +1018,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1650`
|
||||
// Estimated: `6248`
|
||||
// Minimum execution time: 54_505_000 picoseconds.
|
||||
Weight::from_parts(56_026_000, 6248)
|
||||
// Minimum execution time: 55_064_000 picoseconds.
|
||||
Weight::from_parts(56_566_000, 6248)
|
||||
.saturating_add(RocksDbWeight::get().reads(8_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
@@ -1059,11 +1033,26 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `902`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 16_639_000 picoseconds.
|
||||
Weight::from_parts(17_342_000, 4556)
|
||||
// Minimum execution time: 16_626_000 picoseconds.
|
||||
Weight::from_parts(17_519_000, 4556)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::Ledger` (r:1 w:0)
|
||||
/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Payee` (r:1 w:1)
|
||||
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Bonded` (r:1 w:0)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
fn update_payee() -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `969`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 20_545_000 picoseconds.
|
||||
Weight::from_parts(21_395_000, 4556)
|
||||
.saturating_add(RocksDbWeight::get().reads(3_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::Bonded` (r:1 w:1)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Ledger` (r:1 w:2)
|
||||
@@ -1072,8 +1061,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `902`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 20_334_000 picoseconds.
|
||||
Weight::from_parts(21_067_000, 4556)
|
||||
// Minimum execution time: 20_179_000 picoseconds.
|
||||
Weight::from_parts(20_728_000, 4556)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(3_u64))
|
||||
}
|
||||
@@ -1083,8 +1072,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_680_000 picoseconds.
|
||||
Weight::from_parts(2_774_000, 0)
|
||||
// Minimum execution time: 2_594_000 picoseconds.
|
||||
Weight::from_parts(2_777_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::ForceEra` (r:0 w:1)
|
||||
@@ -1093,8 +1082,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_613_000 picoseconds.
|
||||
Weight::from_parts(8_922_000, 0)
|
||||
// Minimum execution time: 8_302_000 picoseconds.
|
||||
Weight::from_parts(8_741_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::ForceEra` (r:0 w:1)
|
||||
@@ -1103,8 +1092,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_657_000 picoseconds.
|
||||
Weight::from_parts(9_020_000, 0)
|
||||
// Minimum execution time: 8_504_000 picoseconds.
|
||||
Weight::from_parts(8_774_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::ForceEra` (r:0 w:1)
|
||||
@@ -1113,8 +1102,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 8_600_000 picoseconds.
|
||||
Weight::from_parts(9_157_000, 0)
|
||||
// Minimum execution time: 8_474_000 picoseconds.
|
||||
Weight::from_parts(8_740_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::Invulnerables` (r:0 w:1)
|
||||
@@ -1124,10 +1113,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_792_000 picoseconds.
|
||||
Weight::from_parts(3_293_694, 0)
|
||||
// Standard Error: 31
|
||||
.saturating_add(Weight::from_parts(10_668, 0).saturating_mul(v.into()))
|
||||
// Minimum execution time: 2_732_000 picoseconds.
|
||||
Weight::from_parts(3_360_048, 0)
|
||||
// Standard Error: 34
|
||||
.saturating_add(Weight::from_parts(9_964, 0).saturating_mul(v.into()))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::SlashingSpans` (r:1 w:1)
|
||||
@@ -1163,10 +1152,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2196 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 86_537_000 picoseconds.
|
||||
Weight::from_parts(95_127_637, 6248)
|
||||
// Standard Error: 3_902
|
||||
.saturating_add(Weight::from_parts(1_336_182, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 87_495_000 picoseconds.
|
||||
Weight::from_parts(95_710_388, 6248)
|
||||
// Standard Error: 5_849
|
||||
.saturating_add(Weight::from_parts(1_339_335, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(13_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(12_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -1179,54 +1168,13 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `66672`
|
||||
// Estimated: `70137`
|
||||
// Minimum execution time: 100_777_000 picoseconds.
|
||||
Weight::from_parts(896_540_406, 70137)
|
||||
// Standard Error: 57_788
|
||||
.saturating_add(Weight::from_parts(4_870_910, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 98_255_000 picoseconds.
|
||||
Weight::from_parts(892_807_378, 70137)
|
||||
// Standard Error: 57_735
|
||||
.saturating_add(Weight::from_parts(4_876_449, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(1_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
/// Storage: `Staking::CurrentEra` (r:1 w:0)
|
||||
/// Proof: `Staking::CurrentEra` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::ErasStakersOverview` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasStakersOverview` (`max_values`: None, `max_size`: Some(92), added: 2567, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::ErasValidatorReward` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasValidatorReward` (`max_values`: None, `max_size`: Some(28), added: 2503, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Bonded` (r:257 w:0)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Ledger` (r:1 w:1)
|
||||
/// Proof: `Staking::Ledger` (`max_values`: None, `max_size`: Some(1091), added: 3566, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Balances::Locks` (r:1 w:1)
|
||||
/// Proof: `Balances::Locks` (`max_values`: None, `max_size`: Some(1299), added: 3774, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Balances::Freezes` (r:1 w:0)
|
||||
/// Proof: `Balances::Freezes` (`max_values`: None, `max_size`: Some(67), added: 2542, mode: `MaxEncodedLen`)
|
||||
/// Storage: `System::Account` (r:258 w:258)
|
||||
/// Proof: `System::Account` (`max_values`: None, `max_size`: Some(128), added: 2603, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::ClaimedRewards` (r:1 w:1)
|
||||
/// Proof: `Staking::ClaimedRewards` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `Staking::ErasStakersPaged` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasStakersPaged` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `Staking::ErasRewardPoints` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasRewardPoints` (`max_values`: None, `max_size`: None, mode: `Measured`)
|
||||
/// Storage: `Staking::ErasValidatorPrefs` (r:1 w:0)
|
||||
/// Proof: `Staking::ErasValidatorPrefs` (`max_values`: None, `max_size`: Some(57), added: 2532, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Payee` (r:257 w:0)
|
||||
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
|
||||
/// The range of component `n` is `[0, 256]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `21644 + n * (155 ±0)`
|
||||
// Estimated: `21412 + n * (2603 ±0)`
|
||||
// Minimum execution time: 133_129_000 picoseconds.
|
||||
Weight::from_parts(190_983_630, 21412)
|
||||
// Standard Error: 17_497
|
||||
.saturating_add(Weight::from_parts(24_723_153, 0).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(14_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((3_u64).saturating_mul(n.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(5_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(Weight::from_parts(0, 2603).saturating_mul(n.into()))
|
||||
}
|
||||
/// Storage: `Staking::Bonded` (r:257 w:0)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Ledger` (r:257 w:257)
|
||||
@@ -1260,10 +1208,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `33297 + n * (377 ±0)`
|
||||
// Estimated: `30944 + n * (3774 ±3)`
|
||||
// Minimum execution time: 149_773_000 picoseconds.
|
||||
Weight::from_parts(151_527_124, 30944)
|
||||
// Standard Error: 24_152
|
||||
.saturating_add(Weight::from_parts(46_124_074, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 144_258_000 picoseconds.
|
||||
Weight::from_parts(175_256_796, 30944)
|
||||
// Standard Error: 24_339
|
||||
.saturating_add(Weight::from_parts(46_011_700, 0).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(14_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((6_u64).saturating_mul(n.into())))
|
||||
.saturating_add(RocksDbWeight::get().writes(4_u64))
|
||||
@@ -1287,10 +1235,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1991 + l * (7 ±0)`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 81_618_000 picoseconds.
|
||||
Weight::from_parts(85_245_630, 8877)
|
||||
// Standard Error: 5_049
|
||||
.saturating_add(Weight::from_parts(39_811, 0).saturating_mul(l.into()))
|
||||
// Minimum execution time: 83_532_000 picoseconds.
|
||||
Weight::from_parts(86_757_943, 8877)
|
||||
// Standard Error: 6_379
|
||||
.saturating_add(Weight::from_parts(57_566, 0).saturating_mul(l.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(9_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(7_u64))
|
||||
}
|
||||
@@ -1325,10 +1273,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2196 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 95_395_000 picoseconds.
|
||||
Weight::from_parts(100_459_234, 6248)
|
||||
// Standard Error: 3_781
|
||||
.saturating_add(Weight::from_parts(1_333_607, 0).saturating_mul(s.into()))
|
||||
// Minimum execution time: 96_776_000 picoseconds.
|
||||
Weight::from_parts(100_950_027, 6248)
|
||||
// Standard Error: 4_719
|
||||
.saturating_add(Weight::from_parts(1_432_091, 0).saturating_mul(s.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(12_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(11_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -1374,12 +1322,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + n * (720 ±0) + v * (3598 ±0)`
|
||||
// Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
|
||||
// Minimum execution time: 571_337_000 picoseconds.
|
||||
Weight::from_parts(578_857_000, 512390)
|
||||
// Standard Error: 2_090_511
|
||||
.saturating_add(Weight::from_parts(68_626_083, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 208_307
|
||||
.saturating_add(Weight::from_parts(18_645_374, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 577_699_000 picoseconds.
|
||||
Weight::from_parts(582_827_000, 512390)
|
||||
// Standard Error: 2_000_851
|
||||
.saturating_add(Weight::from_parts(67_316_744, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 199_373
|
||||
.saturating_add(Weight::from_parts(18_503_387, 0).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(206_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(v.into())))
|
||||
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(n.into())))
|
||||
@@ -1410,12 +1358,12 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3175 + n * (911 ±0) + v * (395 ±0)`
|
||||
// Estimated: `512390 + n * (3566 ±0) + v * (3566 ±0)`
|
||||
// Minimum execution time: 34_590_734_000 picoseconds.
|
||||
Weight::from_parts(35_238_091_000, 512390)
|
||||
// Standard Error: 427_974
|
||||
.saturating_add(Weight::from_parts(5_084_196, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 427_974
|
||||
.saturating_add(Weight::from_parts(4_503_420, 0).saturating_mul(n.into()))
|
||||
// Minimum execution time: 34_048_778_000 picoseconds.
|
||||
Weight::from_parts(34_397_777_000, 512390)
|
||||
// Standard Error: 346_115
|
||||
.saturating_add(Weight::from_parts(3_704_941, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 346_115
|
||||
.saturating_add(Weight::from_parts(4_064_819, 0).saturating_mul(n.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(201_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((5_u64).saturating_mul(v.into())))
|
||||
.saturating_add(RocksDbWeight::get().reads((4_u64).saturating_mul(n.into())))
|
||||
@@ -1432,10 +1380,10 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `979 + v * (50 ±0)`
|
||||
// Estimated: `3510 + v * (2520 ±0)`
|
||||
// Minimum execution time: 2_509_588_000 picoseconds.
|
||||
Weight::from_parts(89_050_539, 3510)
|
||||
// Standard Error: 11_803
|
||||
.saturating_add(Weight::from_parts(5_031_416, 0).saturating_mul(v.into()))
|
||||
// Minimum execution time: 2_473_149_000 picoseconds.
|
||||
Weight::from_parts(84_721_859, 3510)
|
||||
// Standard Error: 8_690
|
||||
.saturating_add(Weight::from_parts(4_870_439, 0).saturating_mul(v.into()))
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().reads((1_u64).saturating_mul(v.into())))
|
||||
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into()))
|
||||
@@ -1456,8 +1404,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 5_347_000 picoseconds.
|
||||
Weight::from_parts(5_562_000, 0)
|
||||
// Minimum execution time: 5_312_000 picoseconds.
|
||||
Weight::from_parts(5_897_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: `Staking::MinCommission` (r:0 w:1)
|
||||
@@ -1476,8 +1424,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 4_725_000 picoseconds.
|
||||
Weight::from_parts(5_075_000, 0)
|
||||
// Minimum execution time: 4_676_000 picoseconds.
|
||||
Weight::from_parts(4_913_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
/// Storage: `Staking::Ledger` (r:1 w:0)
|
||||
@@ -1504,8 +1452,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1773`
|
||||
// Estimated: `6248`
|
||||
// Minimum execution time: 67_204_000 picoseconds.
|
||||
Weight::from_parts(69_197_000, 6248)
|
||||
// Minimum execution time: 67_286_000 picoseconds.
|
||||
Weight::from_parts(69_081_000, 6248)
|
||||
.saturating_add(RocksDbWeight::get().reads(11_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(6_u64))
|
||||
}
|
||||
@@ -1517,8 +1465,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `691`
|
||||
// Estimated: `3510`
|
||||
// Minimum execution time: 12_497_000 picoseconds.
|
||||
Weight::from_parts(12_943_000, 3510)
|
||||
// Minimum execution time: 12_749_000 picoseconds.
|
||||
Weight::from_parts(13_275_000, 3510)
|
||||
.saturating_add(RocksDbWeight::get().reads(2_u64))
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
@@ -1528,8 +1476,8 @@ impl WeightInfo for () {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_245_000 picoseconds.
|
||||
Weight::from_parts(3_352_000, 0)
|
||||
// Minimum execution time: 3_155_000 picoseconds.
|
||||
Weight::from_parts(3_319_000, 0)
|
||||
.saturating_add(RocksDbWeight::get().writes(1_u64))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user