git.delta.rocks / unique-network / refs/commits / 2b110b5d0489

difftreelog

Quartz identity

Igor Kozyrev2022-03-02parent: #fa4a1bb.patch.diff
in: master

2 files changed

modifiednode/cli/src/command.rsdiffbeforeafterboth
52impl SubstrateCli for Cli {52impl SubstrateCli for Cli {
53 // TODO use args53 // TODO use args
54 fn impl_name() -> String {54 fn impl_name() -> String {
55 "Opal Node".into()55 "Quartz Node".into()
56 }56 }
5757
58 fn impl_version() -> String {58 fn impl_version() -> String {
61 // TODO use args61 // TODO use args
62 fn description() -> String {62 fn description() -> String {
63 format!(63 format!(
64 "Opal Node\n\nThe command-line arguments provided first will be \64 "Quartz Node\n\nThe command-line arguments provided first will be \
65 passed to the parachain node, while the arguments provided after -- will be passed \65 passed to the parachain node, while the arguments provided after -- will be passed \
66 to the relaychain node.\n\n\66 to the relaychain node.\n\n\
67 {} [parachain-args] -- [relaychain-args]",67 {} [parachain-args] -- [relaychain-args]",
68 Self::executable_name()68 Self::executable_name()
69 )69 )
70 }70 }
94impl SubstrateCli for RelayChainCli {94impl SubstrateCli for RelayChainCli {
95 // TODO use args95 // TODO use args
96 fn impl_name() -> String {96 fn impl_name() -> String {
97 "Opal Node".into()97 "Quartz Node".into()
98 }98 }
9999
100 fn impl_version() -> String {100 fn impl_version() -> String {
101 env!("SUBSTRATE_CLI_IMPL_VERSION").into()101 env!("SUBSTRATE_CLI_IMPL_VERSION").into()
102 }102 }
103 // TODO use args103 // TODO use args
104 fn description() -> String {104 fn description() -> String {
105 "Opal Node\n\nThe command-line arguments provided first will be \105 "Quartz Node\n\nThe command-line arguments provided first will be \
106 passed to the parachain node, while the arguments provided after -- will be passed \106 passed to the parachain node, while the arguments provided after -- will be passed \
107 to the relaychain node.\n\n\107 to the relaychain node.\n\n\
108 parachain-collator [parachain-args] -- [relaychain-args]"108 parachain-collator [parachain-args] -- [relaychain-args]"
109 .into()109 .into()
110 }110 }
111111
modifiedruntime/src/lib.rsdiffbeforeafterboth
--- a/runtime/src/lib.rs
+++ b/runtime/src/lib.rs
@@ -158,8 +158,8 @@
 
 /// This runtime version.
 pub const VERSION: RuntimeVersion = RuntimeVersion {
-	spec_name: create_runtime_str!("opal"),
-	impl_name: create_runtime_str!("opal"),
+	spec_name: create_runtime_str!("quartz"),
+	impl_name: create_runtime_str!("quartz"),
 	authoring_version: 1,
 	spec_version: 917000,
 	impl_version: 0,
@@ -257,7 +257,7 @@
 8882 - Opal
 */
 parameter_types! {
-	pub const ChainId: u64 = 8882;
+	pub const ChainId: u64 = 8881;
 }
 
 pub struct FixedFee;