Skip to content

Commit

Permalink
chore: release v4.0.1
Browse files Browse the repository at this point in the history
Changed how the v4.0.0 upgrade is handled

Signed-off-by: Riccardo Montagnin <[email protected]>
  • Loading branch information
RiccardoM committed Jun 29, 2022
1 parent 8adb7c9 commit 020cf82
Showing 1 changed file with 1 addition and 9 deletions.
10 changes: 1 addition & 9 deletions app/upgrades/v400/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -52,17 +52,9 @@ func (u *Upgrade) Handler() upgradetypes.UpgradeHandler {
func (u *Upgrade) StoreUpgrades() *storetypes.StoreUpgrades {
return &storetypes.StoreUpgrades{
Added: []string{
poststypes.StoreKey,
reportstypes.StoreKey,
reactionstypes.StoreKey,
},

// The posts key is here because it was already registered (due to an error) inside v2.3.1
// https://github.com/desmos-labs/desmos/blob/v2.3.1/app/app.go#L270
Renamed: []storetypes.StoreRename{
{
OldKey: "posts",
NewKey: poststypes.StoreKey,
},
},
}
}

0 comments on commit 020cf82

Please sign in to comment.