eth2.0-specs/specs/electra/fork-choice.md

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

Note: PayloadAttributes is extended with the target/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]
    max_blobs_per_block: uint64  # [New in Electra:EIP7742]