Skip to content

Commit 881f8f1

Browse files
committed
new(tests): EIP-4844: Add blob count combinations to some tests
1 parent 2aab0af commit 881f8f1

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

tests/cancun/eip4844_blobs/test_blob_txs.py

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -630,6 +630,13 @@ def test_insufficient_balance_blob_tx(
630630
)
631631

632632

633+
@fork_covariant_parametrize(
634+
parameter_names="blobs_per_tx",
635+
fn=lambda fork: [
636+
pytest.param([1], id="single_blob"),
637+
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
638+
],
639+
)
633640
@pytest.mark.parametrize(
634641
"tx_access_list",
635642
[[], [AccessList(address=100, storage_keys=[100, 200])]],
@@ -670,6 +677,13 @@ def test_sufficient_balance_blob_tx(
670677
)
671678

672679

680+
@fork_covariant_parametrize(
681+
parameter_names="blobs_per_tx",
682+
fn=lambda fork: [
683+
pytest.param([1], id="single_blob"),
684+
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
685+
],
686+
)
673687
@pytest.mark.parametrize(
674688
"tx_access_list",
675689
[[], [AccessList(address=100, storage_keys=[100, 200])]],
@@ -728,6 +742,13 @@ def test_sufficient_balance_blob_tx_pre_fund_tx(
728742
)
729743

730744

745+
@fork_covariant_parametrize(
746+
parameter_names="blobs_per_tx",
747+
fn=lambda fork: [
748+
pytest.param([1], id="single_blob"),
749+
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
750+
],
751+
)
731752
@pytest.mark.parametrize(
732753
"tx_access_list",
733754
[[], [AccessList(address=100, storage_keys=[100, 200])]],

0 commit comments

Comments
 (0)