Skip to content

Commit

Permalink
stavbe: change AirPrivateInputSerializable fields to public
Browse files Browse the repository at this point in the history
  • Loading branch information
Stavbe committed Dec 24, 2024
1 parent 3f3df3e commit 4205074
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions vm/src/air_private_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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<Vec<PrivateInput>>,
pub pedersen: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
range_check: Option<Vec<PrivateInput>>,
pub range_check: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
range_check96: Option<Vec<PrivateInput>>,
pub range_check96: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
ecdsa: Option<Vec<PrivateInput>>,
pub ecdsa: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
bitwise: Option<Vec<PrivateInput>>,
pub bitwise: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
ec_op: Option<Vec<PrivateInput>>,
pub ec_op: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
keccak: Option<Vec<PrivateInput>>,
pub keccak: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
poseidon: Option<Vec<PrivateInput>>,
pub poseidon: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
add_mod: Option<PrivateInput>,
pub add_mod: Option<PrivateInput>,
#[serde(skip_serializing_if = "Option::is_none")]
mul_mod: Option<PrivateInput>,
pub mul_mod: Option<PrivateInput>,
}

// Contains only builtin public inputs, useful for library users
Expand Down

0 comments on commit 4205074

Please sign in to comment.