mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 20:04:57 -05:00
fix sync_committe_update tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user