From 6685be33aaac0a6ed948295a4bde9acf7e28b55a Mon Sep 17 00:00:00 2001 From: evalir Date: Fri, 13 Jun 2025 12:13:14 +0200 Subject: [PATCH] chore(sim): Use display impl for printing EVMErrors when simulating --- crates/sim/src/env.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/sim/src/env.rs b/crates/sim/src/env.rs index d48de58d..0c8b601c 100644 --- a/crates/sim/src/env.rs +++ b/crates/sim/src/env.rs @@ -403,7 +403,7 @@ where trace!(gas_used = candidate.gas_used, max_gas, "Gas limit exceeded"); } Err(e) => { - trace!(?identifier, ?e, "Simulation failed"); + trace!(?identifier, %e, "Simulation failed"); } }; // fall through applies to all errors, occurs if