From ba6d19308b9f305e700bd8fe29f217a91370d3a2 Mon Sep 17 00:00:00 2001 From: Danny Ryan Date: Fri, 21 May 2021 13:44:35 -0600 Subject: [PATCH] Update tests/core/pyspec/eth2spec/test/helpers/attestations.py Co-authored-by: Hsiao-Wei Wang --- .../pyspec/eth2spec/test/helpers/attestations.py | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/tests/core/pyspec/eth2spec/test/helpers/attestations.py b/tests/core/pyspec/eth2spec/test/helpers/attestations.py index fe42a3949..b55aff9e5 100644 --- a/tests/core/pyspec/eth2spec/test/helpers/attestations.py +++ b/tests/core/pyspec/eth2spec/test/helpers/attestations.py @@ -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):