fix sync_committe_update tests
This commit is contained in:
parent
a8791f04c7
commit
133875a6d6
|
@ -39,8 +39,7 @@ def run_sync_committees_progress_test(spec, state):
|
|||
|
||||
# Can compute the third committee having computed final balances in the last epoch
|
||||
# of this `EPOCHS_PER_SYNC_COMMITTEE_PERIOD`
|
||||
current_epoch = spec.get_current_epoch(state)
|
||||
third_sync_committee = spec.get_sync_committee(state, current_epoch + 1)
|
||||
third_sync_committee = spec.get_next_sync_committee(state)
|
||||
|
||||
assert state.current_sync_committee == second_sync_committee
|
||||
assert state.next_sync_committee == third_sync_committee
|
||||
|
|
Loading…
Reference in New Issue