Skip to content
Open
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
21 changes: 0 additions & 21 deletions packages/testing/src/execution_testing/forks/forks/forks.py
Original file line number Diff line number Diff line change
Expand Up @@ -3272,27 +3272,6 @@ def blob_base_cost(
class MONAD_EIGHT(Prague, solc_name="cancun"): # noqa: N801
"""MONAD_EIGHT fork."""

@classmethod
def header_excess_blob_gas_required(
cls, *, block_number: int = 0, timestamp: int = 0
) -> bool:
"""
MONAD_EIGHT does not include blob header fields.

Monad keeps the point-evaluation precompile but does not support blob
transactions or blob gas accounting.
"""
del block_number, timestamp
return False

@classmethod
def header_blob_gas_used_required(
cls, *, block_number: int = 0, timestamp: int = 0
) -> bool:
"""MONAD_EIGHT does not include blob header fields."""
del block_number, timestamp
return False

@classmethod
def supports_blobs(
cls, *, block_number: int = 0, timestamp: int = 0
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -396,11 +396,11 @@ def test_tx_types() -> None: # noqa: D103
Cancun.tx_types() == list(range(4)) # noqa: B015


def test_monad_eight_disables_blob_support() -> None:
"""MONAD_EIGHT keeps the KZG precompile but does not support blob txs."""
def test_monad_eight_disables_blob_transactions_not_headers() -> None:
"""MONAD_EIGHT keeps blob header fields but rejects blob tx behavior."""
assert MONAD_EIGHT.supports_blobs() is False
assert MONAD_EIGHT.header_excess_blob_gas_required() is False
assert MONAD_EIGHT.header_blob_gas_used_required() is False
assert MONAD_EIGHT.header_excess_blob_gas_required() is True
assert MONAD_EIGHT.header_blob_gas_used_required() is True
assert MONAD_EIGHT.blob_schedule() is None
assert MONAD_EIGHT.engine_get_blobs_version() is None
assert MONAD_EIGHT.engine_new_payload_blob_hashes() is False
Expand Down
Loading