test_state_charge_oog_full_burn_no_state_credit()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_ordering.py::test_state_charge_oog_full_burn_no_state_credit@622620d8.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_ordering.py::test_state_charge_oog_full_burn_no_state_credit --fork Amsterdam
Verify every state charge burns the whole tx gas_limit when it OOGs.
The CREATE path is covered by
test_create_oog_full_burn_no_state_credit; the same tx-end rule
has to hold for the other three charges. Each frame is handed one gas
less than its charge needs, so it runs out mid-charge and no
state-gas leftover may be credited back at settlement.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_ordering.py
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 | |
Parametrized Test Cases¶
This test generates 3 parametrized test cases across 1 fork.