test_sstore_state_gas_entirely_from_gas_left()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py::test_sstore_state_gas_entirely_from_gas_left@2119b382.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py::test_sstore_state_gas_entirely_from_gas_left --fork Amsterdam
Test SSTORE state gas charged entirely from gas_left (no reservoir).
When tx.gas <= TX_MAX_GAS_LIMIT, the reservoir is zero. All state gas must come from gas_left.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_reservoir.py
137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.