test_blob_gas_subtraction_tx()¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_blob_gas_subtraction_tx@c17999c0.
Generate fixtures for these test cases for Amsterdam with:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_blob_gas_subtraction_tx --fork Amsterdam
Check that the blob gas fee for a transaction is subtracted from the sender balance before the transaction is executed.
- Transactions with max fee equal or higher than current block base fee
- Transactions with and without value
- Transactions with and without calldata
- Transactions with max fee per blob gas lower or higher than the priority fee
- Transactions where an externally owned account sends funds to the sender mid execution
Source code in tests/cancun/eip4844_blobs/test_blob_txs.py
892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 | |
Parametrized Test Cases¶
This test generates 128 parametrized test cases across 4 forks.