From e9243f5708f958eac5202c0fc35fba84ba10f777 Mon Sep 17 00:00:00 2001 From: SoraSuegami Date: Wed, 21 Aug 2024 22:58:35 +0900 Subject: [PATCH] Fix prover files --- packages/prover/Dockerfile | 6 +++--- packages/prover/circom_proofgen.sh | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/packages/prover/Dockerfile b/packages/prover/Dockerfile index 2750df1c..3a77dcb3 100644 --- a/packages/prover/Dockerfile +++ b/packages/prover/Dockerfile @@ -61,6 +61,6 @@ RUN curl -fsSL https://bazel.build/bazel-release.pub.gpg | gpg --dearmor > bazel # Clone and build Tachyon -RUN git clone --branch v0.3.0 https://github.com/kroma-network/tachyon /tachyon -WORKDIR /tachyon/vendors/circom -RUN CARGO_BAZEL_REPIN=1 bazel sync --only=crate_index && bazel build --@kroma_network_tachyon//:has_openmp -c opt --config linux //:prover_main \ No newline at end of file +RUN git clone --branch v0.3.0 https://github.com/kroma-network/tachyon /root/tachyon +WORKDIR /root/tachyon/vendors/circom +RUN CARGO_BAZEL_REPIN=1 bazel sync --only=crate_index && bazel build --@kroma_network_tachyon//:has_openmp -c opt --config linux //:prover_main diff --git a/packages/prover/circom_proofgen.sh b/packages/prover/circom_proofgen.sh index 583477d0..b445438a 100755 --- a/packages/prover/circom_proofgen.sh +++ b/packages/prover/circom_proofgen.sh @@ -52,9 +52,9 @@ if [ $isLocal = 1 ]; then else # TACHYON PROVER echo "ldd ${SCRIPT_DIR}/tachyon/vendors/circom" - ldd "${SCRIPT_DIR}/tachyon/vendors/circom" - status_lld=$? - echo "✓ lld prover dependencies present! ${status_lld}" + # ldd "${SCRIPT_DIR}/tachyon/vendors/circom" + # status_lld=$? + # echo "✓ lld prover dependencies present! ${status_lld}" echo "${SCRIPT_DIR}/tachyon/vendors/circom/bazel-bin/prover_main ${paramsDir}/${circuitName}.zkey ${witness_path} ${proof_path} ${public_path}" "${SCRIPT_DIR}/tachyon/vendors/circom/bazel-bin/prover_main" "${paramsDir}/${circuitName}.zkey" "${witness_path}" "${proof_path}" "${public_path}" | tee /dev/stderr