My contract is calling a method on a different contract to track how the response changes. I am unit testing with a forking mainnet network in hardhat, which allows me to interact with that other contract (forking to a block after it was deployed). Is there a way for me to fast forward to a future point from where my testing file starts so I can call the method again and get a different response?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.