Skip to content

Commit db42d11

Browse files
authored
chain 106 improvement (#49)
1 parent e2a6965 commit db42d11

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

executors/src/eoa/worker/error.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ pub fn classify_send_error(
167167
if error_str.contains("invalid signature")
168168
|| error_str.contains("malformed transaction")
169169
|| (context == SendContext::InitialBroadcast && error_str.contains("insufficient funds"))
170+
|| error_str.contains("transaction execution error: user cant pay the bills")
170171
|| error_str.contains("invalid transaction format")
171172
|| error_str.contains("nonce too high")
172173
// Should trigger nonce reset
@@ -240,6 +241,7 @@ pub fn should_update_balance_threshold(error: &EngineError) -> bool {
240241
|| message.contains("balance too low")
241242
|| message.contains("not enough funds")
242243
|| message.contains("insufficient native token")
244+
|| message.contains("transaction execution error: user cant pay the bills")
243245
}
244246
_ => false,
245247
},

0 commit comments

Comments
 (0)