From e8e16729bf4d97ac6c8f85e828c0534d3fe4b732 Mon Sep 17 00:00:00 2001 From: Eric <5089238+emizzle@users.noreply.github.com> Date: Wed, 26 Mar 2025 12:29:51 +1100 Subject: [PATCH] try increasing polling interval to see if this has an effect on windows in ci --- tests/integration/multinodes.nim | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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: