Skip to content

Commit

Permalink
fix(upgrade): add recovery store on store upgrade (#1257)
Browse files Browse the repository at this point in the history
* fix(upgrade): add recovery store on store upgrade

* fix(upgrade): add changelog entry

(cherry picked from commit 2f9b1da)

# Conflicts:
#	CHANGELOG.md
  • Loading branch information
GAtom22 authored and mergify[bot] committed Jan 20, 2023
1 parent ab0b5c6 commit 81ec0be
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,11 @@ Ref: https://keepachangelog.com/en/1.0.0/

- (upgrade) [#1242](https://github.com/evmos/evmos/pull/1242) Fix Ethermint params upgrade
- (ibc) [#1156](https://github.com/evmos/evmos/pull/1156) Migrate IBC transfer escrow accounts to `ModuleAccount` type.
<<<<<<< HEAD
=======
- (upgrade) [#1252](https://github.com/evmos/evmos/pull/1252) Add account number and sequence to migrated IBC transfer escrow accounts.
- (upgrade) [#1257](https://github.com/evmos/evmos/pull/1257) Add `recovery` module store to `StoreUpgrades`
>>>>>>> 2f9b1da (fix(upgrade): add recovery store on store upgrade (#1257))
## [v10.0.1] - 2023-01-03

Expand Down
3 changes: 2 additions & 1 deletion app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -1222,8 +1222,9 @@ func (app *Evmos) setupUpgradeHandlers() {
// no store upgrades in v10
case v11.UpgradeName:
// add ica host submodule in v11
// initialize recovery store
storeUpgrades = &storetypes.StoreUpgrades{
Added: []string{icahosttypes.SubModuleName},
Added: []string{icahosttypes.SubModuleName, recoverytypes.StoreKey},
}
}

Expand Down

0 comments on commit 81ec0be

Please sign in to comment.