From bd496eaeb93cad054770e5aa81b9ea500f90cfeb Mon Sep 17 00:00:00 2001 From: Juan-M-V <102986292+Juan-M-V@users.noreply.github.com> Date: Wed, 13 Sep 2023 16:10:16 -0300 Subject: [PATCH] Fix air parsing (#1439) * Add air changes * Update air_public_input.rs --------- Co-authored-by: juan.mv --- vm/src/air_public_input.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vm/src/air_public_input.rs b/vm/src/air_public_input.rs index 5db3057739..3b909f0be5 100644 --- a/vm/src/air_public_input.rs +++ b/vm/src/air_public_input.rs @@ -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, + #[serde(rename = "dynamic_params")] + layout_params: Option<&'a CairoLayout>, } impl<'a> PublicInput<'a> {