reth icon indicating copy to clipboard operation
reth copied to clipboard

Remove `validate_header_with_total_difficulty`

Open klkvr opened this issue 6 months ago • 3 comments
trafficstars

Describe the feature

With total difficulty being deprecated this method is now always ignoring it https://github.com/paradigmxyz/reth/blob/ae3ffb90e4c99dd16e8bf6c5a9749c2f0cf9ec68/crates/consensus/consensus/src/lib.rs#L125-L135

https://github.com/paradigmxyz/reth/blob/ae3ffb90e4c99dd16e8bf6c5a9749c2f0cf9ec68/crates/ethereum/consensus/src/lib.rs#L208-L212

This means we can now simply perform all of those checks into validate_header

Additional context

No response

klkvr avatar Apr 23 '25 12:04 klkvr