From 85675ee812c1a78f0961aeb93650919d493e1ec3 Mon Sep 17 00:00:00 2001 From: manueldb <65422254+manueldalb2@users.noreply.github.com> Date: Fri, 23 Jun 2023 17:15:55 +0200 Subject: [PATCH] Update app.go with IBC v2.0 changes The package ivc-go had been updated but there weren't in place the required modification for types and route https://github.com/cosmos/ibc-go/blob/main/docs/migrations/sdk-to-v1.md#upgradeproposal --- app/app.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/app.go b/app/app.go index ae78fdea9f..9f277ecbe2 100644 --- a/app/app.go +++ b/app/app.go @@ -89,6 +89,7 @@ import ( ibc "github.com/cosmos/ibc-go/v2/modules/core" ibcclient "github.com/cosmos/ibc-go/v2/modules/core/02-client" ibcclientclient "github.com/cosmos/ibc-go/v2/modules/core/02-client/client" + ibcclienttypes "github.com/cosmos/ibc-go/v2/modules/core/02-client/types" porttypes "github.com/cosmos/ibc-go/v2/modules/core/05-port/types" ibchost "github.com/cosmos/ibc-go/v2/modules/core/24-host" ibckeeper "github.com/cosmos/ibc-go/v2/modules/core/keeper" @@ -379,7 +380,7 @@ func NewEvmos( AddRoute(paramproposal.RouterKey, params.NewParamChangeProposalHandler(app.ParamsKeeper)). AddRoute(distrtypes.RouterKey, distr.NewCommunityPoolSpendProposalHandler(app.DistrKeeper)). AddRoute(upgradetypes.RouterKey, upgrade.NewSoftwareUpgradeProposalHandler(app.UpgradeKeeper)). - AddRoute(ibchost.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper)). + AddRoute(ibcclienttypes.RouterKey, ibcclient.NewClientProposalHandler(app.IBCKeeper.ClientKeeper)). AddRoute(irt.RouterKey, intrarelayer.NewIntrarelayerProposalHandler(app.IntrarelayerKeeper)) govKeeper := govkeeper.NewKeeper(