git.delta.rocks / unique-network / refs/commits / 7dbcac3e71d5

difftreelog

doc(polkadex CI): added comment

PraetorP2023-09-11parent: #9d3aabb.patch.diff
in: master

1 file changed

modifiedtests/src/xcm/xcmUnique.test.tsdiffbeforeafterboth
834 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 added
839 to the whitelist, since an error will occur
840 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 }