difftreelog
feat add dmpQueue event section
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} from '@polkadot/types/lookup';12import {FrameSystemEventRecord, XcmV2TraitsError, XcmV3TraitsOutcome} 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';261 }));261 }));262 };262 };263264 static DmpQueue = class extends EventSection('dmpQueue') {265 static ExecutedDownward = this.Method('ExecutedDownward', data => ({266 outcome: eventData<XcmV3TraitsOutcome>(data, 1),267 }));268 };263}269}264270265// eslint-disable-next-line @typescript-eslint/naming-convention271// eslint-disable-next-line @typescript-eslint/naming-convention560 this.wait = new WaitGroup(this);566 this.wait = new WaitGroup(this);561 }567 }568569 getSudo() {570 // eslint-disable-next-line @typescript-eslint/naming-convention571 const SudoHelperType = SudoHelper(this.helperBase);572 return this.clone(SudoHelperType) as DevRelayHelper;573 }562}574}563575564export class DevWestmintHelper extends WestmintHelper {576export class DevWestmintHelper extends WestmintHelper {969 };981 };970 }982 }983984 makeTransactProgram(info: {weightMultiplier: number, call: string}) {985 return {986 V3: [987 {988 UnpaidExecution: {989 weightLimit: 'Unlimited',990 checkOrigin: null,991 },992 },993 {994 Transact: {995 originKind: 'Superuser',996 requireWeightAtMost: {997 refTime: info.weightMultiplier * 200000000,998 proofSize: info.weightMultiplier * 3000,999 },1000 call: {1001 encoded: info.call,1002 },1003 },1004 },1005 ],1006 };1007 }971}1008}9721009973class MoonbeamAccountGroup {1010class MoonbeamAccountGroup {