Skip to content

Commit

Permalink
added todo
Browse files Browse the repository at this point in the history
  • Loading branch information
facundomedica committed Jun 28, 2023
1 parent 11e5cbe commit 30b3164
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ func (app *UmeeApp) registerUpgrade5_1(upgradeInfo upgradetypes.Plan) {
planName := "v5.1"
app.UpgradeKeeper.SetUpgradeHandler(planName,
func(ctx sdk.Context, plan upgradetypes.Plan, fromVM module.VersionMap) (module.VersionMap, error) {
// TODO: set the correct drain account. This will panic if executed.
if err := app.GravityKeeper.MigrateFundsToDrainAccount(ctx, sdk.MustAccAddressFromBech32("the_drain_account")); err != nil {
return nil, err
}
Expand Down

0 comments on commit 30b3164

Please sign in to comment.