test_existing_account_refund_enables_sstore()¶
Documentation for tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py::test_existing_account_refund_enables_sstore@c74f1a67.
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_refund_enables_sstore --fork Amsterdam
Test auth refund to reservoir enables subsequent state ops.
When an authorization targets an existing account, the new-account state gas refund goes to state_gas_reservoir. This refunded gas should then be available for SSTORE state gas in the execution phase.
Source code in tests/amsterdam/eip8037_state_creation_gas_cost_increase/test_state_gas_set_code.py
302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.