mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-01-24 01:20:56 +00:00
add assertions on flag updates
This commit is contained in:
parent
4c02dbadd0
commit
ed912f599e
@ -13,7 +13,10 @@ from eth2spec.test.helpers.epoch_processing import run_epoch_processing_with
|
||||
|
||||
|
||||
def run_process_participation_flag_updates(spec, state):
|
||||
old = state.current_epoch_participation
|
||||
yield from run_epoch_processing_with(spec, state, 'process_participation_flag_updates')
|
||||
assert state.current_epoch_participation == [0] * len(state.validators)
|
||||
assert state.previous_epoch_participation == old
|
||||
|
||||
|
||||
@with_altair_and_later
|
||||
|
Loading…
x
Reference in New Issue
Block a user