difftreelog
fix XCM types
in: master
1 file changed
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth9import {IKeyringPair} from '@polkadot/types/types';9import {IKeyringPair} from '@polkadot/types/types';10import {EventRecord} from '@polkadot/types/interfaces';10import {EventRecord} from '@polkadot/types/interfaces';11import {ICrossAccountId, ILogger, IPovInfo, ISchedulerOptions, ITransactionResult, TSigner} from './types';11import {ICrossAccountId, ILogger, IPovInfo, ISchedulerOptions, ITransactionResult, TSigner} from './types';12import {FrameSystemEventRecord, XcmV2TraitsError, XcmV3TraitsOutcome} from '@polkadot/types/lookup';12import {FrameSystemEventRecord, StagingXcmV2TraitsError, StagingXcmV3TraitsOutcome} from '@polkadot/types/lookup';13import {SignerOptions, VoidFn} from '@polkadot/api/types';13import {SignerOptions, VoidFn} from '@polkadot/api/types';14import {Pallets} from '..';14import {Pallets} from '..';15import {spawnSync} from 'child_process';15import {spawnSync} from 'child_process';257257258 static Fail = this.Method('Fail', data => ({258 static Fail = this.Method('Fail', data => ({259 messageHash: eventJsonData(data, 0),259 messageHash: eventJsonData(data, 0),260 outcome: eventData<XcmV2TraitsError>(data, 2),260 outcome: eventData<StagingXcmV2TraitsError>(data, 2),261 }));261 }));262 };262 };263263264 static DmpQueue = class extends EventSection('dmpQueue') {264 static DmpQueue = class extends EventSection('dmpQueue') {265 static ExecutedDownward = this.Method('ExecutedDownward', data => ({265 static ExecutedDownward = this.Method('ExecutedDownward', data => ({266 outcome: eventData<XcmV3TraitsOutcome>(data, 2),266 outcome: eventData<StagingXcmV3TraitsOutcome>(data, 2),267 }));267 }));268 };268 };269}269}