Skip to content

Test Tx Gas Limit

Documentation for tests/osaka/eip7825_transaction_gas_limit_cap/test_tx_gas_limit.py@98848dfe.

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

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_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 storage keys.
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 addresses.
test_tx_gas_limit_cap_authorized_tx state_test 3 Test a transaction limit cap with authorized tx.