Skip to content

docs(protocol): upgrade sp1 plonk verifier 2.0.0 #10382

docs(protocol): upgrade sp1 plonk verifier 2.0.0

docs(protocol): upgrade sp1 plonk verifier 2.0.0 #10382

Workflow file for this run

name: Protocol
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/protocol/**"
jobs:
build-protocol:
if: github.event.pull_request.draft == false
runs-on: [taiko-runner]
permissions:
# Give the necessary permissions for stefanzweifel/git-auto-commit-action.
contents: write
steps:
- name: Cancel previous runs
uses: styfle/cancel-workflow-action@0.12.1
with:
access_token: ${{ github.token }}
- name: Checkout repository
uses: actions/checkout@v4
with:
submodules: recursive
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1.2.0
- name: Install pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies
- name: Clean up and fmt
working-directory: ./packages/protocol
run: pnpm clean && forge fmt
- name: L2-Unit tests
working-directory: ./packages/protocol
run: pnpm compile:l2 && pnpm test:l2 && pnpm layout:l2
- name: L2-Generate genesis
working-directory: ./packages/protocol
run: pnpm genesis:test
- name: L1-Unit tests
working-directory: ./packages/protocol
run: pnpm compile:l1 && pnpm test:l1 && pnpm layout:l1
- name: Commit contract layout table
uses: stefanzweifel/git-auto-commit-action@v5
with:
commit_message: "forge fmt & update contract layout tables"
- name: L1-Deploy contracts
working-directory: ./packages/protocol
timeout-minutes: 2
run: |
anvil --hardfork cancun &
while ! nc -z localhost 8545; do
sleep 1
done
pnpm test:deploy:l1