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

* fixes

* oopsie

* [ci] Apply cargo-fmt

* fixes

* [ci] Apply cargo-fmt

* fixes

* fix cumulus template

* fix merge

* update lockfile for {"polkadot", "substrate"}

Co-authored-by: paritytech-ci <paritytech-ci@parity.io>
Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2022-09-01 20:25:05 +01:00
committed by GitHub
parent 8765c22840
commit 2c1e88522c
66 changed files with 583 additions and 565 deletions
@@ -50,7 +50,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch(c: u32, ) -> Weight {
Weight::from_ref_time(22_923_000 as RefTimeWeight)
// Standard Error: 1_000
.saturating_add(Weight::from_ref_time(3_526_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_526_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn as_derivative() -> Weight {
Weight::from_ref_time(5_220_000 as RefTimeWeight)
@@ -59,7 +59,7 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn batch_all(c: u32, ) -> Weight {
Weight::from_ref_time(20_953_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_698_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_698_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
fn dispatch_as() -> Weight {
Weight::from_ref_time(12_087_000 as RefTimeWeight)
@@ -68,6 +68,6 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn force_batch(c: u32, ) -> Weight {
Weight::from_ref_time(10_076_000 as RefTimeWeight)
// Standard Error: 2_000
.saturating_add(Weight::from_ref_time(3_546_000 as RefTimeWeight).scalar_saturating_mul(c as RefTimeWeight))
.saturating_add(Weight::from_ref_time(3_546_000 as RefTimeWeight).saturating_mul(c as RefTimeWeight))
}
}