Skip to content

Commit ccab088

Browse files
authored
chore(test-client-clis): update Nethermind exception mappings (ethereum#3151)
1 parent 77e95ef commit ccab088

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
@@ -414,6 +414,9 @@ class NethermindExceptionMapper(ExceptionMapper):
414414
TransactionException.INSUFFICIENT_MAX_FEE_PER_GAS: (
415415
r"max fee per gas less than block base fee"
416416
),
417+
TransactionException.INSUFFICIENT_MAX_FEE_PER_BLOB_GAS: (
418+
r"max fee per blob gas less than block blob gas fee"
419+
),
417420
TransactionException.NONCE_MISMATCH_TOO_LOW: (r"nonce too low"),
418421
TransactionException.NONCE_MISMATCH_TOO_HIGH: (r"nonce too high"),
419422
TransactionException.INVALID_CHAINID: (
@@ -442,10 +445,12 @@ class NethermindExceptionMapper(ExceptionMapper):
442445
r"calculated hash 0x[0-9a-f]+"
443446
),
444447
BlockException.SYSTEM_CONTRACT_EMPTY: (
445-
r"(Withdrawals|Consolidations)Empty: Contract is not deployed\."
448+
r"(Withdrawals|Consolidations|BuilderDeposits|BuilderExits)"
449+
r"Empty: Contract is not deployed\."
446450
),
447451
BlockException.SYSTEM_CONTRACT_CALL_FAILED: (
448-
r"(Withdrawals|Consolidations)Failed: Contract execution failed\."
452+
r"(Withdrawals|Consolidations|BuilderDeposits|BuilderExits)"
453+
r"Failed: Contract execution failed\."
449454
),
450455
# BAL Exceptions — specific exceptions have unique patterns, but
451456
# INVALID_BLOCK_ACCESS_LIST and INCORRECT_BLOCK_FORMAT intentionally

0 commit comments

Comments
 (0)