--- 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 --- a/launch-config.json +++ b/launch-config.json @@ -114,40 +114,21 @@ ] } ] - }, - { - "bin": "../cumulus/target/release/polkadot-collator", - "id": "3000", - "chain": "statemint-dev", - "balance": "1000000000000000000000000", - "nodes": [ - { - "wsPort": 9947, - "port": 31203, - "name": "alice", - "flags": [ - "--rpc-cors=all", - "--unsafe-rpc-external", - "--unsafe-ws-external", - "-lxcm=trace" - ] - } - ] - } + } ], "simpleParachains": [], "hrmpChannels": [ { "sender": 2000, "recipient": 1000, - "maxCapacity": 8, - "maxMessageSize": 512 + "maxCapacity": 1000, + "maxMessageSize": 102400 }, { "sender": 1000, "recipient": 2000, - "maxCapacity": 8, - "maxMessageSize": 512 + "maxCapacity": 1000, + "maxMessageSize": 102400 } ], "finalization": false --- 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 } --- 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" --- 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, };