Skip to content

Commit

Permalink
Merge branch 'main' into feature/speed-up-block-hekla
Browse files Browse the repository at this point in the history
  • Loading branch information
YoGhurt111 committed Sep 28, 2024
2 parents 9864eea + 02a71dd commit c59c30e
Show file tree
Hide file tree
Showing 52 changed files with 10,120 additions and 5,547 deletions.
37 changes: 37 additions & 0 deletions .github/workflows/protocol-monitors.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: Monitors

on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/monitors/**"

jobs:
deploy-protocol-monitors:
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 pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies

- name: Deploy Monitors on OZ Defender
working-directory: packages/monitors/defender/mainnet
env:
DEFENDER_API_KEY: ${{ secrets.DEFENDER_API_KEY }}
DEFENDER_API_SECRET: ${{ secrets.DEFENDER_API_SECRET }}
SERVERLESS_ACCESS_KEY: ${{ secrets.SERVERLESS_ACCESS_KEY }}
run: |
npx serverless deploy
4 changes: 4 additions & 0 deletions .github/workflows/protocol.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/protocol/**"
- "!packages/protocol/audit/**"
- "!packages/protocol/docs/**"
- "!packages/protocol/simulation/**"
- "!packages/protocol/deployments/**"

jobs:
build-protocol:
Expand Down
22 changes: 15 additions & 7 deletions .github/workflows/taiko-client--docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,31 +11,39 @@ on:
jobs:
push-docker-image:
name: Build and push docker image
runs-on: [arc-runner-set]
strategy:
matrix:
include:
- runner: arc-runner-set
platform: linux/amd64
- runner: arc-runner-set-arm64
platform: linux/arm64

runs-on: ${{ matrix.runner }}

steps:
- name: Install Git
- name: Prepare Environment
run: sudo apt-get update && sudo apt-get install -y git

- name: Checkout
uses: actions/checkout@v4

- name: Login to GAR
uses: docker/login-action@v2
uses: docker/login-action@v3
with:
registry: us-docker.pkg.dev
username: _json_key
password: ${{ secrets.GAR_JSON_KEY }}

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Docker meta
id: meta
uses: docker/metadata-action@v4
uses: docker/metadata-action@v5
with:
images: |
us-docker.pkg.dev/evmchain/images/taiko-client
Expand All @@ -50,7 +58,7 @@ jobs:
with:
context: .
file: packages/taiko-client/Dockerfile
platforms: linux/amd64,linux/arm64
platforms: ${{ matrix.platform }}
push: true
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"packages/relayer": "0.12.0",
"packages/snaefell-ui": "1.1.0",
"packages/supplementary-contracts": "1.0.0",
"packages/taiko-client": "0.36.0",
"packages/taiko-client": "0.37.0",
"packages/taikoon-ui": "1.3.0",
"packages/ui-lib": "1.0.0"
}
2 changes: 1 addition & 1 deletion packages/docs-site/src/content/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const collections = {
.string()
.max(160, { message: "Must be 160 characters or less." }).optional(),
banner: z.object({ content: z.string() }).default({
content: 'All Hekla Node Runners: Upcoming Ontake fork Sep 20th, 2:00AM UTC, upgrade needed. Click <a href="https://discord.com/channels/984015101017346058/984087180739768331/1284040980084817931">here</a> for more info',
content: 'All Hekla Node Runners: Imminent Ontake fork Sep 30th, upgrade needed. Please update your provers to raiko 1.2.0! Click <a href="https://discord.com/channels/984015101017346058/984087180739768331/1284040980084817931">here</a> for more info',
}),
}),
}),
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ If the proposed block has a **valid** or **invalid** `txList`, the `prover`:

## Taiko Node API

Using a Taiko node should feel the same as using any other L1 node, because we essentially re-use the L1 client and make a few backwards-compatible modifications. You can first read about the architecture of Taiko nodes [here](/core-concepts/taiko-nodes).
Using a Taiko node should feel the same as using any other L1 node, because we essentially re-use the L1 client and make a few backwards-compatible modifications.

### Differences from a Geth client

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ description: This guide will you help you enable your Taiko node as a proposer.

import { Aside, Card, CardGrid, Steps} from '@astrojs/starlight/components';

<Aside type="danger">
Do NOT start up your proposer without setting up a prover first with a fully synced node. You WILL lose your tokens and there is no way to recover them without proving the proposed block.
</Aside>

## Prerequisites

- You are already running a Taiko node [with Docker](/guides/node-operators/run-a-taiko-node-with-docker) or [from source](/guides/node-operators/build-a-taiko-node-from-source).
Expand Down
20 changes: 10 additions & 10 deletions packages/eventindexer/contracts/bridge/Bridge.go

Large diffs are not rendered by default.

61 changes: 51 additions & 10 deletions packages/eventindexer/contracts/sgxverifier/SgxVerifier.go

Large diffs are not rendered by default.

1,429 changes: 1,231 additions & 198 deletions packages/eventindexer/contracts/taikol1/TaikoL1.go

Large diffs are not rendered by default.

Loading

0 comments on commit c59c30e

Please sign in to comment.