From 4f29b4fdd7b049329c28c310c3e6a899a83c69fe Mon Sep 17 00:00:00 2001 From: "Ya-wen, Jeng" Date: Thu, 18 Jan 2024 13:44:22 +0800 Subject: [PATCH] chore(ffi): add description --- mopro-ffi/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mopro-ffi/src/lib.rs b/mopro-ffi/src/lib.rs index a1298fef..ab215ac3 100644 --- a/mopro-ffi/src/lib.rs +++ b/mopro-ffi/src/lib.rs @@ -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); @@ -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);