Skip to content

fix: remove total difficulty from block#695

Closed
agostbiro wants to merge 2 commits intomainfrom
fix/remove-total-difficulty
Closed

fix: remove total difficulty from block#695
agostbiro wants to merge 2 commits intomainfrom
fix/remove-total-difficulty

Conversation

@agostbiro
Copy link
Contributor

Removes totalDifficulty from eth_getBlockByNumber and eth_getBlockByHash responses following the change to the Ethereum execution API schema which Geth has implemented and it's causing problems for Hardhat in fork mode when EDR doesn't receive the totalDifficulty field from Geth nodes.

Relevant Hardhat issues:

@changeset-bot
Copy link

changeset-bot bot commented Oct 14, 2024

🦋 Changeset detected

Latest commit: 3bc7ea0

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@nomicfoundation/edr Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@agostbiro agostbiro self-assigned this Oct 14, 2024
@agostbiro agostbiro temporarily deployed to github-action-benchmark October 14, 2024 14:02 — with GitHub Actions Inactive
@agostbiro agostbiro requested a review from alcuadrado October 14, 2024 14:02
@agostbiro
Copy link
Contributor Author

Superseded by #697

@agostbiro agostbiro closed this Oct 15, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jan 14, 2025
@agostbiro agostbiro deleted the fix/remove-total-difficulty branch August 28, 2025 12:22
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

1 participant