Skip to content

Test Max Blob Per Tx

Documentation for tests/osaka/eip7594_peerdas/test_max_blob_per_tx.py@e46317ac.

Generate fixtures for these test cases for Osaka with:

fill -v tests/osaka/eip7594_peerdas/test_max_blob_per_tx.py --fork Osaka
Tests MAX_BLOBS_PER_TX limit for EIP-7594: PeerDAS - Peer Data Availability Sampling

Tests MAX_BLOBS_PER_TX limit for EIP-7594: PeerDAS - Peer Data Availability Sampling.

Test Functions Overview

Name Type Cases (Osaka) Description
test_valid_max_blobs_per_tx state_test 6 Test that transactions with blob count from 1 to MAX_BLOBS_PER_TX are accepted.
test_invalid_max_blobs_per_tx state_test 4 Test that transactions exceeding MAX_BLOBS_PER_TX are rejected.
test_max_blobs_per_tx_fork_transition blockchain_test 0 Test MAX_BLOBS_PER_TX limit enforcement across fork transition.