From 9dec2b1d6f99374f6a0d287ed7c830754a77e816 Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Fri, 10 Dec 2021 13:03:39 +0000 Subject: [PATCH] restore Opal identity --- --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -51,7 +51,7 @@ impl SubstrateCli for Cli { // TODO use args fn impl_name() -> String { - "Quartz Node".into() + "Opal Node".into() } fn impl_version() -> String { @@ -60,7 +60,7 @@ // TODO use args fn description() -> String { format!( - "Quartz Node\n\nThe command-line arguments provided first will be \ + "Opal Node\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relaychain node.\n\n\ {} [parachain-args] -- [relaychain-args]", @@ -93,7 +93,7 @@ impl SubstrateCli for RelayChainCli { // TODO use args fn impl_name() -> String { - "Quartz Node".into() + "Opal Node".into() } fn impl_version() -> String { @@ -101,7 +101,7 @@ } // TODO use args fn description() -> String { - "Quartz Node\n\nThe command-line arguments provided first will be \ + "Opal Node\n\nThe command-line arguments provided first will be \ passed to the parachain node, while the arguments provided after -- will be passed \ to the relaychain node.\n\n\ parachain-collator [parachain-args] -- [relaychain-args]" --- a/runtime/src/lib.rs +++ b/runtime/src/lib.rs @@ -144,8 +144,8 @@ /// This runtime version. pub const VERSION: RuntimeVersion = RuntimeVersion { - spec_name: create_runtime_str!("quartz"), - impl_name: create_runtime_str!("quartz"), + spec_name: create_runtime_str!("opal"), + impl_name: create_runtime_str!("opal"), authoring_version: 1, spec_version: 913010, impl_version: 1, @@ -233,7 +233,7 @@ .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO) .build_or_panic(); pub const Version: RuntimeVersion = VERSION; - pub const SS58Prefix: u8 = 255; + pub const SS58Prefix: u8 = 42; } parameter_types! { -- gitstuff