Skip to content

Commit

Permalink
new(tests): EIP-4844: Add blob count combinations to some tests
Browse files Browse the repository at this point in the history
  • Loading branch information
marioevz committed Dec 17, 2024
1 parent 4b257b0 commit aeb1922
Showing 1 changed file with 21 additions and 0 deletions.
21 changes: 21 additions & 0 deletions tests/cancun/eip4844_blobs/test_blob_txs.py
Original file line number Diff line number Diff line change
Expand Up @@ -650,6 +650,13 @@ def test_insufficient_balance_blob_tx(
)


@fork_covariant_parametrize(
parameter_names="blobs_per_tx",
fn=lambda fork: [
pytest.param([1], id="single_blob"),
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
],
)
@pytest.mark.parametrize(
"tx_access_list",
[[], [AccessList(address=100, storage_keys=[100, 200])]],
Expand Down Expand Up @@ -690,6 +697,13 @@ def test_sufficient_balance_blob_tx(
)


@fork_covariant_parametrize(
parameter_names="blobs_per_tx",
fn=lambda fork: [
pytest.param([1], id="single_blob"),
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
],
)
@pytest.mark.parametrize(
"tx_access_list",
[[], [AccessList(address=100, storage_keys=[100, 200])]],
Expand Down Expand Up @@ -748,6 +762,13 @@ def test_sufficient_balance_blob_tx_pre_fund_tx(
)


@fork_covariant_parametrize(
parameter_names="blobs_per_tx",
fn=lambda fork: [
pytest.param([1], id="single_blob"),
pytest.param([fork.max_blobs_per_block()], id="max_blobs"),
],
)
@pytest.mark.parametrize(
"tx_access_list",
[[], [AccessList(address=100, storage_keys=[100, 200])]],
Expand Down

0 comments on commit aeb1922

Please sign in to comment.