From 96c05adcf824ca403e5e5a22d3ed0e72886def23 Mon Sep 17 00:00:00 2001 From: ericsson Date: Mon, 23 Aug 2021 18:52:09 +0300 Subject: [PATCH] Fix typing problem: `is_merge_block` accepts `BeaconBlockBody` as a second argument, while `BeaconBlock` is provided --- specs/merge/fork-choice.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/specs/merge/fork-choice.md b/specs/merge/fork-choice.md index 900d8b331..15ef1c301 100644 --- a/specs/merge/fork-choice.md +++ b/specs/merge/fork-choice.md @@ -129,7 +129,7 @@ def on_block(store: Store, signed_block: SignedBeaconBlock, transition_store: Tr assert get_ancestor(store, block.parent_root, finalized_slot) == store.finalized_checkpoint.root # [New in Merge] - if (transition_store is not None) and is_merge_block(pre_state, block): + if (transition_store is not None) and is_merge_block(pre_state, block.body): # Delay consideration of block until PoW block is processed by the PoW node pow_block = get_pow_block(block.body.execution_payload.parent_hash) pow_parent = get_pow_block(pow_block.parent_hash)