mirror of
https://github.com/ethereum/consensus-specs.git
synced 2026-02-01 19:45:03 -05:00
Update tests/core/pyspec/eth2spec/test/helpers/attestations.py
Co-authored-by: Hsiao-Wei Wang <hsiaowei.eth@gmail.com>
This commit is contained in:
@@ -287,11 +287,13 @@ def next_epoch_with_attestations(spec,
|
||||
fill_prev_epoch):
|
||||
assert state.slot % spec.SLOTS_PER_EPOCH == 0
|
||||
|
||||
return next_slots_with_attestations(spec,
|
||||
state,
|
||||
spec.SLOTS_PER_EPOCH,
|
||||
fill_cur_epoch,
|
||||
fill_prev_epoch)
|
||||
return next_slots_with_attestations(
|
||||
spec,
|
||||
state,
|
||||
spec.SLOTS_PER_EPOCH,
|
||||
fill_cur_epoch,
|
||||
fill_prev_epoch,
|
||||
)
|
||||
|
||||
|
||||
def prepare_state_with_attestations(spec, state, participation_fn=None):
|
||||
|
||||
Reference in New Issue
Block a user