Skip to content

Commit

Permalink
Fix test_blocks#test_parent_from_same_slot
Browse files Browse the repository at this point in the history
  • Loading branch information
mkalinin committed Sep 17, 2021
1 parent df657f7 commit 0d0eb68
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/core/pyspec/eth2spec/test/phase0/sanity/test_blocks.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,8 +196,7 @@ def test_parent_from_same_slot(spec, state):
child_block.parent_root = state.latest_block_header.hash_tree_root()

if is_post_merge(spec):
randao_mix = spec.compute_randao_mix(state, child_block.body.randao_reveal)
child_block.body.execution_payload = build_empty_execution_payload(spec, state, randao_mix)
child_block.body.execution_payload = build_empty_execution_payload(spec, state)

# Show that normal path through transition fails
failed_state = state.copy()
Expand Down

0 comments on commit 0d0eb68

Please sign in to comment.