From 583edb7f38af88bf55cd41063e2d089b93e3109b Mon Sep 17 00:00:00 2001 From: Yaru Wang Date: Fri, 6 Jan 2023 14:43:09 +0100 Subject: [PATCH] fix: remove ica controller params setup from upgrade handler --- app/upgrades/v8/upgrades.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/app/upgrades/v8/upgrades.go b/app/upgrades/v8/upgrades.go index 8afab22b66..f053d537b7 100644 --- a/app/upgrades/v8/upgrades.go +++ b/app/upgrades/v8/upgrades.go @@ -8,7 +8,6 @@ import ( "github.com/cosmos/cosmos-sdk/types/module" banktypes "github.com/cosmos/cosmos-sdk/x/bank/types" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" - icacontrollertypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/controller/types" icahosttypes "github.com/cosmos/ibc-go/v3/modules/apps/27-interchain-accounts/host/types" "github.com/cosmos/gaia/v8/app/keepers" @@ -69,11 +68,6 @@ func CreateUpgradeHandler( return vm, err } - // Enable controller chain - controllerParams := icacontrollertypes.Params{ - ControllerEnabled: true, - } - // Change hostParams allow_messages = [*] instead of whitelisting individual messages hostParams := icahosttypes.Params{ HostEnabled: true, @@ -82,7 +76,6 @@ func CreateUpgradeHandler( // Update params for host & controller keepers keepers.ICAHostKeeper.SetParams(ctx, hostParams) - keepers.ICAControllerKeeper.SetParams(ctx, controllerParams) ctx.Logger().Info("upgrade complete")