test_invalid_tx_max_fee_per_blob_gas_state()¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_max_fee_per_blob_gas_state@88e9fb8f.
Generate fixtures for these test cases for Osaka with:
fill -v tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_max_fee_per_blob_gas_state --fork Osaka
Reject an invalid blob transaction.
- tx max_fee_per_blob_gas is barely not enough
- tx max_fee_per_blob_gas is zero
Source code in tests/cancun/eip4844_blobs/test_blob_txs.py
512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 | |
Parametrized Test Cases¶
The interactive table below is also available as a standalone page.
| Test ID (Abbreviated) | parent_excess_blobs | parent_blobs | tx_max_fee_per_blob_gas | tx_error |
|---|---|---|---|---|
| ...fork_Cancun-insufficient_max_fee_per_blob_gas-state_test | 17 | 4 | 1 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS |
| ...fork_Cancun-invalid_max_fee_per_blob_gas-state_test | 0 | 0 | 0 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS |
| ...fork_Prague-insufficient_max_fee_per_blob_gas-state_test | 26 | 7 | 1 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS |
| ...fork_Prague-invalid_max_fee_per_blob_gas-state_test | 0 | 0 | 0 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS |
| ...fork_Osaka-insufficient_max_fee_per_blob_gas-state_test | 26 | 7 | 1 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS |
| ...fork_Osaka-invalid_max_fee_per_blob_gas-state_test | 0 | 0 | 0 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS |