Skip to content
Snippets Groups Projects
Commit ff8d0af3 authored by Éloïs's avatar Éloïs
Browse files

fix(runtime): use correct values for spec_name and impl_name

parent 9de9e8d3
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ common_runtime::declare_session_keys! {} ...@@ -77,7 +77,7 @@ common_runtime::declare_session_keys! {}
#[sp_version::runtime_version] #[sp_version::runtime_version]
pub const VERSION: RuntimeVersion = RuntimeVersion { pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("g1"), spec_name: create_runtime_str!("g1"),
impl_name: create_runtime_str!("g1"), impl_name: create_runtime_str!("duniter-g1"),
authoring_version: 1, authoring_version: 1,
// The version of the runtime specification. A full node will not attempt to use its native // The version of the runtime specification. A full node will not attempt to use its native
// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, // runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,
......
...@@ -78,7 +78,7 @@ common_runtime::declare_session_keys! {} ...@@ -78,7 +78,7 @@ common_runtime::declare_session_keys! {}
#[sp_version::runtime_version] #[sp_version::runtime_version]
pub const VERSION: RuntimeVersion = RuntimeVersion { pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("gdev"), spec_name: create_runtime_str!("gdev"),
impl_name: create_runtime_str!("gdev"), impl_name: create_runtime_str!("duniter-gdev"),
authoring_version: 1, authoring_version: 1,
// The version of the runtime specification. A full node will not attempt to use its native // The version of the runtime specification. A full node will not attempt to use its native
// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, // runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,
......
...@@ -76,8 +76,8 @@ common_runtime::declare_session_keys! {} ...@@ -76,8 +76,8 @@ common_runtime::declare_session_keys! {}
// https://substrate.dev/docs/en/knowledgebase/runtime/upgrades#runtime-versioning // https://substrate.dev/docs/en/knowledgebase/runtime/upgrades#runtime-versioning
#[sp_version::runtime_version] #[sp_version::runtime_version]
pub const VERSION: RuntimeVersion = RuntimeVersion { pub const VERSION: RuntimeVersion = RuntimeVersion {
spec_name: create_runtime_str!("gdem"), spec_name: create_runtime_str!("gtest"),
impl_name: create_runtime_str!("gdem"), impl_name: create_runtime_str!("duniter-gtest"),
authoring_version: 1, authoring_version: 1,
// The version of the runtime specification. A full node will not attempt to use its native // The version of the runtime specification. A full node will not attempt to use its native
// runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`, // runtime in substitute for the on-chain Wasm runtime unless all of `spec_name`,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment