diff --git a/crates/chisel/src/executor.rs b/crates/chisel/src/executor.rs index a06ac427f136a..a9bc115c0d36a 100644 --- a/crates/chisel/src/executor.rs +++ b/crates/chisel/src/executor.rs @@ -335,8 +335,8 @@ fn format_token(token: DynSolValue) -> String { out.push_str(&')'.red().to_string()); out } - _ => { - unimplemented!() + t @ (DynSolValue::Function(_) | DynSolValue::CustomStruct { .. }) => { + foundry_common::fmt::format_token(&t) } } }