test_pointer_to_precompile()¶
Documentation for tests/prague/eip7702_set_code_tx/test_set_code_txs_2.py::test_pointer_to_precompile@ffe48572.
Generate fixtures for these test cases for Bogota with:
Tx -> call -> pointer A -> precompile contract.
In case a delegation designator points to a precompile address, retrieved code is considered empty and CALL, CALLCODE, STATICCALL, DELEGATECALL instructions targeting this account will execute empty code, i.e. succeed with no execution given enough gas.
So call to a pointer that points to a precompile is like call to an empty account
Source code in tests/prague/eip7702_set_code_tx/test_set_code_txs_2.py
583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 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 659 660 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 | |
Parametrized Test Cases¶
This test generates 72 parametrized test cases across 4 forks.