Skip to content

Commit

Permalink
Fix air parsing (#1439)
Browse files Browse the repository at this point in the history
* Add air changes

* Update air_public_input.rs

---------

Co-authored-by: juan.mv <juan@lambdaclass.com>
  • Loading branch information
Juan-M-V and juan.mv authored Sep 13, 2023
1 parent 1b8e5c0 commit bd496ea
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vm/src/air_public_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -57,12 +57,13 @@ impl From<(usize, usize)> for MemorySegmentAddresses {
#[derive(Serialize, Debug)]
pub struct PublicInput<'a> {
layout: &'a str,
layout_params: Option<&'a CairoLayout>,
rc_min: isize,
rc_max: isize,
n_steps: usize,
memory_segments: HashMap<&'a str, MemorySegmentAddresses>,
public_memory: Vec<PublicMemoryEntry>,
#[serde(rename = "dynamic_params")]
layout_params: Option<&'a CairoLayout>,
}

impl<'a> PublicInput<'a> {
Expand Down

0 comments on commit bd496ea

Please sign in to comment.