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
@@ -48,7 +48,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight {
Weight::from_ref_time(21_263_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(4_568_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_568_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(5_489_000 as RefTimeWeight)
@@ -57,7 +57,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(12_474_000 as RefTimeWeight)
// Standard Error: 3_000
.saturating_add(Weight::from_ref_time(4_877_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_877_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(12_745_000 as RefTimeWeight)
@@ -66,6 +66,6 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(21_712_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(4_569_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(4_569_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
}