feat(relayer): two-step bridge + watchdog + full merkle proof #6195
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Protocol | |
on: | |
push: | |
branches: [main] | |
paths: | |
- "packages/protocol/**" | |
pull_request: | |
paths: | |
- "packages/protocol/**" | |
jobs: | |
build: | |
runs-on: [taiko-runner] | |
steps: | |
- name: Cancel previous runs | |
uses: styfle/[email protected] | |
with: | |
access_token: ${{ github.token }} | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
with: | |
submodules: recursive | |
- name: Install Foundry | |
uses: foundry-rs/foundry-toolchain@v1 | |
- name: Install pnpm dependencies | |
uses: ./.github/actions/install-pnpm-dependencies | |
- name: Check formatting | |
working-directory: ./packages/protocol | |
run: forge fmt --check | |
- name: Unit Tests | |
working-directory: ./packages/protocol | |
run: pnpm clean && pnpm test | |
- name: Generate Genesis | |
working-directory: ./packages/protocol | |
run: pnpm test:genesis | |
# TODO: CompilerError: Stack too deep | |
# - name: Test Coverage | |
# working-directory: ./packages/protocol | |
# run: pnpm test:coverage | |
- name: Run snapshot (foundry) | |
working-directory: ./packages/protocol | |
run: pnpm snapshot | |
- name: Deploy L1 Contracts | |
working-directory: ./packages/protocol | |
run: | | |
anvil --hardfork cancun & | |
while ! nc -z localhost 8545; do | |
sleep 1 | |
done | |
pnpm test:deploy | |
# - name: Upload coverage to Codecov | |
# uses: codecov/codecov-action@v3 | |
# with: | |
# directory: ./packages/protocol/coverage | |
# flags: protocol |