Skip to content

Commit 5a37493

Browse files
ci: update interchaintest to cosmos/interchaintest (#8630)
1 parent d590a0d commit 5a37493

File tree

29 files changed

+279
-147
lines changed

29 files changed

+279
-147
lines changed

.github/ISSUE_TEMPLATE/release-tracker.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ versions of ibc-go to guarantee that no regression is introduced -->
4444
- [ ] Branch off main to create release branch in the form of `release/vx.y.z` and add branch protection rules.
4545
- [ ] Add branch protection rules to new release branch.
4646
- [ ] Add backport task to [`mergify.yml`](https://github.com/cosmos/ibc-go/blob/main/.github/mergify.yml)
47-
- [ ] Upgrade ibc-go version in [interchaintest](https://github.com/strangelove-ventures/ibctest).
47+
- [ ] Upgrade ibc-go version in [interchaintest](https://github.com/cosmos/interchaintest).
4848
- [ ] Check Swagger is up-to-date.
4949

5050
## Post-release checklist

docs/docusaurus.config.js

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,10 +192,10 @@ const config = {
192192
label: "ibc-rs",
193193
href: "https://github.com/cosmos/ibc-rs",
194194
},
195-
{
196-
label: "interchaintest",
197-
href: "https://github.com/strangelove-ventures/interchaintest",
198-
},
195+
{
196+
label: "interchaintest",
197+
href: "https://github.com/cosmos/interchaintest",
198+
},
199199
{
200200
label: "CosmWasm",
201201
href: "https://cosmwasm.com/",

e2e/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -89,11 +89,11 @@ selection.
8989
make e2e-test test=TestMsgSubmitTx_SuccessfulTransfer
9090
```
9191

92-
> Note: sometimes it can be useful to make changes to [interchaintest](https://github.com/strangelove-ventures/interchaintest)
92+
> Note: sometimes it can be useful to make changes to [interchaintest](https://github.com/cosmos/interchaintest)
9393
> when running tests locally. In order to do this, add the following line to
9494
> e2e/go.mod
9595
96-
`replace github.com/strangelove-ventures/interchaintest => ../../interchaintest`
96+
`replace github.com/cosmos/interchaintest/v10 => ../../interchaintest`
9797

9898
Or point it to any local checkout you have.
9999

@@ -122,7 +122,7 @@ This should be set to the path of a valid config file you want to use, setting t
122122

123123
### interchaintest
124124

125-
These E2E tests use the [interchaintest framework](https://github.com/strangelove-ventures/interchaintest). This framework creates chains and relayers in containers and allows for arbitrary commands to be executed in the chain containers,
125+
These E2E tests use the [interchaintest framework](https://github.com/cosmos/interchaintest). This framework creates chains and relayers in containers and allows for arbitrary commands to be executed in the chain containers,
126126
as well as allowing us to broadcast arbitrary messages which are signed on behalf of a user created in the test.
127127

128128
### Test Suites

e2e/dockerutil/dockerutil.go

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@ import (
1010
dockertypes "github.com/docker/docker/api/types"
1111
"github.com/docker/docker/api/types/container"
1212
"github.com/docker/docker/api/types/filters"
13-
dockerclient "github.com/docker/docker/client"
13+
mobycli "github.com/moby/moby/client"
1414
)
1515

1616
const testLabel = "ibc-test"
1717

1818
// GetTestContainers returns all docker containers that have been created by interchain test.
1919
// note: the test suite name must be passed as the chains are created in SetupSuite which will label
2020
// them with the name of the test suite rather than the test.
21-
func GetTestContainers(ctx context.Context, suiteName string, dc *dockerclient.Client) ([]dockertypes.Container, error) {
21+
func GetTestContainers(ctx context.Context, suiteName string, dc *mobycli.Client) ([]dockertypes.Container, error) {
2222
testContainers, err := dc.ContainerList(ctx, container.ListOptions{
2323
All: true,
2424
Filters: filters.NewArgs(
25-
// see: https://github.com/strangelove-ventures/interchaintest/blob/0bdc194c2aa11aa32479f32b19e1c50304301981/internal/dockerutil/setup.go#L31-L36
26-
// for the suiteName needed to identify test containers.
25+
// see interchaintest Docker setup for how suiteName label is used to identify test containers.
26+
// https://github.com/cosmos/interchaintest/blob/main/internal/dockerutil/setup.go
2727
filters.Arg("label", testLabel+"="+suiteName),
2828
),
2929
})
@@ -35,7 +35,7 @@ func GetTestContainers(ctx context.Context, suiteName string, dc *dockerclient.C
3535
}
3636

3737
// GetContainerLogs returns the logs of a container as a byte array.
38-
func GetContainerLogs(ctx context.Context, dc *dockerclient.Client, containerName string) ([]byte, error) {
38+
func GetContainerLogs(ctx context.Context, dc *mobycli.Client, containerName string) ([]byte, error) {
3939
readCloser, err := dc.ContainerLogs(ctx, containerName, container.LogsOptions{
4040
ShowStdout: true,
4141
ShowStderr: true,
@@ -47,7 +47,7 @@ func GetContainerLogs(ctx context.Context, dc *dockerclient.Client, containerNam
4747
}
4848

4949
// GetFileContentsFromContainer reads the contents of a specific file from a container.
50-
func GetFileContentsFromContainer(ctx context.Context, dc *dockerclient.Client, containerID, absolutePath string) ([]byte, error) {
50+
func GetFileContentsFromContainer(ctx context.Context, dc *mobycli.Client, containerID, absolutePath string) ([]byte, error) {
5151
readCloser, _, err := dc.CopyFromContainer(ctx, containerID, absolutePath)
5252
if err != nil {
5353
return nil, fmt.Errorf("copying from container: %w", err)

e2e/go.mod

Lines changed: 38 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,7 @@ replace (
77
// uncomment to use the local version of ibc-go, you will need to run `go mod tidy` in e2e directory.
88
github.com/cosmos/ibc-go/v10 => ../
99

10-
github.com/strangelove-ventures/interchaintest/v8 => github.com/gjermundgaraba/interchaintest/v8 v8.0.0-20250302163936-9fca2b7de400
11-
10+
github.com/gogo/protobuf => github.com/regen-network/protobuf v1.3.3-alpha.regen.1
1211
github.com/syndtr/goleveldb => github.com/syndtr/goleveldb v1.0.1-0.20210819022825-2ae1ddf74ef7
1312
)
1413

@@ -22,9 +21,10 @@ require (
2221
github.com/cosmos/gogoproto v1.7.0
2322
github.com/cosmos/ibc-go/modules/light-clients/08-wasm/v10 v10.2.0
2423
github.com/cosmos/ibc-go/v10 v10.3.0
25-
github.com/docker/docker v27.3.1+incompatible
24+
github.com/cosmos/interchaintest/v10 v10.0.0
25+
github.com/docker/docker v27.5.1+incompatible
26+
github.com/moby/moby v27.5.1+incompatible
2627
github.com/pelletier/go-toml v1.9.5
27-
github.com/strangelove-ventures/interchaintest/v8 v8.2.1-0.20240419152858-c8b741617cd8
2828
github.com/stretchr/testify v1.11.1
2929
go.uber.org/zap v1.27.0
3030
golang.org/x/mod v0.25.0
@@ -48,6 +48,7 @@ require (
4848
cosmossdk.io/log v1.6.1 // indirect
4949
cosmossdk.io/schema v1.1.0 // indirect
5050
cosmossdk.io/store v1.1.2 // indirect
51+
cosmossdk.io/x/evidence v0.2.0 // indirect
5152
cosmossdk.io/x/feegrant v0.2.0 // indirect
5253
cosmossdk.io/x/tx v0.14.0 // indirect
5354
filippo.io/edwards25519 v1.1.0 // indirect
@@ -61,12 +62,14 @@ require (
6162
github.com/GoogleCloudPlatform/opentelemetry-operations-go/exporter/metric v0.48.1 // indirect
6263
github.com/GoogleCloudPlatform/opentelemetry-operations-go/internal/resourcemapping v0.48.1 // indirect
6364
github.com/Microsoft/go-winio v0.6.2 // indirect
65+
github.com/StackExchange/wmi v1.2.1 // indirect
6466
github.com/avast/retry-go/v4 v4.5.1 // indirect
6567
github.com/aws/aws-sdk-go v1.49.0 // indirect
6668
github.com/beorn7/perks v1.0.1 // indirect
6769
github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d // indirect
6870
github.com/bgentry/speakeasy v0.2.0 // indirect
6971
github.com/bits-and-blooms/bitset v1.22.0 // indirect
72+
github.com/btcsuite/btcd v0.22.1 // indirect
7073
github.com/bytedance/sonic v1.14.0 // indirect
7174
github.com/bytedance/sonic/loader v0.3.0 // indirect
7275
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
@@ -82,16 +85,22 @@ require (
8285
github.com/cockroachdb/redact v1.1.6 // indirect
8386
github.com/cockroachdb/tokenbucket v0.0.0-20230807174530-cc333fc44b06 // indirect
8487
github.com/cometbft/cometbft-db v0.14.1 // indirect
88+
github.com/consensys/bavard v0.1.27 // indirect
89+
github.com/consensys/gnark-crypto v0.16.0 // indirect
8590
github.com/cosmos/btcutil v1.0.5 // indirect
8691
github.com/cosmos/cosmos-db v1.1.3 // indirect
8792
github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect
8893
github.com/cosmos/go-bip39 v1.0.0 // indirect
8994
github.com/cosmos/gogogateway v1.2.0 // indirect
90-
github.com/cosmos/iavl v1.2.2 // indirect
95+
github.com/cosmos/iavl v1.2.4 // indirect
9196
github.com/cosmos/ics23/go v0.11.0 // indirect
97+
github.com/cosmos/interchain-security/v7 v7.0.0-20250408210344-06e0dc6bf6d6 // indirect
9298
github.com/cosmos/ledger-cosmos-go v0.14.0 // indirect
99+
github.com/crate-crypto/go-eth-kzg v1.3.0 // indirect
100+
github.com/crate-crypto/go-ipa v0.0.0-20240724233137-53bbb0ceb27a // indirect
93101
github.com/danieljoos/wincred v1.2.1 // indirect
94102
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
103+
github.com/deckarep/golang-set/v2 v2.6.0 // indirect
95104
github.com/decred/dcrd/dcrec/secp256k1/v4 v4.4.0 // indirect
96105
github.com/desertbit/timer v1.0.1 // indirect
97106
github.com/dgraph-io/badger/v4 v4.2.0 // indirect
@@ -104,7 +113,9 @@ require (
104113
github.com/emicklei/dot v1.6.2 // indirect
105114
github.com/envoyproxy/go-control-plane/envoy v1.32.4 // indirect
106115
github.com/envoyproxy/protoc-gen-validate v1.2.1 // indirect
116+
github.com/ethereum/c-kzg-4844/v2 v2.1.0 // indirect
107117
github.com/ethereum/go-ethereum v1.15.11 // indirect
118+
github.com/ethereum/go-verkle v0.2.2 // indirect
108119
github.com/fatih/color v1.17.0 // indirect
109120
github.com/felixge/httpsnoop v1.0.4 // indirect
110121
github.com/fsnotify/fsnotify v1.9.0 // indirect
@@ -115,10 +126,11 @@ require (
115126
github.com/go-logfmt/logfmt v0.6.0 // indirect
116127
github.com/go-logr/logr v1.4.3 // indirect
117128
github.com/go-logr/stdr v1.2.2 // indirect
129+
github.com/go-ole/go-ole v1.3.0 // indirect
118130
github.com/go-viper/mapstructure/v2 v2.2.1 // indirect
119131
github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 // indirect
120132
github.com/gogo/googleapis v1.4.1 // indirect
121-
github.com/gogo/protobuf v1.3.2 // indirect
133+
github.com/gogo/protobuf v1.3.3 // indirect
122134
github.com/golang/glog v1.2.5 // indirect
123135
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
124136
github.com/golang/protobuf v1.5.4 // indirect
@@ -138,14 +150,15 @@ require (
138150
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
139151
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
140152
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
153+
github.com/gtank/merlin v0.1.1 // indirect
141154
github.com/hashicorp/go-cleanhttp v0.5.2 // indirect
142155
github.com/hashicorp/go-getter v1.7.8 // indirect
143156
github.com/hashicorp/go-hclog v1.6.3 // indirect
144157
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
145158
github.com/hashicorp/go-metrics v0.5.4 // indirect
146159
github.com/hashicorp/go-plugin v1.6.3 // indirect
147160
github.com/hashicorp/go-safetemp v1.0.0 // indirect
148-
github.com/hashicorp/go-version v1.6.0 // indirect
161+
github.com/hashicorp/go-version v1.7.0 // indirect
149162
github.com/hashicorp/golang-lru v1.0.2 // indirect
150163
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
151164
github.com/hashicorp/yamux v0.1.2 // indirect
@@ -158,22 +171,25 @@ require (
158171
github.com/inconshreveable/mousetrap v1.1.0 // indirect
159172
github.com/jmespath/go-jmespath v0.4.0 // indirect
160173
github.com/jmhodges/levigo v1.0.0 // indirect
161-
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
162174
github.com/klauspost/compress v1.18.0 // indirect
163175
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
164176
github.com/kr/pretty v0.3.1 // indirect
165177
github.com/kr/text v0.2.0 // indirect
166178
github.com/lib/pq v1.10.9 // indirect
179+
github.com/libp2p/go-buffer-pool v0.1.0 // indirect
167180
github.com/linxGnu/grocksdb v1.9.2 // indirect
168181
github.com/manifoldco/promptui v0.9.0 // indirect
169182
github.com/mattn/go-colorable v0.1.14 // indirect
170183
github.com/mattn/go-isatty v0.0.20 // indirect
184+
github.com/mimoo/StrobeGo v0.0.0-20220103164710-9a04d6ca976b // indirect
171185
github.com/minio/highwayhash v1.0.3 // indirect
172186
github.com/mitchellh/go-homedir v1.1.0 // indirect
173187
github.com/mitchellh/go-testing-interface v1.14.1 // indirect
188+
github.com/mmcloughlin/addchain v0.4.0 // indirect
174189
github.com/moby/docker-image-spec v1.3.1 // indirect
175190
github.com/mtibben/percent v0.2.1 // indirect
176191
github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822 // indirect
192+
github.com/ncruces/go-strftime v0.1.9 // indirect
177193
github.com/oasisprotocol/curve25519-voi v0.0.0-20230904125328-1f23a7beb09a // indirect
178194
github.com/oklog/run v1.1.0 // indirect
179195
github.com/opencontainers/go-digest v1.0.0 // indirect
@@ -195,6 +211,7 @@ require (
195211
github.com/sagikazarmark/locafero v0.7.0 // indirect
196212
github.com/sasha-s/go-deadlock v0.3.5 // indirect
197213
github.com/shamaton/msgpack/v2 v2.2.0 // indirect
214+
github.com/shirou/gopsutil v3.21.4-0.20210419000835-c7a38de76ee5+incompatible // indirect
198215
github.com/sourcegraph/conc v0.3.0 // indirect
199216
github.com/spf13/afero v1.12.0 // indirect
200217
github.com/spf13/cast v1.9.2 // indirect
@@ -203,9 +220,16 @@ require (
203220
github.com/spf13/viper v1.20.1 // indirect
204221
github.com/spiffe/go-spiffe/v2 v2.5.0 // indirect
205222
github.com/subosito/gotenv v1.6.0 // indirect
223+
github.com/supranational/blst v0.3.14 // indirect
206224
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
207225
github.com/tendermint/go-amino v0.16.0 // indirect
226+
github.com/tendermint/tendermint v0.38.0-dev // indirect
208227
github.com/tidwall/btree v1.7.0 // indirect
228+
github.com/tidwall/gjson v1.18.0 // indirect
229+
github.com/tidwall/match v1.1.1 // indirect
230+
github.com/tidwall/pretty v1.2.0 // indirect
231+
github.com/tklauser/go-sysconf v0.3.12 // indirect
232+
github.com/tklauser/numcpus v0.6.1 // indirect
209233
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
210234
github.com/ulikunitz/xz v0.5.11 // indirect
211235
github.com/zeebo/errs v1.4.0 // indirect
@@ -244,17 +268,15 @@ require (
244268
google.golang.org/genproto/googleapis/rpc v0.0.0-20250707201910-8d1bb00bc6a7 // indirect
245269
gopkg.in/yaml.v3 v3.0.1 // indirect
246270
gotest.tools/v3 v3.5.2 // indirect
247-
lukechampine.com/uint128 v1.3.0 // indirect
248-
modernc.org/cc/v3 v3.41.0 // indirect
249-
modernc.org/ccgo/v3 v3.16.15 // indirect
250-
modernc.org/libc v1.37.1 // indirect
271+
modernc.org/gc/v3 v3.0.0-20240107210532-573471604cb6 // indirect
272+
modernc.org/libc v1.55.3 // indirect
251273
modernc.org/mathutil v1.6.0 // indirect
252-
modernc.org/memory v1.7.2 // indirect
253-
modernc.org/opt v0.1.3 // indirect
254-
modernc.org/sqlite v1.28.0 // indirect
274+
modernc.org/memory v1.8.0 // indirect
275+
modernc.org/sqlite v1.31.1 // indirect
255276
modernc.org/strutil v1.2.0 // indirect
256277
modernc.org/token v1.1.0 // indirect
257-
nhooyr.io/websocket v1.8.11 // indirect
278+
nhooyr.io/websocket v1.8.17 // indirect
258279
pgregory.net/rapid v1.2.0 // indirect
280+
rsc.io/tmplfunc v0.0.3 // indirect
259281
sigs.k8s.io/yaml v1.6.0 // indirect
260282
)

0 commit comments

Comments
 (0)