Skip to content

Commit 01eded3

Browse files
authored
chore(testing/cli): add ethrex exception mappers (#1690)
1 parent fc6c157 commit 01eded3

File tree

1 file changed

+9
-0
lines changed
  • packages/testing/src/execution_testing/client_clis/clis

1 file changed

+9
-0
lines changed

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

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,12 @@ class EthrexExceptionMapper(ExceptionMapper):
9595
TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: (
9696
r"Blob count exceeded.*"
9797
),
98+
TransactionException.GASLIMIT_PRICE_PRODUCT_OVERFLOW: (
99+
r"Invalid transaction: Gas limit price product overflow.*"
100+
),
101+
TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM: (
102+
r"Invalid transaction: Transaction gas limit exceeds maximum.*"
103+
),
98104
BlockException.SYSTEM_CONTRACT_CALL_FAILED: (r"System call failed.*"),
99105
BlockException.SYSTEM_CONTRACT_EMPTY: (
100106
r"System contract:.* has no code after deployment"
@@ -111,4 +117,7 @@ class EthrexExceptionMapper(ExceptionMapper):
111117
BlockException.INVALID_BLOCK_HASH: (
112118
r"Invalid block hash. Expected \w+, got \w+"
113119
),
120+
BlockException.RLP_BLOCK_LIMIT_EXCEEDED: (
121+
r"Maximum block size exceeded.*"
122+
),
114123
}

0 commit comments

Comments
 (0)