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

difftreelog

fix quartz rejects kar tokens

Daniel Shiposha2022-12-22parent: #a0287a9.patch.diff
in: master

1 file changed

modifiedtests/src/xcm/xcmQuartz.test.tsdiffbeforeafterboth
17import {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';
2222
23const 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;
647647
648 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