Skip to content

Commit

Permalink
Updated pychiquito frontend (privacy-scaling-explorations#77)
Browse files Browse the repository at this point in the history
Very simple changes.
  • Loading branch information
qwang98 authored Aug 5, 2023
1 parent 01f417a commit 300229a
Showing 1 changed file with 2 additions and 10 deletions.
12 changes: 2 additions & 10 deletions src/frontend/pychiquito.rs
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ pub fn uuid_to_halo2(uuid: UUID) -> (ChiquitoHalo2<Fr>, Option<AssignmentGenerat
})
}

pub fn chiquito_verify_proof(witness_json: &str, ast_id: UUID) {
pub fn chiquito_halo2_mock_prover(witness_json: &str, ast_id: UUID) {
let trace_witness: TraceWitness<Fr> =
serde_json::from_str(witness_json).expect("Json deserialization to TraceWitness failed.");
let (compiled, assignment_generator) = uuid_to_halo2(ast_id);
Expand Down Expand Up @@ -626,15 +626,7 @@ impl<'de> Visitor<'de> for TraceWitnessVisitor {
}
step_instances = Some(map.next_value()?);
}
"height" => {
// ignore legacy field
}
_ => {
return Err(de::Error::unknown_field(
&key,
&["step_instances", "height"],
))
}
_ => return Err(de::Error::unknown_field(&key, &["step_instances"])),
}
}
let step_instances =
Expand Down

0 comments on commit 300229a

Please sign in to comment.