From 6ad9ed9c9777d7368b2dc6622aec07968fc86e25 Mon Sep 17 00:00:00 2001 From: Daniel Shiposha Date: Fri, 20 Oct 2023 12:57:14 +0000 Subject: [PATCH] fix: xcmpQueue Fail event --- --- a/tests/src/util/playgrounds/unique.dev.ts +++ b/tests/src/util/playgrounds/unique.dev.ts @@ -257,7 +257,7 @@ static Fail = this.Method('Fail', data => ({ messageHash: eventJsonData(data, 0), - outcome: eventData(data, 1), + outcome: eventData(data, 2), })); }; @@ -1306,7 +1306,7 @@ // eslint-disable-next-line no-async-promise-executor const promise = new Promise(async (resolve) => { const unsubscribe = await this.helper.getApi().rpc.chain.subscribeNewHeads(async header => { - const blockNumber = header.number.toHuman(); + const blockNumber = header.number.toJSON(); const blockHash = header.hash; const eventIdStr = `${eventHelper.section()}.${eventHelper.method()}`; const waitLimitStr = `wait blocks remaining: ${maxBlocksToWait}`; -- gitstuff