test_invalid_tx_blob_count()¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_blob_count@verkle@v0.0.6.
Generate fixtures for these test cases for Cancun with:
Cancun only:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_blob_count --fork=Cancun --evm-bin=/path/to/evm-tool-dev-version
For all forks up to and including Cancun:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_blob_count --until=Cancun
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
1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
Skipped Parameters
For more concise readability, the table below does not list the following parameter values:
fork, blockchain_test, state_test, state_test_only, eof_test, eof_state_test.
| Test ID | blobs_per_tx | tx_error |
|---|---|---|
| too_few_blobs | [0] | TransactionException.TYPE_3_TX_ZERO_BLOBS |
| too_many_blobs | [7] | TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED |
| too_few_blobs | [0] | TransactionException.TYPE_3_TX_ZERO_BLOBS |
| too_many_blobs | [7] | TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED |