test_eip_vector_jump_over_invalid_dupn()¶
Documentation for tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py::test_eip_vector_jump_over_invalid_dupn@9c2813ee.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py::test_eip_vector_jump_over_invalid_dupn --fork Amsterdam
EIP test vector: 600456e65b executes successfully.
PUSH1 04, JUMP, DUPN[0x5b] - The DUPN at position 2 has immediate 0x5b which would be invalid - But we JUMP to position 4 (the 0x5b byte), which is a valid JUMPDEST - The DUPN instruction is never executed
Source code in tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py
201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.