test_existing_account_no_refund()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_existing_account_no_refund@26332146.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_existing_account_no_refund --fork Amsterdam
An existing-authority delegation is charged the reduced top-frame cost directly, with no refund.
The authority is an existing funded EOA gaining a fresh delegation.
Its leaf exists, so set_delegation charges neither NEW_ACCOUNT
nor ACCOUNT_WRITE (and, unlike the superseded EIP-8037 behaviour,
refunds neither); it charges only the top-frame AUTH_BASE. The
receipt gas is therefore exactly the execution intrinsic plus
AUTH_BASE.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py
236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.