test_invalid_chain_id_auth_still_charges_intrinsic()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_invalid_chain_id_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_chain_id_auth_still_charges_intrinsic --fork Amsterdam
Test an invalid-chain-id authorization still pays the intrinsic base.
An authorization with a mismatched chain ID is skipped during
set_delegation and incurs no top-frame charge, but its
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
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 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.