From 2da9a7e6bb185b5268afe24ba63b7506953bf4f3 Mon Sep 17 00:00:00 2001 From: Doordashcon <90750465+Doordashcon@users.noreply.github.com> Date: Wed, 27 Apr 2022 16:41:30 +0100 Subject: [PATCH] update (#5402) --- runtime/kusama/src/lib.rs | 1 + runtime/polkadot/src/lib.rs | 1 + runtime/rococo/src/lib.rs | 1 + runtime/test-runtime/src/lib.rs | 1 + runtime/westend/src/lib.rs | 1 + 5 files changed, 5 insertions(+) diff --git a/runtime/kusama/src/lib.rs b/runtime/kusama/src/lib.rs index dd81867139ef..bd863b427af6 100644 --- a/runtime/kusama/src/lib.rs +++ b/runtime/kusama/src/lib.rs @@ -110,6 +110,7 @@ impl_runtime_weights!(kusama_runtime_constants); include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); /// Runtime version (Kusama). +#[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("kusama"), impl_name: create_runtime_str!("parity-kusama"), diff --git a/runtime/polkadot/src/lib.rs b/runtime/polkadot/src/lib.rs index 79377b4d03fd..54a31d1d9f90 100644 --- a/runtime/polkadot/src/lib.rs +++ b/runtime/polkadot/src/lib.rs @@ -106,6 +106,7 @@ include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); // Polkadot version identifier; /// Runtime version (Polkadot). +#[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot"), impl_name: create_runtime_str!("parity-polkadot"), diff --git a/runtime/rococo/src/lib.rs b/runtime/rococo/src/lib.rs index 2b80edaed572..f4a109185622 100644 --- a/runtime/rococo/src/lib.rs +++ b/runtime/rococo/src/lib.rs @@ -95,6 +95,7 @@ impl_runtime_weights!(rococo_runtime_constants); include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); /// Runtime version (Rococo). +#[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("rococo"), impl_name: create_runtime_str!("parity-rococo-v2.0"), diff --git a/runtime/test-runtime/src/lib.rs b/runtime/test-runtime/src/lib.rs index 6d77bd361891..7933d5fb07f6 100644 --- a/runtime/test-runtime/src/lib.rs +++ b/runtime/test-runtime/src/lib.rs @@ -94,6 +94,7 @@ impl_runtime_weights!(test_runtime_constants); include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); /// Runtime version (Test). +#[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("polkadot-test-runtime"), impl_name: create_runtime_str!("parity-polkadot-test-runtime"), diff --git a/runtime/westend/src/lib.rs b/runtime/westend/src/lib.rs index 4da408fc5906..719874e1e26b 100644 --- a/runtime/westend/src/lib.rs +++ b/runtime/westend/src/lib.rs @@ -100,6 +100,7 @@ impl_runtime_weights!(westend_runtime_constants); include!(concat!(env!("OUT_DIR"), "/wasm_binary.rs")); /// Runtime version (Westend). +#[sp_version::runtime_version] pub const VERSION: RuntimeVersion = RuntimeVersion { spec_name: create_runtime_str!("westend"), impl_name: create_runtime_str!("parity-westend"),