test_invalid_negative_excess_blob_gas()¶
Documentation for tests/cancun/eip4844_blobs/test_excess_blob_gas.py::test_invalid_negative_excess_blob_gas@343274cc.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/cancun/eip4844_blobs/test_excess_blob_gas.py::test_invalid_negative_excess_blob_gas --fork Amsterdam
Test rejection of blocks where the excessBlobGas changes to the two's
complement equivalent of the negative value after subtracting target blobs.
Reasoning is that the excessBlobGas is a uint64, so it cannot be
negative, and we test for a potential underflow here.
Source code in tests/cancun/eip4844_blobs/test_excess_blob_gas.py
699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 | |
Parametrized Test Cases¶
This test generates 2744 parametrized test cases across 4 forks.