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: EIP-7691 #1762

Merged
merged 2 commits into from
Dec 7, 2024
Merged

feat: EIP-7691 #1762

merged 2 commits into from
Dec 7, 2024

Conversation

klkvr
Copy link
Member

@klkvr klkvr commented Dec 6, 2024

Motivation

Closes #1712
Implements https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7691.md

Solution

The current API might be a bit confusing given that the fn has same signature as eip4844::calc_blob_gasprice. Unsure how we can make this nicer, something similar to BaseFeeParams could probably work but it's unclear how callers would set it

Also I don't not how we should handle this in BlockHeader::next_block_blob_fee and BlobGasFiller. Given variable update fraction we no longer can estimate the blob fee for next block without knowing the hardfork activation times

PR Checklist

  • Added Tests
  • Added Documentation
  • Breaking changes

Copy link
Member

@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.

I think this is fine, ideally this is something we only have to get right once

@mattsse mattsse merged commit 82c7de1 into main Dec 7, 2024
26 checks passed
@mattsse mattsse deleted the klkvr/eip7691 branch December 7, 2024 05:25
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.

[Feature] EIP-7691
2 participants