mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-05-31 22:41: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:
@@ -17,7 +17,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-21, 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("westend-dev")`, DB CACHE: 1024
|
||||
@@ -62,8 +62,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `894`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 39_950_000 picoseconds.
|
||||
Weight::from_parts(41_107_000, 0)
|
||||
// Minimum execution time: 38_052_000 picoseconds.
|
||||
Weight::from_parts(39_303_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4764))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -84,8 +84,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1921`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 83_828_000 picoseconds.
|
||||
Weight::from_parts(85_733_000, 0)
|
||||
// Minimum execution time: 81_690_000 picoseconds.
|
||||
Weight::from_parts(83_889_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8877))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
@@ -112,8 +112,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2128`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 89_002_000 picoseconds.
|
||||
Weight::from_parts(91_556_000, 0)
|
||||
// Minimum execution time: 84_409_000 picoseconds.
|
||||
Weight::from_parts(87_330_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8877))
|
||||
.saturating_add(T::DbWeight::get().reads(12))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
@@ -133,11 +133,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1075`
|
||||
// Estimated: `4764`
|
||||
// Minimum execution time: 40_839_000 picoseconds.
|
||||
Weight::from_parts(42_122_428, 0)
|
||||
// Minimum execution time: 39_770_000 picoseconds.
|
||||
Weight::from_parts(40_828_632, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4764))
|
||||
// Standard Error: 884
|
||||
.saturating_add(Weight::from_parts(46_036, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 824
|
||||
.saturating_add(Weight::from_parts(51_107, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(5))
|
||||
.saturating_add(T::DbWeight::get().writes(2))
|
||||
}
|
||||
@@ -174,11 +174,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2127 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 84_244_000 picoseconds.
|
||||
Weight::from_parts(91_199_964, 0)
|
||||
// Minimum execution time: 82_500_000 picoseconds.
|
||||
Weight::from_parts(90_099_121, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6248))
|
||||
// Standard Error: 3_381
|
||||
.saturating_add(Weight::from_parts(1_327_289, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 3_280
|
||||
.saturating_add(Weight::from_parts(1_273_212, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(13))
|
||||
.saturating_add(T::DbWeight::get().writes(11))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -210,8 +210,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1301`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 49_693_000 picoseconds.
|
||||
Weight::from_parts(50_814_000, 0)
|
||||
// Minimum execution time: 48_236_000 picoseconds.
|
||||
Weight::from_parts(49_518_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4556))
|
||||
.saturating_add(T::DbWeight::get().reads(11))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
@@ -225,11 +225,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1243 + k * (569 ±0)`
|
||||
// Estimated: `4556 + k * (3033 ±0)`
|
||||
// Minimum execution time: 29_140_000 picoseconds.
|
||||
Weight::from_parts(28_309_627, 0)
|
||||
// Minimum execution time: 28_280_000 picoseconds.
|
||||
Weight::from_parts(29_182_740, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4556))
|
||||
// Standard Error: 5_780
|
||||
.saturating_add(Weight::from_parts(6_509_869, 0).saturating_mul(k.into()))
|
||||
// Standard Error: 6_102
|
||||
.saturating_add(Weight::from_parts(6_412_107, 0).saturating_mul(k.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(k.into())))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(k.into())))
|
||||
@@ -262,11 +262,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1797 + n * (102 ±0)`
|
||||
// Estimated: `6248 + n * (2520 ±0)`
|
||||
// Minimum execution time: 61_377_000 picoseconds.
|
||||
Weight::from_parts(58_805_232, 0)
|
||||
// Minimum execution time: 59_846_000 picoseconds.
|
||||
Weight::from_parts(58_029_857, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6248))
|
||||
// Standard Error: 14_197
|
||||
.saturating_add(Weight::from_parts(4_090_197, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 15_967
|
||||
.saturating_add(Weight::from_parts(3_898_764, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(12))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
@@ -290,8 +290,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1581`
|
||||
// Estimated: `6248`
|
||||
// Minimum execution time: 52_736_000 picoseconds.
|
||||
Weight::from_parts(54_573_000, 0)
|
||||
// Minimum execution time: 51_223_000 picoseconds.
|
||||
Weight::from_parts(52_310_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6248))
|
||||
.saturating_add(T::DbWeight::get().reads(8))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
@@ -306,12 +306,28 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `865`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 16_496_000 picoseconds.
|
||||
Weight::from_parts(17_045_000, 0)
|
||||
// Minimum execution time: 15_762_000 picoseconds.
|
||||
Weight::from_parts(16_381_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4556))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// 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: `932`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 21_904_000 picoseconds.
|
||||
Weight::from_parts(22_373_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4556))
|
||||
.saturating_add(T::DbWeight::get().reads(3))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// 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)
|
||||
@@ -320,8 +336,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `865`
|
||||
// Estimated: `4556`
|
||||
// Minimum execution time: 19_339_000 picoseconds.
|
||||
Weight::from_parts(20_187_000, 0)
|
||||
// Minimum execution time: 18_869_000 picoseconds.
|
||||
Weight::from_parts(19_422_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 4556))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(3))
|
||||
@@ -332,8 +348,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_340_000 picoseconds.
|
||||
Weight::from_parts(2_551_000, 0)
|
||||
// Minimum execution time: 2_205_000 picoseconds.
|
||||
Weight::from_parts(2_320_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -343,8 +359,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_483_000 picoseconds.
|
||||
Weight::from_parts(8_101_000, 0)
|
||||
// Minimum execution time: 7_179_000 picoseconds.
|
||||
Weight::from_parts(7_843_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -354,8 +370,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_773_000 picoseconds.
|
||||
Weight::from_parts(8_610_000, 0)
|
||||
// Minimum execution time: 7_206_000 picoseconds.
|
||||
Weight::from_parts(7_829_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -365,8 +381,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 7_577_000 picoseconds.
|
||||
Weight::from_parts(7_937_000, 0)
|
||||
// Minimum execution time: 7_414_000 picoseconds.
|
||||
Weight::from_parts(7_770_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
@@ -377,11 +393,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_522_000 picoseconds.
|
||||
Weight::from_parts(2_735_307, 0)
|
||||
// Minimum execution time: 2_256_000 picoseconds.
|
||||
Weight::from_parts(2_645_840, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
// Standard Error: 38
|
||||
.saturating_add(Weight::from_parts(10_553, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 37
|
||||
.saturating_add(Weight::from_parts(10_207, 0).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// Storage: `Staking::SlashingSpans` (r:1 w:1)
|
||||
@@ -417,11 +433,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2127 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 82_547_000 picoseconds.
|
||||
Weight::from_parts(89_373_781, 0)
|
||||
// Minimum execution time: 81_032_000 picoseconds.
|
||||
Weight::from_parts(88_297_596, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6248))
|
||||
// Standard Error: 3_589
|
||||
.saturating_add(Weight::from_parts(1_258_878, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 3_070
|
||||
.saturating_add(Weight::from_parts(1_207_207, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(13))
|
||||
.saturating_add(T::DbWeight::get().writes(12))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -434,56 +450,14 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `66639`
|
||||
// Estimated: `70104`
|
||||
// Minimum execution time: 134_619_000 picoseconds.
|
||||
Weight::from_parts(1_194_949_665, 0)
|
||||
// Minimum execution time: 131_456_000 picoseconds.
|
||||
Weight::from_parts(935_254_517, 0)
|
||||
.saturating_add(Weight::from_parts(0, 70104))
|
||||
// Standard Error: 76_719
|
||||
.saturating_add(Weight::from_parts(6_455_953, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 57_806
|
||||
.saturating_add(Weight::from_parts(4_823_189, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(1))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
/// 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:65 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:66 w:66)
|
||||
/// 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:65 w:0)
|
||||
/// Proof: `Staking::Payee` (`max_values`: None, `max_size`: Some(73), added: 2548, mode: `MaxEncodedLen`)
|
||||
/// The range of component `n` is `[0, 64]`.
|
||||
fn payout_stakers_dead_controller(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `6895 + n * (156 ±0)`
|
||||
// Estimated: `9802 + n * (2603 ±0)`
|
||||
// Minimum execution time: 114_338_000 picoseconds.
|
||||
Weight::from_parts(138_518_124, 0)
|
||||
.saturating_add(Weight::from_parts(0, 9802))
|
||||
// Standard Error: 53_621
|
||||
.saturating_add(Weight::from_parts(25_676_781, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(14))
|
||||
.saturating_add(T::DbWeight::get().reads((3_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(5))
|
||||
.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:65 w:0)
|
||||
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
|
||||
/// Storage: `Staking::Ledger` (r:65 w:65)
|
||||
@@ -516,12 +490,12 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
fn payout_stakers_alive_staked(n: u32, ) -> Weight {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `8249 + n * (396 ±0)`
|
||||
// Estimated: `10779 + n * (3774 ±3)`
|
||||
// Minimum execution time: 132_719_000 picoseconds.
|
||||
Weight::from_parts(170_505_880, 0)
|
||||
// Estimated: `10779 + n * (3774 ±0)`
|
||||
// Minimum execution time: 129_233_000 picoseconds.
|
||||
Weight::from_parts(165_096_042, 0)
|
||||
.saturating_add(Weight::from_parts(0, 10779))
|
||||
// Standard Error: 32_527
|
||||
.saturating_add(Weight::from_parts(42_453_136, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 29_598
|
||||
.saturating_add(Weight::from_parts(40_716_425, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(14))
|
||||
.saturating_add(T::DbWeight::get().reads((6_u64).saturating_mul(n.into())))
|
||||
.saturating_add(T::DbWeight::get().writes(4))
|
||||
@@ -545,11 +519,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1922 + l * (5 ±0)`
|
||||
// Estimated: `8877`
|
||||
// Minimum execution time: 78_438_000 picoseconds.
|
||||
Weight::from_parts(81_774_734, 0)
|
||||
// Minimum execution time: 77_223_000 picoseconds.
|
||||
Weight::from_parts(80_026_259, 0)
|
||||
.saturating_add(Weight::from_parts(0, 8877))
|
||||
// Standard Error: 3_706
|
||||
.saturating_add(Weight::from_parts(51_358, 0).saturating_mul(l.into()))
|
||||
// Standard Error: 4_493
|
||||
.saturating_add(Weight::from_parts(52_909, 0).saturating_mul(l.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(9))
|
||||
.saturating_add(T::DbWeight::get().writes(7))
|
||||
}
|
||||
@@ -584,11 +558,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `2127 + s * (4 ±0)`
|
||||
// Estimated: `6248 + s * (4 ±0)`
|
||||
// Minimum execution time: 92_129_000 picoseconds.
|
||||
Weight::from_parts(94_137_611, 0)
|
||||
// Minimum execution time: 89_871_000 picoseconds.
|
||||
Weight::from_parts(92_313_331, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6248))
|
||||
// Standard Error: 4_141
|
||||
.saturating_add(Weight::from_parts(1_283_823, 0).saturating_mul(s.into()))
|
||||
// Standard Error: 3_321
|
||||
.saturating_add(Weight::from_parts(1_243_347, 0).saturating_mul(s.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(12))
|
||||
.saturating_add(T::DbWeight::get().writes(11))
|
||||
.saturating_add(T::DbWeight::get().writes((1_u64).saturating_mul(s.into())))
|
||||
@@ -634,13 +608,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0 + n * (716 ±0) + v * (3594 ±0)`
|
||||
// Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)`
|
||||
// Minimum execution time: 527_896_000 picoseconds.
|
||||
Weight::from_parts(533_325_000, 0)
|
||||
// Minimum execution time: 518_819_000 picoseconds.
|
||||
Weight::from_parts(522_108_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 456136))
|
||||
// Standard Error: 2_064_813
|
||||
.saturating_add(Weight::from_parts(68_484_503, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 205_747
|
||||
.saturating_add(Weight::from_parts(18_833_735, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 1_987_848
|
||||
.saturating_add(Weight::from_parts(64_855_377, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 198_078
|
||||
.saturating_add(Weight::from_parts(18_343_485, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(184))
|
||||
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
|
||||
@@ -671,13 +645,13 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `3108 + n * (907 ±0) + v * (391 ±0)`
|
||||
// Estimated: `456136 + n * (3566 ±0) + v * (3566 ±0)`
|
||||
// Minimum execution time: 35_302_472_000 picoseconds.
|
||||
Weight::from_parts(35_651_169_000, 0)
|
||||
// Minimum execution time: 34_976_277_000 picoseconds.
|
||||
Weight::from_parts(35_245_501_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 456136))
|
||||
// Standard Error: 412_098
|
||||
.saturating_add(Weight::from_parts(5_172_265, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 412_098
|
||||
.saturating_add(Weight::from_parts(4_142_772, 0).saturating_mul(n.into()))
|
||||
// Standard Error: 386_461
|
||||
.saturating_add(Weight::from_parts(5_145_210, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 386_461
|
||||
.saturating_add(Weight::from_parts(3_762_623, 0).saturating_mul(n.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(179))
|
||||
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
|
||||
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
|
||||
@@ -694,11 +668,11 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `946 + v * (50 ±0)`
|
||||
// Estimated: `3510 + v * (2520 ±0)`
|
||||
// Minimum execution time: 2_522_650_000 picoseconds.
|
||||
Weight::from_parts(97_022_833, 0)
|
||||
// Minimum execution time: 2_577_411_000 picoseconds.
|
||||
Weight::from_parts(86_073_486, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3510))
|
||||
// Standard Error: 6_751
|
||||
.saturating_add(Weight::from_parts(4_990_018, 0).saturating_mul(v.into()))
|
||||
// Standard Error: 8_363
|
||||
.saturating_add(Weight::from_parts(5_074_828, 0).saturating_mul(v.into()))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().reads((1_u64).saturating_mul(v.into())))
|
||||
.saturating_add(Weight::from_parts(0, 2520).saturating_mul(v.into()))
|
||||
@@ -719,8 +693,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_833_000 picoseconds.
|
||||
Weight::from_parts(4_108_000, 0)
|
||||
// Minimum execution time: 3_539_000 picoseconds.
|
||||
Weight::from_parts(3_903_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
@@ -740,8 +714,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 3_520_000 picoseconds.
|
||||
Weight::from_parts(3_686_000, 0)
|
||||
// Minimum execution time: 3_244_000 picoseconds.
|
||||
Weight::from_parts(3_450_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
}
|
||||
@@ -769,8 +743,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `1704`
|
||||
// Estimated: `6248`
|
||||
// Minimum execution time: 63_983_000 picoseconds.
|
||||
Weight::from_parts(66_140_000, 0)
|
||||
// Minimum execution time: 62_606_000 picoseconds.
|
||||
Weight::from_parts(64_678_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 6248))
|
||||
.saturating_add(T::DbWeight::get().reads(11))
|
||||
.saturating_add(T::DbWeight::get().writes(6))
|
||||
@@ -783,8 +757,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `658`
|
||||
// Estimated: `3510`
|
||||
// Minimum execution time: 11_830_000 picoseconds.
|
||||
Weight::from_parts(12_210_000, 0)
|
||||
// Minimum execution time: 11_490_000 picoseconds.
|
||||
Weight::from_parts(11_867_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 3510))
|
||||
.saturating_add(T::DbWeight::get().reads(2))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
@@ -795,8 +769,8 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
|
||||
// Proof Size summary in bytes:
|
||||
// Measured: `0`
|
||||
// Estimated: `0`
|
||||
// Minimum execution time: 2_364_000 picoseconds.
|
||||
Weight::from_parts(2_555_000, 0)
|
||||
// Minimum execution time: 2_125_000 picoseconds.
|
||||
Weight::from_parts(2_337_000, 0)
|
||||
.saturating_add(Weight::from_parts(0, 0))
|
||||
.saturating_add(T::DbWeight::get().writes(1))
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user