From ff5f0d9fa8041b8f48e7724beed2017c4cd62548 Mon Sep 17 00:00:00 2001 From: Aditya Bisht Date: Thu, 26 Sep 2024 22:55:41 +0000 Subject: [PATCH] chore: update circom_proofgen.sh --- packages/prover/circom_proofgen.sh | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/packages/prover/circom_proofgen.sh b/packages/prover/circom_proofgen.sh index cb9870b7..18ac8162 100755 --- a/packages/prover/circom_proofgen.sh +++ b/packages/prover/circom_proofgen.sh @@ -21,21 +21,10 @@ public_path="${buildDir}/rapidsnark_public_${circuitName}_${nonce}.json" cd "${SCRIPT_DIR}" echo "entered zk email path: ${SCRIPT_DIR}" -./${paramsDir}/${circuitName}_cpp/${circuitName} "${input_path}" "${witness_path}" | tee /dev/stderr +${paramsDir}/${circuitName}_cpp/${circuitName} "${input_path}" "${witness_path}" | tee /dev/stderr status_jswitgen=$? echo "✓ Finished witness generation with cpp! ${status_jswitgen}" -# TODO: Get C-based witness gen to work -# echo "/${build_dir}/${CIRCUIT_NAME}_cpp/${CIRCUIT_NAME} ${input_wallet_path} ${witness_path}" -# "/${build_dir}/${CIRCUIT_NAME}_cpp/${CIRCUIT_NAME}" "${input_wallet_path}" "${witness_path}" -# status_c_wit=$? - -# echo "Finished C witness gen! Status: ${status_c_wit}" -# if [ $status_c_wit -ne 0 ]; then -# echo "C based witness gen failed with status (might be on machine specs diff than compilation): ${status_c_wit}" -# exit 1 -# fi - if [ $isLocal = 1 ]; then # DEFAULT SNARKJS PROVER (SLOW) NODE_OPTIONS='--max-old-space-size=644000' snarkjs groth16 prove "${paramsDir}/${circuitName}.zkey" "${witness_path}" "${proof_path}" "${public_path}"