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
144144
145/// This runtime version.145/// This runtime version.
146pub const VERSION: RuntimeVersion = RuntimeVersion {146pub const VERSION: RuntimeVersion = RuntimeVersion {
147 spec_name: create_runtime_str!("opal"),147 spec_name: create_runtime_str!("quartz"),
148 impl_name: create_runtime_str!("opal"),148 impl_name: create_runtime_str!("quartz"),
149 authoring_version: 1,149 authoring_version: 1,
150 spec_version: 914000,150 spec_version: 914000,
151 impl_version: 1,151 impl_version: 1,
233 .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)233 .avg_block_initialization(AVERAGE_ON_INITIALIZE_RATIO)
234 .build_or_panic();234 .build_or_panic();
235 pub const Version: RuntimeVersion = VERSION;235 pub const Version: RuntimeVersion = VERSION;
236 pub const SS58Prefix: u8 = 42;236 pub const SS58Prefix: u8 = 255;
237}237}
238238
239parameter_types! {239parameter_types! {