Skip to content

Commit

Permalink
ci: add proof to the build assets (#2)
Browse files Browse the repository at this point in the history
  • Loading branch information
AuHau committed Jan 4, 2024
1 parent e12db34 commit d4c1219
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions .github/workflows/generate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,15 @@ jobs:
snarkjs zkey export solidityverifier proof_main.zkey verifier.sol
cd ..
- name: Generate proof
run: |
cd workflow/build/
../../reference/nim/proof_input/cli $CLI_ARGS -v --output=input.json
cd proof_main_js
node generate_witness.js proof_main.wasm ../input.json ../witness.wtns
cd ..
snarkjs groth16 prove proof_main.zkey witness.wtns proof.json public.json
- name: Upload artifact
uses: actions/upload-artifact@v3
with:
Expand Down

0 comments on commit d4c1219

Please sign in to comment.