From 94a34f58e3abc211ded8bd1224172198f4d36bfe Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 16 May 2024 12:05:18 +0000 Subject: [PATCH] build(deps): Bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0 (#2522) * build(deps): Bump github.com/cosmos/ibc-go/v7 from 7.4.0 to 7.5.0 Bumps [github.com/cosmos/ibc-go/v7](https://github.com/cosmos/ibc-go) from 7.4.0 to 7.5.0. - [Release notes](https://github.com/cosmos/ibc-go/releases) - [Changelog](https://github.com/cosmos/ibc-go/blob/v7.5.0/CHANGELOG.md) - [Commits](https://github.com/cosmos/ibc-go/compare/v7.4.0...v7.5.0) --- updated-dependencies: - dependency-name: github.com/cosmos/ibc-go/v7 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] * fix the build issue * fix: fix the grpc client connection * fix the lint --------- Signed-off-by: dependabot[bot] Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Robert Zaremba Co-authored-by: Sai Kumar <17549398+gsk967@users.noreply.github.com> Co-authored-by: Sai Kumar --- app/app.go | 2 ++ go.mod | 2 +- go.sum | 4 ++-- sdkclient/query/client.go | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/app/app.go b/app/app.go index fba111b06e..6e0fcc1146 100644 --- a/app/app.go +++ b/app/app.go @@ -551,6 +551,8 @@ func New( app.AccountKeeper, scopedICAHostKeeper, app.MsgServiceRouter(), ) + app.ICAHostKeeper.WithQueryRouter(app.GRPCQueryRouter()) + // UIbcQuotaKeeper implements ibcporttypes.ICS4Wrapper app.UIbcQuotaKeeperB = uibcquota.NewBuilder( appCodec, keys[uibc.StoreKey], diff --git a/go.mod b/go.mod index bc0b504a94..fdfadf957b 100644 --- a/go.mod +++ b/go.mod @@ -16,7 +16,7 @@ require ( github.com/cosmos/go-bip39 v1.0.0 github.com/cosmos/gogoproto v1.4.10 // NOTE: v1.4.11+ is not compatible with sdk v0.47 github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3 - github.com/cosmos/ibc-go/v7 v7.4.0 + github.com/cosmos/ibc-go/v7 v7.5.0 github.com/golang/mock v1.6.0 github.com/golang/protobuf v1.5.4 github.com/gorilla/mux v1.8.1 diff --git a/go.sum b/go.sum index 2a4ee31f87..7c265f9634 100644 --- a/go.sum +++ b/go.sum @@ -359,8 +359,8 @@ github.com/cosmos/iavl v0.20.1 h1:rM1kqeG3/HBT85vsZdoSNsehciqUQPWrR4BYmqE2+zg= github.com/cosmos/iavl v0.20.1/go.mod h1:WO7FyvaZJoH65+HFOsDir7xU9FWk2w9cHXNW1XHcl7A= github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3 h1:MZGDMETv72suFpTAD6VPGqSIm1FJcChtk2HmVh9D+Bo= github.com/cosmos/ibc-apps/middleware/packet-forward-middleware/v7 v7.1.3/go.mod h1:UvDmcGIWJPIytq+Q78/ff5NTOsuX/7IrNgEugTW5i0s= -github.com/cosmos/ibc-go/v7 v7.4.0 h1:8FqYMptvksgMvlbN4UW9jFxTXzsPyfAzEZurujXac8M= -github.com/cosmos/ibc-go/v7 v7.4.0/go.mod h1:L/KaEhzV5TGUCTfGysVgMBQtl5Dm7hHitfpk+GIeoAo= +github.com/cosmos/ibc-go/v7 v7.5.0 h1:tvPyuTsNqS1hZK69Wq7MZIvZIg8AblMkcnkAndtQet0= +github.com/cosmos/ibc-go/v7 v7.5.0/go.mod h1:ktFg5GvKOyrGCqTWtW7Grj5uweU4ZapxrNeVS1CLLbo= github.com/cosmos/ics23/go v0.10.0 h1:iXqLLgp2Lp+EdpIuwXTYIQU+AiHj9mOC2X9ab++bZDM= github.com/cosmos/ics23/go v0.10.0/go.mod h1:ZfJSmng/TBNTBkFemHHHj5YY7VAU/MBU980F4VU1NG0= github.com/cosmos/keyring v1.2.0 h1:8C1lBP9xhImmIabyXW4c3vFjjLiBdGCmfLUfeZlV1Yo= diff --git a/sdkclient/query/client.go b/sdkclient/query/client.go index 5b6f9a6a7c..5f522b1294 100644 --- a/sdkclient/query/client.go +++ b/sdkclient/query/client.go @@ -25,7 +25,7 @@ func NewClient(logger *log.Logger, grpcEndpoint string, queryTimeout time.Durati } func (c *Client) dialGrpcConn() (err error) { - c.GrpcConn, err = grpc.NewClient( + c.GrpcConn, err = grpc.Dial( //nolint c.grpcEndpoint, grpc.WithTransportCredentials(insecure.NewCredentials()), grpc.WithContextDialer(dialerFunc),