# Electra -- Fork Choice ## Table of contents - [Introduction](#introduction) - [Containers](#containers) - [Helpers](#helpers) - [Extended `PayloadAttributes`](#extended-payloadattributes) ## 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] ```