Skip to content

Commit 0044e83

Browse files
authored
chore(clis): fix exceptions for besu (fusaka). (#2132)
1 parent a4da316 commit 0044e83

File tree

1 file changed

+6
-8
lines changed

1 file changed

+6
-8
lines changed

src/ethereum_clis/clis/besu.py

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -217,14 +217,6 @@ class BesuExceptionMapper(ExceptionMapper):
217217
TransactionException.TYPE_3_TX_ZERO_BLOBS: (
218218
"Failed to decode transactions from block parameter"
219219
),
220-
TransactionException.TYPE_3_TX_MAX_BLOB_GAS_ALLOWANCE_EXCEEDED: "Invalid Blob Count",
221-
TransactionException.TYPE_3_TX_MAX_BLOB_GAS_ALLOWANCE_EXCEEDED: (
222-
r"Blob transaction has too many blobs: \d+"
223-
),
224-
TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: "Invalid Blob Count",
225-
TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: (
226-
r"Blob transaction has too many blobs: \d+"
227-
),
228220
TransactionException.TYPE_3_TX_PRE_FORK: (
229221
"Transaction type BLOB is invalid, accepted transaction types are"
230222
),
@@ -297,4 +289,10 @@ class BesuExceptionMapper(ExceptionMapper):
297289
TransactionException.GAS_LIMIT_EXCEEDS_MAXIMUM: (
298290
r"transaction invalid Transaction gas limit must be at most \d+"
299291
),
292+
TransactionException.TYPE_3_TX_BLOB_COUNT_EXCEEDED: (
293+
r"Blob transaction has too many blobs: \d+"
294+
),
295+
TransactionException.TYPE_3_TX_MAX_BLOB_GAS_ALLOWANCE_EXCEEDED: (
296+
r"Invalid Blob Count: \d+"
297+
),
300298
}

0 commit comments

Comments
 (0)