test_invalid_nonce_auth_still_charges_intrinsic()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_invalid_nonce_auth_still_charges_intrinsic@26332146.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_invalid_nonce_auth_still_charges_intrinsic --fork Amsterdam
Test an invalid-nonce authorization still pays the intrinsic base.
An authorization with a wrong nonce is skipped during
set_delegation, so it writes no delegation indicator and incurs
no top-frame charge. Its state-independent
EXECUTION_PER_AUTH_BASE_COST is still charged in the intrinsic, and
the authority is left untouched.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py
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 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.