Skip to content

Commit 1fd823c

Browse files
chattonjulienrbrt
andauthored
test: update liveness test to use multiple nodes (syncing through DA) (#216)
* wip: pinning to local tastora checkout * wip: DA layer working, but P2P not configured * wip: parsing p2p address correctly, test still failing * test passing when not using P2P * chore: refactor to use test suite * chore: wip test passing via da * chore: update to use evnode cli flag * chore: add helper fn to add follower node * chore: update workflow to run specific test * deleted file * deps: bump tastora version * refactor(adapter): extract block id creation * wip: custom dockerfile * Update ev-node version and refactor cometcompat to adapter - Bump github.com/evstack/ev-node to v1.0.0-beta.2.0.20250821181753-974aa15383de - Move cometcompat helpers to adapter package and update imports - Remove cometcompat package and related files - Add providers.go to adapter for signature and validator hash providers - Refactor usage across codebase to use adapter package functions * typo + issue * bump commit * chore: sync'd w julien branch * attempt * latest commit * fix height 1 blockid * updates * linting * [wip] * debug lines * debug lines * fix merge * updates * chore: bump to tastora v0.3.0 * fix flags * fix empty state * debug logs * update tastora * debug * fix app * ... * trial * dbgs * updates * updates --------- Co-authored-by: Julien Robert <[email protected]>
1 parent 60dd4f4 commit 1fd823c

7 files changed

Lines changed: 573 additions & 417 deletions

File tree

.github/workflows/integration_test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
runs-on: ubuntu-latest
1717
timeout-minutes: 30
1818
env:
19-
EVNODE_VERSION: "v1.0.0-beta.3"
19+
EVNODE_VERSION: "v1.0.0-beta.4"
2020
IGNITE_VERSION: "v29.4.0"
2121
IGNITE_EVOLVE_APP_VERSION: "main" # use tagged when apps has tagged (blocked on things)
2222
EVOLVE_IMAGE_REPO: "evolve-gm"
@@ -48,7 +48,7 @@ jobs:
4848
- name: Run Liveness Test
4949
run: |
5050
cd tests/integration
51-
go test -v -run TestLivenessWithCelestiaDA -timeout 30m
51+
go test -v -run TestDockerIntegrationTestSuite/TestLivenessWithCelestiaDA -timeout 30m
5252
env:
5353
EVOLVE_IMAGE_REPO: ${{ env.EVOLVE_IMAGE_REPO }}
5454
EVOLVE_IMAGE_TAG: ${{ env.EVOLVE_IMAGE_TAG }}
@@ -59,7 +59,7 @@ jobs:
5959
timeout-minutes: 30
6060
env:
6161
DO_NOT_TRACK: true
62-
EVNODE_VERSION: "v1.0.0-beta.3"
62+
EVNODE_VERSION: "v1.0.0-beta.4"
6363
IGNITE_VERSION: "v29.4.0"
6464
IGNITE_EVOLVE_APP_VERSION: "main" # use tagged when apps has tagged (blocked on things)
6565
outputs:
@@ -266,7 +266,7 @@ jobs:
266266
GMD_HOME: ${{ needs.liveness.outputs.gmd_home }}
267267
HERMES_VERSION: "v1.13.1"
268268
GAIA_VERSION: "v25.1.0"
269-
EVNODE_VERSION: "v1.0.0-beta.3"
269+
EVNODE_VERSION: "v1.0.0-beta.4"
270270
EVNODE_DA_VERSION: "v1.0.0-beta.1"
271271
steps:
272272
- name: Set up Go

.github/workflows/migration_test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
timeout-minutes: 45
1414
env:
1515
DO_NOT_TRACK: true
16-
EVNODE_VERSION: "v1.0.0-beta.3"
16+
EVNODE_VERSION: "v1.0.0-beta.4"
1717
IGNITE_VERSION: "v29.4.0"
1818
IGNITE_EVOLVE_APP_VERSION: "main" # use tagged when apps has tagged (blocked on things)
1919
steps:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ RUN apk add --no-cache \
77
bash
88

99
# Set environment variables
10-
ENV EVNODE_VERSION=v1.0.0-beta.3
10+
ENV EVNODE_VERSION=v1.0.0-beta.4
1111
ENV IGNITE_VERSION=v29.3.1
1212
ENV IGNITE_EVOLVE_APP_VERSION=main
1313

tests/integration/go.mod

Lines changed: 47 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,16 @@ module github.com/evstack/ev-abci/tests/integration
33
go 1.24.1
44

55
require (
6-
github.com/celestiaorg/go-square/v2 v2.2.0
7-
github.com/celestiaorg/tastora v0.1.3-0.20250718071213-c9bb942b02b5
6+
github.com/celestiaorg/go-square/v2 v2.2.0 // indirect
7+
github.com/celestiaorg/tastora v0.3.0
88
github.com/moby/moby v27.5.1+incompatible
99
github.com/stretchr/testify v1.10.0
10-
go.uber.org/zap v1.27.0
10+
go.uber.org/zap v1.27.0 // indirect
11+
)
12+
13+
require (
14+
github.com/libp2p/go-libp2p v0.43.0
15+
github.com/multiformats/go-multihash v0.2.3
1116
)
1217

1318
require (
@@ -17,23 +22,40 @@ require (
1722
github.com/grafana/otel-profiling-go v0.5.1 // indirect
1823
github.com/grafana/pyroscope-go v1.2.0 // indirect
1924
github.com/grafana/pyroscope-go/godeltaprof v0.1.8 // indirect
25+
github.com/hashicorp/go-uuid v1.0.2 // indirect
2026
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
27+
github.com/ipfs/go-cid v0.5.0 // indirect
28+
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
2129
github.com/lib/pq v1.10.9 // indirect
30+
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
2231
github.com/minio/highwayhash v1.0.3 // indirect
32+
github.com/minio/sha256-simd v1.0.1 // indirect
33+
github.com/mr-tron/base58 v1.2.0 // indirect
34+
github.com/multiformats/go-base32 v0.1.0 // indirect
35+
github.com/multiformats/go-base36 v0.2.0 // indirect
36+
github.com/multiformats/go-multiaddr v0.16.0 // indirect
37+
github.com/multiformats/go-multibase v0.2.0 // indirect
38+
github.com/multiformats/go-multicodec v0.9.1 // indirect
39+
github.com/multiformats/go-varint v0.0.7 // indirect
40+
github.com/onsi/ginkgo v1.16.4 // indirect
41+
github.com/spaolacci/murmur3 v1.1.0 // indirect
42+
github.com/ugorji/go/codec v1.2.11 // indirect
43+
go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.37.0 // indirect
2344
go.opentelemetry.io/otel/exporters/stdout/stdouttrace v1.34.0 // indirect
45+
lukechampine.com/blake3 v1.4.1 // indirect
2446
)
2547

2648
require (
2749
cosmossdk.io/api v0.7.6 // indirect
2850
cosmossdk.io/collections v0.4.0 // indirect; indirect\
29-
cosmossdk.io/core v0.11.0 // indirect
51+
cosmossdk.io/core v0.11.1 // indirect
3052
cosmossdk.io/depinject v1.1.0 // indirect
3153
cosmossdk.io/errors v1.0.1 // indirect
3254
cosmossdk.io/log v1.4.1 // indirect
3355
cosmossdk.io/math v1.4.0
3456
cosmossdk.io/store v1.1.1 // indirect
3557
cosmossdk.io/x/tx v0.13.7 // indirect
36-
filippo.io/edwards25519 v1.0.0 // indirect
58+
filippo.io/edwards25519 v1.1.0 // indirect
3759
github.com/99designs/go-keychain v0.0.0-20191008050251-8e49817e8af4 // indirect
3860
github.com/99designs/keyring v1.2.1 // indirect
3961
github.com/BurntSushi/toml v1.5.0 // indirect
@@ -76,7 +98,7 @@ require (
7698
github.com/cosmos/btcutil v1.0.5 // indirect
7799
github.com/cosmos/cosmos-db v1.1.1 // indirect
78100
github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect
79-
github.com/cosmos/cosmos-sdk v0.0.0-00010101000000-000000000000
101+
github.com/cosmos/cosmos-sdk v0.50.9
80102
github.com/cosmos/go-bip39 v1.0.0 // indirect
81103
github.com/cosmos/gogogateway v1.2.0 // indirect
82104
github.com/cosmos/gogoproto v1.7.0 // indirect
@@ -85,7 +107,7 @@ require (
85107
github.com/cosmos/ledger-cosmos-go v0.14.0 // indirect
86108
github.com/danieljoos/wincred v1.1.2 // indirect
87109
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
88-
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.3.0 // indirect
110+
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
89111
github.com/desertbit/timer v0.0.0-20180107155436-c41aec40b27f // indirect
90112
github.com/dgraph-io/badger/v4 v4.2.0 // indirect
91113
github.com/dgraph-io/ristretto v0.1.1 // indirect
@@ -115,8 +137,8 @@ require (
115137
github.com/google/btree v1.1.3 // indirect
116138
github.com/google/flatbuffers v1.12.1 // indirect
117139
github.com/google/go-cmp v0.7.0 // indirect
118-
github.com/gorilla/handlers v1.5.1 // indirect
119-
github.com/gorilla/mux v1.8.0 // indirect
140+
github.com/gorilla/handlers v1.5.2 // indirect
141+
github.com/gorilla/mux v1.8.1 // indirect
120142
github.com/gorilla/websocket v1.5.3 // indirect
121143
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
122144
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
@@ -134,7 +156,7 @@ require (
134156
github.com/improbable-eng/grpc-web v0.15.0 // indirect
135157
github.com/inconshreveable/mousetrap v1.1.0 // indirect
136158
github.com/jmhodges/levigo v1.0.0 // indirect
137-
github.com/klauspost/compress v1.17.9 // indirect
159+
github.com/klauspost/compress v1.18.0 // indirect
138160
github.com/kr/pretty v0.3.1 // indirect
139161
github.com/kr/text v0.2.0 // indirect
140162
github.com/linxGnu/grocksdb v1.8.14 // indirect
@@ -155,10 +177,10 @@ require (
155177
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 // indirect
156178
github.com/pkg/errors v0.9.1 // indirect
157179
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
158-
github.com/prometheus/client_golang v1.20.5 // indirect
159-
github.com/prometheus/client_model v0.6.1 // indirect
160-
github.com/prometheus/common v0.62.0 // indirect
161-
github.com/prometheus/procfs v0.15.1 // indirect
180+
github.com/prometheus/client_golang v1.22.0 // indirect
181+
github.com/prometheus/client_model v0.6.2 // indirect
182+
github.com/prometheus/common v0.64.0 // indirect
183+
github.com/prometheus/procfs v0.16.1 // indirect
162184
github.com/rcrowley/go-metrics v0.0.0-20201227073835-cf1acfcdf475 // indirect
163185
github.com/rogpeppe/go-internal v1.13.1 // indirect
164186
github.com/rs/cors v1.11.1 // indirect
@@ -183,25 +205,23 @@ require (
183205
go.opentelemetry.io/auto/sdk v1.1.0 // indirect
184206
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.60.0 // indirect
185207
go.opentelemetry.io/otel v1.37.0 // indirect
186-
go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.37.0 // indirect
187208
go.opentelemetry.io/otel/metric v1.37.0 // indirect
188209
go.opentelemetry.io/otel/sdk v1.37.0 // indirect
189210
go.opentelemetry.io/otel/trace v1.37.0 // indirect
190-
go.opentelemetry.io/proto/otlp v1.7.0 // indirect
191211
go.uber.org/multierr v1.11.0 // indirect
192-
golang.org/x/crypto v0.38.0 // indirect
193-
golang.org/x/exp v0.0.0-20240719175910-8a7402abbf56 // indirect
194-
golang.org/x/mod v0.19.0 // indirect
195-
golang.org/x/net v0.40.0 // indirect
196-
golang.org/x/sync v0.14.0 // indirect
212+
golang.org/x/crypto v0.39.0 // indirect
213+
golang.org/x/exp v0.0.0-20250606033433-dcc06ee1d476 // indirect
214+
golang.org/x/mod v0.25.0 // indirect
215+
golang.org/x/net v0.41.0 // indirect
216+
golang.org/x/sync v0.15.0 // indirect
197217
golang.org/x/sys v0.33.0 // indirect
198218
golang.org/x/term v0.32.0 // indirect
199-
golang.org/x/text v0.25.0 // indirect
200-
golang.org/x/tools v0.23.0 // indirect
201-
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
202-
google.golang.org/genproto/googleapis/api v0.0.0-20250528174236-200df99c418a // indirect
203-
google.golang.org/genproto/googleapis/rpc v0.0.0-20250528174236-200df99c418a // indirect
204-
google.golang.org/grpc v1.72.2
219+
golang.org/x/text v0.26.0 // indirect
220+
golang.org/x/tools v0.34.0 // indirect
221+
google.golang.org/genproto v0.0.0-20240701130421-f6361c86f094 // indirect
222+
google.golang.org/genproto/googleapis/api v0.0.0-20250603155806-513f23925822 // indirect
223+
google.golang.org/genproto/googleapis/rpc v0.0.0-20250603155806-513f23925822 // indirect
224+
google.golang.org/grpc v1.73.0
205225
google.golang.org/protobuf v1.36.6 // indirect
206226
gopkg.in/ini.v1 v1.67.0 // indirect
207227
gopkg.in/yaml.v3 v3.0.1 // indirect
@@ -215,7 +235,6 @@ replace (
215235
cosmossdk.io/x/upgrade => github.com/celestiaorg/cosmos-sdk/x/upgrade v0.1.0
216236
github.com/cometbft/cometbft => github.com/celestiaorg/celestia-core v1.56.1-tm-v0.38.17
217237
github.com/cosmos/cosmos-sdk => github.com/celestiaorg/cosmos-sdk v1.29.4-sdk-v0.50.14
218-
219238
github.com/gogo/protobuf => github.com/gogo/protobuf v1.3.2
220239
// goleveldb: canonical version
221240
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7

0 commit comments

Comments
 (0)