difftreelog
fix(xcm) opal tests
in: master
1 file changed
tests/src/xcm/xcmOpal.test.tsdiffbeforeafterboth353536const RELAY_PORT = '9844';36const RELAY_PORT = '9844';37const UNIQUE_PORT = '9944';37const UNIQUE_PORT = '9944';38const STATEMINE_PORT = '9946';38const STATEMINE_PORT = '9948';39const STATEMINE_PALLET_INSTANCE = 50;39const STATEMINE_PALLET_INSTANCE = 50;40const ASSET_ID = 100;40const ASSET_ID = 100;41const ASSET_METADATA_DECIMALS = 18;41const ASSET_METADATA_DECIMALS = 18;146 minimalBalance: ASSET_METADATA_MINIMAL_BALANCE,146 minimalBalance: ASSET_METADATA_MINIMAL_BALANCE,147 };147 };148 //registerForeignAsset(owner, location, metadata)148 //registerForeignAsset(owner, location, metadata)149 const tx = api.tx.foreingAssets.registerForeignAsset(alice.addressRaw, location, metadata);149 const tx = api.tx.foreignAssets.registerForeignAsset(alice.addressRaw, location, metadata);150 const sudoTx = api.tx.sudo.sudo(tx as any);150 const sudoTx = api.tx.sudo.sudo(tx as any);151 const events = await submitTransactionAsync(alice, sudoTx);151 const events = await submitTransactionAsync(alice, sudoTx);152 const result = getGenericResult(events);152 const result = getGenericResult(events);