Skip to content

Commit

Permalink
* fix(app): fix upgrade handler version number for "junction" module
Browse files Browse the repository at this point in the history
* chore(app): update upgrade handler version number for "junction" module

Co-authored-by: Shubham Sharma <[email protected]>
Co-authored-by: Aakash Singh Rajput <[email protected]>
Co-authored-by: Rahul Singh Maraskole <[email protected]>
Co-authored-by: Kritarth Agrawal <[email protected]>
Co-authored-by: Uddesh Jaiswal <[email protected]>
Co-authored-by: Shobhit Sharma <[email protected]>
  • Loading branch information
6 people committed Apr 3, 2024
1 parent 8d7be9a commit aab9725
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,7 @@ func New(
configurator := app.Configurator()
UpgradeHandleFunc := CreateDefaultUpgradeHandler(app.ModuleManager, configurator)
app.UpgradeKeeper.SetUpgradeHandler(
"jip-69",
"jip-1",
UpgradeHandleFunc, // Upgrade handler function
)

Expand Down
2 changes: 1 addition & 1 deletion app/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ func CreateDefaultUpgradeHandler(
) upgradetypes.UpgradeHandler {
return func(ctx context.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
versionMap := module.VersionMap{
"junction": 101, // version 1.0.1
"junction": 100, // version 1.0.0
}

return versionMap, nil
Expand Down

0 comments on commit aab9725

Please sign in to comment.