Skip to content

Commit

Permalink
Refactor cairo1-run crate (#1601)
Browse files Browse the repository at this point in the history
* Create a cairo_run for cairo1-run crate + Refactor cairo1 execution into different functions

* Clippy

* Merge imports + Impl Default for Cairo1RunConfig

* Remove allow unused imports

* Add changelog entry

* Use FuncArg slice instead of FuncArgs wrapper in public api

* Update changelog
  • Loading branch information
fmoletta authored Feb 7, 2024
1 parent 64a1e97 commit 7abbb39
Show file tree
Hide file tree
Showing 3 changed files with 722 additions and 668 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,10 @@

#### Upcoming Changes

* refactor: Refactor `cairo1-run` crate [#1601](https://github.com/lambdaclass/cairo-vm/pull/1601)
* Add function `cairo_run_program` & struct `Cairo1RunConfig` in `cairo1-run::cairo_run` module.
* Function `serialize_output` & structs `FuncArg` and `Error` in crate `cairo1-run` are now public.

* feat(BREAKING): Add `allow_missing_builtins` flag [#1600](https://github.com/lambdaclass/cairo-vm/pull/1600)

This new flag will skip the check that all builtins used by the program need to be present in the selected layout if enabled. It will also be enabled by default when running in proof_mode.
Expand Down
Loading

0 comments on commit 7abbb39

Please sign in to comment.