From 683fe0062f4f4ec2cdded0cca3f6f68a22d79f66 Mon Sep 17 00:00:00 2001 From: protolambda Date: Tue, 7 May 2019 18:38:58 +0200 Subject: [PATCH] fix blocks --- test_libs/pyspec/tests/test_finality.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/test_libs/pyspec/tests/test_finality.py b/test_libs/pyspec/tests/test_finality.py index e97ce7e40..16bf24a4e 100644 --- a/test_libs/pyspec/tests/test_finality.py +++ b/test_libs/pyspec/tests/test_finality.py @@ -93,7 +93,7 @@ def test_finality_rule_4(state): assert state.finalized_epoch == prev_state.current_justified_epoch assert state.finalized_root == prev_state.current_justified_root - yield 'blocks', [blocks], [spec.BeaconBlock] + yield 'blocks', blocks, [spec.BeaconBlock] yield 'post', state @@ -120,7 +120,7 @@ def test_finality_rule_1(state): assert state.finalized_epoch == prev_state.previous_justified_epoch assert state.finalized_root == prev_state.previous_justified_root - yield 'blocks', [blocks], [spec.BeaconBlock] + yield 'blocks', blocks, [spec.BeaconBlock] yield 'post', state @@ -149,7 +149,7 @@ def test_finality_rule_2(state): blocks += new_blocks - yield 'blocks', [blocks], [spec.BeaconBlock] + yield 'blocks', blocks, [spec.BeaconBlock] yield 'post', state @@ -195,5 +195,5 @@ def test_finality_rule_3(state): assert state.finalized_epoch == prev_state.current_justified_epoch assert state.finalized_root == prev_state.current_justified_root - yield 'blocks', [blocks], [spec.BeaconBlock] + yield 'blocks', blocks, [spec.BeaconBlock] yield 'post', state