From dea4ed0e0d6fabef5c43f8fd9e76a89e08028e95 Mon Sep 17 00:00:00 2001 From: icodezjb <8869892+icodezjb@users.noreply.github.com> Date: Thu, 9 Jun 2022 15:16:08 +0800 Subject: [PATCH] Bump runtime version `42` -> `43` (#103) Co-authored-by: icodezjb --- runtime/sherpax/src/lib.rs | 2 +- xpallets/assets-bridge/src/lib.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/runtime/sherpax/src/lib.rs b/runtime/sherpax/src/lib.rs index 5de7b10..a6c3976 100644 --- a/runtime/sherpax/src/lib.rs +++ b/runtime/sherpax/src/lib.rs @@ -156,7 +156,7 @@ pub const VERSION: RuntimeVersion = RuntimeVersion { // `spec_version`, and `authoring_version` are the same between Wasm and native. // This value is set to 100 to notify Polkadot-JS App (https://polkadot.js.org/apps) to use // the compatible custom types. - spec_version: 42, + spec_version: 43, impl_version: 1, apis: RUNTIME_API_VERSIONS, transaction_version: 3, diff --git a/xpallets/assets-bridge/src/lib.rs b/xpallets/assets-bridge/src/lib.rs index 1eca2e6..a71efc7 100644 --- a/xpallets/assets-bridge/src/lib.rs +++ b/xpallets/assets-bridge/src/lib.rs @@ -572,7 +572,7 @@ pub mod pallet { let require = match ensure_signed_or_root(origin) { Ok(s) if s == Self::admin_key() => true, Ok(None) => true, - _ => false + _ => false, }; ensure!(require, Error::::RequireAdmin);