Companion for Force Batch (#1236)

* add force-batch weights

* update lockfile for {"polkadot"}

Co-authored-by: parity-processbot <>
This commit is contained in:
Shawn Tabrizi
2022-05-05 16:15:43 +01:00
committed by GitHub
parent 7decc59334
commit a2fd67acb1
4 changed files with 267 additions and 245 deletions
Generated
+246 -245
View File
File diff suppressed because it is too large Load Diff
@@ -60,4 +60,11 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn dispatch_as() -> Weight {
(8_310_000 as Weight)
}
fn force_batch(c: u32, ) -> Weight {
(13_470_000 as Weight)
// Standard Error: 1_000
.saturating_add((4_229_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}
@@ -60,4 +60,11 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn dispatch_as() -> Weight {
(8_834_000 as Weight)
}
fn force_batch(c: u32, ) -> Weight {
(13_470_000 as Weight)
// Standard Error: 1_000
.saturating_add((4_229_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}
@@ -60,4 +60,11 @@ impl<T: frame_system::Config> pallet_utility::WeightInfo for WeightInfo<T> {
fn dispatch_as() -> Weight {
(8_891_000 as Weight)
}
fn force_batch(c: u32, ) -> Weight {
(13_470_000 as Weight)
// Standard Error: 1_000
.saturating_add((4_229_000 as Weight).saturating_mul(c as Weight))
.saturating_add(T::DbWeight::get().reads(1 as Weight))
.saturating_add(T::DbWeight::get().writes(1 as Weight))
}
}