Skip to content

Commit

Permalink
cairo1-run CLI: Set finalize_builtins to true when using `--air_pub…
Browse files Browse the repository at this point in the history
…lic_input` flag (#1752)

* cairo1-run CLI: Set `finalize_builtins` to true when using `--air_public_input` flag

* Update CHANGELOG.md

* Fix typo

Co-authored-by: Mario Rugiero <[email protected]>

---------

Co-authored-by: Mario Rugiero <[email protected]>
  • Loading branch information
fmoletta and Oppen committed May 8, 2024
1 parent 258dd84 commit a896797
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
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

* bugfix: cairo1-run CLI: Set finalize_builtins to true when using --air_public_input flag [#1744](https://github.com/lambdaclass/cairo-vm/pull/1752)

* feat: Add hint `U256InvModN` to `Cairo1HintProcessor` [#1744](https://github.com/lambdaclass/cairo-vm/pull/1744)

* perf: use a more compact representation for `MemoryCell` [#1672](https://github.com/lambdaclass/cairo-vm/pull/1672)
Expand Down
2 changes: 1 addition & 1 deletion cairo1-run/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ fn run(args: impl Iterator<Item = String>) -> Result<Option<String>, Error> {
layout: args.layout,
trace_enabled: args.trace_file.is_some() || args.air_public_input.is_some(),
args: &args.args.0,
finalize_builtins: args.air_private_input.is_some() || args.cairo_pie_output.is_some(),
finalize_builtins: args.air_public_input.is_some() || args.cairo_pie_output.is_some(),
append_return_values: args.append_return_values,
};

Expand Down

0 comments on commit a896797

Please sign in to comment.