From 42723e7e104af12e98f75647afdae11384d5b555 Mon Sep 17 00:00:00 2001 From: Federico Gimenez Date: Fri, 8 Aug 2025 17:24:07 +0000 Subject: [PATCH 1/2] Add blob per tx limit for reth --- src/ethereum_clis/clis/reth.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/ethereum_clis/clis/reth.py b/src/ethereum_clis/clis/reth.py index da8e85f73ff..221054135d0 100644 --- a/src/ethereum_clis/clis/reth.py +++ b/src/ethereum_clis/clis/reth.py @@ -50,6 +50,9 @@ class RethExceptionMapper(ExceptionMapper): TransactionException.TYPE_3_TX_MAX_BLOB_GAS_ALLOWANCE_EXCEEDED: ( r"blob gas used \d+ exceeds maximum allowance \d+" ), + TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: ( + r"too many blobs, have \d+, max \d+" + ), TransactionException.TYPE_3_TX_PRE_FORK: ( r"blob transactions present in pre-cancun payload|empty blobs" ), From 0f4b9506f7eaaa9b051fb43a6c5da78152ddd962 Mon Sep 17 00:00:00 2001 From: Federico Gimenez Date: Tue, 12 Aug 2025 07:23:41 +0000 Subject: [PATCH 2/2] fix lint --- src/ethereum_clis/clis/reth.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/ethereum_clis/clis/reth.py b/src/ethereum_clis/clis/reth.py index 221054135d0..6eae2b7fe4a 100644 --- a/src/ethereum_clis/clis/reth.py +++ b/src/ethereum_clis/clis/reth.py @@ -50,9 +50,7 @@ class RethExceptionMapper(ExceptionMapper): TransactionException.TYPE_3_TX_MAX_BLOB_GAS_ALLOWANCE_EXCEEDED: ( r"blob gas used \d+ exceeds maximum allowance \d+" ), - TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: ( - r"too many blobs, have \d+, max \d+" - ), + TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: r"too many blobs, have \d+, max \d+", TransactionException.TYPE_3_TX_PRE_FORK: ( r"blob transactions present in pre-cancun payload|empty blobs" ),