From c38638bedebbfb42b9028a153c02f97ad327547c Mon Sep 17 00:00:00 2001 From: Dmitry <98899785+mdqst@users.noreply.github.com> Date: Sat, 30 Aug 2025 16:32:57 +0300 Subject: [PATCH] fix: project creation and compilation path handling --- .github/workflows/snarkjs.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/.github/workflows/snarkjs.sh b/.github/workflows/snarkjs.sh index 7031f163b..78419be2c 100755 --- a/.github/workflows/snarkjs.sh +++ b/.github/workflows/snarkjs.sh @@ -11,11 +11,11 @@ CURVE=$2 # Ensure the circuit directory exists and is initialized echo "Initializing a new Noname package..." -noname new --path circuit_noname +noname new --path "$DIR_PATH/circuit_noname" # Compile the circuit using Noname CLI echo "Compiling the circuit using Noname..." -noname run --backend r1cs-$CURVE --path "circuit_noname" \ +noname run --backend r1cs-$CURVE --path "$DIR_PATH/circuit_noname" \ --public-inputs '{"xx": "5"}' \ --private-inputs '{"yy": "4"}' @@ -48,4 +48,3 @@ echo "Exporting Solidity verifier and calldata..." snarkjs zkey export solidityverifier "test_${CURVE}_0001.zkey" verifier.sol echo "Calldata to test:" snarkjs zkey export soliditycalldata public.json proof.json -