fix previous crosslink root test

This commit is contained in:
Danny Ryan 2019-05-19 16:11:39 -06:00
parent 62f8d19ffc
commit 4c5e054883
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A

View File

@ -140,7 +140,7 @@ def test_bad_previous_crosslink(state):
for _ in range(spec.MIN_ATTESTATION_INCLUSION_DELAY):
next_slot(state)
state.current_crosslinks[attestation.data.crosslink.shard].end_epoch += 10
attestation.data.crosslink.parent_root = b'\x27' * 32
pre_state, post_state = run_attestation_processing(state, attestation, False)