(state)
| 192 | |
| 193 | # @timeit |
| 194 | def test_empty_block_transition(state): |
| 195 | test_state = deepcopy(state) |
| 196 | |
| 197 | block = construct_empty_block_for_next_slot(test_state) |
| 198 | state_transition(test_state, block) |
| 199 | |
| 200 | assert len(test_state.eth1_data_votes) == len(state.eth1_data_votes) + 1 |
| 201 | assert get_block_root(test_state, state.slot) == block.previous_block_root |
| 202 | |
| 203 | return state, [block], test_state |
| 204 | |
| 205 | |
| 206 | # @timeit |
nothing calls this directly
no test coverage detected