From 47ec26c60804e8de8460c2029590d177e62c1c8d Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Fri, 11 Feb 2022 11:00:32 +0000 Subject: [PATCH] quartz release v916001 --- --- a/README.md +++ b/README.md @@ -160,13 +160,13 @@ location: V0(X2(Parent, Parachain(PARA_ID))) metadata: - name OPL - symbol OPL + name QTZ + symbol QTZ decimals 18 minimalBalance 1 ``` -### Next, we can send tokens from Opal to Karura: +### Next, we can send tokens from Quartz to Karura: ``` polkadotXcm -> reserveTransferAssets dest: @@ -184,7 +184,7 @@ The result will be displayed in ChainState tokens -> accounts -### To send tokens from Karura to Opal: +### To send tokens from Karura to Quartz: ``` xtokens -> transfer --- a/node/cli/src/command.rs +++ b/node/cli/src/command.rs @@ -52,7 +52,7 @@ impl SubstrateCli for Cli { // TODO use args fn impl_name() -> String { - "Opal Node".into() + "Quartz Node".into() } fn impl_version() -> String { @@ -61,7 +61,7 @@ // TODO use args fn description() -> String { format!( - "Opal Node\n\nThe command-line arguments provided first will be \ + "Quartz 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]", @@ -94,7 +94,7 @@ impl SubstrateCli for RelayChainCli { // TODO use args fn impl_name() -> String { - "Opal Node".into() + "Quartz Node".into() } fn impl_version() -> String { @@ -102,7 +102,7 @@ } // TODO use args fn description() -> String { - "Opal Node\n\nThe command-line arguments provided first will be \ + "Quartz 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 @@ -157,8 +157,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: 916001, impl_version: 0, @@ -247,7 +247,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! { --- a/tests/src/xcmTransfer.test.ts +++ b/tests/src/xcmTransfer.test.ts @@ -23,7 +23,7 @@ const KARURA_CHAIN = 2000; const KARURA_PORT = '9946'; -describe('Integration test: Exchanging OPL with Karura', () => { +describe('Integration test: Exchanging QTZ with Karura', () => { let alice: IKeyringPair; before(async () => { @@ -49,8 +49,8 @@ const metadata = { - name: 'OPL', - symbol: 'OPL', + name: 'QTZ', + symbol: 'QTZ', decimals: 18, minimalBalance: 1, }; @@ -63,7 +63,7 @@ }, karuraApiOptions); }); - it('Should connect and send OPL to Karura', async () => { + it('Should connect and send QTZ to Karura', async () => { let balanceOnKaruraBefore: bigint; await usingApi(async (api) => { @@ -130,7 +130,7 @@ }, {provider: new WsProvider('ws://127.0.0.1:' + KARURA_PORT)}); }); - it('Should connect to Karura and send OPL back', async () => { + it('Should connect to Karura and send QTZ back', async () => { let balanceBefore: bigint; await usingApi(async (api) => { -- gitstuff