test_selfdestruct_account_write_at_transition()¶
Documentation for tests/amsterdam/eip8038_state_access_gas_cost_increase/test_fork_transition.py::test_selfdestruct_account_write_at_transition@26332146.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip8038_state_access_gas_cost_increase/test_fork_transition.py::test_selfdestruct_account_write_at_transition --fork Amsterdam
SELFDESTRUCT gains an ACCOUNT_WRITE charge when it sends a
positive balance to an empty account, which is a new EIP-8038
parameter. The constant transition is
asserted from the derived schedules and a value-bearing
SELFDESTRUCT to a fresh beneficiary is exercised in both blocks
to prove it still runs.
Source code in tests/amsterdam/eip8038_state_access_gas_cost_increase/test_fork_transition.py
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 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.