clean up test

this test does not need to collect the intermediate blocks it produces
This commit is contained in:
Alex Stokes 2021-07-01 17:29:09 -07:00
parent b3a879c990
commit faf1ba1f4f
No known key found for this signature in database
GPG Key ID: 99B3D88FD6C55A69
1 changed files with 1 additions and 3 deletions

View File

@ -276,7 +276,6 @@ def test_sync_committee_rewards_empty_participants(spec, state):
def test_invalid_signature_past_block(spec, state):
committee_indices = compute_committee_indices(spec, state, state.current_sync_committee)
blocks = []
for _ in range(2):
# NOTE: need to transition twice to move beyond the degenerate case at genesis
block = build_empty_block_for_next_slot(spec, state)
@ -291,8 +290,7 @@ def test_invalid_signature_past_block(spec, state):
)
)
signed_block = state_transition_and_sign_block(spec, state, block)
blocks.append(signed_block)
state_transition_and_sign_block(spec, state, block)
invalid_block = build_empty_block_for_next_slot(spec, state)
# Invalid signature from a slot other than the previous