You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is not a security-related bug/issue. If it is, please follow please follow the security policy.
I have searched on the issue tracker and the lotus forum, and there is no existing related issue or discussion.
I am running the Latest release, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.
I did not make any code changes to lotus.
Lotus component
lotus daemon - chain sync
lotus fvm/fevm - Lotus FVM and FEVM interactions
lotus miner/worker - sealing
lotus miner - proving(WindowPoSt/WinningPoSt)
lotus JSON-RPC API
lotus message management (mpool)
Other
Lotus Version
FEVM Issue
Repro Steps
Run '...'
Do '...'
See error '...'
...
Describe the Bug
I am deploying contracts on FEVM and for testing locally, I'm trying to fork the calibration network by adding the following config in hardhat.config.js under the network attribute:
Adding @parva-jain's comment from the hardhat thread:
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??
My guess is that there's a parsing mismatch between Lotus output of EthBlock
But without knowing which API call it's making it's hard to see what's wrong there. Is the whole thing undefined? Is it just transactions, is it gasPrice? I think transactions comes out differently depending on what you call and how you call it.
If someone can repro this and show the API calls and responses that would be super helpful, @parva-jain I don't suppose you feel like modifying hardhard to watch HTTP traffic, or perhaps it has a debug mode where you can see it so we can narrow down the call it's making?
I'm testing the contracts that interact with already deployed FEVM contracts (glif protocol). Unable to do that with hardhat although it supports fork testing for all EVM compatible networks.
Now I have integrated Foundry in my project as well and able to do the fork testing. But FEVM should also be compatible with hardhat as it is one of the most used framework. This issue wont be helpful in my case as I have moved ahead and found a work around but would be better to fix it to onboard more projects in FEVM ecosystem.
Checklist
Latest release
, the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Lotus component
Lotus Version
Repro Steps
...
Describe the Bug
I am deploying contracts on FEVM and for testing locally, I'm trying to fork the calibration network by adding the following config in hardhat.config.js under the network attribute:
But when I run the tests, I get the following error. (Pasted in the logging information section).
Also, this is the response from the hardhat team - NomicFoundation/hardhat#4892
Logging Information
The text was updated successfully, but these errors were encountered: