test_eip_vector_swapn_invalid_immediate_reverts()¶
Documentation for tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py::test_eip_vector_swapn_invalid_immediate_reverts@c74f1a67.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py::test_eip_vector_swapn_invalid_immediate_reverts --fork Amsterdam
EIP test vector: e75b reverts.
SWAPN with immediate 0x5b (91) is in the invalid range (90 < x < 128). This should cause an exceptional halt.
Source code in tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py
170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.