Skip to content

Commit aeb1922

Browse files
committed
new(tests): EIP-4844: Add blob count combinations to some tests
1 parent 4b257b0 commit aeb1922

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
@@ -650,6 +650,13 @@ def test_insufficient_balance_blob_tx(
650650
)
651651

652652

653+
@fork_covariant_parametrize(
654+
parameter_names="blobs_per_tx",
655+
fn=lambda fork: [
656+
pytest.param([1], id="single_blob"),
657+
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
658+
],
659+
)
653660
@pytest.mark.parametrize(
654661
"tx_access_list",
655662
[[], [AccessList(address=100, storage_keys=[100, 200])]],
@@ -690,6 +697,13 @@ def test_sufficient_balance_blob_tx(
690697
)
691698

692699

700+
@fork_covariant_parametrize(
701+
parameter_names="blobs_per_tx",
702+
fn=lambda fork: [
703+
pytest.param([1], id="single_blob"),
704+
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
705+
],
706+
)
693707
@pytest.mark.parametrize(
694708
"tx_access_list",
695709
[[], [AccessList(address=100, storage_keys=[100, 200])]],
@@ -748,6 +762,13 @@ def test_sufficient_balance_blob_tx_pre_fund_tx(
748762
)
749763

750764

765+
@fork_covariant_parametrize(
766+
parameter_names="blobs_per_tx",
767+
fn=lambda fork: [
768+
pytest.param([1], id="single_blob"),
769+
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
770+
],
771+
)
751772
@pytest.mark.parametrize(
752773
"tx_access_list",
753774
[[], [AccessList(address=100, storage_keys=[100, 200])]],

0 commit comments

Comments
 (0)