Skip to content

Commit

Permalink
Merge pull request #687 from comdex-official/muvf
Browse files Browse the repository at this point in the history
Plan name update for testnet upgrade
  • Loading branch information
dheerajkd30 authored Feb 17, 2023
2 parents 2a9bed4 + 75b1e5d commit 808328e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
7 changes: 4 additions & 3 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,15 @@ package app

import (
"fmt"
paramsclient "github.com/cosmos/cosmos-sdk/x/params/client"
"io"
"net/http"
"os"
"path/filepath"
"sort"
"strings"

paramsclient "github.com/cosmos/cosmos-sdk/x/params/client"

"github.com/gorilla/mux"
"github.com/spf13/cast"

Expand Down Expand Up @@ -1214,7 +1215,7 @@ func (a *App) ModuleAccountsPermissions() map[string][]string {

func (a *App) registerUpgradeHandlers() {
a.UpgradeKeeper.SetUpgradeHandler(
tv9.UpgradeName820Beta,
tv9.UpgradeName,
tv9.CreateUpgradeHandlerV900Beta(a.mm, a.configurator, a.AssetKeeper),
)
// When a planned update height is reached, the old binary will panic
Expand Down Expand Up @@ -1278,7 +1279,7 @@ func upgradeHandlers(upgradeInfo storetypes.UpgradeInfo, a *App, storeUpgrades *
case upgradeInfo.Name == mv8.UpgradeName811 && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height):
storeUpgrades = &storetypes.StoreUpgrades{}

case upgradeInfo.Name == tv9.UpgradeName820Beta && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height):
case upgradeInfo.Name == tv9.UpgradeName && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height):
storeUpgrades = &storetypes.StoreUpgrades{}
}

Expand Down
6 changes: 3 additions & 3 deletions app/upgrades/testnet/v9_0_0/constants.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
package v9_0_0 //nolint:revive,stylecheck

const (
UpgradeName820Beta = "v9.0.0.beta"
UpgradeHeight = ""
UpgradeInfo = `'{
UpgradeName = "v9.0.0"
UpgradeHeight = ""
UpgradeInfo = `'{
"binaries": {
"darwin/arm64":"",
"darwin/x86_64":"",
Expand Down

0 comments on commit 808328e

Please sign in to comment.