increase MAX_TRANSFERS for transfer test

This commit is contained in:
Danny Ryan 2019-04-22 10:02:31 -06:00
parent 706191403c
commit e13cec1466
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 4 additions and 1 deletions

View File

@ -380,7 +380,10 @@ def test_voluntary_exit(state):
return pre_state, [initiate_exit_block, exit_block], post_state
def test_transfer(state):
def test_transfer(state, config):
# overwrite default 0 to test
spec.MAX_TRANSFERS = 1
pre_state = deepcopy(state)
current_epoch = get_current_epoch(pre_state)
sender_index = get_active_validator_indices(pre_state, current_epoch)[-1]