Skip to content

update to nargo 0.11.0, bbjs 0.5.1 #38

update to nargo 0.11.0, bbjs 0.5.1

update to nargo 0.11.0, bbjs 0.5.1 #38

Workflow file for this run

# a github workflow that runs curl -L https://foundry.paradigm.xyz | bash then nargo codegen-verifier then nargo prove p
name: Run Tests on PR
on:
pull_request:
paths:
- 'with-foundry/**'
jobs:
test:
defaults:
run:
working-directory: with-foundry
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- name: Install Nargo
uses: noir-lang/[email protected]
with:
toolchain: 0.10.5
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Generate verifier contract
run: |
nargo codegen-verifier
working-directory: with-foundry/circuits
- name: Generate proof
run: |
nargo prove
working-directory: with-foundry/circuits
- name: Test with Foundry
run: |
forge test --optimize --optimizer-runs 5000 --evm-version london