-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Trouble with forking Calibration network(filecoin testnet) in hardhat test environment. #4892
Comments
Hey, Hardhat forking likely won't work against a Filecoin network. Hardhat is designed to allow development against Ethereum networks, a large part of which is running Solidity in an EVM execution environment - but not all. You can leverage Hardhat in the Filecoin context for running Solidity code against a development EVM execution environment; but forking implies far more than just mirroring the EVM execution, it gets into replicating the internal details of the network node. I suspect that Filecoin network nodes and Ethereum network nodes are just too different to allow for leveraging of forking. |
The interesting thing is that till few weeks before, the tests were running in the filecoin fork as well(sometimes it was failing with same reason). But now from last 2 weeks, its falling everytime. Let me know if there's any hack around it or how should I test functionalities specific to filecoin?? |
@parva-jain that sounds like something changed about the Filecoin network (rather than Hardhat). We don't have experience with Filecoin, is there any experience or suggestions in the Filecoin community with forking tests? |
I'm closing this for lack of response, but feel free to reopen if you think we can provide any help. |
I am deploying contracts on filecoin and for testing locally, I'm trying to fork calibration network by adding the following config:
But when I run the tests, I get the following error:
Any help is really appreciated!
The text was updated successfully, but these errors were encountered: