test_bal_4788_absent_contract()¶
Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_eip4788.py::test_bal_4788_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_eip4788.py::test_bal_4788_absent_contract --fork Amsterdam
Ensure an undeployed beacon root 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_eip4788.py
557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.