test_intrinsic_gas_floor_boundary_all_tx_types()¶
Documentation for tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_intrinsic_gas_boundary.py::test_intrinsic_gas_floor_boundary_all_tx_types@8acae1b0.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_intrinsic_gas_boundary.py::test_intrinsic_gas_floor_boundary_all_tx_types --fork Amsterdam
Reject every transaction type when gas_limit = intrinsic_gas - 1.
Each type layers its own intrinsic components on the shared
value-transfer shape -- EXECUTION_PER_AUTH_BASE_COST for type 4 --
and the pre-execution check must reject one gas below the per-type
total. Blob gas is priced in its own dimension, so a type-3
transaction's execution-gas boundary is identical to type 2.
Source code in tests/amsterdam/eip2780_reduce_intrinsic_tx_gas/test_intrinsic_gas_boundary.py
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 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 | |
Parametrized Test Cases¶
This test generates 5 parametrized test cases across 1 fork.