From cc11328f74d77bf3a914f71c6cbc606620bf0c24 Mon Sep 17 00:00:00 2001 From: protolambda Date: Wed, 5 May 2021 16:24:44 +0200 Subject: [PATCH] fix merge forkchoice tests with mock get_pow_block --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/setup.py b/setup.py index 37fbd7795..9e5a546fa 100644 --- a/setup.py +++ b/setup.py @@ -441,7 +441,7 @@ ExecutionState = Any def get_pow_block(hash: Bytes32) -> PowBlock: - pass + return PowBlock(block_hash=hash, is_valid=True, is_processed=True, total_difficulty=TRANSITION_TOTAL_DIFFICULTY) def get_execution_state(execution_state_root: Bytes32) -> ExecutionState: