Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

#### Upcoming Changes

* fix: make MemorySegmentManager.finalize() public [#1771](https://github.com/lambdaclass/cairo-vm/pull/1771)

* feat(BREAKING): Serialize `Array<Felt252>` return value into output segment in cairo1-run crate:
* Checks that only `PanicResult<Array<Felt252>>` or `Array<Felt252>` 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:
Expand Down
2 changes: 1 addition & 1 deletion vm/src/vm/vm_memory/memory_segments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<usize>,
segment_index: usize,
Expand Down