test_bal_2935_absent_contract()¶
Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip2935.py::test_bal_2935_absent_contract@c74f1a67.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip2935.py::test_bal_2935_absent_contract --fork Amsterdam
Ensure an undeployed history contract is still recorded in the BAL.
Overriding the genesis contract with an empty account drops it from the pre-state. The block-start system call reads the now-absent account (recording it) and finds no code to run, so the address is in the BAL with an empty AccountChanges. Unreachable on mainnet, consensus-relevant on custom or test chains.
Source code in tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip2935.py
446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.