Skip to content

Conversation

@karalabe
Copy link
Member

@karalabe karalabe commented Jul 6, 2021

EIP 1559 added a new unbounded type to the headers (base fee). This PR adds a meaningful can on top of it to prevent anyone from finding an ingenious way to do an amplification attack with junk basefees (with valid PoW).

@karalabe karalabe added this to the 1.10.5 milestone Jul 6, 2021
@karalabe karalabe requested a review from holiman July 6, 2021 09:40
@karalabe karalabe requested a review from rjl493456442 as a code owner July 6, 2021 09:40
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.

LGTM

@holiman holiman merged commit e13d14e into ethereum:master Jul 6, 2021
@tayvano
Copy link

tayvano commented Jul 7, 2021

Are there any sanity checks around the max value of the tip akin to the old 500 gwei gasprice fat finger cap?

@karalabe
Copy link
Member Author

karalabe commented Jul 7, 2021

@tayvano Yes, the new tip estimator uses the exact same code as the old gas price estimator (just slightly modified to return a number without the base fee): https://github.com/ethereum/go-ethereum/blob/master/eth/gasprice/gasprice.go#L184

sidhujag pushed a commit to sidhujag/go-ethereum that referenced this pull request Jul 10, 2021
atif-konasl pushed a commit to frozeman/pandora-execution-engine that referenced this pull request Oct 15, 2021
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.

4 participants