diff --git a/CHANGELOG.md b/CHANGELOG.md index 48d9402d1e..249617d082 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,6 +4,8 @@ #### [2.0.0-rc2] - 2024-12-12 +* chore: Expose fields in `AirPrivateInputSerializable` as public for external access [#1900] (https://github.com/lambdaclass/cairo-vm/pull/1900) + * fix: Change wildcard getrandom dependency. * Update starknet-crypto to 0.7.3, removing the old FieldElement completly in favour of the new Felt (that is Copy). 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