Comments (2)
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
https://github.com/filecoin-project/lotus/blob/master/chain/types/ethtypes/eth_types.go#L157-L180
And what hardhat is parsing:
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?
from lotus.
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.
from lotus.
Related Issues (20)
- Implement FIP 0065 HOT 1
- `lotus-miner sectors extend` unable to renew DC sectors HOT 2
- [WIP] Lotus Release v1.27.0
- [WIP] Lotus nv23 integration and testing HOT 4
- Curio web and worker listening ports are confused
- [lotus-miner]The Available value in "lotus-miner info" seems not right HOT 3
- [lotus-daemon] failed to decode state root HOT 6
- Flags field is dropped in SectorOnChainInfo conversions HOT 1
- Deprecated Linters Causing failed checks HOT 2
- Refactor Actor Upgrade Functions to Reduce Code Duplication
- Add EthAddressToFilecoinAddress and Reverse Method to Lotus Gateway
- got wrong beaconEpoch when mining block HOT 10
- Integrate Built-in Actor Logs into Lotus Logging System HOT 3
- Correct `SupportedProofTypes` in `Filecoin.StateGetNetworkParams` HOT 1
- New method to access ProviderSectors HAMT from market actor HOT 3
- [DX Streamline]: Flaky Tests in GitHub Actions HOT 2
- [DX Streamline] Remove Lotus Client deal making CLI and API HOT 1
- [DX Streamline] Remove Markets and deal making from Lotus Miner and Full Node HOT 1
- Foundry Scripts verification step fails because of null round
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lotus.