test_invalid_tx_blob_count()¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_blob_count@88e9fb8f.
Generate fixtures for these test cases for Osaka with:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_blob_count --fork Osaka
Reject blocks that include blob transactions with invalid blob counts.
blob count == 0in type 3 transactionblob count > MAX_BLOBS_PER_BLOCKin type 3 transaction
Source code in tests/cancun/eip4844_blobs/test_blob_txs.py
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 | |
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 | [7] | [ |
| ...fork_Osaka-too_many_blobs-blockchain_test_from_state_test | [7] | [ |