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

feat: introduce maybe helpers for blob calc #1962

Merged
merged 2 commits into from
Jan 29, 2025
Merged

Conversation

mattsse
Copy link
Member

@mattsse mattsse commented Jan 29, 2025

now that we have configurable blobparams that are hardfork specific, this means we need to deal with a case where blobs are not active: None

paradigmxyz/reth#14049

this adds helpers with default impl for this so that we don't need to use maybe_params.map(|params| header.next_blob_fee(params))

Copy link
Member

@klkvr klkvr left a comment

Choose a reason for hiding this comment

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

lgtm

@mattsse mattsse merged commit 83d7270 into main Jan 29, 2025
27 checks passed
@mattsse mattsse deleted the matt/add-maybe-next-blob-fee branch January 29, 2025 19:46
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