Skip to content

Commit 55d774b

Browse files
authored
chore: updated error mapping for reth devnet 7 (#2890)
1 parent 1de389b commit 55d774b

1 file changed

Lines changed: 8 additions & 4 deletions

File tree

  • packages/testing/src/execution_testing/client_clis/clis

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

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,8 @@ class RethExceptionMapper(ExceptionMapper):
6060
r"max fee per blob gas \(\d+\)"
6161
),
6262
TransactionException.INTRINSIC_GAS_TOO_LOW: (
63-
r"call gas cost \(\d+\) exceeds the gas limit \(\d+\)"
63+
r"call gas cost \(\d+\) exceeds the gas limit \(\d+\)|"
64+
r"gas floor \(\d+\) exceeds the gas limit \(\d+\)"
6465
),
6566
TransactionException.INTRINSIC_GAS_BELOW_FLOOR_GAS_COST: (
6667
r"gas floor \(\d+\) exceeds the gas limit \(\d+\)"
@@ -75,7 +76,8 @@ class RethExceptionMapper(ExceptionMapper):
7576
r"blob transactions present in pre-cancun payload|empty blobs"
7677
),
7778
TransactionException.GAS_ALLOWANCE_EXCEEDED: (
78-
r"transaction gas limit \w+ is more than blocks available gas \w+"
79+
r"transaction gas limit \w+ is more than blocks available gas \w+|"
80+
r"caller gas limit exceeds the block gas limit"
7981
),
8082
TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM: (
8183
r"transaction gas limit.*is greater than the cap"
@@ -112,10 +114,12 @@ class RethExceptionMapper(ExceptionMapper):
112114
# BAL Exceptions
113115
BlockException.INVALID_BAL_HASH: (r"block access list hash mismatch"),
114116
BlockException.INVALID_BLOCK_ACCESS_LIST: (
115-
r"block access list hash mismatch"
117+
r"block access list hash mismatch|"
118+
r"BAL rejection: FinalHashMismatch"
116119
),
117120
BlockException.INCORRECT_BLOCK_FORMAT: (
118-
r"block access list hash mismatch"
121+
r"block access list hash mismatch|"
122+
r"BAL rejection: FinalHashMismatch"
119123
),
120124
# Reth does not validate the sizes or offsets of the deposit
121125
# contract logs. As a workaround we have set

0 commit comments

Comments
 (0)