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:
parent
f9b4d7f287
commit
2d4ff72b2d
|
@ -417,9 +417,10 @@ def test_proposer_in_committee_without_participation(spec, state):
|
||||||
if proposer_is_in_sync_committee:
|
if proposer_is_in_sync_committee:
|
||||||
assert state.validators[block.proposer_index].pubkey in state.current_sync_committee.pubkeys
|
assert state.validators[block.proposer_index].pubkey in state.current_sync_committee.pubkeys
|
||||||
yield from run_sync_committee_processing(spec, state, block)
|
yield from run_sync_committee_processing(spec, state, block)
|
||||||
return
|
break
|
||||||
else:
|
else:
|
||||||
state_transition_and_sign_block(spec, state, block)
|
state_transition_and_sign_block(spec, state, block)
|
||||||
|
else:
|
||||||
raise AssertionError("failed to find a proposer in the sync committee set; check test setup")
|
raise AssertionError("failed to find a proposer in the sync committee set; check test setup")
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue