Skip to content

Commit

Permalink
fix: XCM types
Browse files Browse the repository at this point in the history
  • Loading branch information
mrshiposha committed Oct 20, 2023
1 parent 7f04dc9 commit 2b9fe52
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions tests/src/util/playgrounds/unique.dev.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import * as defs from '../../interfaces/definitions';
import {IKeyringPair} from '@polkadot/types/types';
import {EventRecord} from '@polkadot/types/interfaces';
import {ICrossAccountId, ILogger, IPovInfo, ISchedulerOptions, ITransactionResult, TSigner} from './types';
import {FrameSystemEventRecord, XcmV2TraitsError, XcmV3TraitsOutcome} from '@polkadot/types/lookup';
import {FrameSystemEventRecord, StagingXcmV2TraitsError, StagingXcmV3TraitsOutcome} from '@polkadot/types/lookup';
import {SignerOptions, VoidFn} from '@polkadot/api/types';
import {Pallets} from '..';
import {spawnSync} from 'child_process';
Expand Down Expand Up @@ -257,13 +257,13 @@ export class Event {

static Fail = this.Method('Fail', data => ({
messageHash: eventJsonData(data, 0),
outcome: eventData<XcmV2TraitsError>(data, 2),
outcome: eventData<StagingXcmV2TraitsError>(data, 2),
}));
};

static DmpQueue = class extends EventSection('dmpQueue') {
static ExecutedDownward = this.Method('ExecutedDownward', data => ({
outcome: eventData<XcmV3TraitsOutcome>(data, 2),
outcome: eventData<StagingXcmV3TraitsOutcome>(data, 2),
}));
};
}
Expand Down

0 comments on commit 2b9fe52

Please sign in to comment.