From 28500d18ba54e8e59d1f693ba0c09f17d561e7d2 Mon Sep 17 00:00:00 2001 From: Igor Kozyrev Date: Mon, 30 Aug 2021 12:27:59 +0000 Subject: [PATCH] fix: relay 3sec/parachain 6sec --- --- a/tests/src/eth/util/helpers.ts +++ b/tests/src/eth/util/helpers.ts @@ -18,6 +18,7 @@ import privateKey from '../../substrate/privateKey'; import contractHelpersAbi from './contractHelpersAbi.json'; import getBalance from '../../substrate/get-balance'; +import waitNewBlocks from '../../substrate/wait-new-blocks'; export const GAS_ARGS = { gas: 0x1000000, gasPrice: '0x01' }; @@ -232,6 +233,7 @@ const before = await ethBalanceViaSub(api, user); await call(); + await waitNewBlocks(api, 1); const after = await ethBalanceViaSub(api, user); -- gitstuff