From bb7ce4fa6efe73d6268ce3efa16e7b6dae746eb6 Mon Sep 17 00:00:00 2001 From: Potuz Date: Fri, 5 Jul 2024 09:12:04 -0300 Subject: [PATCH] minor fixes --- specs/_features/eip7732/beacon-chain.md | 2 +- specs/_features/eip7732/fork-choice.md | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/specs/_features/eip7732/beacon-chain.md b/specs/_features/eip7732/beacon-chain.md index 0b1d330f6..4ff040c7e 100644 --- a/specs/_features/eip7732/beacon-chain.md +++ b/specs/_features/eip7732/beacon-chain.md @@ -616,7 +616,7 @@ def process_execution_payload(state: BeaconState, assert envelope.beacon_block_root == hash_tree_root(state.latest_block_header) # Verify consistency with the committed header - committed_header = state.execution_payload_header + committed_header = state.latest_execution_payload_header assert envelope.builder_index == committed_header.builder_index assert committed_header.blob_kzg_commitments_root == hash_tree_root(envelope.blob_kzg_commitments) diff --git a/specs/_features/eip7732/fork-choice.md b/specs/_features/eip7732/fork-choice.md index 4bf68cfbc..32b67c871 100644 --- a/specs/_features/eip7732/fork-choice.md +++ b/specs/_features/eip7732/fork-choice.md @@ -140,6 +140,8 @@ def get_forkchoice_store(anchor_state: BeaconState, anchor_block: BeaconBlock) - block_states={anchor_root: copy(anchor_state)}, checkpoint_states={justified_checkpoint: copy(anchor_state)}, unrealized_justifications={anchor_root: justified_checkpoint}, + execution_payload_states={anchor_root: copy(anchor_state)}, # [New in EIP-7732] + ptc_vote={anchor_root: Vector[uint8, PTC_SIZE]()}, ) ```