Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

implement verify-proof for placeholder #113

Merged
merged 2 commits into from
Dec 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions .github/workflows/reusable-verify-proofs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ jobs:
uses: actions/[email protected]

- name: Install node dependencies
run: |
npm install
run: npm install

- name: Download artifact
uses: actions/download-artifact@v3
Expand Down
37 changes: 37 additions & 0 deletions .github/workflows/verify-proof.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Verify Proofs from crypto3-transpiler

on:
workflow_call:
inputs:
evm-placeholder-verification-ref:
type: string
description: "Reference to evm-placeholder-verification repository to checkout at"

jobs:
verify-proofs:
runs-on: [self-hosted, Linux, X64, aws_autoscaling]
steps:
- name: Clean up after previous checkout
run: chmod +w -R ${GITHUB_WORKSPACE}; rm -rf ${GITHUB_WORKSPACE}/*;
- name: Checkout code
uses: actions/checkout@v4
with:
repository: 'NilFoundation/evm-placeholder-verification'
ref: ${{ inputs.evm-placeholder-verification-ref }}
- name: Setup Node.js environment
uses: actions/setup-node@v4
with:
node-version: 18
- name: Install node dependencies
run: npm install
- name: Download artifact
uses: actions/download-artifact@v4
with:
name: proofs
path: ./contracts/zkllvm
- name: Verify all proofs
run: |
ls -l -a ./contracts/zkllvm
npx hardhat deploy
npx hardhat verify-circuit-proof-all

Loading
Loading