Skip to content

Commit f4bd5e5

Browse files
authored
Merge pull request #247 from mocachain/feat/upgrade-handler-v1.3.0-1.3.x
feat(upgrade): add v1.3.0 upgrade handler (release/1.3.x)
2 parents c309c15 + a32c277 commit f4bd5e5

2 files changed

Lines changed: 6 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
4141

4242
- (proto) [#67](https://github.com/mocachain/moca/pull/67) Publish protos to BSR under moca org
4343
- (cli) [#243](https://github.com/mocachain/moca/pull/243) Add `mocad snapshots` command tree (list/delete/dump/export/load/restore) for managing local state-sync snapshots
44+
- (upgrade) [#247](https://github.com/mocachain/moca/pull/247) Add `v1.3.0` upgrade handler (noop `RunMigrations`)
4445

4546
### Improvements
4647

app/app.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1559,6 +1559,11 @@ func (app *Evmos) setupUpgradeHandlers() {
15591559
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
15601560
})
15611561

1562+
app.UpgradeKeeper.SetUpgradeHandler("v1.3.0", func(ctx context.Context, _ upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
1563+
// noop
1564+
return app.mm.RunMigrations(ctx, app.configurator, fromVM)
1565+
})
1566+
15621567
// testnet only upgrade Handlers
15631568
app.UpgradeKeeper.SetUpgradeHandler(
15641569
"testnet-gov-param-fix",

0 commit comments

Comments
 (0)