We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0c76bf + c38638b commit ca6d4fbCopy full SHA for ca6d4fb
1 file changed
.github/workflows/snarkjs.sh
@@ -11,11 +11,11 @@ CURVE=$2
11
12
# Ensure the circuit directory exists and is initialized
13
echo "Initializing a new Noname package..."
14
-noname new --path circuit_noname
+noname new --path "$DIR_PATH/circuit_noname"
15
16
# Compile the circuit using Noname CLI
17
echo "Compiling the circuit using Noname..."
18
-noname run --backend r1cs-$CURVE --path "circuit_noname" \
+noname run --backend r1cs-$CURVE --path "$DIR_PATH/circuit_noname" \
19
--public-inputs '{"xx": "5"}' \
20
--private-inputs '{"yy": "4"}'
21
@@ -48,4 +48,3 @@ echo "Exporting Solidity verifier and calldata..."
48
snarkjs zkey export solidityverifier "test_${CURVE}_0001.zkey" verifier.sol
49
echo "Calldata to test:"
50
snarkjs zkey export soliditycalldata public.json proof.json
51
-
0 commit comments