Skip to content

fix(taiko-client): dont check l1heightInAnchor vs l1Height when detecting reorg #158

fix(taiko-client): dont check l1heightInAnchor vs l1Height when detecting reorg

fix(taiko-client): dont check l1heightInAnchor vs l1Height when detecting reorg #158

name: "Taiko Client Hive Tests"
on:
pull_request:
types: [opened, synchronize, reopened, ready_for_review]
paths:
- "packages/taiko-client/**"
- "go.mod"
- "go.sum"
jobs:
hive_tests:
if: github.event.pull_request.draft == false && contains(github.event.pull_request.labels.*.name, 'option.hive-test')
name: hive tests
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- name: Cancel Previous Runs
uses: styfle/[email protected]
with:
access_token: ${{ github.token }}
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true
- name: Install Foundry
uses: foundry-rs/foundry-toolchain@v1
- name: Install pnpm dependencies
uses: ./.github/actions/install-pnpm-dependencies
- name: Clone taikoxyz/hive
run: git clone https://github.com/taikoxyz/hive.git /tmp/hive
- name: Update taiko contract tx list
working-directory: .
run: |
export TAIKO_MONO_DIR=$PWD
cd /tmp/hive/simulators/taiko
sh scripts/deploy_l1_contract.sh
- name: Hive tests
working-directory: packages/taiko-client
run: |
export HIVE_DIR=/tmp/hive
go test -v -p=1 ./integration_test -timeout=1200s