mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-22 03:36:18 +00:00
Companion for Force Batch (#1236)
* add force-batch weights
* update lockfile for {"polkadot"}
Co-authored-by: parity-processbot <>
This commit is contained in:
1 parent
7decc59334
commit
a2fd67acb1
4 files changed
+267
-245
No files matched your search
Generated
+246
-245
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))
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user