test_vector_exchange_valid_0x51()¶
Documentation for tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py::test_vector_exchange_valid_0x51@5c024cbb.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py::test_vector_exchange_valid_0x51 --fork Amsterdam
Test vector: e851 [EXCHANGE 14 15].
EXCHANGE with immediate 0x51 (81 decimal) is valid. decode_pair(0x51) = (14, 15), swaps positions 15 and 16.
Source code in tests/amsterdam/eip8024_dupn_swapn_exchange/test_eip_vectors.py
613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.