companion slash chilling update (#6424)

* update weights

* goddamit

* update weights

* update lockfile for {"substrate"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Kian Paimani
2022-12-12 20:07:13 +00:00
committed by GitHub
parent fa05b5eb3a
commit 01e43131ac
4 changed files with 213 additions and 228 deletions
+180 -180
View File
File diff suppressed because it is too large Load Diff
@@ -374,29 +374,24 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
}
// Storage: VoterList CounterForListNodes (r:1 w:0)
// Storage: Staking SlashingSpans (r:21 w:0)
// Storage: VoterList ListBags (r:183 w:0)
// Storage: VoterList ListBags (r:200 w:0)
// Storage: VoterList ListNodes (r:1500 w:0)
// Storage: Staking Nominators (r:1500 w:0)
// Storage: Staking Validators (r:500 w:0)
// Storage: Staking Bonded (r:1500 w:0)
// Storage: Staking Ledger (r:1500 w:0)
// Storage: System BlockWeight (r:1 w:1)
/// The range of component `v` is `[500, 1000]`.
/// The range of component `n` is `[500, 1000]`.
/// The range of component `s` is `[1, 20]`.
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
// Minimum execution time: 26_480_054 nanoseconds.
Weight::from_ref_time(26_659_270_000 as u64)
// Standard Error: 480_708
.saturating_add(Weight::from_ref_time(10_306_257 as u64).saturating_mul(v as u64))
// Standard Error: 480_708
.saturating_add(Weight::from_ref_time(12_612_184 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(186 as u64))
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 24_634_585 nanoseconds.
Weight::from_ref_time(24_718_377_000)
// Standard Error: 324_839
.saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into()))
// Standard Error: 324_839
.saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(201))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
}
// Storage: Staking CounterForValidators (r:1 w:0)
// Storage: Staking Validators (r:501 w:0)
@@ -372,29 +372,24 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
}
// Storage: VoterList CounterForListNodes (r:1 w:0)
// Storage: Staking SlashingSpans (r:21 w:0)
// Storage: VoterList ListBags (r:178 w:0)
// Storage: VoterList ListBags (r:200 w:0)
// Storage: VoterList ListNodes (r:1500 w:0)
// Storage: Staking Nominators (r:1500 w:0)
// Storage: Staking Validators (r:500 w:0)
// Storage: Staking Bonded (r:1500 w:0)
// Storage: Staking Ledger (r:1500 w:0)
// Storage: System BlockWeight (r:1 w:1)
/// The range of component `v` is `[500, 1000]`.
/// The range of component `n` is `[500, 1000]`.
/// The range of component `s` is `[1, 20]`.
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
// Minimum execution time: 26_190_965 nanoseconds.
Weight::from_ref_time(26_379_230_000 as u64)
// Standard Error: 498_237
.saturating_add(Weight::from_ref_time(12_106_020 as u64).saturating_mul(v as u64))
// Standard Error: 498_237
.saturating_add(Weight::from_ref_time(10_834_947 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(181 as u64))
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 24_634_585 nanoseconds.
Weight::from_ref_time(24_718_377_000)
// Standard Error: 324_839
.saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into()))
// Standard Error: 324_839
.saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(201))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
}
// Storage: Staking CounterForValidators (r:1 w:0)
// Storage: Staking Validators (r:501 w:0)
@@ -372,29 +372,24 @@ impl<T: frame_system::Config> pallet_staking::WeightInfo for WeightInfo<T> {
.saturating_add(T::DbWeight::get().writes((3 as u64).saturating_mul(v as u64)))
}
// Storage: VoterList CounterForListNodes (r:1 w:0)
// Storage: Staking SlashingSpans (r:21 w:0)
// Storage: VoterList ListBags (r:178 w:0)
// Storage: VoterList ListBags (r:200 w:0)
// Storage: VoterList ListNodes (r:1500 w:0)
// Storage: Staking Nominators (r:1500 w:0)
// Storage: Staking Validators (r:500 w:0)
// Storage: Staking Bonded (r:1500 w:0)
// Storage: Staking Ledger (r:1500 w:0)
// Storage: System BlockWeight (r:1 w:1)
/// The range of component `v` is `[500, 1000]`.
/// The range of component `n` is `[500, 1000]`.
/// The range of component `s` is `[1, 20]`.
fn get_npos_voters(v: u32, n: u32, s: u32, ) -> Weight {
// Minimum execution time: 26_306_369 nanoseconds.
Weight::from_ref_time(26_515_009_000 as u64)
// Standard Error: 478_602
.saturating_add(Weight::from_ref_time(11_814_244 as u64).saturating_mul(v as u64))
// Standard Error: 478_602
.saturating_add(Weight::from_ref_time(10_546_073 as u64).saturating_mul(n as u64))
.saturating_add(T::DbWeight::get().reads(181 as u64))
.saturating_add(T::DbWeight::get().reads((5 as u64).saturating_mul(v as u64)))
.saturating_add(T::DbWeight::get().reads((4 as u64).saturating_mul(n as u64)))
.saturating_add(T::DbWeight::get().reads((1 as u64).saturating_mul(s as u64)))
.saturating_add(T::DbWeight::get().writes(1 as u64))
fn get_npos_voters(v: u32, n: u32, ) -> Weight {
// Minimum execution time: 24_634_585 nanoseconds.
Weight::from_ref_time(24_718_377_000)
// Standard Error: 324_839
.saturating_add(Weight::from_ref_time(3_654_508).saturating_mul(v.into()))
// Standard Error: 324_839
.saturating_add(Weight::from_ref_time(2_927_535).saturating_mul(n.into()))
.saturating_add(T::DbWeight::get().reads(201))
.saturating_add(T::DbWeight::get().reads((5_u64).saturating_mul(v.into())))
.saturating_add(T::DbWeight::get().reads((4_u64).saturating_mul(n.into())))
}
// Storage: Staking CounterForValidators (r:1 w:0)
// Storage: Staking Validators (r:501 w:0)