Skip to content

Commit

Permalink
Merge pull request #2126 from ethereum/master
Browse files Browse the repository at this point in the history
backport test fix to dev
  • Loading branch information
djrtwo authored Nov 6, 2020
2 parents ad48c82 + 450c8c2 commit 1005b5b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/core/pyspec/eth2spec/test/helpers/multi_operations.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,8 +148,9 @@ def run_test_full_random_operations(spec, state, rng=Random(2080)):
slashed_indices = slashed_indices.union(attester_slashing.attestation_2.attesting_indices)
block.body.voluntary_exits = get_random_voluntary_exits(spec, state, slashed_indices, rng)

yield 'pre', state

signed_block = state_transition_and_sign_block(spec, state, block)

yield 'pre', state
yield 'blocks', [signed_block]
yield 'post', state

0 comments on commit 1005b5b

Please sign in to comment.