Skip to content

Commit

Permalink
ci: update version (#3434)
Browse files Browse the repository at this point in the history
  • Loading branch information
snobbee authored Dec 5, 2023
1 parent b4760fc commit cbfba94
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
7 changes: 2 additions & 5 deletions app/setup_handlers.go
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package app

import (
epochstypes "github.com/Sifchain/sifnode/x/epochs/types"
storetypes "github.com/cosmos/cosmos-sdk/store/types"
sdk "github.com/cosmos/cosmos-sdk/types"
m "github.com/cosmos/cosmos-sdk/types/module"
"github.com/cosmos/cosmos-sdk/x/upgrade/types"
)

const releaseVersion = "1.3.0-beta"
const releaseVersion = "1.3.1-beta"

func SetupHandlers(app *SifchainApp) {
app.UpgradeKeeper.SetUpgradeHandler(releaseVersion, func(ctx sdk.Context, _ types.Plan, vm m.VersionMap) (m.VersionMap, error) {
Expand All @@ -23,9 +22,7 @@ func SetupHandlers(app *SifchainApp) {
}
if upgradeInfo.Name == releaseVersion && !app.UpgradeKeeper.IsSkipHeight(upgradeInfo.Height) {
storeUpgrades := storetypes.StoreUpgrades{
Added: []string{
epochstypes.StoreKey,
},
Added: []string{},
}
// Use upgrade store loader for the initial loading of all stores when app starts,
// it checks if version == upgradeHeight and applies store upgrades before loading the stores,
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.3.0-beta
1.3.1-beta

0 comments on commit cbfba94

Please sign in to comment.