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
158158
159/// This runtime version.159/// This runtime version.
160pub const VERSION: RuntimeVersion = RuntimeVersion {160pub const VERSION: RuntimeVersion = RuntimeVersion {
161 spec_name: create_runtime_str!("opal"),161 spec_name: create_runtime_str!("quartz"),
162 impl_name: create_runtime_str!("opal"),162 impl_name: create_runtime_str!("quartz"),
163 authoring_version: 1,163 authoring_version: 1,
164 spec_version: 917000,164 spec_version: 917000,
165 impl_version: 0,165 impl_version: 0,
2578882 - Opal2578882 - Opal
258*/258*/
259parameter_types! {259parameter_types! {
260 pub const ChainId: u64 = 8882;260 pub const ChainId: u64 = 8881;
261}261}
262262
263pub struct FixedFee;263pub struct FixedFee;