Skip to content
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

Better error in case of old txs #152

Open
RafaelloLollipop opened this issue Apr 7, 2023 · 0 comments
Open

Better error in case of old txs #152

RafaelloLollipop opened this issue Apr 7, 2023 · 0 comments

Comments

@RafaelloLollipop
Copy link
Contributor

Problematic tx:
0x0e0d16475d2ac6a4802437a35a21776e5c9b681a77fef1693b0badbb6afdb083

Original error from analyzer:

Network id 1 does not correspond to a network that Hardhat can trace

True error:

InternalError: Could not find a hardfork to run for block 4041179, after having looked for one in the HardhatNode's hardfork activation history, which was: [["byzantium",4370000],["constantinople",7280000],["petersburg",7280000],["istanbul",9069000],["muirGlacier",9200000],["berlin",12244000],["london",12965000]].

TODO:

  • better validation/error handling in term of old blocks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant