Skip to content

Commit

Permalink
Remove duplicated range check
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Sep 3, 2024
1 parent 30f7766 commit af9fadd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions vm/src/air_private_input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ pub struct AirPrivateInputSerializable {
#[serde(skip_serializing_if = "Option::is_none")]
poseidon: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
range_check96: Option<Vec<PrivateInput>>,
#[serde(skip_serializing_if = "Option::is_none")]
add_mod: Option<PrivateInput>,
#[serde(skip_serializing_if = "Option::is_none")]
mul_mod: Option<PrivateInput>,
Expand Down Expand Up @@ -167,7 +165,6 @@ impl AirPrivateInput {
ec_op: self.0.get(&BuiltinName::ec_op).cloned(),
keccak: self.0.get(&BuiltinName::keccak).cloned(),
poseidon: self.0.get(&BuiltinName::poseidon).cloned(),
range_check96: self.0.get(&BuiltinName::range_check96).cloned(),
add_mod: self
.0
.get(&BuiltinName::add_mod)
Expand Down Expand Up @@ -283,10 +280,6 @@ mod tests {
)]),
add_mod: None,
mul_mod: None,
range_check96: Some(vec![PrivateInput::Value(PrivateInputValue {
index: 10000,
value: Felt252::from(8000),
})]),
};

let private_input = AirPrivateInput::from(serializable_private_input.clone());
Expand Down

0 comments on commit af9fadd

Please sign in to comment.