Skip to content

Commit c3e5260

Browse files
authored
chore(client-clis): Add system contract and deposit BlockExceptions for evmone
1 parent 01eded3 commit c3e5260

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ Test fixtures for use by clients are available for each release on the [Github r
1212

1313
#### `fill`
1414

15+
- 🐞 Allow `evmone` to fill Prague and Osaka blockchain tests (mainly modified deposit contract tests) ([#1689](https://github.com/ethereum/execution-specs/pull/1689))
16+
1517
#### `consume`
1618

1719
- 🐞 Fix a bug with `consume sync` tests where some clients don't have JSON-RPC immediately available after syncing and can't yet serve the synced block ([#1670](https://github.com/ethereum/execution-specs/pull/1670)).

packages/testing/src/execution_testing/client_clis/clis/evmone.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
from pathlib import Path
1212
from typing import Any, ClassVar, Dict, List, Optional
1313

14+
from execution_testing.exceptions.exceptions.block import BlockException
1415
import pytest
1516

1617
from execution_testing.client_clis.file_utils import (
@@ -358,6 +359,11 @@ class EvmoneExceptionMapper(ExceptionMapper):
358359
TransactionException.NONCE_MISMATCH_TOO_LOW: "nonce too low",
359360
TransactionException.NONCE_MISMATCH_TOO_HIGH: "nonce too high",
360361
TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM: "max gas limit exceeded",
362+
BlockException.INVALID_DEPOSIT_EVENT_LAYOUT: "invalid deposit event layout",
363+
# TODO EVMONE needs to differentiate when the system contract is
364+
# missing or failing
365+
BlockException.SYSTEM_CONTRACT_EMPTY: "system contract empty or failed",
366+
BlockException.SYSTEM_CONTRACT_CALL_FAILED: "system contract empty or failed",
361367
# TODO EVMONE needs to differentiate when the section is missing in the
362368
# header or body
363369
EOFException.MISSING_STOP_OPCODE: "err: no_terminating_instruction",

0 commit comments

Comments
 (0)