@@ -25,12 +25,12 @@ class EthrexExceptionMapper(ExceptionMapper):
25
25
}
26
26
mapping_regex = {
27
27
TransactionException .PRIORITY_GREATER_THAN_MAX_FEE_PER_GAS : (
28
- r"(?i)priority fee is greater than max fee"
28
+ r"(?i)priority fee.* is greater than max fee.* "
29
29
),
30
30
TransactionException .TYPE_4_EMPTY_AUTHORIZATION_LIST : r"(?i)empty authorization list" ,
31
31
TransactionException .SENDER_NOT_EOA : (
32
32
r"reject transactions from senders with deployed code|"
33
- r"Sender account shouldn't be a contract"
33
+ r"Sender account .* shouldn't be a contract"
34
34
),
35
35
TransactionException .NONCE_MISMATCH_TOO_LOW : r"nonce \d+ too low, expected \d+|"
36
36
r"Nonce mismatch.*" ,
@@ -69,11 +69,13 @@ class EthrexExceptionMapper(ExceptionMapper):
69
69
),
70
70
TransactionException .INSUFFICIENT_MAX_FEE_PER_BLOB_GAS : (
71
71
r"blob gas price is greater than max fee per blob gas|"
72
- r"Insufficient max fee per blob gas"
72
+ r"Insufficient max fee per blob gas.* "
73
73
),
74
74
TransactionException .INITCODE_SIZE_EXCEEDED : (
75
- r"create initcode size limit|Initcode size exceeded"
75
+ r"create initcode size limit|Initcode size exceeded.* "
76
76
),
77
+ TransactionException .GAS_ALLOWANCE_EXCEEDED : (r"Gas allowance exceeded.*" ),
78
+ TransactionException .TYPE_3_TX_BLOB_COUNT_EXCEEDED : (r"Blob count exceeded.*" ),
77
79
BlockException .SYSTEM_CONTRACT_CALL_FAILED : (r"System call failed.*" ),
78
80
BlockException .SYSTEM_CONTRACT_EMPTY : (r"System contract:.* has no code after deployment" ),
79
81
BlockException .INCORRECT_BLOB_GAS_USED : (r"Blob gas used doesn't match value in header" ),
0 commit comments