Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Create Taiko Test #271

Closed
wants to merge 15 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
34 changes: 34 additions & 0 deletions .github/workflows/auto-comment.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: auto-comment
on:
pull_request:
types: [closed, labeled]
branches:
- katla-guardian-prover

jobs:
comment:
runs-on: ubuntu-latest
steps:
- name: Check if PR is labeled with auto
id: check_label
if: ${{ github.event.pull_request.merged }}
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
const labels = context.payload.pull_request.labels.map(label => label.name);
const isReleasePleasePR = labels.includes("autorelease: pending");
console.log(`Is Release Please PR: ${isReleasePleasePR}`);
return isReleasePleasePR
- name: Mention Users if Major Release
if: steps.check_label.outputs.result == 'true'
uses: actions/github-script@v7
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
body: 'New Guardian Prover release has been merged! @dantaik @davidtaikocha @cyberhorsey @d1onys1us @mratsim @Brechtpd @smtmfft'
})
1 change: 1 addition & 0 deletions Taiko Test
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Testing This
20 changes: 20 additions & 0 deletions script/start-guardian-prover.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh

set -eou pipefail

taiko-client prover \
--l1.ws ${L1_ENDPOINT_WS} \
--l2.ws ws://l2_execution_engine:8546 \
--l1.http ${L1_ENDPOINT_HTTP} \
--l2.http http://l2_execution_engine:8545 \
--prover.guardianProverHealthCheckServerEndpoint https://guardian-prover-health-check.katla.taiko.xyz \
--taikoL1 ${TAIKO_L1_ADDRESS} \
--taikoL2 ${TAIKO_L2_ADDRESS} \
--taikoToken ${TAIKO_TOKEN_L1_ADDRESS} \
--assignmentHook ${ASSIGNMENT_HOOK_L1_ADDRESS} \
--guardianProver ${GUARDIAN_PROVER_L1_ADDRESS} \
--l1.proverPrivKey ${L1_PROVER_PRIVATE_KEY} \
--prover.capacity 1024 \
--db.path /data \
--prover.proveUnassignedBlocks \
--mode.contester
Loading