Test Intrinsic Gas Boundary¶
Documentation for tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_intrinsic_gas_boundary.py@ffe48572.
Generate fixtures for these test cases for Bogota with:
Gas-limit boundary tests for EIP-2780.
Pin transactions one gas below the intrinsic charge layer to verify the
transaction is rejected by the pre-execution intrinsic gas check at
that boundary. Top-frame boundary OOGs are covered by the dedicated
top-frame charge tests in test_top_frame_charges.py.
Test Functions Overview¶
| Name | Type | Cases (Bogota) | Description |
|---|---|---|---|
test_intrinsic_gas_floor_boundary |
state_test | 10 | Reject when gas_limit = intrinsic_gas - 1. |
test_intrinsic_gas_floor_boundary_all_tx_types |
state_test | 5 | Reject every transaction type when gas_limit = intrinsic_gas - 1. |
test_intrinsic_gas_floor_boundary_contract_creation |
state_test | 2 | Reject a contract-creation transaction when |
test_intrinsic_gas_floor_boundary_with_authorizations |
state_test | 2 | Reject a type-4 transaction when gas_limit = intrinsic_gas - 1, |