test_auth_intrinsic_oog_boundary()¶
Documentation for tests/amsterdam/eip8038_state_access_gas_cost_increase/test_set_code_auth_gas.py::test_auth_intrinsic_oog_boundary@343274cc.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8038_state_access_gas_cost_increase/test_set_code_auth_gas.py::test_auth_intrinsic_oog_boundary --fork Amsterdam
Reject a set-code transaction one gas below the full intrinsic.
gas_limit is set to full_intrinsic - 1 (full intrinsic =
execution + auth state gas). Catches an implementation that omits the
repriced execution per-authorization cost from the intrinsic check.
Source code in tests/amsterdam/eip8038_state_access_gas_cost_increase/test_set_code_auth_gas.py
176 177 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 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.