mirror of
https://github.com/logos-storage/logos-storage-proofs-circuits.git
synced 2026-01-03 22:13:08 +00:00
ci: add proof to the build assets
This commit is contained in:
parent
e12db34700
commit
0bb429bd48
7
.github/workflows/generate.yml
vendored
7
.github/workflows/generate.yml
vendored
@ -111,6 +111,13 @@ jobs:
|
||||
snarkjs zkey export solidityverifier proof_main.zkey verifier.sol
|
||||
cd ..
|
||||
|
||||
- name: Generate proof
|
||||
run: |
|
||||
cd workflow/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:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user