Skip to content

Commit 45d66b9

Browse files
authored
chore(clis/besu): update exception mapper deposits (#1519)
* chore: update besu exception mapper deposits. * chore: update besu exception mapper deposits.
1 parent a740709 commit 45d66b9

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/ethereum_clis/clis/besu.py

+3-3
Original file line numberDiff line numberDiff line change
@@ -318,8 +318,7 @@ class BesuExceptionMapper(ExceptionMapper):
318318
r"System call halted|System call did not execute to completion"
319319
),
320320
BlockException.SYSTEM_CONTRACT_EMPTY: (
321-
r"(Invalid system call, no code at address)|"
322-
r"(Invalid system call address:)"
321+
r"(Invalid system call, no code at address)|" r"(Invalid system call address:)"
323322
),
324323
TransactionException.INITCODE_SIZE_EXCEEDED: (
325324
r"transaction invalid Initcode size of \d+ exceeds maximum size of \d+"
@@ -340,6 +339,7 @@ class BesuExceptionMapper(ExceptionMapper):
340339
),
341340
TransactionException.INVALID_DEPOSIT_EVENT_LAYOUT: (
342341
r"Invalid (amount|index|pubKey|signature|withdrawalCred) (offset|size): "
343-
r"expected (\d+), but got (-?\d+)"
342+
r"expected (\d+), but got (-?\d+)|"
343+
r"Invalid deposit log length\. Must be \d+ bytes, but is \d+ bytes"
344344
),
345345
}

0 commit comments

Comments
 (0)