Revert "FRAME: Create TransactionExtension as a replacement for SignedExtension (#2280)" (#3665)

This PR reverts #2280 which introduced `TransactionExtension` to replace
`SignedExtension`.

As a result of the discussion
[here](https://github.com/paritytech/polkadot-sdk/pull/3623#issuecomment-1986789700),
the changes will be reverted for now with plans to reintroduce the
concept in the future.

---------

Signed-off-by: georgepisaltu <george.pisaltu@parity.io>
This commit is contained in:
georgepisaltu
2024-03-13 16:10:59 +02:00
committed by GitHub
parent 60ac5a723c
commit bbd51ce867
350 changed files with 15826 additions and 24304 deletions
+204 -218
View File
@@ -17,28 +17,26 @@
//! Autogenerated weights for `pallet_staking`
//!
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 32.0.0
//! DATE: 2024-03-01, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! THIS FILE WAS AUTO-GENERATED USING THE SUBSTRATE BENCHMARK CLI VERSION 4.0.0-dev
//! DATE: 2024-01-08, STEPS: `50`, REPEAT: `20`, LOW RANGE: `[]`, HIGH RANGE: `[]`
//! WORST CASE MAP SIZE: `1000000`
//! HOSTNAME: `runner-bn-ce5rx-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! HOSTNAME: `runner-q7z7ruxr-project-674-concurrent-0`, CPU: `Intel(R) Xeon(R) CPU @ 2.60GHz`
//! WASM-EXECUTION: `Compiled`, CHAIN: `Some("dev")`, DB CACHE: `1024`
// Executed Command:
// ./target/production/substrate-node
// target/production/substrate-node
// benchmark
// pallet
// --chain=dev
// --steps=50
// --repeat=20
// --pallet=pallet_staking
// --no-storage-info
// --no-median-slopes
// --no-min-squares
// --extrinsic=*
// --wasm-execution=compiled
// --heap-pages=4096
// --output=./substrate/frame/staking/src/weights.rs
// --json-file=/builds/parity/mirrors/polkadot-sdk/.git/.artifacts/bench.json
// --pallet=pallet_staking
// --chain=dev
// --header=./substrate/HEADER-APACHE2
// --output=./substrate/frame/staking/src/weights.rs
// --template=./substrate/.maintain/frame-weight-template.hbs
#![cfg_attr(rustfmt, rustfmt_skip)]
@@ -101,8 +99,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `927`
// Estimated: `4764`
// Minimum execution time: 41_318_000 picoseconds.
Weight::from_parts(43_268_000, 4764)
// Minimum execution time: 42_042_000 picoseconds.
Weight::from_parts(43_292_000, 4764)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(4_u64))
}
@@ -122,8 +120,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1990`
// Estimated: `8877`
// Minimum execution time: 85_666_000 picoseconds.
Weight::from_parts(88_749_000, 8877)
// Minimum execution time: 85_050_000 picoseconds.
Weight::from_parts(87_567_000, 8877)
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -149,8 +147,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `2195`
// Estimated: `8877`
// Minimum execution time: 90_282_000 picoseconds.
Weight::from_parts(92_332_000, 8877)
// Minimum execution time: 89_076_000 picoseconds.
Weight::from_parts(92_715_000, 8877)
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -164,18 +162,16 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// 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: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1297`
// Measured: `1115`
// Estimated: `4764`
// Minimum execution time: 44_626_000 picoseconds.
Weight::from_parts(47_254_657, 4764)
// Standard Error: 1_179
.saturating_add(Weight::from_parts(57_657, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(6_u64))
// Minimum execution time: 42_067_000 picoseconds.
Weight::from_parts(43_239_807, 4764)
// Standard Error: 831
.saturating_add(Weight::from_parts(46_257, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(5_u64))
.saturating_add(T::DbWeight::get().writes(2_u64))
}
/// Storage: `Staking::Ledger` (r:1 w:1)
@@ -211,10 +207,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_769_000 picoseconds.
Weight::from_parts(95_212_867, 6248)
// Standard Error: 3_706
.saturating_add(Weight::from_parts(1_320_752, 0).saturating_mul(s.into()))
// Minimum execution time: 86_490_000 picoseconds.
Weight::from_parts(95_358_751, 6248)
// Standard Error: 3_952
.saturating_add(Weight::from_parts(1_294_907, 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())))
@@ -246,8 +242,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1372`
// Estimated: `4556`
// Minimum execution time: 50_410_000 picoseconds.
Weight::from_parts(52_576_000, 4556)
// Minimum execution time: 50_326_000 picoseconds.
Weight::from_parts(52_253_000, 4556)
.saturating_add(T::DbWeight::get().reads(11_u64))
.saturating_add(T::DbWeight::get().writes(5_u64))
}
@@ -260,10 +256,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: 29_017_000 picoseconds.
Weight::from_parts(33_019_206, 4556)
// Standard Error: 6_368
.saturating_add(Weight::from_parts(6_158_681, 0).saturating_mul(k.into()))
// Minimum execution time: 29_305_000 picoseconds.
Weight::from_parts(32_199_604, 4556)
// Standard Error: 7_150
.saturating_add(Weight::from_parts(6_437_124, 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())))
@@ -296,10 +292,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: 63_452_000 picoseconds.
Weight::from_parts(60_924_066, 6248)
// Standard Error: 14_416
.saturating_add(Weight::from_parts(3_921_589, 0).saturating_mul(n.into()))
// Minimum execution time: 63_267_000 picoseconds.
Weight::from_parts(61_741_404, 6248)
// Standard Error: 12_955
.saturating_add(Weight::from_parts(3_811_743, 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))
@@ -323,8 +319,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1650`
// Estimated: `6248`
// Minimum execution time: 54_253_000 picoseconds.
Weight::from_parts(55_286_000, 6248)
// Minimum execution time: 52_862_000 picoseconds.
Weight::from_parts(54_108_000, 6248)
.saturating_add(T::DbWeight::get().reads(8_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -338,8 +334,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `902`
// Estimated: `4556`
// Minimum execution time: 16_812_000 picoseconds.
Weight::from_parts(17_380_000, 4556)
// Minimum execution time: 16_350_000 picoseconds.
Weight::from_parts(16_802_000, 4556)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -353,8 +349,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `969`
// Estimated: `4556`
// Minimum execution time: 20_590_000 picoseconds.
Weight::from_parts(21_096_000, 4556)
// Minimum execution time: 19_981_000 picoseconds.
Weight::from_parts(20_539_000, 4556)
.saturating_add(T::DbWeight::get().reads(3_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -366,8 +362,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `902`
// Estimated: `4556`
// Minimum execution time: 19_923_000 picoseconds.
Weight::from_parts(20_880_000, 4556)
// Minimum execution time: 19_304_000 picoseconds.
Weight::from_parts(20_000_000, 4556)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(3_u64))
}
@@ -377,8 +373,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_599_000 picoseconds.
Weight::from_parts(2_751_000, 0)
// Minimum execution time: 2_568_000 picoseconds.
Weight::from_parts(2_708_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Staking::ForceEra` (r:0 w:1)
@@ -387,8 +383,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_941_000 picoseconds.
Weight::from_parts(7_288_000, 0)
// Minimum execution time: 7_950_000 picoseconds.
Weight::from_parts(8_348_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Staking::ForceEra` (r:0 w:1)
@@ -397,8 +393,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_757_000 picoseconds.
Weight::from_parts(7_200_000, 0)
// Minimum execution time: 7_967_000 picoseconds.
Weight::from_parts(8_222_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Staking::ForceEra` (r:0 w:1)
@@ -407,8 +403,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_028_000 picoseconds.
Weight::from_parts(7_366_000, 0)
// Minimum execution time: 8_006_000 picoseconds.
Weight::from_parts(8_440_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Staking::Invulnerables` (r:0 w:1)
@@ -418,10 +414,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_741_000 picoseconds.
Weight::from_parts(3_212_598, 0)
// Standard Error: 68
.saturating_add(Weight::from_parts(11_695, 0).saturating_mul(v.into()))
// Minimum execution time: 2_524_000 picoseconds.
Weight::from_parts(3_123_608, 0)
// Standard Error: 59
.saturating_add(Weight::from_parts(11_596, 0).saturating_mul(v.into()))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
/// Storage: `Staking::Ledger` (r:5900 w:11800)
@@ -435,10 +431,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1356 + i * (151 ±0)`
// Estimated: `990 + i * (3566 ±0)`
// Minimum execution time: 2_132_000 picoseconds.
Weight::from_parts(2_289_000, 990)
// Standard Error: 34_227
.saturating_add(Weight::from_parts(17_006_583, 0).saturating_mul(i.into()))
// Minimum execution time: 2_092_000 picoseconds.
Weight::from_parts(2_258_000, 990)
// Standard Error: 32_695
.saturating_add(Weight::from_parts(16_669_219, 0).saturating_mul(i.into()))
.saturating_add(T::DbWeight::get().reads((2_u64).saturating_mul(i.into())))
.saturating_add(T::DbWeight::get().writes((3_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_parts(0, 3566).saturating_mul(i.into()))
@@ -476,10 +472,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: 85_308_000 picoseconds.
Weight::from_parts(93_689_468, 6248)
// Standard Error: 5_425
.saturating_add(Weight::from_parts(1_307_604, 0).saturating_mul(s.into()))
// Minimum execution time: 84_275_000 picoseconds.
Weight::from_parts(92_512_416, 6248)
// Standard Error: 3_633
.saturating_add(Weight::from_parts(1_315_923, 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())))
@@ -492,10 +488,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `66672`
// Estimated: `70137`
// Minimum execution time: 103_242_000 picoseconds.
Weight::from_parts(1_162_296_080, 70137)
// Standard Error: 76_741
.saturating_add(Weight::from_parts(6_487_522, 0).saturating_mul(s.into()))
// Minimum execution time: 101_707_000 picoseconds.
Weight::from_parts(912_819_462, 70137)
// Standard Error: 57_547
.saturating_add(Weight::from_parts(4_856_799, 0).saturating_mul(s.into()))
.saturating_add(T::DbWeight::get().reads(1_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -532,10 +528,10 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `33297 + n * (377 ±0)`
// Estimated: `30944 + n * (3774 ±0)`
// Minimum execution time: 140_740_000 picoseconds.
Weight::from_parts(182_886_963, 30944)
// Standard Error: 39_852
.saturating_add(Weight::from_parts(43_140_752, 0).saturating_mul(n.into()))
// Minimum execution time: 138_657_000 picoseconds.
Weight::from_parts(167_173_445, 30944)
// Standard Error: 25_130
.saturating_add(Weight::from_parts(44_566_012, 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))
@@ -559,10 +555,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: 80_372_000 picoseconds.
Weight::from_parts(83_335_027, 8877)
// Standard Error: 4_780
.saturating_add(Weight::from_parts(72_180, 0).saturating_mul(l.into()))
// Minimum execution time: 80_061_000 picoseconds.
Weight::from_parts(82_836_434, 8877)
// Standard Error: 4_348
.saturating_add(Weight::from_parts(75_744, 0).saturating_mul(l.into()))
.saturating_add(T::DbWeight::get().reads(9_u64))
.saturating_add(T::DbWeight::get().writes(7_u64))
}
@@ -597,10 +593,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: 93_920_000 picoseconds.
Weight::from_parts(98_022_911, 6248)
// Standard Error: 4_096
.saturating_add(Weight::from_parts(1_287_745, 0).saturating_mul(s.into()))
// Minimum execution time: 92_560_000 picoseconds.
Weight::from_parts(97_684_741, 6248)
// Standard Error: 3_361
.saturating_add(Weight::from_parts(1_292_732, 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())))
@@ -646,12 +642,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: 556_012_000 picoseconds.
Weight::from_parts(560_339_000, 512390)
// Standard Error: 2_115_076
.saturating_add(Weight::from_parts(69_456_497, 0).saturating_mul(v.into()))
// Standard Error: 210_755
.saturating_add(Weight::from_parts(17_974_873, 0).saturating_mul(n.into()))
// Minimum execution time: 564_963_000 picoseconds.
Weight::from_parts(569_206_000, 512390)
// Standard Error: 2_033_235
.saturating_add(Weight::from_parts(68_025_841, 0).saturating_mul(v.into()))
// Standard Error: 202_600
.saturating_add(Weight::from_parts(17_916_770, 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())))
@@ -682,12 +678,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: 32_792_819_000 picoseconds.
Weight::from_parts(32_986_606_000, 512390)
// Standard Error: 360_905
.saturating_add(Weight::from_parts(5_260_151, 0).saturating_mul(v.into()))
// Standard Error: 360_905
.saturating_add(Weight::from_parts(3_599_219, 0).saturating_mul(n.into()))
// Minimum execution time: 32_196_540_000 picoseconds.
Weight::from_parts(32_341_871_000, 512390)
// Standard Error: 354_657
.saturating_add(Weight::from_parts(5_143_440, 0).saturating_mul(v.into()))
// Standard Error: 354_657
.saturating_add(Weight::from_parts(3_328_189, 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())))
@@ -704,10 +700,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_434_755_000 picoseconds.
Weight::from_parts(38_574_764, 3510)
// Standard Error: 14_467
.saturating_add(Weight::from_parts(4_821_702, 0).saturating_mul(v.into()))
// Minimum execution time: 2_381_903_000 picoseconds.
Weight::from_parts(32_693_059, 3510)
// Standard Error: 10_000
.saturating_add(Weight::from_parts(4_736_173, 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()))
@@ -718,8 +714,6 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
/// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `Staking::ChillThreshold` (r:0 w:1)
/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
@@ -730,9 +724,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_765_000 picoseconds.
Weight::from_parts(6_140_000, 0)
.saturating_add(T::DbWeight::get().writes(7_u64))
// Minimum execution time: 5_434_000 picoseconds.
Weight::from_parts(5_742_000, 0)
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: `Staking::MinCommission` (r:0 w:1)
/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -740,8 +734,6 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
/// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `Staking::ChillThreshold` (r:0 w:1)
/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
@@ -752,9 +744,9 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_025_000 picoseconds.
Weight::from_parts(5_354_000, 0)
.saturating_add(T::DbWeight::get().writes(7_u64))
// Minimum execution time: 4_588_000 picoseconds.
Weight::from_parts(4_854_000, 0)
.saturating_add(T::DbWeight::get().writes(6_u64))
}
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
@@ -782,8 +774,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `1939`
// Estimated: `6248`
// Minimum execution time: 69_656_000 picoseconds.
Weight::from_parts(71_574_000, 6248)
// Minimum execution time: 68_780_000 picoseconds.
Weight::from_parts(71_479_000, 6248)
.saturating_add(T::DbWeight::get().reads(12_u64))
.saturating_add(T::DbWeight::get().writes(6_u64))
}
@@ -795,8 +787,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `691`
// Estimated: `3510`
// Minimum execution time: 12_523_000 picoseconds.
Weight::from_parts(13_315_000, 3510)
// Minimum execution time: 12_268_000 picoseconds.
Weight::from_parts(12_661_000, 3510)
.saturating_add(T::DbWeight::get().reads(2_u64))
.saturating_add(T::DbWeight::get().writes(1_u64))
}
@@ -806,8 +798,8 @@ impl<T: frame_system::Config> WeightInfo for SubstrateWeight<T> {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_125_000 picoseconds.
Weight::from_parts(3_300_000, 0)
// Minimum execution time: 3_071_000 picoseconds.
Weight::from_parts(3_334_000, 0)
.saturating_add(T::DbWeight::get().writes(1_u64))
}
}
@@ -828,8 +820,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `927`
// Estimated: `4764`
// Minimum execution time: 41_318_000 picoseconds.
Weight::from_parts(43_268_000, 4764)
// Minimum execution time: 42_042_000 picoseconds.
Weight::from_parts(43_292_000, 4764)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(4_u64))
}
@@ -849,8 +841,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1990`
// Estimated: `8877`
// Minimum execution time: 85_666_000 picoseconds.
Weight::from_parts(88_749_000, 8877)
// Minimum execution time: 85_050_000 picoseconds.
Weight::from_parts(87_567_000, 8877)
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -876,8 +868,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2195`
// Estimated: `8877`
// Minimum execution time: 90_282_000 picoseconds.
Weight::from_parts(92_332_000, 8877)
// Minimum execution time: 89_076_000 picoseconds.
Weight::from_parts(92_715_000, 8877)
.saturating_add(RocksDbWeight::get().reads(12_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -891,18 +883,16 @@ impl WeightInfo for () {
/// 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: `NominationPools::ReversePoolIdLookup` (r:1 w:0)
/// Proof: `NominationPools::ReversePoolIdLookup` (`max_values`: None, `max_size`: Some(44), added: 2519, mode: `MaxEncodedLen`)
/// The range of component `s` is `[0, 100]`.
fn withdraw_unbonded_update(s: u32, ) -> Weight {
// Proof Size summary in bytes:
// Measured: `1297`
// Measured: `1115`
// Estimated: `4764`
// Minimum execution time: 44_626_000 picoseconds.
Weight::from_parts(47_254_657, 4764)
// Standard Error: 1_179
.saturating_add(Weight::from_parts(57_657, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(6_u64))
// Minimum execution time: 42_067_000 picoseconds.
Weight::from_parts(43_239_807, 4764)
// Standard Error: 831
.saturating_add(Weight::from_parts(46_257, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(5_u64))
.saturating_add(RocksDbWeight::get().writes(2_u64))
}
/// Storage: `Staking::Ledger` (r:1 w:1)
@@ -938,10 +928,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2196 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 86_769_000 picoseconds.
Weight::from_parts(95_212_867, 6248)
// Standard Error: 3_706
.saturating_add(Weight::from_parts(1_320_752, 0).saturating_mul(s.into()))
// Minimum execution time: 86_490_000 picoseconds.
Weight::from_parts(95_358_751, 6248)
// Standard Error: 3_952
.saturating_add(Weight::from_parts(1_294_907, 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())))
@@ -973,8 +963,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1372`
// Estimated: `4556`
// Minimum execution time: 50_410_000 picoseconds.
Weight::from_parts(52_576_000, 4556)
// Minimum execution time: 50_326_000 picoseconds.
Weight::from_parts(52_253_000, 4556)
.saturating_add(RocksDbWeight::get().reads(11_u64))
.saturating_add(RocksDbWeight::get().writes(5_u64))
}
@@ -987,10 +977,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1280 + k * (569 ±0)`
// Estimated: `4556 + k * (3033 ±0)`
// Minimum execution time: 29_017_000 picoseconds.
Weight::from_parts(33_019_206, 4556)
// Standard Error: 6_368
.saturating_add(Weight::from_parts(6_158_681, 0).saturating_mul(k.into()))
// Minimum execution time: 29_305_000 picoseconds.
Weight::from_parts(32_199_604, 4556)
// Standard Error: 7_150
.saturating_add(Weight::from_parts(6_437_124, 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())))
@@ -1023,10 +1013,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1866 + n * (102 ±0)`
// Estimated: `6248 + n * (2520 ±0)`
// Minimum execution time: 63_452_000 picoseconds.
Weight::from_parts(60_924_066, 6248)
// Standard Error: 14_416
.saturating_add(Weight::from_parts(3_921_589, 0).saturating_mul(n.into()))
// Minimum execution time: 63_267_000 picoseconds.
Weight::from_parts(61_741_404, 6248)
// Standard Error: 12_955
.saturating_add(Weight::from_parts(3_811_743, 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))
@@ -1050,8 +1040,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1650`
// Estimated: `6248`
// Minimum execution time: 54_253_000 picoseconds.
Weight::from_parts(55_286_000, 6248)
// Minimum execution time: 52_862_000 picoseconds.
Weight::from_parts(54_108_000, 6248)
.saturating_add(RocksDbWeight::get().reads(8_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -1065,8 +1055,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `902`
// Estimated: `4556`
// Minimum execution time: 16_812_000 picoseconds.
Weight::from_parts(17_380_000, 4556)
// Minimum execution time: 16_350_000 picoseconds.
Weight::from_parts(16_802_000, 4556)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1080,8 +1070,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `969`
// Estimated: `4556`
// Minimum execution time: 20_590_000 picoseconds.
Weight::from_parts(21_096_000, 4556)
// Minimum execution time: 19_981_000 picoseconds.
Weight::from_parts(20_539_000, 4556)
.saturating_add(RocksDbWeight::get().reads(3_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1093,8 +1083,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `902`
// Estimated: `4556`
// Minimum execution time: 19_923_000 picoseconds.
Weight::from_parts(20_880_000, 4556)
// Minimum execution time: 19_304_000 picoseconds.
Weight::from_parts(20_000_000, 4556)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(3_u64))
}
@@ -1104,8 +1094,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_599_000 picoseconds.
Weight::from_parts(2_751_000, 0)
// Minimum execution time: 2_568_000 picoseconds.
Weight::from_parts(2_708_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Staking::ForceEra` (r:0 w:1)
@@ -1114,8 +1104,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_941_000 picoseconds.
Weight::from_parts(7_288_000, 0)
// Minimum execution time: 7_950_000 picoseconds.
Weight::from_parts(8_348_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Staking::ForceEra` (r:0 w:1)
@@ -1124,8 +1114,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 6_757_000 picoseconds.
Weight::from_parts(7_200_000, 0)
// Minimum execution time: 7_967_000 picoseconds.
Weight::from_parts(8_222_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Staking::ForceEra` (r:0 w:1)
@@ -1134,8 +1124,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 7_028_000 picoseconds.
Weight::from_parts(7_366_000, 0)
// Minimum execution time: 8_006_000 picoseconds.
Weight::from_parts(8_440_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Staking::Invulnerables` (r:0 w:1)
@@ -1145,10 +1135,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 2_741_000 picoseconds.
Weight::from_parts(3_212_598, 0)
// Standard Error: 68
.saturating_add(Weight::from_parts(11_695, 0).saturating_mul(v.into()))
// Minimum execution time: 2_524_000 picoseconds.
Weight::from_parts(3_123_608, 0)
// Standard Error: 59
.saturating_add(Weight::from_parts(11_596, 0).saturating_mul(v.into()))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
/// Storage: `Staking::Ledger` (r:5900 w:11800)
@@ -1162,10 +1152,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1356 + i * (151 ±0)`
// Estimated: `990 + i * (3566 ±0)`
// Minimum execution time: 2_132_000 picoseconds.
Weight::from_parts(2_289_000, 990)
// Standard Error: 34_227
.saturating_add(Weight::from_parts(17_006_583, 0).saturating_mul(i.into()))
// Minimum execution time: 2_092_000 picoseconds.
Weight::from_parts(2_258_000, 990)
// Standard Error: 32_695
.saturating_add(Weight::from_parts(16_669_219, 0).saturating_mul(i.into()))
.saturating_add(RocksDbWeight::get().reads((2_u64).saturating_mul(i.into())))
.saturating_add(RocksDbWeight::get().writes((3_u64).saturating_mul(i.into())))
.saturating_add(Weight::from_parts(0, 3566).saturating_mul(i.into()))
@@ -1203,10 +1193,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2196 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 85_308_000 picoseconds.
Weight::from_parts(93_689_468, 6248)
// Standard Error: 5_425
.saturating_add(Weight::from_parts(1_307_604, 0).saturating_mul(s.into()))
// Minimum execution time: 84_275_000 picoseconds.
Weight::from_parts(92_512_416, 6248)
// Standard Error: 3_633
.saturating_add(Weight::from_parts(1_315_923, 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())))
@@ -1219,10 +1209,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `66672`
// Estimated: `70137`
// Minimum execution time: 103_242_000 picoseconds.
Weight::from_parts(1_162_296_080, 70137)
// Standard Error: 76_741
.saturating_add(Weight::from_parts(6_487_522, 0).saturating_mul(s.into()))
// Minimum execution time: 101_707_000 picoseconds.
Weight::from_parts(912_819_462, 70137)
// Standard Error: 57_547
.saturating_add(Weight::from_parts(4_856_799, 0).saturating_mul(s.into()))
.saturating_add(RocksDbWeight::get().reads(1_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1259,10 +1249,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `33297 + n * (377 ±0)`
// Estimated: `30944 + n * (3774 ±0)`
// Minimum execution time: 140_740_000 picoseconds.
Weight::from_parts(182_886_963, 30944)
// Standard Error: 39_852
.saturating_add(Weight::from_parts(43_140_752, 0).saturating_mul(n.into()))
// Minimum execution time: 138_657_000 picoseconds.
Weight::from_parts(167_173_445, 30944)
// Standard Error: 25_130
.saturating_add(Weight::from_parts(44_566_012, 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))
@@ -1286,10 +1276,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1991 + l * (7 ±0)`
// Estimated: `8877`
// Minimum execution time: 80_372_000 picoseconds.
Weight::from_parts(83_335_027, 8877)
// Standard Error: 4_780
.saturating_add(Weight::from_parts(72_180, 0).saturating_mul(l.into()))
// Minimum execution time: 80_061_000 picoseconds.
Weight::from_parts(82_836_434, 8877)
// Standard Error: 4_348
.saturating_add(Weight::from_parts(75_744, 0).saturating_mul(l.into()))
.saturating_add(RocksDbWeight::get().reads(9_u64))
.saturating_add(RocksDbWeight::get().writes(7_u64))
}
@@ -1324,10 +1314,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `2196 + s * (4 ±0)`
// Estimated: `6248 + s * (4 ±0)`
// Minimum execution time: 93_920_000 picoseconds.
Weight::from_parts(98_022_911, 6248)
// Standard Error: 4_096
.saturating_add(Weight::from_parts(1_287_745, 0).saturating_mul(s.into()))
// Minimum execution time: 92_560_000 picoseconds.
Weight::from_parts(97_684_741, 6248)
// Standard Error: 3_361
.saturating_add(Weight::from_parts(1_292_732, 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())))
@@ -1373,12 +1363,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: 556_012_000 picoseconds.
Weight::from_parts(560_339_000, 512390)
// Standard Error: 2_115_076
.saturating_add(Weight::from_parts(69_456_497, 0).saturating_mul(v.into()))
// Standard Error: 210_755
.saturating_add(Weight::from_parts(17_974_873, 0).saturating_mul(n.into()))
// Minimum execution time: 564_963_000 picoseconds.
Weight::from_parts(569_206_000, 512390)
// Standard Error: 2_033_235
.saturating_add(Weight::from_parts(68_025_841, 0).saturating_mul(v.into()))
// Standard Error: 202_600
.saturating_add(Weight::from_parts(17_916_770, 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())))
@@ -1409,12 +1399,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: 32_792_819_000 picoseconds.
Weight::from_parts(32_986_606_000, 512390)
// Standard Error: 360_905
.saturating_add(Weight::from_parts(5_260_151, 0).saturating_mul(v.into()))
// Standard Error: 360_905
.saturating_add(Weight::from_parts(3_599_219, 0).saturating_mul(n.into()))
// Minimum execution time: 32_196_540_000 picoseconds.
Weight::from_parts(32_341_871_000, 512390)
// Standard Error: 354_657
.saturating_add(Weight::from_parts(5_143_440, 0).saturating_mul(v.into()))
// Standard Error: 354_657
.saturating_add(Weight::from_parts(3_328_189, 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())))
@@ -1431,10 +1421,10 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `979 + v * (50 ±0)`
// Estimated: `3510 + v * (2520 ±0)`
// Minimum execution time: 2_434_755_000 picoseconds.
Weight::from_parts(38_574_764, 3510)
// Standard Error: 14_467
.saturating_add(Weight::from_parts(4_821_702, 0).saturating_mul(v.into()))
// Minimum execution time: 2_381_903_000 picoseconds.
Weight::from_parts(32_693_059, 3510)
// Standard Error: 10_000
.saturating_add(Weight::from_parts(4_736_173, 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()))
@@ -1445,8 +1435,6 @@ impl WeightInfo for () {
/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
/// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `Staking::ChillThreshold` (r:0 w:1)
/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
@@ -1457,9 +1445,9 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_765_000 picoseconds.
Weight::from_parts(6_140_000, 0)
.saturating_add(RocksDbWeight::get().writes(7_u64))
// Minimum execution time: 5_434_000 picoseconds.
Weight::from_parts(5_742_000, 0)
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: `Staking::MinCommission` (r:0 w:1)
/// Proof: `Staking::MinCommission` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
@@ -1467,8 +1455,6 @@ impl WeightInfo for () {
/// Proof: `Staking::MinValidatorBond` (`max_values`: Some(1), `max_size`: Some(16), added: 511, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxValidatorsCount` (r:0 w:1)
/// Proof: `Staking::MaxValidatorsCount` (`max_values`: Some(1), `max_size`: Some(4), added: 499, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxStakedRewards` (r:0 w:1)
/// Proof: `Staking::MaxStakedRewards` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `Staking::ChillThreshold` (r:0 w:1)
/// Proof: `Staking::ChillThreshold` (`max_values`: Some(1), `max_size`: Some(1), added: 496, mode: `MaxEncodedLen`)
/// Storage: `Staking::MaxNominatorsCount` (r:0 w:1)
@@ -1479,9 +1465,9 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 5_025_000 picoseconds.
Weight::from_parts(5_354_000, 0)
.saturating_add(RocksDbWeight::get().writes(7_u64))
// Minimum execution time: 4_588_000 picoseconds.
Weight::from_parts(4_854_000, 0)
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
/// Storage: `Staking::Bonded` (r:1 w:0)
/// Proof: `Staking::Bonded` (`max_values`: None, `max_size`: Some(72), added: 2547, mode: `MaxEncodedLen`)
@@ -1509,8 +1495,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `1939`
// Estimated: `6248`
// Minimum execution time: 69_656_000 picoseconds.
Weight::from_parts(71_574_000, 6248)
// Minimum execution time: 68_780_000 picoseconds.
Weight::from_parts(71_479_000, 6248)
.saturating_add(RocksDbWeight::get().reads(12_u64))
.saturating_add(RocksDbWeight::get().writes(6_u64))
}
@@ -1522,8 +1508,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `691`
// Estimated: `3510`
// Minimum execution time: 12_523_000 picoseconds.
Weight::from_parts(13_315_000, 3510)
// Minimum execution time: 12_268_000 picoseconds.
Weight::from_parts(12_661_000, 3510)
.saturating_add(RocksDbWeight::get().reads(2_u64))
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
@@ -1533,8 +1519,8 @@ impl WeightInfo for () {
// Proof Size summary in bytes:
// Measured: `0`
// Estimated: `0`
// Minimum execution time: 3_125_000 picoseconds.
Weight::from_parts(3_300_000, 0)
// Minimum execution time: 3_071_000 picoseconds.
Weight::from_parts(3_334_000, 0)
.saturating_add(RocksDbWeight::get().writes(1_u64))
}
}