Test Eip Mainnet¶
Documentation for tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_eip_mainnet.py@78d8b0db.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_eip_mainnet.py --fork Amsterdam
Mainnet-marked tests for EIP-2780: Resource-based intrinsic transaction gas.
One case per row of the EIP's transaction reference table. This EIP only
reprices, so the pinned cumulative_gas_used is the sole observable
that catches a client still charging the legacy intrinsic.
Test Functions Overview¶
| Name | Type | Cases (Amsterdam) | Description |
|---|---|---|---|
test_authorization_gas |
state_test | 2 | Gas for one EIP-7702 authorization, per authority pre-state. |
test_contract_creation_gas |
state_test | 2 | Gas for a contract-creation transaction, per value. |
test_transaction_gas |
state_test | 10 | Gas for a non-create transaction, per recipient type and value. |