-
Notifications
You must be signed in to change notification settings - Fork 984
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
EIP-7742: uncouple blob counts across CL and EL
- Loading branch information
1 parent
43d96cf
commit 093f5f3
Showing
4 changed files
with
134 additions
and
6 deletions.
There are no files selected for viewing
This file contains 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 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 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,37 @@ | ||
# 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` | ||
|
||
`PayloadAttributes` is extended with the 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] | ||
``` |
This file contains 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