Skip to content

Commit

Permalink
Merge pull request #392 from comdex-official/feature/dev
Browse files Browse the repository at this point in the history
Feature/dev
  • Loading branch information
dheerajkd30 authored Aug 11, 2022
2 parents 48a6411 + bbb1693 commit 213ccc8
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
5 changes: 3 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1133,9 +1133,8 @@ func (a *App) ModuleAccountsPermissions() map[string][]string {
}

func (a *App) registerUpgradeHandlers() {

a.UpgradeKeeper.SetUpgradeHandler(
tv3_0_0.UpgradeName,
tv3_0_0.UpgradeNameV3_1,
tv3_0_0.CreateUpgradeHandler(a.mm, a.configurator),
)

Expand Down Expand Up @@ -1196,6 +1195,8 @@ func upgradeHandlers(upgradeInfo storetypes.UpgradeInfo, a *App, storeUpgrades *
},
}
case upgradeInfo.Name == tv3_0_0.UpgradeName && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height):

case upgradeInfo.Name == tv3_0_0.UpgradeNameV3_1 && !a.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height):
}
return storeUpgrades
}
1 change: 1 addition & 0 deletions app/upgrades/testnet/v3_0_0/contstants.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package v3_0_0

const (
UpgradeName = "v3.0.0"
UpgradeNameV3_1 = "v3.1.0"
UpgradeHeight = "" // replace this height
UpgradeInfo = `'{
"binaries": {
Expand Down

0 comments on commit 213ccc8

Please sign in to comment.