diff --git a/CHANGELOG.md b/CHANGELOG.md index ae01a73480..fdbe1a5d6f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ #### Upcoming Changes +* fix: make MemorySegmentManager.finalize() public [#1771](https://github.com/lambdaclass/cairo-vm/pull/1771) + * feat(BREAKING): Serialize `Array` return value into output segment in cairo1-run crate: * Checks that only `PanicResult>` or `Array` can be returned by the program when running with either `--proof_mode` or `--append_return_values`. * Serializes return values into the output segment under the previous conditions following the format: diff --git a/vm/src/vm/vm_memory/memory_segments.rs b/vm/src/vm/vm_memory/memory_segments.rs index 7713bad23c..c68503c112 100644 --- a/vm/src/vm/vm_memory/memory_segments.rs +++ b/vm/src/vm/vm_memory/memory_segments.rs @@ -270,7 +270,7 @@ impl MemorySegmentManager { // * size - The size of the segment (to be used in relocate_segments). // * public_memory - A list of offsets for memory cells that will be considered as public // memory. - pub(crate) fn finalize( + pub fn finalize( &mut self, size: Option, segment_index: usize,