Update tests/core/pyspec/eth2spec/test/altair/block_processing/test_process_sync_aggregate.py

Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
This commit is contained in:
Alex Stokes 2021-07-02 08:38:03 -07:00 committed by GitHub
parent f9b4d7f287
commit 2d4ff72b2d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 2 deletions

View File

@ -417,9 +417,10 @@ def test_proposer_in_committee_without_participation(spec, state):
if proposer_is_in_sync_committee:
assert state.validators[block.proposer_index].pubkey in state.current_sync_committee.pubkeys
yield from run_sync_committee_processing(spec, state, block)
return
break
else:
state_transition_and_sign_block(spec, state, block)
else:
raise AssertionError("failed to find a proposer in the sync committee set; check test setup")