Skip to content

test_reject_valid_full_blob_in_block_rlp()

Documentation for tests/cancun/eip4844_blobs/test_blob_txs_full.py::test_reject_valid_full_blob_in_block_rlp@20373115.

Generate fixtures for these test cases for Amsterdam with:

fill -v tests/cancun/eip4844_blobs/test_blob_txs_full.py::test_reject_valid_full_blob_in_block_rlp --fork Amsterdam

Test valid blob combinations where one or more txs in the block serialized version contain a full blob (network version) tx.

Source code in tests/cancun/eip4844_blobs/test_blob_txs_full.py
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
@pytest.mark.parametrize_by_fork(
    "txs_blobs,txs_wrapped_blobs",
    generate_full_blob_tests,
)
@pytest.mark.exception_test
@pytest.mark.valid_from("Cancun")
def test_reject_valid_full_blob_in_block_rlp(
    blockchain_test: BlockchainTestFiller,
    pre: Alloc,
    env: Environment,
    blocks: List[Block],
) -> None:
    """
    Test valid blob combinations where one or more txs in the block serialized
    version contain a full blob (network version) tx.
    """
    blockchain_test(
        pre=pre,
        post={},
        blocks=blocks,
        genesis_environment=env,
    )

Parametrized Test Cases

This test generates 3 parametrized test cases across 4 forks.