test_jumpi_not_taken_invalid_destination()¶
Documentation for tests/frontier/opcodes/test_dynamic_jump.py::test_jumpi_not_taken_invalid_destination@ffe48572.
Generate fixtures for these test cases for Bogota with:
Verify that a false-condition JUMPI whose destination is invalid does not fail and falls through.
The condition comes from calldata, so implementations that eagerly validate a static JUMPI destination must still skip the validation when the branch is not taken. The code holds no JUMPDEST at all, so both an in-code destination inside PUSH immediate data and one past the maximum code size are invalid.
Source code in tests/frontier/opcodes/test_dynamic_jump.py
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 17 forks.