tiny fix to test ouptut

This commit is contained in:
Danny Ryan 2019-04-24 13:20:55 -06:00
parent 2b999a6c7e
commit bd50960740
No known key found for this signature in database
GPG Key ID: 2765A792E42CE07A
1 changed files with 1 additions and 0 deletions

View File

@ -429,6 +429,7 @@ def test_eth1_data_votes(state):
block = build_empty_block_for_next_slot(post_state) block = build_empty_block_for_next_slot(post_state)
state_transition(post_state, block) state_transition(post_state, block)
blocks.append(block)
assert post_state.slot % spec.SLOTS_PER_ETH1_VOTING_PERIOD == 0 assert post_state.slot % spec.SLOTS_PER_ETH1_VOTING_PERIOD == 0
assert len(post_state.eth1_data_votes) == 1 assert len(post_state.eth1_data_votes) == 1