Skip to content

Commit 1a57527

Browse files
committed
Revert "fix(monad): exclude blob suites from MONAD_EIGHT (#15)"
This reverts commit 8ee8f94.
1 parent 5e31d7c commit 1a57527

2 files changed

Lines changed: 0 additions & 87 deletions

File tree

‎packages/testing/src/execution_testing/forks/forks/forks.py‎

Lines changed: 0 additions & 74 deletions
Original file line numberDiff line numberDiff line change
@@ -3272,80 +3272,6 @@ def blob_base_cost(
32723272
class MONAD_EIGHT(Prague, solc_name="cancun"): # noqa: N801
32733273
"""MONAD_EIGHT fork."""
32743274

3275-
@classmethod
3276-
def header_excess_blob_gas_required(
3277-
cls, *, block_number: int = 0, timestamp: int = 0
3278-
) -> bool:
3279-
"""
3280-
MONAD_EIGHT does not include blob header fields.
3281-
3282-
Monad keeps the point-evaluation precompile but does not support blob
3283-
transactions or blob gas accounting.
3284-
"""
3285-
del block_number, timestamp
3286-
return False
3287-
3288-
@classmethod
3289-
def header_blob_gas_used_required(
3290-
cls, *, block_number: int = 0, timestamp: int = 0
3291-
) -> bool:
3292-
"""MONAD_EIGHT does not include blob header fields."""
3293-
del block_number, timestamp
3294-
return False
3295-
3296-
@classmethod
3297-
def supports_blobs(
3298-
cls, *, block_number: int = 0, timestamp: int = 0
3299-
) -> bool:
3300-
"""MONAD_EIGHT does not support blob transactions."""
3301-
del block_number, timestamp
3302-
return False
3303-
3304-
@classmethod
3305-
def tx_types(
3306-
cls, *, block_number: int = 0, timestamp: int = 0
3307-
) -> List[int]:
3308-
"""Return Prague transaction types without blob transactions."""
3309-
return [
3310-
tx_type
3311-
for tx_type in super(MONAD_EIGHT, cls).tx_types(
3312-
block_number=block_number, timestamp=timestamp
3313-
)
3314-
if tx_type != 3
3315-
]
3316-
3317-
@classmethod
3318-
def full_blob_tx_wrapper_version(
3319-
cls, *, block_number: int = 0, timestamp: int = 0
3320-
) -> int | None:
3321-
"""MONAD_EIGHT does not wrap full blob transactions."""
3322-
del block_number, timestamp
3323-
return None
3324-
3325-
@classmethod
3326-
def blob_schedule(
3327-
cls, *, block_number: int = 0, timestamp: int = 0
3328-
) -> BlobSchedule | None:
3329-
"""MONAD_EIGHT does not advertise a blob schedule."""
3330-
del block_number, timestamp
3331-
return None
3332-
3333-
@classmethod
3334-
def engine_get_blobs_version(
3335-
cls, *, block_number: int = 0, timestamp: int = 0
3336-
) -> Optional[int]:
3337-
"""MONAD_EIGHT does not expose blob retrieval over the engine API."""
3338-
del block_number, timestamp
3339-
return None
3340-
3341-
@classmethod
3342-
def engine_new_payload_blob_hashes(
3343-
cls, *, block_number: int = 0, timestamp: int = 0
3344-
) -> bool:
3345-
"""MONAD_EIGHT payloads do not include blob hashes."""
3346-
del block_number, timestamp
3347-
return False
3348-
33493275
@classmethod
33503276
def precompiles(
33513277
cls, *, block_number: int = 0, timestamp: int = 0

‎packages/testing/src/execution_testing/forks/tests/test_forks.py‎

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
BPO2,
1313
BPO3,
1414
BPO4,
15-
MONAD_EIGHT,
1615
Amsterdam,
1716
Berlin,
1817
Cancun,
@@ -396,18 +395,6 @@ def test_tx_types() -> None: # noqa: D103
396395
Cancun.tx_types() == list(range(4)) # noqa: B015
397396

398397

399-
def test_monad_eight_disables_blob_support() -> None:
400-
"""MONAD_EIGHT keeps the KZG precompile but does not support blob txs."""
401-
assert MONAD_EIGHT.supports_blobs() is False
402-
assert MONAD_EIGHT.header_excess_blob_gas_required() is False
403-
assert MONAD_EIGHT.header_blob_gas_used_required() is False
404-
assert MONAD_EIGHT.blob_schedule() is None
405-
assert MONAD_EIGHT.engine_get_blobs_version() is None
406-
assert MONAD_EIGHT.engine_new_payload_blob_hashes() is False
407-
assert MONAD_EIGHT.full_blob_tx_wrapper_version() is None
408-
assert 3 not in MONAD_EIGHT.tx_types()
409-
410-
411398
@pytest.mark.parametrize(
412399
"fork",
413400
[

0 commit comments

Comments
 (0)