ci: fix ceremony download folder

This commit is contained in:
Adam Uhlíř 2024-01-03 13:15:39 +01:00
parent 13d1e67152
commit d1d1a32e79
No known key found for this signature in database
GPG Key ID: 1D17A9E81F76155B

View File

@ -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