test_mixed_opcodes_pc_advancement()¶
Documentation for tests/amsterdam/eip8024_dupn_swapn_exchange/test_pc_advancement.py::test_mixed_opcodes_pc_advancement@5c024cbb.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8024_dupn_swapn_exchange/test_pc_advancement.py::test_mixed_opcodes_pc_advancement --fork Amsterdam
Verify PC advances correctly with mixed DUPN, SWAPN, and EXCHANGE opcodes.
Tests that different EIP-8024 opcodes each correctly advance PC by 2 bytes.
Source code in tests/amsterdam/eip8024_dupn_swapn_exchange/test_pc_advancement.py
257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.