--- 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}`;