git.delta.rocks / unique-network / refs/commits / bad94bc8367a

difftreelog

fix configuration

Igor Kozyrev2022-02-10parent: #e862576.patch.diff
in: master

5 files changed

modifiedREADME.mddiffbeforeafterboth
--- a/README.md
+++ b/README.md
@@ -337,8 +337,8 @@
 
 ## Karura token transfer
 
-To get started, you need to open the hrmr channel.
-Next, we need to register our asset in Karura.
+To get started, you need to open inbound and outbound hrmp channels.
+Next, we need to register our asset at Karura.
 
 ```
 assetRegistry -> registerForeignAsset(location, metadata)
@@ -347,11 +347,11 @@
 metadata:
 	name         OPL
 	symbol       OPL
-	decimals     15
+	decimals     18
 minimalBalance	 1
 ```
 
-Next, we can send tokens of our chain:
+Next, we can send tokens from Opal to Karura:
 ```
 polkadotXcm -> reserveTransferAssets
 dest:
@@ -370,7 +370,7 @@
 tokens -> accounts	
 
 
-To send tokens from karura:
+To send tokens from Karura to Opal:
 
 ```
 xtokens -> transfer
modifiedlaunch-config.jsondiffbeforeafterboth
114 ]114 ]
115 }115 }
116 ]116 ]
117 },117 }
118 {
119 "bin": "../cumulus/target/release/polkadot-collator",
120 "id": "3000",
121 "chain": "statemint-dev",
122 "balance": "1000000000000000000000000",
123 "nodes": [
124 {
125 "wsPort": 9947,
126 "port": 31203,
127 "name": "alice",
128 "flags": [
129 "--rpc-cors=all",
130 "--unsafe-rpc-external",
131 "--unsafe-ws-external",
132 "-lxcm=trace"
133 ]
134 }
135 ]
136 }
137 ],118 ],
138 "simpleParachains": [],119 "simpleParachains": [],
139 "hrmpChannels": [120 "hrmpChannels": [
140 {121 {
141 "sender": 2000,122 "sender": 2000,
142 "recipient": 1000,123 "recipient": 1000,
143 "maxCapacity": 8,124 "maxCapacity": 1000,
144 "maxMessageSize": 512125 "maxMessageSize": 102400
145 },126 },
146 {127 {
147 "sender": 1000,128 "sender": 1000,
148 "recipient": 2000,129 "recipient": 2000,
149 "maxCapacity": 8,130 "maxCapacity": 1000,
150 "maxMessageSize": 512131 "maxMessageSize": 102400
151 }132 }
152 ],133 ],
153 "finalization": false134 "finalization": false
modifiedruntime/Cargo.tomldiffbeforeafterboth
--- a/runtime/Cargo.toml
+++ b/runtime/Cargo.toml
@@ -377,7 +377,6 @@
 scale-info = { version = "1.0.0", default-features = false, features = [
     "derive",
 ] }
-log = '0.4.14'
 derivative = "2.2.0"
 pallet-unique = { path = '../pallets/unique', default-features = false }
 up-rpc = { path = "../primitives/rpc", default-features = false }
modifiedtests/package.jsondiffbeforeafterboth
--- a/tests/package.json
+++ b/tests/package.json
@@ -68,7 +68,6 @@
     "testPalletPresence": "mocha --timeout 9999999 -r ts-node/register ./**/pallet-presence.test.ts",
     "testBlockProduction": "mocha --timeout 9999999 -r ts-node/register ./**/block-production.test.ts",
     "testEnableDisableTransfers": "mocha --timeout 9999999 -r ts-node/register ./**/enableDisableTransfer.test.ts",
-    "testXcm": "mocha --timeout 9999999 -r ts-node/register ./**/xcmTransfer.test.ts",
     "polkadot-types-from-defs": "ts-node ./node_modules/.bin/polkadot-types-from-defs --input src/interfaces/ --package .",
     "polkadot-types-from-chain": "ts-node ./node_modules/.bin/polkadot-types-from-chain --endpoint ws://localhost:9944 --output src/interfaces/ --package .",
     "polkadot-types": "yarn polkadot-types-from-defs && yarn polkadot-types-from-chain"
modifiedtests/src/xcmTransfer.test.tsdiffbeforeafterboth
--- a/tests/src/xcmTransfer.test.ts
+++ b/tests/src/xcmTransfer.test.ts
@@ -51,7 +51,7 @@
       {
         name: 'OPL',
         symbol: 'OPL',
-        decimals: 15,
+        decimals: 18,
         minimalBalance: 1,
       };