Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: only check that base fee is not zero #8808

Merged
merged 2 commits into from
Jun 13, 2024

Conversation

Rjected
Copy link
Member

@Rjected Rjected commented Jun 13, 2024

On chains that have different 1559 params, this constant may not hold. Geth also only checks that the base fee is not negative, or too large.

This just ensures that the base fee is not zero.

@Rjected Rjected added A-rpc Related to the RPC implementation A-consensus Related to the consensus engine A-utils Related to commonly used utilities labels Jun 13, 2024
@Rjected Rjected requested a review from mattsse as a code owner June 13, 2024 19:56
Copy link
Collaborator

@mattsse mattsse left a comment

Choose a reason for hiding this comment

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

makes sense, this would get caught by consensus checks anyway

crates/rpc/rpc-types-compat/src/engine/payload.rs Outdated Show resolved Hide resolved
Co-authored-by: Matthias Seitz <[email protected]>
@Rjected Rjected enabled auto-merge June 13, 2024 20:08
@Rjected Rjected added this pull request to the merge queue Jun 13, 2024
Merged via the queue into main with commit d4bd1c8 Jun 13, 2024
29 checks passed
@Rjected Rjected deleted the dan/remove-min-protocol-base-fee-check branch June 13, 2024 20:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-consensus Related to the consensus engine A-rpc Related to the RPC implementation A-utils Related to commonly used utilities
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants