test_block_gas_used_mixed_txs()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_block_2d_gas_accounting.py::test_block_gas_used_mixed_txs@a9abd46e.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_block_2d_gas_accounting.py::test_block_gas_used_mixed_txs --fork Amsterdam
Verify block.gas_used with mixed STOP and SSTORE transactions.
STOP txs contribute only regular gas; SSTORE txs contribute both. The interleaved variant alternates SSTORE/STOP to test that non-contiguous state gas contributions accumulate correctly.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_block_2d_gas_accounting.py
178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.