test_eip_vector_exchange_end_of_code()¶
Documentation for tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py::test_eip_vector_exchange_end_of_code@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_exchange_end_of_code --fork Amsterdam
EIP test vector: 600260008080808080600160008080808080808080e8.
EXCHANGE at end of code, immediate = 0x00 (beyond code). decode_pair(0) = (9, 16), swaps positions 10 and 17. Results in 17 stack items, bottom=1, 10th from top=2, rest=0.
Source code in tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py
661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.