Test Tx Gas Limit¶
Documentation for tests/osaka/eip7825_transaction_gas_limit_cap/[email protected]
.
Generate fixtures for these test cases for Osaka with:
fill -v tests/osaka/eip7825_transaction_gas_limit_cap/test_tx_gas_limit.py --fork Osaka
Transaction gas limit cap tests.
Tests for transaction gas limit cap in EIP-7825: Transaction Gas Limit Cap.
Test Functions Overview¶
Name | Type | Cases (Osaka) | Description |
---|---|---|---|
test_transaction_gas_limit_cap |
state_test | 10 | Test the transaction gas limit cap behavior for all transaction types. |
test_tx_gas_limit_cap_subcall_context |
state_test | 4 | Test the transaction gas limit cap behavior for subcall context. |
test_tx_gas_larger_than_block_gas_limit |
blockchain_test | 2 | Test multiple transactions with total gas larger than the block gas limit. |
test_maximum_gas_refund |
state_test | 2 | Test the maximum gas refund behavior according to EIP-3529. |
test_tx_gas_limit_cap_full_calldata |
state_test | 6 | Test the transaction gas limit cap behavior for full calldata. |
test_tx_gas_limit_cap_contract_creation |
state_test | 2 | Test the transaction gas limit cap behavior for contract creation. |
test_tx_gas_limit_cap_access_list_with_diff_keys |
state_test | 3 | Test the transaction gas limit cap behavior for access list with different |
test_tx_gas_limit_cap_access_list_with_diff_addr |
state_test | 3 | Test the transaction gas limit cap behavior for access list with different |
test_tx_gas_limit_cap_authorized_tx |
state_test | 3 | Test a transaction limit cap with authorized tx. |