Skip to content

Commit

Permalink
[Cairo 1] Handle BoundedInt variant in serialize_output (#1768)
Browse files Browse the repository at this point in the history
* Handle BoundedInt variant in serialize_output

* Update CHANGELOG.md
  • Loading branch information
fmoletta authored May 21, 2024
1 parent c370e2d commit f7a37e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
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

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

* 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
1 change: 1 addition & 0 deletions cairo1-run/src/cairo_run.rs
Original file line number Diff line number Diff line change
Expand Up @@ -957,6 +957,7 @@ fn serialize_output_inner<'a>(
unimplemented!("Not supported in the current version")
},
cairo_lang_sierra::extensions::core::CoreTypeConcrete::Felt252(_)
| cairo_lang_sierra::extensions::core::CoreTypeConcrete::BoundedInt(_)
// Only unsigned integer values implement Into<Bytes31>
| cairo_lang_sierra::extensions::core::CoreTypeConcrete::Bytes31(_)
| cairo_lang_sierra::extensions::core::CoreTypeConcrete::Uint8(_)
Expand Down

0 comments on commit f7a37e1

Please sign in to comment.