This repository has been archived by the owner on Nov 29, 2024. It is now read-only.
refactor: added 'notFrozen' modifier and refactored reverts to use re… #213
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: e2e | |
on: | |
push: | |
branches: [main] | |
pull_request: | |
paths: | |
- '**.rs' | |
- '**.go' | |
- '**.toml' | |
- '**.lock' | |
- '**.mod' | |
- '**.sum' | |
- '**.sol' | |
- '.github/workflows/e2e.yml' | |
env: | |
FOUNDRY_PROFILE: ci | |
permissions: | |
contents: read | |
jobs: | |
golangci: | |
name: lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
- uses: actions/checkout@v4 | |
- name: golangci-lint | |
uses: golangci/[email protected] | |
with: | |
version: v1.61 | |
args: --timeout 5m | |
working-directory: e2e/interchaintestv8 | |
e2e: | |
strategy: | |
fail-fast: false | |
matrix: | |
test: | |
# List your tests here | |
- TestWithSP1ICS07TendermintTestSuite/TestDeploy_Groth16 | |
- TestWithSP1ICS07TendermintTestSuite/TestDeploy_Plonk | |
- TestWithSP1ICS07TendermintTestSuite/TestUpdateClient_Groth16 | |
- TestWithSP1ICS07TendermintTestSuite/TestUpdateClient_Plonk | |
- TestWithSP1ICS07TendermintTestSuite/TestMembership_Groth16 | |
- TestWithSP1ICS07TendermintTestSuite/TestMembership_Plonk | |
- TestWithSP1ICS07TendermintTestSuite/TestUpdateClientAndMembership_Groth16 | |
- TestWithSP1ICS07TendermintTestSuite/TestUpdateClientAndMembership_Plonk | |
- TestWithSP1ICS07TendermintTestSuite/TestDoubleSignMisbehaviour_Groth16 | |
- TestWithSP1ICS07TendermintTestSuite/TestDoubleSignMisbehaviour_Plonk | |
- TestWithSP1ICS07TendermintTestSuite/TestBreakingTimeMonotonicityMisbehaviour_Groth16 | |
- TestWithSP1ICS07TendermintTestSuite/TestBreakingTimeMonotonicityMisbehaviour_Plonk | |
- TestWithSP1ICS07TendermintTestSuite/Test100Membership_Groth16 | |
- TestWithSP1ICS07TendermintTestSuite/Test25Membership_Plonk | |
name: ${{ matrix.test }} | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout sources | |
uses: actions/checkout@v4 | |
- name: Setup Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: "1.23" | |
check-latest: true | |
cache-dependency-path: e2e/interchaintestv8/go.sum | |
- name: Install rust toolchain | |
uses: actions-rs/toolchain@v1 | |
with: | |
profile: minimal | |
toolchain: stable | |
- name: Install SP1 toolchain | |
run: | | |
curl -L https://sp1.succinct.xyz | bash | |
~/.sp1/bin/sp1up --token ${{ secrets.GITHUB_TOKEN }} | |
~/.sp1/bin/cargo-prove prove --version | |
- name: Install just | |
uses: extractions/setup-just@v2 | |
- name: Build operator | |
run: just build-operator | |
- name: "Install Bun" | |
uses: "oven-sh/setup-bun@v1" | |
- name: "Install the Node.js dependencies" | |
run: bun install | |
- name: Run Tests | |
env: | |
SP1_PRIVATE_KEY: ${{ secrets.SP1_PRIVATE_KEY }} | |
run: | | |
cd e2e/interchaintestv8 | |
go test -v -mod=readonly . -run '^${{ matrix.test }}$' -timeout 40m |