Skip to content

Gloas -- Fast Confirmation

Introduction

This is the modification of the fast confirmation rule specification accompanying Gloas.

Fast Confirmation Rule

Helpers

Modified get_node_for_root

1
2
3
def get_node_for_root(block_root: Root) -> ForkChoiceNode:
    # [Modified in Gloas:EIP7732]
    return ForkChoiceNode(root=block_root, payload_status=PAYLOAD_STATUS_PENDING)

Safe execution block

Modified get_safe_execution_block_hash

Note: In Gloas, only the parent payload of a confirmed beacon block is safe.

1
2
3
4
def get_safe_execution_block_hash(fcr_store: FastConfirmationStore) -> Hash32:
    safe_block = fcr_store.store.blocks[fcr_store.confirmed_root]
    # [Modified in Gloas:EIP7732]
    return safe_block.body.signed_execution_payload_bid.message.parent_block_hash