difftreelog
fix xcmpQueue Fail event
in: master
1 file changed
tests/src/util/playgrounds/unique.dev.tsdiffbeforeafterboth257257258 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, 1),260 outcome: eventData<XcmV2TraitsError>(data, 2),261 }));261 }));262 };262 };2632631306 // eslint-disable-next-line no-async-promise-executor1306 // eslint-disable-next-line no-async-promise-executor1307 const promise = new Promise<T | null>(async (resolve) => {1307 const promise = new Promise<T | null>(async (resolve) => {1308 const unsubscribe = await this.helper.getApi().rpc.chain.subscribeNewHeads(async header => {1308 const unsubscribe = await this.helper.getApi().rpc.chain.subscribeNewHeads(async header => {1309 const blockNumber = header.number.toHuman();1309 const blockNumber = header.number.toJSON();1310 const blockHash = header.hash;1310 const blockHash = header.hash;1311 const eventIdStr = `${eventHelper.section()}.${eventHelper.method()}`;1311 const eventIdStr = `${eventHelper.section()}.${eventHelper.method()}`;1312 const waitLimitStr = `wait blocks remaining: ${maxBlocksToWait}`;1312 const waitLimitStr = `wait blocks remaining: ${maxBlocksToWait}`;