Skip to content

Conversation

@karalabe
Copy link
Member

@karalabe karalabe commented May 30, 2023

This PR implements validating the excessDataGa and dataGasUsed fields of Cancun headers according to the updated spec per ethereum/EIPs#7062.

Copy link
Member

@MariusVanDerWijden MariusVanDerWijden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

SGTM
One check that is implicit is that usedGas < excessDataGas + params.MaxDataGasPerBlock. I've convinced myself that this check is not explicitly needed, but maybe I'm missing something

@karalabe
Copy link
Member Author

usedGas < params.MaxDataGasPerBlock already, so the added check would be a bit funky?

@karalabe karalabe merged commit 1f9b69b into ethereum:master May 31, 2023
devopsbo3 pushed a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
devopsbo3 added a commit to HorizenOfficial/go-ethereum that referenced this pull request Nov 10, 2023
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

Successfully merging this pull request may close these issues.

2 participants