test_authorization_no_fallback()¶
Documentation for tests/amsterdam/eip8038_state_access_gas_cost_increase/test_exact_balance_no_fallback.py::test_authorization_no_fallback@26332146.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8038_state_access_gas_cost_increase/test_exact_balance_no_fallback.py::test_authorization_no_fallback --fork Amsterdam
Reject a 7702 set-code transaction whose gas_limit is one
gas below the Amsterdam intrinsic.
EIP-8038 raises the per-authorization intrinsic
(AUTH_PER_EMPTY_ACCOUNT). A client reusing the old per-auth
constant would compute an intrinsic smaller by
num_auths * auth_delta; the exact-balance sender leaves no slack
for that fallback.
Source code in tests/amsterdam/eip8038_state_access_gas_cost_increase/test_exact_balance_no_fallback.py
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 173 174 175 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 | |
Parametrized Test Cases¶
This test generates 2 parametrized test cases across 1 fork.