test_transaction_gas_limit_cap()¶
Documentation for tests/osaka/eip7825_transaction_gas_limit_cap/test_tx_gas_limit.py::test_transaction_gas_limit_cap@88e9fb8f.
Generate fixtures for these test cases for Osaka with:
fill -v tests/osaka/eip7825_transaction_gas_limit_cap/test_tx_gas_limit.py::test_transaction_gas_limit_cap --fork Osaka
Test the transaction gas limit cap behavior for all transaction types.
Source code in tests/osaka/eip7825_transaction_gas_limit_cap/test_tx_gas_limit.py
64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
| Test ID (Abbreviated) | tx_type | tx_gas_limit | error |
|---|---|---|---|
| ...fork_Prague-tx_gas_limit_cap_none0-state_test | 4 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none0-blockchain_test_from_state_test | 4 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none1-state_test | 3 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none1-blockchain_test_from_state_test | 3 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none2-state_test | 2 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none2-blockchain_test_from_state_test | 2 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none3-state_test | 1 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none3-blockchain_test_from_state_test | 1 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none4-state_test | 0 | 16777217 | None |
| ...fork_Prague-tx_gas_limit_cap_none4-blockchain_test_from_state_test | 0 | 16777217 | None |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum0-state_test | 4 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum0-blockchain_test_from_state_test | 4 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_over0-state_test | 4 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_over0-blockchain_test_from_state_test | 4 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum1-state_test | 3 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum1-blockchain_test_from_state_test | 3 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_over1-state_test | 3 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_over1-blockchain_test_from_state_test | 3 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum2-state_test | 2 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum2-blockchain_test_from_state_test | 2 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_over2-state_test | 2 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_over2-blockchain_test_from_state_test | 2 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum3-state_test | 1 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum3-blockchain_test_from_state_test | 1 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_over3-state_test | 1 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_over3-blockchain_test_from_state_test | 1 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum4-state_test | 0 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_exceeds_maximum4-blockchain_test_from_state_test | 0 | 16777217 | TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM |
| ...fork_Osaka-tx_gas_limit_cap_over4-state_test | 0 | 16777216 | None |
| ...fork_Osaka-tx_gas_limit_cap_over4-blockchain_test_from_state_test | 0 | 16777216 | None |