Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions tests/cancun/eip4788_beacon_root/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@
BLOB_COMMITMENT_VERSION_KZG = 1


def pytest_generate_tests(metafunc: pytest.Metafunc) -> None:
"""Mark all tests in this subdir as not valid for Monad forks."""
metafunc.definition.add_marker(
pytest.mark.not_valid_for("MONAD_EIGHT", subsequent_forks=True)
)


@pytest.fixture
def timestamp() -> int: # noqa: D103
return 12
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -343,7 +343,22 @@ def total_cost_floor_per_token(fork: Fork) -> int:
pytest.param(False, True),
],
)
@pytest.mark.parametrize("zero_byte", [True, False])
@pytest.mark.parametrize(
"zero_byte",
[
pytest.param(
True,
marks=pytest.mark.monad_runloop(
pytest.mark.skip(
reason="Filling the tx gas limit cap with zero bytes "
"takes a ~3 MB tx, over the runloop 2 MB proposal "
"byte limit."
)
),
),
False,
],
)
# Osaka originally, but Monad introduces tx gas limit cap differently
@pytest.mark.valid_from("MONAD_EIGHT")
@pytest.mark.json_loader
Expand Down
7 changes: 7 additions & 0 deletions tests/shanghai/eip4895_withdrawals/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@
from execution_testing import Alloc, Environment


def pytest_generate_tests(metafunc: pytest.Metafunc) -> None:
"""Mark all tests in this subdir as not valid for Monad forks."""
metafunc.definition.add_marker(
pytest.mark.not_valid_for("MONAD_EIGHT", subsequent_forks=True)
)


@pytest.fixture
def env() -> Environment:
"""Environment fixture."""
Expand Down