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

Total difficulty is removed from block responses #696

Open
3 tasks
agostbiro opened this issue Oct 15, 2024 · 0 comments
Open
3 tasks

Total difficulty is removed from block responses #696

agostbiro opened this issue Oct 15, 2024 · 0 comments

Comments

@agostbiro
Copy link
Member

agostbiro commented Oct 15, 2024

A recent change to the Ethereum execution API schema removed totalDifficulty from eth_getBlockByNumber and eth_getBlockByHash responses. Geth has implemented this change and it caused panics in EDR when it didn't receive the expecrted totalDifficulty field from Geth nodes. We should probably adapt this change, but we should figure out first if it'll break any projects depending on Hardhat/EDR. In the meantime we fall back to the terminal total difficulty in EDR if the remote doesn't return a total difficulty.

Definition of Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Inbox
Development

No branches or pull requests

1 participant