Companion for Weight v1.5 Follow Up (#5949)

* updates

* remove new

* fix up some stuff

* fix cargo files

* fix

* fix template

* update lockfile for {"substrate"}

* Update block_weights.rs

* remove unused

* remove unused

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2022-09-01 20:00:51 +01:00
committed by GitHub
parent 75d49dfeb4
commit e28bf2e476
128 changed files with 969 additions and 968 deletions
@@ -126,7 +126,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn pool_withdraw_unbonded(s: u32, ) -> Weight {
Weight::from_ref_time(40_979_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(31_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(4 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}
@@ -142,7 +142,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn withdraw_unbonded_update(s: u32, ) -> Weight {
Weight::from_ref_time(79_501_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(41_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(8 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(7 as RefTimeWeight))
}
@@ -169,7 +169,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn withdraw_unbonded_kill(s: u32, ) -> Weight {
Weight::from_ref_time(139_080_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(7_000 as RefTimeWeight).scalar_saturating_mul(s as RefTimeWeight))
.saturating_add(Weight::from_ref_time(7_000 as RefTimeWeight).saturating_mul(s as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(19 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(16 as RefTimeWeight))
}
@@ -216,7 +216,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn nominate(n: u32, ) -> Weight {
Weight::from_ref_time(50_212_000 as RefTimeWeight)
// Standard Error: 4_000
.saturating_add(Weight::from_ref_time(2_152_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(2_152_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(12 as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads((1 as RefTimeWeight).saturating_mul(n as RefTimeWeight)))
.saturating_add(T::DbWeight::get().writes(5 as RefTimeWeight))
@@ -235,7 +235,7 @@ impl<T: frame_system::Config> pallet_nomination_pools::WeightInfo for WeightInfo
fn set_metadata(n: u32, ) -> Weight {
Weight::from_ref_time(14_203_000 as RefTimeWeight)
// Standard Error: 0
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).scalar_saturating_mul(n as RefTimeWeight))
.saturating_add(Weight::from_ref_time(1_000 as RefTimeWeight).saturating_mul(n as RefTimeWeight))
.saturating_add(T::DbWeight::get().reads(3 as RefTimeWeight))
.saturating_add(T::DbWeight::get().writes(2 as RefTimeWeight))
}