diff --git a/tests/integration/multinodes.nim b/tests/integration/multinodes.nim index 72afe5ae..d6dada1f 100644 --- a/tests/integration/multinodes.nim +++ b/tests/integration/multinodes.nim @@ -381,7 +381,9 @@ template multinodesuite*(name: string, body: untyped) = # Workaround for https://github.com/NomicFoundation/hardhat/issues/2053 # Do not use websockets, but use http and polling to stop subscriptions # from being removed after 5 minutes - ethProvider = JsonRpcProvider.new(jsonRpcProviderUrl) + ethProvider = JsonRpcProvider.new( + jsonRpcProviderUrl, pollingInterval = chronos.milliseconds(1000) + ) # if hardhat was NOT started by the test, take a snapshot so it can be # reverted in the test teardown if nodeConfigs.hardhat.isNone: