-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'ontake_cleanup' into ontake_cleanup_client
- Loading branch information
Showing
118 changed files
with
1,736 additions
and
8,339 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,16 @@ on: workflow_call | |
|
||
jobs: | ||
build: | ||
runs-on: [taiko-runner] | ||
runs-on: [arc-runner-set] | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Install Git | ||
run: sudo apt-get update && sudo apt-get install -y git | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
|
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,16 @@ on: | |
jobs: | ||
build-nfts-contracts: | ||
if: github.event.pull_request.draft == false | ||
runs-on: [taiko-runner] | ||
runs-on: [arc-runner-set] | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Install Git | ||
run: sudo apt-get update && sudo apt-get install -y git | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
jobs: | ||
build-protocol: | ||
if: github.event.pull_request.draft == false | ||
runs-on: [taiko-runner] | ||
runs-on: [arc-runner-set] | ||
permissions: | ||
# Give the necessary permissions for stefanzweifel/git-auto-commit-action. | ||
contents: write | ||
|
@@ -19,6 +19,9 @@ jobs: | |
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Prepare environment | ||
run: sudo apt-get update && sudo apt-get install -y git nc | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
|
@@ -38,10 +41,6 @@ jobs: | |
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 | ||
|
@@ -60,3 +59,34 @@ jobs: | |
sleep 1 | ||
done | ||
pnpm test:deploy:l1 | ||
genesis-docker: | ||
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/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/[email protected] | ||
|
||
- name: Install pnpm dependencies | ||
uses: ./.github/actions/install-pnpm-dependencies | ||
|
||
- name: Compile | ||
working-directory: ./packages/protocol | ||
run: pnpm clean && pnpm compile | ||
|
||
- name: L2-Generate Genesis (using docker) | ||
working-directory: ./packages/protocol | ||
run: pnpm genesis:test |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,7 +18,7 @@ jobs: | |
lint-relayer: | ||
name: lint-relayer | ||
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }} | ||
runs-on: [taiko-runner] | ||
runs-on: [arc-runner-set] | ||
steps: | ||
- uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -36,14 +36,17 @@ jobs: | |
|
||
test-relayer: | ||
if: ${{ github.event_name == 'pull_request' && github.event.pull_request.draft == false }} | ||
runs-on: [taiko-runner] | ||
runs-on: [arc-runner-set] | ||
needs: lint-relayer | ||
steps: | ||
- name: Cancel Previous Runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Install Git | ||
run: sudo apt-get update && sudo apt-get install -y git | ||
|
||
- uses: actions/checkout@v4 | ||
- uses: actions/setup-go@v5 | ||
with: | ||
|
@@ -63,9 +66,12 @@ jobs: | |
# Skip dependabot PRs | ||
if: ${{ github.event_name == 'pull_request' && ! startsWith(github.ref, 'refs/heads/dependabot/') }} | ||
name: Build and push docker image | ||
runs-on: [taiko-runner] | ||
runs-on: [arc-runner-set] | ||
|
||
steps: | ||
- name: Install Git | ||
run: sudo apt-get update && sudo apt-get install -y git | ||
|
||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
with: | ||
|
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
This file was deleted.
Oops, something went wrong.
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
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
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
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
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
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,16 @@ on: workflow_call | |
|
||
jobs: | ||
build: | ||
runs-on: [taiko-runner] | ||
runs-on: [arc-runner-set] | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Install Git | ||
run: sudo apt-get update && sudo apt-get install -y git | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,13 +9,16 @@ on: | |
jobs: | ||
build-supplementary-contracts: | ||
if: github.event.pull_request.draft == false | ||
runs-on: [taiko-runner] | ||
runs-on: [arc-runner-set] | ||
steps: | ||
- name: Cancel previous runs | ||
uses: styfle/[email protected] | ||
with: | ||
access_token: ${{ github.token }} | ||
|
||
- name: Install Git | ||
run: sudo apt-get update && sudo apt-get install -y git | ||
|
||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
with: | ||
|
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
Oops, something went wrong.