diff --git a/app/app.go b/app/app.go index 1af377f8..57dbed2b 100644 --- a/app/app.go +++ b/app/app.go @@ -56,7 +56,7 @@ import ( v2 "github.com/OmniFlix/omniflixhub/v3/app/upgrades/v2" v2_1 "github.com/OmniFlix/omniflixhub/v3/app/upgrades/v2.1" v3 "github.com/OmniFlix/omniflixhub/v3/app/upgrades/v3" - v3_2 "github.com/OmniFlix/omniflixhub/v3/app/upgrades/v3.2" + v4 "github.com/OmniFlix/omniflixhub/v3/app/upgrades/v4" upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" ) @@ -90,7 +90,7 @@ func getGovProposalHandlers() []govclient.ProposalHandler { var ( // DefaultNodeHome default home directories for the application daemon DefaultNodeHome string - Upgrades = []upgrades.Upgrade{v012.Upgrade, v2.Upgrade, v2_1.Upgrade, v3.Upgrade, v3_2.Upgrade} + Upgrades = []upgrades.Upgrade{v012.Upgrade, v2.Upgrade, v2_1.Upgrade, v3.Upgrade, v4.Upgrade} Forks []upgrades.Fork ) diff --git a/app/keepers/keepers.go b/app/keepers/keepers.go index a3efb4eb..572a8ff2 100644 --- a/app/keepers/keepers.go +++ b/app/keepers/keepers.go @@ -553,8 +553,6 @@ func NewAppKeeper( AddRoute(icqtypes.ModuleName, icqModule). AddRoute(ibcnfttransfertypes.ModuleName, nfttransferIBCModule) - appKeepers.IBCKeeper.SetRouter(ibcRouter) - // wasm configuration wasmDir := filepath.Join(homePath, "wasm") diff --git a/app/upgrades/v3.2/constants.go b/app/upgrades/v4/constants.go similarity index 79% rename from app/upgrades/v3.2/constants.go rename to app/upgrades/v4/constants.go index ff68677f..4c0ca044 100644 --- a/app/upgrades/v3.2/constants.go +++ b/app/upgrades/v4/constants.go @@ -1,4 +1,4 @@ -package v3_2 +package v4 import ( "github.com/OmniFlix/omniflixhub/v3/app/upgrades" @@ -6,11 +6,11 @@ import ( ibchookstypes "github.com/cosmos/ibc-apps/modules/ibc-hooks/v7/types" ) -const UpgradeName = "v3.2" +const UpgradeName = "v4" var Upgrade = upgrades.Upgrade{ UpgradeName: UpgradeName, - CreateUpgradeHandler: CreateV3_2UpgradeHandler, + CreateUpgradeHandler: CreateV4UpgradeHandler, StoreUpgrades: store.StoreUpgrades{ Added: []string{ibchookstypes.StoreKey}, }, diff --git a/app/upgrades/v3.2/upgrades.go b/app/upgrades/v4/upgrades.go similarity index 95% rename from app/upgrades/v3.2/upgrades.go rename to app/upgrades/v4/upgrades.go index f1079dcf..1b0c290b 100644 --- a/app/upgrades/v3.2/upgrades.go +++ b/app/upgrades/v4/upgrades.go @@ -1,4 +1,4 @@ -package v3_2 +package v4 import ( "github.com/OmniFlix/omniflixhub/v3/app/keepers" @@ -8,7 +8,7 @@ import ( upgradetypes "github.com/cosmos/cosmos-sdk/x/upgrade/types" ) -func CreateV3_2UpgradeHandler( +func CreateV4UpgradeHandler( mm *module.Manager, cfg module.Configurator, _ upgrades.BaseAppParamManager,