From b82496fd11a0d2e8dd7a65700889e365beace13b Mon Sep 17 00:00:00 2001 From: Dankrad Feist Date: Fri, 1 May 2020 00:19:25 +0100 Subject: [PATCH] Rename file --- ...pdates.py => test_process_custody_final_updates.py} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename tests/core/pyspec/eth2spec/test/phase_1/epoch_processing/{test_process_final_custody_updates.py => test_process_custody_final_updates.py} (96%) diff --git a/tests/core/pyspec/eth2spec/test/phase_1/epoch_processing/test_process_final_custody_updates.py b/tests/core/pyspec/eth2spec/test/phase_1/epoch_processing/test_process_custody_final_updates.py similarity index 96% rename from tests/core/pyspec/eth2spec/test/phase_1/epoch_processing/test_process_final_custody_updates.py rename to tests/core/pyspec/eth2spec/test/phase_1/epoch_processing/test_process_custody_final_updates.py index 566d795cf..396414f2a 100644 --- a/tests/core/pyspec/eth2spec/test/phase_1/epoch_processing/test_process_final_custody_updates.py +++ b/tests/core/pyspec/eth2spec/test/phase_1/epoch_processing/test_process_custody_final_updates.py @@ -2,8 +2,6 @@ from eth2spec.test.helpers.custody import ( get_valid_chunk_challenge, get_valid_custody_chunk_response, get_valid_custody_key_reveal, - get_custody_test_vector, - get_custody_merkle_root, get_shard_transition ) from eth2spec.test.helpers.attestations import ( @@ -72,8 +70,8 @@ def test_validator_withdrawal_suspend_after_chunk_challenge(spec, state): shard = 0 offset_slots = spec.get_offset_slots(state, shard) shard_transition = get_shard_transition(spec, state.slot, [2**15 // 3] * len(offset_slots)) - data_index = 0 - attestation = get_valid_on_time_attestation(spec, state, index=shard, signed=True, shard_transition=shard_transition) + attestation = get_valid_on_time_attestation(spec, state, index=shard, signed=True, + shard_transition=shard_transition) transition_to(spec, state, state.slot + spec.MIN_ATTESTATION_INCLUSION_DELAY) @@ -122,8 +120,8 @@ def test_validator_withdrawal_resume_after_chunk_challenge_response(spec, state) shard = 0 offset_slots = spec.get_offset_slots(state, shard) shard_transition = get_shard_transition(spec, state.slot, [2**15 // 3] * len(offset_slots)) - data_index = 0 - attestation = get_valid_on_time_attestation(spec, state, index=shard, signed=True, shard_transition=shard_transition) + attestation = get_valid_on_time_attestation(spec, state, index=shard, signed=True, + shard_transition=shard_transition) transition_to(spec, state, state.slot + spec.MIN_ATTESTATION_INCLUSION_DELAY)