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

chore: prepare systemtests release #22658

Merged
merged 1 commit into from
Nov 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions systemtests/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,8 @@ Ref: https://github.com/commitizen/conventional-commit-types/blob/v3.0.0/index.j

## [Unreleased]

## [v1.0.0-rc.1] - 2024-11-26

### Features

* [#22578](https://github.com/cosmos/cosmos-sdk/pull/22578) Extract system test framework
39 changes: 18 additions & 21 deletions systemtests/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -2,34 +2,16 @@ module cosmossdk.io/systemtests

go 1.23

require (
github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect
github.com/cosmos/cosmos-sdk v0.50.6
github.com/cosmos/gogogateway v1.2.0 // indirect
github.com/cosmos/gogoproto v1.7.0 // indirect
github.com/cosmos/iavl v1.1.4 // indirect
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/spf13/cobra v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/stretchr/testify v1.9.0
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/grpc v1.68.0
)

require (
cosmossdk.io/math v1.4.0
github.com/cometbft/cometbft v0.38.15
github.com/cometbft/cometbft/api v1.0.0-rc.1
github.com/cosmos/cosmos-sdk v0.50.6
github.com/creachadair/tomledit v0.0.26
github.com/stretchr/testify v1.9.0
github.com/tidwall/gjson v1.14.2
github.com/tidwall/sjson v1.2.5
google.golang.org/grpc v1.68.0
)

require (
Expand Down Expand Up @@ -63,7 +45,11 @@ require (
github.com/cometbft/cometbft-db v0.14.1 // indirect
github.com/cosmos/btcutil v1.0.5 // indirect
github.com/cosmos/cosmos-db v1.0.3-0.20240829004618-717cba019b33 // indirect
github.com/cosmos/cosmos-proto v1.0.0-beta.5 // indirect
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codebase verification

Dependency version misalignment detected

The following version mismatches were found between systemtests/go.mod and cosmos-sdk v0.50.6:

  • gogoproto: v1.7.0 vs v1.4.12
  • iavl: v1.1.4 vs v1.1.2

The cosmos-proto and gogogateway versions are aligned correctly.

Please update the indirect dependencies to match the versions used in cosmos-sdk v0.50.6 to avoid potential compatibility issues.

🔗 Analysis chain

Verify alignment of cosmos infrastructure dependencies

The added cosmos-related indirect dependencies should align with cosmos-sdk v0.50.6.

Also applies to: 50-50, 51-51, 52-52

🏁 Scripts executed

The following scripts were executed for the analysis:

Script:

#!/bin/bash
# Description: Verify version alignment of cosmos infrastructure dependencies

# Check cosmos-sdk v0.50.6 requirements for these packages
gh api repos/cosmos/cosmos-sdk/contents/go.mod?ref=v0.50.6 | jq -r '.content' | base64 -d | grep -E 'cosmos-proto|gogogateway|gogoproto|iavl'

Length of output: 240


Script:

#!/bin/bash
# Let's try a different approach using ripgrep to check the versions in go.mod files
rg -A 3 "cosmos-sdk.*v0\.50\.6" --type go

# Also check the specific versions of cosmos-proto and other dependencies
rg "cosmos-proto.*v[0-9]" --type go
rg "gogoproto.*v[0-9]" --type go
rg "iavl.*v[0-9]" --type go

Length of output: 2344


Script:

#!/bin/bash
# Let's check the actual content of the go.mod files to see the dependency versions
cat systemtests/go.mod

# Also check if there are any other go.mod files that might contain these dependencies
fd go.mod --exec cat {}

Length of output: 110733


Script:

#!/bin/bash
# Let's check the direct dependencies in the cosmos-sdk v0.50.6 repository
curl -s https://raw.githubusercontent.com/cosmos/cosmos-sdk/v0.50.6/go.mod | grep -E "cosmos-proto|gogogateway|gogoproto|iavl"

Length of output: 292

github.com/cosmos/go-bip39 v1.0.0 // indirect
github.com/cosmos/gogogateway v1.2.0 // indirect
github.com/cosmos/gogoproto v1.7.0 // indirect
github.com/cosmos/iavl v1.1.4 // indirect
github.com/cosmos/ics23/go v0.11.0 // indirect
github.com/cosmos/ledger-cosmos-go v0.13.3 // indirect
github.com/danieljoos/wincred v1.1.2 // indirect
Expand All @@ -73,6 +59,7 @@ require (
github.com/dgraph-io/badger/v4 v4.2.0 // indirect
github.com/dgraph-io/ristretto v0.1.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/dvsekhvalnov/jose2go v1.6.0 // indirect
github.com/emicklei/dot v1.6.2 // indirect
github.com/fatih/color v1.18.0 // indirect
github.com/felixge/httpsnoop v1.0.4 // indirect
Expand All @@ -86,14 +73,17 @@ require (
github.com/gogo/protobuf v1.3.2 // indirect
github.com/golang/glog v1.2.2 // indirect
github.com/golang/groupcache v0.0.0-20210331224755-41bb18bfe9da // indirect
github.com/golang/protobuf v1.5.4 // indirect
github.com/golang/snappy v0.0.4 // indirect
github.com/google/btree v1.1.3 // indirect
github.com/google/flatbuffers v1.12.1 // indirect
github.com/google/go-cmp v0.6.0 // indirect
github.com/google/orderedcode v0.0.1 // indirect
github.com/gorilla/handlers v1.5.1 // indirect
github.com/gorilla/mux v1.8.0 // indirect
github.com/gorilla/websocket v1.5.3 // indirect
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 // indirect
github.com/grpc-ecosystem/grpc-gateway v1.16.0 // indirect
github.com/gsterjov/go-libsecret v0.0.0-20161001094733-a6f4afe4910c // indirect
github.com/hashicorp/go-hclog v1.6.3 // indirect
github.com/hashicorp/go-immutable-radix v1.3.1 // indirect
Expand Down Expand Up @@ -126,7 +116,9 @@ require (
github.com/oklog/run v1.1.0 // indirect
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
github.com/petermattis/goid v0.0.0-20240813172612-4fcff4a6cae7 // indirect
github.com/pkg/errors v0.9.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/prometheus/client_golang v1.20.5 // indirect
github.com/prometheus/client_model v0.6.1 // indirect
github.com/prometheus/common v0.60.1 // indirect
github.com/prometheus/procfs v0.15.1 // indirect
Expand All @@ -139,8 +131,12 @@ require (
github.com/sasha-s/go-deadlock v0.3.5 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.7.0 // indirect
github.com/spf13/cobra v1.8.1 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/viper v1.19.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/syndtr/goleveldb v1.0.1-0.20220721030215-126854af5e6d // indirect
github.com/tendermint/go-amino v0.16.0 // indirect
github.com/tidwall/btree v1.7.0 // indirect
github.com/tidwall/match v1.1.1 // indirect
Expand All @@ -159,6 +155,7 @@ require (
golang.org/x/sys v0.27.0 // indirect
golang.org/x/term v0.26.0 // indirect
golang.org/x/text v0.20.0 // indirect
google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de // indirect
google.golang.org/genproto/googleapis/api v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20241104194629-dd2ea8efbc28 // indirect
google.golang.org/protobuf v1.35.2 // indirect
Expand Down
215 changes: 0 additions & 215 deletions tests/systemtests/getting_started.md

This file was deleted.

Loading
Loading