difftreelog
doc(polkadex CI): added comment
in: master
1 file changed
tests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth834 await usingPolkadexPlaygrounds(polkadexUrl, async (helper) => {834 await usingPolkadexPlaygrounds(polkadexUrl, async (helper) => {835 const isWhitelisted = ((await helper.callRpc('api.query.xcmHelper.whitelistedTokens', [])).toJSON() as [])835 const isWhitelisted = ((await helper.callRpc('api.query.xcmHelper.whitelistedTokens', [])).toJSON() as [])836 .map(nToBigInt).length != 0;836 .map(nToBigInt).length != 0;837837 /*838 Check whether the Unique token has been added839 to the whitelist, since an error will occur840 if it is added again.841 */838 if(!isWhitelisted) {842 if(!isWhitelisted) {839 await helper.getSudo().xcmHelper.whitelistToken(alice, uniqueAssetId);843 await helper.getSudo().xcmHelper.whitelistToken(alice, uniqueAssetId);840 }844 }