Skip to content

Commit

Permalink
fix: proof mode should adjust initial fp based on stack contents
Browse files Browse the repository at this point in the history
  • Loading branch information
Oppen committed Dec 7, 2023
1 parent 8a2ef24 commit 6909d4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vm/src/vm/runners/cairo_runner.rs
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ impl CairoRunner {
self.execution_base
.as_ref()
.ok_or(RunnerError::NoExecBase)?
+ 2,
+ stack_prefix.len(),
);
self.initial_ap = self.initial_fp;
return Ok(self.program_base.as_ref().ok_or(RunnerError::NoProgBase)?
Expand Down

0 comments on commit 6909d4e

Please sign in to comment.