git.delta.rocks / unique-network / refs/commits / 47ec26c60804

difftreelog

quartz release v916001

Igor Kozyrev2022-02-11parent: #f13427c.patch.diff
in: master

4 files changed

modifiedREADME.mddiffbeforeafterboth
--- 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
 
modifiednode/cli/src/command.rsdiffbeforeafterboth
--- 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]"
modifiedruntime/src/lib.rsdiffbeforeafterboth
--- 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! {
modifiedtests/src/xcmTransfer.test.tsdiffbeforeafterboth
23const KARURA_CHAIN = 2000;23const KARURA_CHAIN = 2000;
24const KARURA_PORT = '9946';24const KARURA_PORT = '9946';
2525
26describe('Integration test: Exchanging OPL with Karura', () => {26describe('Integration test: Exchanging QTZ with Karura', () => {
27 let alice: IKeyringPair;27 let alice: IKeyringPair;
28 28
29 before(async () => {29 before(async () => {
4949
50 const metadata =50 const metadata =
51 {51 {
52 name: 'OPL',52 name: 'QTZ',
53 symbol: 'OPL',53 symbol: 'QTZ',
54 decimals: 18,54 decimals: 18,
55 minimalBalance: 1,55 minimalBalance: 1,
56 };56 };
63 }, karuraApiOptions);63 }, karuraApiOptions);
64 });64 });
6565
66 it('Should connect and send OPL to Karura', async () => {66 it('Should connect and send QTZ to Karura', async () => {
67 let balanceOnKaruraBefore: bigint;67 let balanceOnKaruraBefore: bigint;
68 68
69 await usingApi(async (api) => {69 await usingApi(async (api) => {
130 }, {provider: new WsProvider('ws://127.0.0.1:' + KARURA_PORT)});130 }, {provider: new WsProvider('ws://127.0.0.1:' + KARURA_PORT)});
131 });131 });
132132
133 it('Should connect to Karura and send OPL back', async () => {133 it('Should connect to Karura and send QTZ back', async () => {
134 let balanceBefore: bigint;134 let balanceBefore: bigint;
135 135
136 await usingApi(async (api) => {136 await usingApi(async (api) => {