test_invalid_tx_blob_count()
¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_blob_count@3719e927
.
Generate fixtures for these test cases for Prague with:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_blob_count --fork Prague
Reject blocks that include blob transactions with invalid blob counts.
blob count == 0
in type 3 transactionblob count > MAX_BLOBS_PER_BLOCK
in type 3 transaction
Source code in tests/cancun/eip4844_blobs/test_blob_txs.py
884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 |
|
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Test ID (Abbreviated) | blobs_per_tx | tx_error |
---|---|---|
...fork_Cancun-too_few_blobs-state_test | [0] | TransactionException.TYPE_3_TX_ZERO_BLOBS |
...fork_Cancun-too_few_blobs-blockchain_test_from_state_test | [0] | TransactionException.TYPE_3_TX_ZERO_BLOBS |
...fork_Cancun-too_many_blobs-state_test | [7] | [ |
...fork_Cancun-too_many_blobs-blockchain_test_from_state_test | [7] | [ |
...fork_Prague-too_few_blobs-state_test | [0] | TransactionException.TYPE_3_TX_ZERO_BLOBS |
...fork_Prague-too_few_blobs-blockchain_test_from_state_test | [0] | TransactionException.TYPE_3_TX_ZERO_BLOBS |
...fork_Prague-too_many_blobs-state_test | [10] | [ |
...fork_Prague-too_many_blobs-blockchain_test_from_state_test | [10] | [ |
...fork_Osaka-too_few_blobs-state_test | [0] | TransactionException.TYPE_3_TX_ZERO_BLOBS |
...fork_Osaka-too_few_blobs-blockchain_test_from_state_test | [0] | TransactionException.TYPE_3_TX_ZERO_BLOBS |
...fork_Osaka-too_many_blobs-state_test | [10] | [ |
...fork_Osaka-too_many_blobs-blockchain_test_from_state_test | [10] | [ |