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
+1 -1
View File
@@ -88,7 +88,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("kusama"),
impl_name: create_runtime_str!("parity-kusama"),
authoring_version: 2,
spec_version: 2026,
spec_version: 2027,
impl_version: 0,
#[cfg(not(feature = "disable-runtime-api"))]
apis: RUNTIME_API_VERSIONS,
@@ -32,4 +32,8 @@ impl<T: frame_system::Trait> pallet_utility::WeightInfo for WeightInfo<T> {
fn as_derivative() -> Weight {
(5_360_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))
}
}