I am writing tests for a time dependent contract with test-helpers
from OpenZeppelin. I am testing against the hardhat mainnet fork. When I use any of the time
functions like advanceBlock()
or increaseTo()
I am getting the Error: Invalid JSON RPC response: ""
. To be precise I am using the await time.latest()
line. Any suggestion what could be wrong with this?
Thank you.