test_invalid_nonce_auth_still_charges_intrinsic_state_gas()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_invalid_nonce_auth_still_charges_intrinsic_state_gas@c74f1a67.
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_state_gas --fork Amsterdam
Test invalid-nonce authorization still charges intrinsic state gas.
An authorization with a wrong nonce is skipped during processing, but its intrinsic state gas (135 * cpsb) is still charged upfront as part of the transaction's intrinsic gas.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py
491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.