-
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 'main' into docs-addition
- Loading branch information
Showing
465 changed files
with
41,469 additions
and
28,647 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 |
---|---|---|
|
@@ -10,6 +10,13 @@ on: | |
- "!packages/protocol/docs/**" | ||
- "!packages/protocol/simulation/**" | ||
- "!packages/protocol/deployments/**" | ||
- "!packages/protocol/script/layer2/hekla/**" | ||
- "!packages/protocol/script/layer2/mainnet/**" | ||
- "!packages/protocol/script/layer1/hekla/**" | ||
- "!packages/protocol/script/layer1/mainnet/**" | ||
- "!packages/protocol/script/layer1/preconf/**" | ||
- "!packages/protocol/script/layer1/provers/**" | ||
- "!packages/protocol/script/layer1/team/**" | ||
branches-ignore: | ||
- release-please--branches--** | ||
|
||
|
@@ -37,6 +44,8 @@ jobs: | |
|
||
- name: Install Foundry | ||
uses: foundry-rs/[email protected] | ||
with: | ||
version: stable | ||
|
||
- name: Install pnpm dependencies | ||
uses: ./.github/actions/install-pnpm-dependencies | ||
|
@@ -53,7 +62,18 @@ jobs: | |
working-directory: ./packages/protocol | ||
run: pnpm compile:l1 && pnpm test:l1 && pnpm layout:l1 | ||
|
||
- name: Check for changes | ||
id: git_status | ||
run: | | ||
git add -N . # Simulate staging to detect untracked files | ||
if [ -n "$(git status --porcelain)" ]; then | ||
echo "changes=true" >> $GITHUB_ENV | ||
else | ||
echo "changes=false" >> $GITHUB_ENV | ||
fi | ||
- name: Commit contract layout table | ||
if: env.changes == 'true' | ||
uses: stefanzweifel/git-auto-commit-action@v5 | ||
with: | ||
commit_message: "forge fmt & update contract layout tables" | ||
|
@@ -86,7 +106,7 @@ jobs: | |
submodules: recursive | ||
|
||
- name: Install Foundry | ||
uses: foundry-rs/foundry-toolchain@v1.2.0 | ||
uses: foundry-rs/foundry-toolchain@v1.3.1 | ||
|
||
- name: Install pnpm dependencies | ||
uses: ./.github/actions/install-pnpm-dependencies | ||
|
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 |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: "Taiko Client Soft Blocks Documentation" | ||
|
||
on: | ||
push: | ||
branches: [main] | ||
paths: | ||
- "packages/taiko-client/**" | ||
|
||
jobs: | ||
generate-and-deploy: | ||
runs-on: [arc-runner-set] | ||
permissions: | ||
contents: write | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Set up Go | ||
uses: actions/setup-go@v4 | ||
with: | ||
go-version: "1.23" | ||
|
||
- name: Install swaggo | ||
run: | | ||
export CGO_ENABLED=0 | ||
go install github.com/swaggo/swag/cmd/swag@latest | ||
- name: Generate Swagger documentation | ||
run: | | ||
export CGO_ENABLED=0 | ||
cd packages/taiko-client | ||
./scripts/gen_swagger_json.sh | ||
- name: Deploy to GitHub Pages | ||
uses: peaceiris/actions-gh-pages@v4 | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: packages/taiko-client/docs # Set this to where your `index.html` is located | ||
publish_branch: gh-pages | ||
destination_dir: preconf_blocks_api |
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 |
---|---|---|
|
@@ -120,3 +120,4 @@ __pycache__/ | |
|
||
# Idea | ||
.idea/ | ||
packages/protocol/snapshots/InboxTest_ProposeAndProve.json |
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.