mirror of
https://github.com/status-im/eth2.0-specs.git
synced 2025-02-21 14:58:12 +00: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:
parent
b9ad8bca00
commit
ba6d19308b
@ -287,11 +287,13 @@ def next_epoch_with_attestations(spec,
|
|||||||
fill_prev_epoch):
|
fill_prev_epoch):
|
||||||
assert state.slot % spec.SLOTS_PER_EPOCH == 0
|
assert state.slot % spec.SLOTS_PER_EPOCH == 0
|
||||||
|
|
||||||
return next_slots_with_attestations(spec,
|
return next_slots_with_attestations(
|
||||||
|
spec,
|
||||||
state,
|
state,
|
||||||
spec.SLOTS_PER_EPOCH,
|
spec.SLOTS_PER_EPOCH,
|
||||||
fill_cur_epoch,
|
fill_cur_epoch,
|
||||||
fill_prev_epoch)
|
fill_prev_epoch,
|
||||||
|
)
|
||||||
|
|
||||||
|
|
||||||
def prepare_state_with_attestations(spec, state, participation_fn=None):
|
def prepare_state_with_attestations(spec, state, participation_fn=None):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user