diff --git a/CHANGELOG.md b/CHANGELOG.md index 15a61af..011974e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,3 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] + +- Wrapped CallTraceV1 into Box for better performance + diff --git a/crates/cairo-annotations/src/trace_data.rs b/crates/cairo-annotations/src/trace_data.rs index 7cb5622..16c5c34 100644 --- a/crates/cairo-annotations/src/trace_data.rs +++ b/crates/cairo-annotations/src/trace_data.rs @@ -50,7 +50,7 @@ pub struct CasmLevelInfo { /// Enum representing node of a trace of a call. #[derive(Debug, Clone, Serialize, Deserialize)] pub enum CallTraceNode { - EntryPointCall(CallTraceV1), + EntryPointCall(Box), DeployWithoutConstructor, }