diff --git a/crates/blockifier/src/execution/stack_trace.rs b/crates/blockifier/src/execution/stack_trace.rs index 6a404c17c4..81529aec47 100644 --- a/crates/blockifier/src/execution/stack_trace.rs +++ b/crates/blockifier/src/execution/stack_trace.rs @@ -204,6 +204,9 @@ impl Display for Cairo1RevertStack { .map(|frame| frame.to_string()) .chain([format_panic_data(&self.last_retdata.0)]) .join("\n") + .chars() + .take(TRACE_LENGTH_CAP) + .collect::() ) } }