-
Notifications
You must be signed in to change notification settings - Fork 1.2k
EIP-7742: Uncouple blob limits per block across CL and EL #3800
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
Merged
Merged
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
093f5f3
EIP-7742: uncouple blob counts across CL and EL
ralexstokes 8c2a864
Merge branch 'dev' into cl-drives-blob-limit
ralexstokes 87b5f1a
updates to send maximum blob count
ralexstokes 2962c11
Merge branch 'dev' into cl-drives-blob-limit
jtraglia 6c635ee
Merge changes into existing engine API spec
jtraglia c57a90a
Rename *_blob_count to *_blobs_per_block
jtraglia 9d762fe
Update PayloadAttributes note
jtraglia 04225d5
Pass new args to is_valid_block_hash too
jtraglia 6209809
Fix table of contents
jtraglia 4da2cea
Fix mistake (missing type hint)
jtraglia e3eb09b
Rename maximum_blobs_per_block to max_blobs_per_block
jtraglia c6090cc
Merge branch 'dev' into cl-drives-blob-limit
ralexstokes 408fb52
Merge remote-tracking branch 'upstream/dev' into cl-drives-blob-limit
jtraglia 9e085e4
Move target_blobs_per_block to NewPayloadRequest
jtraglia File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,38 @@ | ||
| # Electra -- Fork Choice | ||
|
|
||
| ## Table of contents | ||
| <!-- TOC --> | ||
| <!-- START doctoc generated TOC please keep comment here to allow auto update --> | ||
| <!-- DON'T EDIT THIS SECTION, INSTEAD RE-RUN doctoc TO UPDATE --> | ||
|
|
||
| - [Introduction](#introduction) | ||
| - [Containers](#containers) | ||
| - [Helpers](#helpers) | ||
| - [Extended `PayloadAttributes`](#extended-payloadattributes) | ||
|
|
||
| <!-- END doctoc generated TOC please keep comment here to allow auto update --> | ||
| <!-- /TOC --> | ||
|
|
||
| ## Introduction | ||
|
|
||
| This is the modification of the fork choice accompanying the Electra upgrade. | ||
|
|
||
| ## Containers | ||
|
|
||
| ## Helpers | ||
|
|
||
| ### Extended `PayloadAttributes` | ||
|
|
||
| *Note*: `PayloadAttributes` is extended with the target/maximum number of blobs per block. | ||
|
|
||
| ```python | ||
| @dataclass | ||
| class PayloadAttributes(object): | ||
| timestamp: uint64 | ||
| prev_randao: Bytes32 | ||
| suggested_fee_recipient: ExecutionAddress | ||
| withdrawals: Sequence[Withdrawal] | ||
| parent_beacon_block_root: Root | ||
| target_blobs_per_block: uint64 # [New in Electra:EIP7742] | ||
| max_blobs_per_block: uint64 # [New in Electra:EIP7742] | ||
| ``` |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.