@@ -12,11 +12,13 @@ class ErigonExceptionMapper(ExceptionMapper):
12
12
TransactionException .INSUFFICIENT_ACCOUNT_FUNDS : (
13
13
"insufficient funds for gas * price + value"
14
14
),
15
+ TransactionException .NONCE_IS_MAX : "nonce has max value" ,
15
16
TransactionException .INTRINSIC_GAS_TOO_LOW : "intrinsic gas too low" ,
16
17
TransactionException .INSUFFICIENT_MAX_FEE_PER_GAS : "fee cap less than block base fee" ,
17
18
TransactionException .PRIORITY_GREATER_THAN_MAX_FEE_PER_GAS : "tip higher than fee cap" ,
18
19
TransactionException .INSUFFICIENT_MAX_FEE_PER_BLOB_GAS : "max fee per blob gas too low" ,
19
20
TransactionException .NONCE_MISMATCH_TOO_LOW : "nonce too low" ,
21
+ TransactionException .GAS_ALLOWANCE_EXCEEDED : "gas limit reached" ,
20
22
TransactionException .TYPE_3_TX_PRE_FORK : "blob txn is not supported by signer" ,
21
23
TransactionException .TYPE_3_TX_INVALID_BLOB_VERSIONED_HASH : (
22
24
"invalid blob versioned hash, must start with VERSIONED_HASH_VERSION_KZG"
@@ -33,10 +35,14 @@ class ErigonExceptionMapper(ExceptionMapper):
33
35
TransactionException .TYPE_4_TX_CONTRACT_CREATION : "wrong size for To: 0" ,
34
36
TransactionException .TYPE_4_TX_PRE_FORK : "setCode tx is not supported by signer" ,
35
37
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" ,
36
40
BlockException .INVALID_REQUESTS : "invalid requests root hash in header" ,
37
41
BlockException .INVALID_BLOCK_HASH : "invalid block hash" ,
38
42
}
39
43
mapping_regex = {
40
44
BlockException .INCORRECT_BLOB_GAS_USED : r"blobGasUsed by execution: \d+, in header: \d+" ,
41
45
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+" ,
42
48
}
0 commit comments