Skip to content

test_blob_base_fee_with_bpo_transition()

Documentation for tests/osaka/eip7918_blob_reserve_price/test_blob_reserve_price_with_bpo.py::test_blob_base_fee_with_bpo_transition@21507778.

Generate fixtures for these test cases for BPO1 with:

fill -v tests/osaka/eip7918_blob_reserve_price/test_blob_reserve_price_with_bpo.py::test_blob_base_fee_with_bpo_transition --fork BPO1

Test BPO1 transition with EIP-7918 reserve mechanism.

Source code in tests/osaka/eip7918_blob_reserve_price/test_blob_reserve_price_with_bpo.py
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@pytest.mark.valid_at_transition_to("BPO1")
@pytest.mark.valid_for_bpo_forks()
@pytest.mark.parametrize("parent_excess_blobs", [27])
@pytest.mark.parametrize("block_base_fee_per_gas", [17])
@pytest.mark.slow
def test_blob_base_fee_with_bpo_transition(
    blockchain_test: BlockchainTestFiller,
    pre: Alloc,
    env: Environment,
) -> None:
    """Test BPO1 transition with EIP-7918 reserve mechanism."""
    blockchain_test(
        genesis_environment=env,
        pre=pre,
        blocks=[Block(timestamp=15_000)],
        post={},
    )

Parametrized Test Cases

This test generates 1 parametrized test case across 1 fork.