Skip to content

Commit

Permalink
fix: make OutputBuiltinState public (#1769)
Browse files Browse the repository at this point in the history
* fix: make `OutputBuiltinState` public

The output state related functions (ex: `set_state`) are unusable if this
struct is private.

* changelog
  • Loading branch information
odesenfans committed May 22, 2024
1 parent f7a37e1 commit 79cb881
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 @@ -4,6 +4,8 @@

* feat: Handle `BoundedInt` variant in `serialize_output`, `cairo1-run` crate [#1768](https://github.com/lambdaclass/cairo-vm/pull/1768)

* fix: make `OutputBuiltinState` public [#1769](https://github.com/lambdaclass/cairo-vm/pull/1769)

* feat: Load arguments into VM instead of creating them via instructions in cairo1-run [#1759](https://github.com/lambdaclass/cairo-vm/pull/1759)

#### [1.0.0-rc3] - 2024-05-14
Expand Down
2 changes: 1 addition & 1 deletion vm/src/vm/runners/builtin_runner/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ pub use hash::HashBuiltinRunner;
pub use keccak::KeccakBuiltinRunner;
pub use modulo::ModBuiltinRunner;
use num_integer::div_floor;
pub use output::OutputBuiltinRunner;
pub use output::{OutputBuiltinRunner, OutputBuiltinState};
pub use poseidon::PoseidonBuiltinRunner;
pub use range_check::RangeCheckBuiltinRunner;
pub use segment_arena::SegmentArenaBuiltinRunner;
Expand Down

0 comments on commit 79cb881

Please sign in to comment.