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

test(taiko-client): update hive dependence and fix bug about hive test #17930

Merged
merged 14 commits into from
Aug 16, 2024
24 changes: 10 additions & 14 deletions .github/workflows/taiko-client--hive_test.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,17 @@
name: "hive tests"
name: "Taiko Client Hive Tests"

on:
push:
branches: [main]
paths:
- "packages/taiko-client/**"
pull_request:
paths:
- "packages/taiko-client/**"
- "go.mod"
- "go.sum"

jobs:
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Set up Go
uses: actions/setup-go@v5
with:
go-version: 1.21
cache: true

hive_tests:
name: hive tests
runs-on: ubuntu-latest
Expand All @@ -37,6 +30,9 @@ jobs:
go-version: 1.21
cache: true

- name: Clone taikoxyz/hive
run: git clone https://github.com/taikoxyz/hive.git /tmp/hive

- name: hive tests
working-directory: packages/taiko-client
run: make hive_tests
run: export HIVE_BASE_DIR=/tmp/hive && go test -v -p=1 ./integration_test -timeout=600s
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -338,4 +338,4 @@ replace github.com/ethereum-optimism/optimism v1.7.4 => github.com/taikoxyz/opti

replace github.com/uber/jaeger-client-go => github.com/uber/jaeger-client-go v2.25.0+incompatible

replace github.com/ethereum/hive v0.0.0-20240808014330-625b82294b46 => github.com/taikoxyz/hive v0.0.0-20240812092228-b71333e3fdb5
replace github.com/ethereum/hive v0.0.0-20240808014330-625b82294b46 => github.com/taikoxyz/hive v0.0.0-20240815122245-7e511f1afe7b
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1175,8 +1175,8 @@ github.com/swaggo/swag v1.16.3/go.mod h1:DImHIuOFXKpMFAQjcC7FG4m3Dg4+QuUgUzJmKjI
github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7/go.mod h1:q4W45IWZaF22tdD+VEXcAWRA037jwmWEB5VWYORlTpc=
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d h1:vfofYNRScrDdvS342BElfbETmL1Aiz3i2t0zfRj16Hs=
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d/go.mod h1:RRCYJbIwD5jmqPI9XoAFR0OcDxqUctll6zUj/+B4S48=
github.com/taikoxyz/hive v0.0.0-20240812092228-b71333e3fdb5 h1:oK4DTGKxNaFsxIikj9LSq9n7Tp/qmGHL0au2yQl5uW4=
github.com/taikoxyz/hive v0.0.0-20240812092228-b71333e3fdb5/go.mod h1:SRnVApayESg4JOlUIojO1nKNG8BLxdpZSkewWrj6rYU=
github.com/taikoxyz/hive v0.0.0-20240815122245-7e511f1afe7b h1:yk10A6jYSPWlKVG7ar/C4rOsojkb/vMpRtR/GNXUqHM=
github.com/taikoxyz/hive v0.0.0-20240815122245-7e511f1afe7b/go.mod h1:SRnVApayESg4JOlUIojO1nKNG8BLxdpZSkewWrj6rYU=
github.com/taikoxyz/optimism v0.0.0-20240627102435-4845247ff00c h1:Hfhh/icxShwpLdX7RqYzZN1EU40MGWhvSXc2V+ZzTxw=
github.com/taikoxyz/optimism v0.0.0-20240627102435-4845247ff00c/go.mod h1:jKn73pLX8eDIG0Y3XeuUSetepecM8OvRflyPHbi05B4=
github.com/taikoxyz/taiko-geth v1.5.1-0.20240808041410-882a6cd3294c h1:XQDnwQfisAlFAGKqabDcLdg9B+pRwS3nxS+03yP1g9o=
Expand Down
9 changes: 0 additions & 9 deletions packages/taiko-client/integration_test/hive_tests.sh

This file was deleted.

Loading