From 7b620b69dd5fe149059a43164b234267c0c011f4 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Thu, 22 Dec 2022 11:22:20 +0000 Subject: [PATCH] fix: quartz rejects kar tokens --- --- a/tests/src/xcm/xcmQuartz.test.ts +++ b/tests/src/xcm/xcmQuartz.test.ts @@ -17,7 +17,7 @@ import {IKeyringPair} from '@polkadot/types/types'; import {blake2AsHex} from '@polkadot/util-crypto'; import config from '../config'; -import {XcmV2TraitsOutcome, XcmV2TraitsError} from '../interfaces'; +import {XcmV2TraitsError} from '../interfaces'; import {itSub, expect, describeXCM, usingPlaygrounds, usingKaruraPlaygrounds, usingRelayPlaygrounds, usingMoonriverPlaygrounds, usingStateminePlaygrounds} from '../util'; const QUARTZ_CHAIN = 2095; @@ -645,11 +645,10 @@ const event = xcmpQueueFailEvent!.event; const outcome = event.data[1] as XcmV2TraitsError; - console.log('>>> Karura reject outcome: ', outcome.toHuman()); - // expect( - // outcome.isUntrustedReserveLocation, - // '[Karura] The XCM error should be `UntrustedReserveLocation`', - // ).to.be.true; + expect( + outcome.isFailedToTransactAsset, + '[Karura] The XCM error should be `FailedToTransactAsset`', + ).to.be.true; }); }); -- gitstuff