Skip to content

Commit

Permalink
chore(ffi): add description
Browse files Browse the repository at this point in the history
  • Loading branch information
vivianjeng committed Jan 18, 2024
1 parent 8b01342 commit 4f29b4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mopro-ffi/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -319,7 +319,7 @@ mod tests {
mopro_circom.verify_proof(serialized_proof.clone(), serialized_inputs.clone())?;
assert!(is_valid);

// Step 4: Convert Proof
// Step 4: Convert Proof to Ethereum compatible proof
let proof_calldata = to_ethereum_proof(serialized_proof);
let inputs_calldata = to_ethereum_inputs(serialized_inputs);
assert!(proof_calldata.a.x.len() > 0);
Expand Down Expand Up @@ -371,7 +371,7 @@ mod tests {
mopro_circom.verify_proof(serialized_proof.clone(), serialized_inputs.clone())?;
assert!(is_valid);

// Step 4: Convert Proof
// Step 4: Convert Proof to Ethereum compatible proof
let proof_calldata = to_ethereum_proof(serialized_proof);
let inputs_calldata = to_ethereum_inputs(serialized_inputs);
assert!(proof_calldata.a.x.len() > 0);
Expand Down

0 comments on commit 4f29b4f

Please sign in to comment.