eth2.0-specs/specs/electra/fork-choice.md
2024-10-22 07:37:16 -05:00

1.0 KiB

Electra -- Fork Choice

Table of contents

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.

@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]
    maximum_blobs_per_block: uint64  # [New in Electra:EIP7742]