test_bal_invalid_missing_withdrawal_account()¶
Documentation for tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py::test_bal_invalid_missing_withdrawal_account@2119b382.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py::test_bal_invalid_missing_withdrawal_account --fork Amsterdam
Test that clients reject blocks where BAL is missing an account that was modified only by a withdrawal.
Alice sends 5 wei to Bob (1 transaction). Charlie receives 10 gwei withdrawal. BAL is corrupted by removing Charlie's entry entirely. Clients must detect that Charlie's balance was modified by the withdrawal but has no corresponding BAL entry.
Source code in tests/amsterdam/eip7928_block_level_access_lists/test_block_access_lists_invalid.py
639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 | |
Parametrized Test Cases¶
This test generates 1 parametrized test case across 1 fork.