try increasing polling interval to see if this has an effect on windows in ci

This commit is contained in:
Eric 2025-03-26 12:29:51 +11:00
parent e12426fff7
commit e8e16729bf
No known key found for this signature in database

View File

@ -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: