Skip to content

Bellatrix -- Fast Confirmation

Introduction

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

Safe execution block

With Bellatrix introducing execution payload, get_safe_execution_block_hash function is introduced. This function returns the block hash of the payload included into the most recent confirmed block. This block hash is communicated to ExecutionEngine as a hash of a safe block.

New get_safe_execution_block_hash

1
2
3
def get_safe_execution_block_hash(fcr_store: FastConfirmationStore) -> Hash32:
    safe_block = fcr_store.store.blocks[fcr_store.confirmed_root]
    return safe_block.body.execution_payload.block_hash