Skip to content

Commit

Permalink
Added the on-chain upgrade handler
Browse files Browse the repository at this point in the history
Signed-off-by: Riccardo Montagnin <[email protected]>
  • Loading branch information
RiccardoM committed Jul 22, 2021
1 parent 3bf6d9c commit 759ad93
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/).
-->

# Changelog
## Version 0.17.4
- Added the on-chain upgrade handler

## Version 0.17.3
- Removed the version check when creating an IBC channel

Expand Down
6 changes: 6 additions & 0 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -509,6 +509,12 @@ func NewDesmosApp(
app.ScopedIBCTransferKeeper = scopedIBCTransferKeeper
app.ScopedProfilesKeeper = scopedProfilesKeeper

// ---------------------------------------------------------------------------------------------------------------
// --- Desmos v0.17.4 upgrade

app.upgradeKeeper.SetUpgradeHandler("desmos-v0.17.4-upgrade", func(ctx sdk.Context, plan upgradetypes.Plan) {
})

return app
}

Expand Down

0 comments on commit 759ad93

Please sign in to comment.