Skip to content

Commit

Permalink
old upgrade removed
Browse files Browse the repository at this point in the history
  • Loading branch information
cgsingh33 committed May 31, 2023
1 parent c2b2827 commit 4e347ef
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,6 @@ import (
cwasm "github.com/comdex-official/comdex/app/wasm"

mv11 "github.com/comdex-official/comdex/app/upgrades/mainnet/v11"
tv11 "github.com/comdex-official/comdex/app/upgrades/testnet/v11"
tv11_2 "github.com/comdex-official/comdex/app/upgrades/testnet/v11_2"
)

Expand Down Expand Up @@ -1352,11 +1351,6 @@ func (a *App) registerUpgradeHandlers() {
}

switch {
case upgradeInfo.Name == tv11.UpgradeName:
a.UpgradeKeeper.SetUpgradeHandler(
tv11.UpgradeName,
tv11.CreateUpgradeHandlerV11(a.mm, a.configurator),
)
case upgradeInfo.Name == tv11_2.UpgradeName:
a.UpgradeKeeper.SetUpgradeHandler(
tv11_2.UpgradeName,
Expand All @@ -1381,10 +1375,6 @@ func (a *App) registerUpgradeHandlers() {

func upgradeHandlers(upgradeInfo storetypes.UpgradeInfo, a *App, storeUpgrades *storetypes.StoreUpgrades) *storetypes.StoreUpgrades {
switch {
case upgradeInfo.Name == tv11.UpgradeName && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height):
storeUpgrades = &storetypes.StoreUpgrades{
Added: []string{ibchookstypes.StoreKey, packetforwardtypes.StoreKey},
}
case upgradeInfo.Name == tv11_2.UpgradeName && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height):
storeUpgrades = &storetypes.StoreUpgrades{
Added: []string{ibchookstypes.StoreKey, packetforwardtypes.StoreKey},
Expand Down

0 comments on commit 4e347ef

Please sign in to comment.