test_tx_gas_above_cap_at_transition()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_fork_transition.py::test_tx_gas_above_cap_at_transition@5c024cbb.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_fork_transition.py::test_tx_gas_above_cap_at_transition --fork Amsterdam
Test tx.gas > TX_MAX_GAS_LIMIT validity at the EIP-8037 transition.
Before EIP-8037, EIP-7825 rejects any tx with gas > TX_MAX_GAS_LIMIT. After EIP-8037 it's allowed — the excess feeds the state gas reservoir. This test sends a tx at the cap (always valid) and one above the cap (rejected before, accepted after).
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_fork_transition.py
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 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.