difftreelog
fix quartz rejects kar tokens
in: master
1 file changed
tests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth17import {IKeyringPair} from '@polkadot/types/types';17import {IKeyringPair} from '@polkadot/types/types';18import {blake2AsHex} from '@polkadot/util-crypto';18import {blake2AsHex} from '@polkadot/util-crypto';19import config from '../config';19import config from '../config';20import {XcmV2TraitsOutcome, XcmV2TraitsError} from '../interfaces';20import {XcmV2TraitsError} from '../interfaces';21import {itSub, expect, describeXCM, usingPlaygrounds, usingKaruraPlaygrounds, usingRelayPlaygrounds, usingMoonriverPlaygrounds, usingStateminePlaygrounds} from '../util';21import {itSub, expect, describeXCM, usingPlaygrounds, usingKaruraPlaygrounds, usingRelayPlaygrounds, usingMoonriverPlaygrounds, usingStateminePlaygrounds} from '../util';222223const QUARTZ_CHAIN = 2095;23const QUARTZ_CHAIN = 2095;645 const event = xcmpQueueFailEvent!.event;645 const event = xcmpQueueFailEvent!.event;646 const outcome = event.data[1] as XcmV2TraitsError;646 const outcome = event.data[1] as XcmV2TraitsError;647647648 expect(648 console.log('>>> Karura reject outcome: ', outcome.toHuman());649 outcome.isFailedToTransactAsset,649 // expect(650 '[Karura] The XCM error should be `FailedToTransactAsset`',650 // outcome.isUntrustedReserveLocation,651 ).to.be.true;651 // '[Karura] The XCM error should be `UntrustedReserveLocation`',652 // ).to.be.true;653 });652 });654});653});655654