test_charge_spills_to_gas_left()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_charge_spills_to_gas_left@c74f1a67.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py::test_charge_spills_to_gas_left --fork Amsterdam
Test state gas spills from reservoir to gas_left.
When the reservoir has some gas but not enough to cover the full state charge, the remainder is taken from gas_left. The SSTORE should still succeed.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_pricing.py
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 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.