Skip to content

Commit

Permalink
Set the management withdrawal address
Browse files Browse the repository at this point in the history
  • Loading branch information
Segfaultd committed Jul 14, 2023
1 parent d093952 commit 3245dbb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/app.go
Original file line number Diff line number Diff line change
Expand Up @@ -793,9 +793,11 @@ func (app *App) registerUpgradeHandlers() {
legacyParamSubspace := app.ParamsKeeper.Subspace(baseapp.Paramspace).WithKeyTable(paramstypes.ConsensusParamsKeyTable())
baseapp.MigrateParams(ctx, legacyParamSubspace, app.ConsensusParamsKeeper)

// Migrate DFract params
// Migrate DFract params, set the first withdrawal address (can be patched later on through proposal)
app.Logger().Info("Migrate the DFract params...")
app.DFractKeeper.SetParams(ctx, dfracttypes.DefaultParams())
dfrParams := dfracttypes.DefaultParams()
dfrParams.WithdrawalAddress = "lum1mj4qphzu27qyjjplnjh9v9zn8zzshjec3zr9xd"
app.DFractKeeper.SetParams(ctx, dfrParams)

// Migrate ICA channel capabilities from IBC V5 to IBC V6
app.Logger().Info("Migrate the ICS27 channel capabilities...")
Expand Down

0 comments on commit 3245dbb

Please sign in to comment.