Companion for #7188: Implement batch_all and update Utillity Pallet for Weight/Fee Refunds (#1775)

* add missing method

* "Update Substrate"

* bump spec

* cargo update -p sp-io

Co-authored-by: parity-processbot <>
Co-authored-by: Shawn Tabrizi <shawntabrizi@gmail.com>
This commit is contained in:
Xiliang Chen
2020-10-28 09:08:13 +13:00
committed by GitHub
parent d79b37b8fd
commit ac1f19c68c
7 changed files with 230 additions and 157 deletions
@@ -32,4 +32,8 @@ impl<T: frame_system::Trait> pallet_utility::WeightInfo for WeightInfo<T> {
fn as_derivative() -> Weight {
(5_611_000 as Weight)
}
fn batch_all(c: u32, ) -> Weight {
(21_104_000 as Weight)
.saturating_add((1_509_000 as Weight).saturating_mul(c as Weight))
}
}