mirror of
https://github.com/logos-storage/logos-storage-proofs-circuits.git
synced 2026-01-02 13:33:07 +00:00
Includes verification key json in output zip
This commit is contained in:
parent
61789cadeb
commit
037f2868b1
3
.github/workflows/generate.yml
vendored
3
.github/workflows/generate.yml
vendored
@ -50,6 +50,7 @@ env:
|
||||
circuit_file: workflow/build/proof_main.zkey
|
||||
constraints_file: workflow/build/proof_main.r1cs
|
||||
wasm_file: workflow/build/proof_main_js/proof_main.wasm
|
||||
verification_key_file: workflow/build/proof_main_verification_key.json
|
||||
zip_file: workflow/build/proof_circuit.zip
|
||||
storage_url: https://circuit.codex.storage
|
||||
|
||||
@ -136,7 +137,7 @@ jobs:
|
||||
AWS_DEFAULT_REGION: ${{ secrets.AWS_DEFAULT_REGION }}
|
||||
run: |
|
||||
# Zip
|
||||
zip -qj ${{ env.zip_file }} ${{ env.circuit_file }} ${{ env.constraints_file }} ${{ env.wasm_file }}
|
||||
zip -qj ${{ env.zip_file }} ${{ env.circuit_file }} ${{ env.constraints_file }} ${{ env.wasm_file }} ${{ env.verification_key_file }}
|
||||
# Variables
|
||||
hash=($(shasum -a 256 ${{ env.zip_file }}))
|
||||
[[ -z "${{ env.s3_bucket_path}}" ]] && storage_file="${hash}" || storage_file="${{ env.s3_bucket_path}}/${hash}"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user