Skip to content

Commit 3ed251a

Browse files
committed
fix insufficient transfer
1 parent d227451 commit 3ed251a

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

external-tracer/src/lib.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,8 @@ pub fn trace(config: &TraceConfig) -> Result<Vec<GethExecTrace>, Error> {
7878
let allowed_cases = error.starts_with("nonce too low")
7979
|| error.starts_with("nonce too high")
8080
|| error.starts_with("intrinsic gas too low")
81-
|| error.starts_with("insufficient funds for gas * price + value");
81+
|| error.starts_with("insufficient funds for gas * price + value")
82+
|| error.starts_with("insufficient funds for transfer");
8283
if trace.invalid && !allowed_cases {
8384
return Err(Error::TracingError(error.clone()));
8485
}

0 commit comments

Comments
 (0)