From b6ccb421e3bfea4449eea1eb4b6a63754cc9fa1e Mon Sep 17 00:00:00 2001 From: Edgar Date: Tue, 7 Apr 2026 20:54:00 +0200 Subject: [PATCH] fix(ethrex): update GAS_USED_OVERFLOW exception mapper (#2632) ethrex no longer includes "Block gas used overflow" in its per-tx gas check error messages. Map GAS_USED_OVERFLOW to the same "Gas allowance exceeded" pattern used for GAS_ALLOWANCE_EXCEEDED, since ethrex uses a single per-tx check for both cases. --- .../testing/src/execution_testing/client_clis/clis/ethrex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/testing/src/execution_testing/client_clis/clis/ethrex.py b/packages/testing/src/execution_testing/client_clis/clis/ethrex.py index 8a7d03f26f8..f3ad4741d79 100644 --- a/packages/testing/src/execution_testing/client_clis/clis/ethrex.py +++ b/packages/testing/src/execution_testing/client_clis/clis/ethrex.py @@ -32,7 +32,7 @@ class EthrexExceptionMapper(ExceptionMapper): "World State Root does not match the one in " "the header after executing" ), - BlockException.GAS_USED_OVERFLOW: "Block gas used overflow", + BlockException.GAS_USED_OVERFLOW: "Gas allowance exceeded", BlockException.INVALID_BLOCK_ACCESS_LIST: ( "Block access list hash does not match the one in " "the header after executing" @@ -142,7 +142,7 @@ class EthrexExceptionMapper(ExceptionMapper): TransactionException.GAS_ALLOWANCE_EXCEEDED: ( r"Gas allowance exceeded.*" ), - BlockException.GAS_USED_OVERFLOW: (r"Block gas used overflow.*"), + BlockException.GAS_USED_OVERFLOW: (r"Gas allowance exceeded.*"), TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: ( r"Blob count exceeded.*" ),