-
Notifications
You must be signed in to change notification settings - Fork 10
42 lines (39 loc) · 1.17 KB
/
verify-proof.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
name: Verify Proofs (Reusable)
on:
workflow_call:
inputs:
evm-placeholder-verification-ref:
type: string
description: "Reference to evm-placeholder-verification repository to checkout at"
pull_request:
push:
branches:
- master
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
ls -l -a ./contracts/zkllvm
npx hardhat deploy
npx hardhat verify-circuit-proof-all