git.delta.rocks / unique-network / refs/commits / 04b3d2e4897e

difftreelog

quartz identity

Igor Kozyrev2021-12-13parent: #e7d0544.patch.diff
in: master

2 files changed

modifiednode/cli/src/command.rsdiffbeforeafterboth
51impl SubstrateCli for Cli {51impl SubstrateCli for Cli {
52 // TODO use args52 // TODO use args
53 fn impl_name() -> String {53 fn impl_name() -> String {
54 "Opal Node".into()54 "Quartz Node".into()
55 }55 }
5656
57 fn impl_version() -> String {57 fn impl_version() -> String {
60 // TODO use args60 // TODO use args
61 fn description() -> String {61 fn description() -> String {
62 format!(62 format!(
63 "Opal Node\n\nThe command-line arguments provided first will be \63 "Quartz Node\n\nThe command-line arguments provided first will be \
64 passed to the parachain node, while the arguments provided after -- will be passed \64 passed to the parachain node, while the arguments provided after -- will be passed \
65 to the relaychain node.\n\n\65 to the relaychain node.\n\n\
66 {} [parachain-args] -- [relaychain-args]",66 {} [parachain-args] -- [relaychain-args]",
67 Self::executable_name()67 Self::executable_name()
68 )68 )
69 }69 }
93impl SubstrateCli for RelayChainCli {93impl SubstrateCli for RelayChainCli {
94 // TODO use args94 // TODO use args
95 fn impl_name() -> String {95 fn impl_name() -> String {
96 "Opal Node".into()96 "Quartz Node".into()
97 }97 }
9898
99 fn impl_version() -> String {99 fn impl_version() -> String {
100 env!("SUBSTRATE_CLI_IMPL_VERSION").into()100 env!("SUBSTRATE_CLI_IMPL_VERSION").into()
101 }101 }
102 // TODO use args102 // TODO use args
103 fn description() -> String {103 fn description() -> String {
104 "Opal Node\n\nThe command-line arguments provided first will be \104 "Quartz Node\n\nThe command-line arguments provided first will be \
105 passed to the parachain node, while the arguments provided after -- will be passed \105 passed to the parachain node, while the arguments provided after -- will be passed \
106 to the relaychain node.\n\n\106 to the relaychain node.\n\n\
107 parachain-collator [parachain-args] -- [relaychain-args]"107 parachain-collator [parachain-args] -- [relaychain-args]"
108 .into()108 .into()
109 }109 }
110110
modifiedruntime/src/lib.rsdiffbeforeafterboth
--- 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!("opal"),
-	impl_name: create_runtime_str!("opal"),
+	spec_name: create_runtime_str!("quartz"),
+	impl_name: create_runtime_str!("quartz"),
 	authoring_version: 1,
 	spec_version: 914000,
 	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 = 42;
+	pub const SS58Prefix: u8 = 255;
 }
 
 parameter_types! {