Skip to content

Commit

Permalink
update params value
Browse files Browse the repository at this point in the history
  • Loading branch information
robert-zaremba committed May 16, 2024
1 parent da0ae91 commit e4d4427
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -66,14 +66,14 @@ func (app *UmeeApp) registerUpgrade6_5(upgradeInfo upgradetypes.Plan) {

// update leverage and metoken params to include burn auction fee share.
lparams := app.LeverageKeeper.GetParams(ctx)
lparams.RewardsAuctionFee = leveragetypes.DefaultParams().RewardsAuctionFee
lparams.RewardsAuctionFee = sdk.MustNewDecFromStr("0.01")
if err := app.LeverageKeeper.SetParams(ctx, lparams); err != nil {
return nil, err
}

mekeeper := app.MetokenKeeperB.Keeper(&ctx)
meparams := mekeeper.GetParams()
meparams.RewardsAuctionFeeFactor = metoken.DefaultParams().RewardsAuctionFeeFactor
meparams.RewardsAuctionFeeFactor = 10000 // 100% of fees goes to rewards auction
if err := mekeeper.SetParams(meparams); err != nil {
return nil, err
}
Expand Down

0 comments on commit e4d4427

Please sign in to comment.