File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change 11name : OpenVM Repo Consistency Check
22
33on :
4+ push :
5+ pull_request :
46 workflow_dispatch :
7+ inputs :
8+ version :
9+ description : " Version to check (e.g. v1.0.1-rc.0)"
10+ required : false
11+ default : " v1.1.1"
512
613concurrency :
714 group : ${{ github.workflow }}-${{ github.event.pull_request.number || github.sha }}
815 cancel-in-progress : true
916
17+ env :
18+ VERSION : ${{ github.event.inputs.version || 'v1.1.1' }}
19+
1020jobs :
1121 checks :
1222 runs-on :
3747
3848 - name : Compare output to version folder
3949 run : |
40- diff -r ~/.openvm/halo2/src/v1.0.1-rc.0 src/v1.0.1-rc.0 --exclude=verifier.bytecode.json
50+ diff -r ~/.openvm/halo2/src/${VERSION} src/${VERSION} --exclude=verifier.bytecode.json
4151
4252 - name : Compare compiled bytecode in repo to verifier.bytecode.json
4353 run : |
4454 forge build --force
45- diff <(jq -r '.bytecode.object | ltrimstr("0x")' out/OpenVmHalo2Verifier.sol/OpenVmHalo2Verifier.json) <(jq -r '.bytecode | ltrimstr("0x")' ~/.openvm/halo2/src/v1.0.1-rc.0 /verifier.bytecode.json)
55+ diff <(jq -r '.bytecode.object | ltrimstr("0x")' out/OpenVmHalo2Verifier.sol/OpenVmHalo2Verifier.json) <(jq -r '.bytecode | ltrimstr("0x")' ~/.openvm/halo2/src/${VERSION} /verifier.bytecode.json)
You can’t perform that action at this time.
0 commit comments