test_intrinsic_within_cap_gas_limit_above_cap()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_intrinsic_within_cap_gas_limit_above_cap@622620d8.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_intrinsic_within_cap_gas_limit_above_cap --fork Amsterdam
Accept a transaction whose gas_limit exceeds the cap when both
intrinsic operands stay below it.
EIP-8037 relaxes the EIP-7825 cap on tx.gas itself; only
max(intrinsic_execution, calldata_floor) is capped. This positive
control sets gas_limit above the cap with a small access list so
both operands are far below it, and the transaction must execute. It is
the accepting counterpart to the cap-rejection tests above.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py
558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.