From ec700e91497bd9d225b5be8f4bfcc1713dcdb310 Mon Sep 17 00:00:00 2001 From: Grigoriy Simonov Date: Tue, 17 Oct 2023 10:44:05 +0000 Subject: [PATCH] fix: code review --- tests/src/inflation.seqtest.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/src/inflation.seqtest.ts b/tests/src/inflation.seqtest.ts index b28f937e39..21db508770 100644 --- a/tests/src/inflation.seqtest.ts +++ b/tests/src/inflation.seqtest.ts @@ -71,7 +71,7 @@ describe('integration test: Inflation', () => { const treasuryBalanceBefore = await helper.balance.getSubstrate(TREASURY); - await helper.wait.forRelayBlockNumber(startBlock + blockInterval); + await helper.wait.forRelayBlockNumber(startBlock + blockInterval + 1); const treasuryBalanceAfter = await helper.balance.getSubstrate(TREASURY); expect(Number(treasuryBalanceAfter)).to.be.eqls(Number(treasuryBalanceBefore + blockInflation));