Skip to content

Commit

Permalink
Fix prover files
Browse files Browse the repository at this point in the history
  • Loading branch information
SoraSuegami committed Aug 21, 2024
1 parent 906c0c9 commit e9243f5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions packages/prover/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -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
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
6 changes: 3 additions & 3 deletions packages/prover/circom_proofgen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e9243f5

Please sign in to comment.