Skip to content
name: Verify circuit proof
on:
workflow_call:
jobs:
produce-proofs:
name: "Produce and verify proofs"
runs-on: [self-hosted, Linux, X64, aws_autoscaling]
steps:
- name: Checkout code
- uses: actions/checkout@v4
- name: Configure
run: echo "exec script" && cd crypto3 && mkdir build && cd build && cmake ../ -DCMAKE_BUILD_TYPE=Release -DBUILD_TESTS=TRUE -G Ninja && pwd && ls -l -a
shell: nix develop .#crypto3-tests --command bash -e {0}
- name: Build
run: pwd && ls -l -a && cd crypto3/build && ninja transpiler_evm_test
shell: nix develop .#crypto3-tests --command bash -e {0}
- name: Execute
run: cd crypto3/build && ./libs/transpiler/test/transpiler_evm_test -- --save-proof-data
shell: nix develop .#crypto3-tests --command bash -e {0}
- name: Publish Proofs
uses: actions/upload-artifact@v4
with:
name: proofs
path: |
crypto3/build/circuit*
if-no-files-found: error
verify-proofs:
name: Verify proofs zkllvm transpiler
needs:
- produce-proofs
if: needs.produce-proofs.result == 'success'
uses: NilFoundation/evm-placeholder-verification/.github/workflows/verify-proof.yml@f84cbb4e440c9978fd7e996b863635ae74cce330
with:
evm-placeholder-verification-ref: f84cbb4e440c9978fd7e996b863635ae74cce330