From 6c0a0ab3f214872f8ac860e219bd0523fe416ae0 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Wed, 24 Mar 2021 12:36:25 -0600 Subject: [PATCH] patch test_filtered_block_tree test generator based on @ajsutton report --- .../pyspec/eth2spec/test/phase0/fork_choice/test_get_head.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_head.py b/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_head.py index 318db496a..c598a3a7f 100644 --- a/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_head.py +++ b/tests/core/pyspec/eth2spec/test/phase0/fork_choice/test_get_head.py @@ -211,7 +211,7 @@ def test_filtered_block_tree(spec, state): test_steps.append({ 'checks': { 'head': get_formatted_head_output(spec, store), - 'justified_checkpoint_root': encode_hex(store.justified_checkpoint.hash_tree_root()), + 'justified_checkpoint_root': encode_hex(store.justified_checkpoint.root), } })