Skip to content

Commit 9e2bf60

Browse files
flcl42danceratopz
authored andcommitted
chore(test-client-clis): update Nethermind exception mappings (#3151)
1 parent 50a25a5 commit 9e2bf60

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

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

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

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,9 @@ class NethermindExceptionMapper(ExceptionMapper):
411411
TransactionException.INSUFFICIENT_MAX_FEE_PER_GAS: (
412412
r"max fee per gas less than block base fee"
413413
),
414+
TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS: (
415+
r"max fee per blob gas less than block blob gas fee"
416+
),
414417
TransactionException.NONCE_MISMATCH_TOO_LOW: (r"nonce too low"),
415418
TransactionException.NONCE_MISMATCH_TOO_HIGH: (r"nonce too high"),
416419
TransactionException.INVALID_CHAINID: (
@@ -439,10 +442,12 @@ class NethermindExceptionMapper(ExceptionMapper):
439442
r"calculated hash 0x[0-9a-f]+"
440443
),
441444
BlockException.SYSTEM_CONTRACT_EMPTY: (
442-
r"(Withdrawals|Consolidations)Empty: Contract is not deployed\."
445+
r"(Withdrawals|Consolidations|BuilderDeposits|BuilderExits)"
446+
r"Empty: Contract is not deployed\."
443447
),
444448
BlockException.SYSTEM_CONTRACT_CALL_FAILED: (
445-
r"(Withdrawals|Consolidations)Failed: Contract execution failed\."
449+
r"(Withdrawals|Consolidations|BuilderDeposits|BuilderExits)"
450+
r"Failed: Contract execution failed\."
446451
),
447452
# BAL Exceptions — specific exceptions have unique patterns, but
448453
# INVALID_BLOCK_ACCESS_LIST and INCORRECT_BLOCK_FORMAT intentionally

0 commit comments

Comments
 (0)