From d1d1a32e79b56f665c8bfaa8764d59a05d4b6755 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20Uhl=C3=AD=C5=99?= Date: Wed, 3 Jan 2024 13:15:39 +0100 Subject: [PATCH] ci: fix ceremony download folder --- .github/workflows/generate.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/generate.yml b/.github/workflows/generate.yml index 8669354..6e4609c 100644 --- a/.github/workflows/generate.yml +++ b/.github/workflows/generate.yml @@ -99,7 +99,9 @@ jobs: - name: Circuit setup run: | - wget -O ceremony.ptau -P .. ${{ env.ceremony_source }} + cd .. + wget -q -O ceremony.ptau ${{ env.ceremony_source }} + cd build NODE_OPTIONS="--max-old-space-size=8192" snarkjs groth16 setup proof_main.r1cs ../ceremony.ptau proof_main_0000.zkey NODE_OPTIONS="--max-old-space-size=8192" snarkjs zkey contribute proof_main_0000.zkey proof_main_0001.zkey --name="External Contribution" -e="${{ github.event.inputs.ceremonyContribution }}" rm proof_main_0000.zkey