Skip to content

Total difficulty is removed from block responses #696

Open
@agostbiro

Description

@agostbiro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    • Status

      Inbox

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions