diff --git a/specs/merge/fork.md b/specs/merge/fork.md index 8e5b607ef..cf6d938dd 100644 --- a/specs/merge/fork.md +++ b/specs/merge/fork.md @@ -100,6 +100,7 @@ def get_transition_store(anchor_pow_block: PowBlock) -> TransitionStore: transition_total_difficulty = anchor_pow_block.total_difficulty + TRANSITION_TOTAL_DIFFICULTY_OFFSET return TransitionStore(transition_total_difficulty=transition_total_difficulty) + def initialize_transition_store(state: BeaconState) -> TransitionStore: pow_block = get_pow_block(state.eth1_data.block_hash) return get_transition_store(pow_block)