@@ -405,7 +405,14 @@ class NethermindExceptionMapper(ExceptionMapper):
405405 TransactionException .INSUFFICIENT_ACCOUNT_FUNDS : (
406406 r"insufficient sender balance|"
407407 r"insufficient MaxFeePerGas for sender balance"
408+ r"|insufficient funds for gas \* price \+ value"
409+ r"|insufficient funds for transfer|insufficient funds for gas"
408410 ),
411+ TransactionException .INSUFFICIENT_MAX_FEE_PER_GAS : (
412+ r"max fee per gas less than block base fee"
413+ ),
414+ TransactionException .NONCE_MISMATCH_TOO_LOW : (r"nonce too low" ),
415+ TransactionException .NONCE_MISMATCH_TOO_HIGH : (r"nonce too high" ),
409416 TransactionException .TYPE_3_TX_WITH_FULL_BLOBS : (
410417 r"Transaction \d+ is not valid"
411418 ),
@@ -418,7 +425,7 @@ class NethermindExceptionMapper(ExceptionMapper):
418425 r"exceeded MaxBlobGas per transaction=\d+"
419426 ),
420427 TransactionException .GAS_LIMIT_EXCEEDS_MAXIMUM : (
421- r"TxGasLimitCapExceeded: Gas limit \d+ \w+ cap of \d+\.? "
428+ r"TxGasLimitCapExceeded:"
422429 ),
423430 BlockException .INCORRECT_EXCESS_BLOB_GAS : (
424431 r"HeaderExcessBlobGasMismatch: Excess blob gas in header "
@@ -442,14 +449,18 @@ class NethermindExceptionMapper(ExceptionMapper):
442449 BlockException .INVALID_BLOCK_ACCESS_LIST : (
443450 r"InvalidBlockLevelAccessListHash:"
444451 r"|InvalidBlockLevelAccessList:"
452+ r"|BlockLevelAccessListIndexOutOfRange:"
445453 r"|could not be parsed as a block: "
446454 r"Error decoding block access list:"
455+ r"|Error decoding block access list:"
447456 ),
448457 BlockException .INCORRECT_BLOCK_FORMAT : (
449458 r"could not be parsed as a block: "
450459 r"Error decoding block access list:"
460+ r"|Error decoding block access list:"
451461 ),
452462 TransactionException .GAS_ALLOWANCE_EXCEEDED : (
453463 r"TxGasLimitCapExceeded:"
464+ r"|BlockAccessListGasLimitExceeded:"
454465 ),
455466 }
0 commit comments