Unverified Commit 69902e05 authored by Xiliang Chen's avatar Xiliang Chen Committed by GitHub
Browse files

Companion for #7188: Implement `batch_all` and update Utillity Pallet for...


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's avatarShawn Tabrizi <shawntabrizi@gmail.com>
parent de6a5aba
Pipeline #112282 passed with stages
in 24 minutes and 8 seconds
This diff is collapsed.
......@@ -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))
}
}
......@@ -90,7 +90,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("polkadot"),
impl_name: create_runtime_str!("parity-polkadot"),
authoring_version: 0,
spec_version: 26,
spec_version: 27,
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_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))
}
}
......@@ -85,7 +85,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("westend"),
impl_name: create_runtime_str!("parity-westend"),
authoring_version: 2,
spec_version: 46,
spec_version: 47,
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_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))
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment