test_invalid_tx_max_fee_per_blob_gas()¶
Documentation for tests/cancun/eip4844_blobs/test_blob_txs.py::test_invalid_tx_max_fee_per_blob_gas@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 --fork Osaka
Reject blocks with invalid blob txs.
- 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
478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 | |
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 | account_balance_modifier |
|---|---|---|---|---|---|
| ...fork_Cancun-insufficient_max_fee_per_blob_gas-blockchain_test-account_balance_modifier_1000000000 | 17 | 4 | 1 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS | 1000000000 |
| ...fork_Cancun-invalid_max_fee_per_blob_gas-blockchain_test-account_balance_modifier_1000000000 | 0 | 0 | 0 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS | 1000000000 |
| ...fork_Prague-insufficient_max_fee_per_blob_gas-blockchain_test-account_balance_modifier_1000000000 | 26 | 7 | 1 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS | 1000000000 |
| ...fork_Prague-invalid_max_fee_per_blob_gas-blockchain_test-account_balance_modifier_1000000000 | 0 | 0 | 0 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS | 1000000000 |
| ...fork_Osaka-insufficient_max_fee_per_blob_gas-blockchain_test-account_balance_modifier_1000000000 | 26 | 7 | 1 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS | 1000000000 |
| ...fork_Osaka-invalid_max_fee_per_blob_gas-blockchain_test-account_balance_modifier_1000000000 | 0 | 0 | 0 | TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS | 1000000000 |