-
Notifications
You must be signed in to change notification settings - Fork 234
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-7742 #1600
base: main
Are you sure you want to change the base?
feat: EIP-7742 #1600
Conversation
55ac6ae
to
b283c74
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cool, the integration in reth will be slightly more tricky because we now ran out of bits
/// Similar to [crate::eip4844::calc_excess_blob_gas], but derives the target blob gas from | ||
/// `parent_target_blob_count`. | ||
#[inline] | ||
pub const fn calc_excess_blob_gas( |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm a bit concerned that this will be easy to misuse if the functions have the same name, but since this takes an additional param this is okay imo
Motivation
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-7742.md
ethereum/execution-apis#574
ethereum/EIPs#8994
Block::next_block_blob_fee
is updated to accept optionalnext_block_target_blob_count
parameter. If provided, we are using EIP-7742 to calculate the blob feePayloadAttributes
withtarget_blobs_per_block
andmax_blobs_per_block
.Some PRs are not merged and field names are different per different specs for now, but besides that this should be complete
Solution
PR Checklist