From 6648b3c49e0cd5535c5a34519d33798cc461712d Mon Sep 17 00:00:00 2001 From: protolambda Date: Fri, 21 Jun 2019 00:23:28 +0200 Subject: [PATCH] remove old deposits test, there is no deposit index in deposit data anymore --- .../block_processing/test_process_deposit.py | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/test_libs/pyspec/eth2spec/test/phase_0/block_processing/test_process_deposit.py b/test_libs/pyspec/eth2spec/test/phase_0/block_processing/test_process_deposit.py index 2f60c6be2..8b3d7b413 100644 --- a/test_libs/pyspec/eth2spec/test/phase_0/block_processing/test_process_deposit.py +++ b/test_libs/pyspec/eth2spec/test/phase_0/block_processing/test_process_deposit.py @@ -113,22 +113,6 @@ def test_invalid_withdrawal_credentials_top_up(spec, state): # inconsistent withdrawal credentials, in top-ups, are allowed! yield from run_deposit_processing(spec, state, deposit, validator_index, valid=True, effective=True) -# Deposit data temporarily has no index field. -# SSZ typing catches that, and raises an exception. Test may be introduced back later -# @with_all_phases -# @spec_state_test -# def test_wrong_index(spec, state): -# validator_index = len(state.validators) -# amount = spec.MAX_EFFECTIVE_BALANCE -# deposit = prepare_state_and_deposit(spec, state, validator_index, amount) -# -# # mess up eth1_deposit_index -# deposit.index = state.eth1_deposit_index + 1 -# -# sign_deposit_data(spec, state, deposit.data, privkeys[validator_index]) -# -# yield from run_deposit_processing(spec, state, deposit, validator_index, valid=False) - @with_all_phases @spec_state_test @@ -173,9 +157,6 @@ def test_wrong_deposit_for_deposit_count(spec, state): yield from run_deposit_processing(spec, state, deposit_2, index_2, valid=False) -# TODO: test invalid signature - - @with_all_phases @spec_state_test def test_bad_merkle_proof(spec, state):