Skip to content

fix: fix deprecated proving system commands #89

fix: fix deprecated proving system commands

fix: fix deprecated proving system commands #89

Workflow file for this run

name: ethereum contract tests
on:
push:
branches:
- main
pull_request:
env:
FOUNDRY_PROFILE: ci
jobs:
check:
strategy:
fail-fast: true
name: Foundry project
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
with:
version: nightly
- name: Install Nargo
uses: noir-lang/[email protected]
with:
toolchain: 1.0.0-beta.18
# Note: Solidity verifiers are pre-generated and committed to ethereum/contracts/src/generated-verifier/
# Generating them in CI causes OOM errors due to high memory requirements
# To regenerate: bb write_solidity_verifier -k ./target/<circuit> -o ./ethereum/contracts/src/generated-verifier/<Circuit>UltraPLONKVerifier.sol
# Will receive warnings about the size of the contracts
- name: Run Forge build
run: |
cd ethereum/contracts
forge --version
forge build --sizes || (test -f out/GetAccountUltraPLONKVerifier.sol/UltraVerifier.json && echo "Contracts compiled successfully despite size warnings" || exit 1)
id: build
- name: Run Forge tests
run: |
cd ethereum/contracts
forge test -vvv
id: test