fix blocks

This commit is contained in:
protolambda
2019-05-07 18:38:58 +02:00
parent 8e619f8ab9
commit 683fe0062f

View File

@@ -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