From 42050742e7e0eddb52dd1de9f7505ccfe1930a2f Mon Sep 17 00:00:00 2001 From: Stav Beno Date: Tue, 24 Dec 2024 10:49:16 +0200 Subject: [PATCH] stavbe: change AirPrivateInputSerializable fields to public --- vm/src/air_private_input.rs | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/vm/src/air_private_input.rs b/vm/src/air_private_input.rs index 421c1b3fa0..978febb76c 100644 --- a/vm/src/air_private_input.rs +++ b/vm/src/air_private_input.rs @@ -12,28 +12,28 @@ use crate::Felt252; // Serializable format, matches the file output of the python implementation #[derive(Serialize, Deserialize, Clone, Debug, PartialEq, Eq)] pub struct AirPrivateInputSerializable { - trace_path: String, - memory_path: String, + pub trace_path: String, + pub memory_path: String, #[serde(skip_serializing_if = "Option::is_none")] - pedersen: Option>, + pub pedersen: Option>, #[serde(skip_serializing_if = "Option::is_none")] - range_check: Option>, + pub range_check: Option>, #[serde(skip_serializing_if = "Option::is_none")] - range_check96: Option>, + pub range_check96: Option>, #[serde(skip_serializing_if = "Option::is_none")] - ecdsa: Option>, + pub ecdsa: Option>, #[serde(skip_serializing_if = "Option::is_none")] - bitwise: Option>, + pub bitwise: Option>, #[serde(skip_serializing_if = "Option::is_none")] - ec_op: Option>, + pub ec_op: Option>, #[serde(skip_serializing_if = "Option::is_none")] - keccak: Option>, + pub keccak: Option>, #[serde(skip_serializing_if = "Option::is_none")] - poseidon: Option>, + pub poseidon: Option>, #[serde(skip_serializing_if = "Option::is_none")] - add_mod: Option, + pub add_mod: Option, #[serde(skip_serializing_if = "Option::is_none")] - mul_mod: Option, + pub mul_mod: Option, } // Contains only builtin public inputs, useful for library users