Skip to content

Commit

Permalink
test: fix systemtests (partial backport #23361) (#23366)
Browse files Browse the repository at this point in the history
Co-authored-by: Tyler <[email protected]>
Co-authored-by: Julien Robert <[email protected]>
  • Loading branch information
3 people authored Jan 14, 2025
1 parent c0b848a commit a05ca78
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion server/v2/cometbft/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
cosmossdk.io/errors/v2 v2.0.0
cosmossdk.io/log v1.5.0
cosmossdk.io/schema v1.0.0 //main
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250113211313-b461a3142af5 // main
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250114004541-b4e88cc51737 // main
cosmossdk.io/server/v2/appmanager v1.0.0-beta.1.0.20250109081935-cf721a654090 // main
cosmossdk.io/server/v2/stf v1.0.0-beta.1.0.20250109081935-cf721a654090 // main
cosmossdk.io/store/v2 v2.0.0-beta.1.0.20250113105648-064c9ba6385a // main
Expand Down
4 changes: 2 additions & 2 deletions server/v2/cometbft/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ cosmossdk.io/math v1.5.0 h1:sbOASxee9Zxdjd6OkzogvBZ25/hP929vdcYcBJQbkLc=
cosmossdk.io/math v1.5.0/go.mod h1:AAwwBmUhqtk2nlku174JwSll+/DepUXW3rWIXN5q+Nw=
cosmossdk.io/schema v1.0.0 h1:/diH4XJjpV1JQwuIozwr+A4uFuuwanFdnw2kKeiXwwQ=
cosmossdk.io/schema v1.0.0/go.mod h1:RDAhxIeNB4bYqAlF4NBJwRrgtnciMcyyg0DOKnhNZQQ=
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250113211313-b461a3142af5 h1:Bg6oLXogXDCTBtTZr7qntCv2WERCZE9bK8SA0cjv8BY=
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250113211313-b461a3142af5/go.mod h1:5G6Ms45I5XWH1OPCqAgjrJZkh7SYJYRrXJkIuM95KeY=
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250114004541-b4e88cc51737 h1:1UjFZo9fRl+VSF5B63mOanD3SIn64WBrUOv/+RpURlc=
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250114004541-b4e88cc51737/go.mod h1:5G6Ms45I5XWH1OPCqAgjrJZkh7SYJYRrXJkIuM95KeY=
cosmossdk.io/server/v2/appmanager v1.0.0-beta.1.0.20250109081935-cf721a654090 h1:BlNFJZGtVsyaxydK3dIpklhQubbj5Sr2Eqh1Wow0lL4=
cosmossdk.io/server/v2/appmanager v1.0.0-beta.1.0.20250109081935-cf721a654090/go.mod h1:l6oCGNcucF6/U949UwRj+RemNzq5475ovNHohcvN1YM=
cosmossdk.io/server/v2/stf v1.0.0-beta.1.0.20250109081935-cf721a654090 h1:K0HN3TD7jz0zJIbvv1X5gkvEqhcBLqz71T4Al2ujols=
Expand Down
2 changes: 1 addition & 1 deletion simapp/v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ require (
cosmossdk.io/log v1.5.0
cosmossdk.io/math v1.5.0
cosmossdk.io/runtime/v2 v2.0.0-20250109081935-cf721a654090 // main
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250113211313-b461a3142af5 // main
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250114004541-b4e88cc51737 // main
cosmossdk.io/server/v2/appmanager v1.0.0-beta.1.0.20250109081935-cf721a654090
cosmossdk.io/server/v2/cometbft v1.0.0-beta.1
cosmossdk.io/store/v2 v2.0.0-beta.1.0.20250113105648-064c9ba6385a // main
Expand Down
4 changes: 2 additions & 2 deletions simapp/v2/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -218,8 +218,8 @@ cosmossdk.io/runtime/v2 v2.0.0-20250109081935-cf721a654090 h1:zAgv9XPOMdSkwqd2Vh
cosmossdk.io/runtime/v2 v2.0.0-20250109081935-cf721a654090/go.mod h1:YRfC3bBBnZYvz0W8VubR/uImEYqi/qBH6cVAMVx+KOA=
cosmossdk.io/schema v1.0.0 h1:/diH4XJjpV1JQwuIozwr+A4uFuuwanFdnw2kKeiXwwQ=
cosmossdk.io/schema v1.0.0/go.mod h1:RDAhxIeNB4bYqAlF4NBJwRrgtnciMcyyg0DOKnhNZQQ=
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250113211313-b461a3142af5 h1:Bg6oLXogXDCTBtTZr7qntCv2WERCZE9bK8SA0cjv8BY=
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250113211313-b461a3142af5/go.mod h1:5G6Ms45I5XWH1OPCqAgjrJZkh7SYJYRrXJkIuM95KeY=
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250114004541-b4e88cc51737 h1:1UjFZo9fRl+VSF5B63mOanD3SIn64WBrUOv/+RpURlc=
cosmossdk.io/server/v2 v2.0.0-beta.1.0.20250114004541-b4e88cc51737/go.mod h1:5G6Ms45I5XWH1OPCqAgjrJZkh7SYJYRrXJkIuM95KeY=
cosmossdk.io/server/v2/appmanager v1.0.0-beta.1.0.20250109081935-cf721a654090 h1:BlNFJZGtVsyaxydK3dIpklhQubbj5Sr2Eqh1Wow0lL4=
cosmossdk.io/server/v2/appmanager v1.0.0-beta.1.0.20250109081935-cf721a654090/go.mod h1:l6oCGNcucF6/U949UwRj+RemNzq5475ovNHohcvN1YM=
cosmossdk.io/server/v2/stf v1.0.0-beta.1.0.20250109081935-cf721a654090 h1:K0HN3TD7jz0zJIbvv1X5gkvEqhcBLqz71T4Al2ujols=
Expand Down
2 changes: 1 addition & 1 deletion tests/systemtests/distribution_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ func TestDistrValidatorGRPCQueries(t *testing.T) {

// test validator slashes grpc endpoint
slashURL := baseurl + `/cosmos/distribution/v1beta1/validators/%s/slashes`
invalidHeightOutput := `{"code":"NUMBER", "details":[]interface {}{}, "message":"strconv.ParseUint: parsing \"NUMBER\": invalid syntax"}`
invalidHeightOutput := `{"code":"NUMBER", "details":[], "message":"strconv.ParseUint: parsing \"NUMBER\": invalid syntax"}`

if !systest.IsV2() {
invalidHeightOutput = `{"code":3, "message":"strconv.ParseUint: parsing \"-3\": invalid syntax", "details":[]}`
Expand Down

0 comments on commit a05ca78

Please sign in to comment.