@@ -12,11 +12,13 @@ class ErigonExceptionMapper(ExceptionMapper):
1212 TransactionException .INSUFFICIENT_ACCOUNT_FUNDS : (
1313 "insufficient funds for gas * price + value"
1414 ),
15+ TransactionException .NONCE_IS_MAX : "nonce has max value" ,
1516 TransactionException .INTRINSIC_GAS_TOO_LOW : "intrinsic gas too low" ,
1617 TransactionException .INSUFFICIENT_MAX_FEE_PER_GAS : "fee cap less than block base fee" ,
1718 TransactionException .PRIORITY_GREATER_THAN_MAX_FEE_PER_GAS : "tip higher than fee cap" ,
1819 TransactionException .INSUFFICIENT_MAX_FEE_PER_BLOB_GAS : "max fee per blob gas too low" ,
1920 TransactionException .NONCE_MISMATCH_TOO_LOW : "nonce too low" ,
21+ TransactionException .GAS_ALLOWANCE_EXCEEDED : "gas limit reached" ,
2022 TransactionException .TYPE_3_TX_PRE_FORK : "blob txn is not supported by signer" ,
2123 TransactionException .TYPE_3_TX_INVALID_BLOB_VERSIONED_HASH : (
2224 "invalid blob versioned hash, must start with VERSIONED_HASH_VERSION_KZG"
@@ -33,10 +35,14 @@ class ErigonExceptionMapper(ExceptionMapper):
3335 TransactionException .TYPE_4_TX_CONTRACT_CREATION : "wrong size for To: 0" ,
3436 TransactionException .TYPE_4_TX_PRE_FORK : "setCode tx is not supported by signer" ,
3537 TransactionException .INVALID_DEPOSIT_EVENT_LAYOUT : "could not parse requests logs" ,
38+ BlockException .SYSTEM_CONTRACT_EMPTY : "Syscall failure: Empty Code at" ,
39+ BlockException .SYSTEM_CONTRACT_CALL_FAILED : "Unprecedented Syscall failure" ,
3640 BlockException .INVALID_REQUESTS : "invalid requests root hash in header" ,
3741 BlockException .INVALID_BLOCK_HASH : "invalid block hash" ,
3842 }
3943 mapping_regex = {
4044 BlockException .INCORRECT_BLOB_GAS_USED : r"blobGasUsed by execution: \d+, in header: \d+" ,
4145 BlockException .INCORRECT_EXCESS_BLOB_GAS : r"invalid excessBlobGas: have \d+, want \d+" ,
46+ BlockException .INVALID_GAS_USED : r"gas used by execution: \w+, in header: \w+" ,
47+ BlockException .INVALID_GAS_USED_ABOVE_LIMIT : r"invalid gasUsed: have \d+, gasLimit \d+" ,
4248 }
0 commit comments