diff --git a/lib/src/builder/execute.rs b/lib/src/builder/execute.rs index 8eb298fc..c12fd49d 100644 --- a/lib/src/builder/execute.rs +++ b/lib/src/builder/execute.rs @@ -517,6 +517,8 @@ fn set_trace_writer( write.expect("Failed to open file"), ))); let writer = FlushWriter::new(Arc::clone(&trace)); + + // Set the writer inside the handler in revm tracer.set_writer(Box::new(writer)); trace