Skip to content

Commit

Permalink
clean approach in upgrade handler
Browse files Browse the repository at this point in the history
  • Loading branch information
czarcas7ic committed Feb 16, 2024
1 parent 0b723b4 commit 96f9716
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions app/upgrades/v24/upgrades.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,7 @@ func CreateUpgradeHandler(
if err != nil {
return nil, err
}
protorevParams := keepers.ProtoRevKeeper.GetParams(ctx)
protorevParams.BaseDenoms = baseDenoms
keepers.ProtoRevKeeper.SetParams(ctx, protorevParams)
keepers.ProtoRevKeeper.SetBaseDenoms(ctx, baseDenoms)
keepers.ProtoRevKeeper.DeprecatedDeleteBaseDenoms(ctx)

return migrations, nil
Expand Down

0 comments on commit 96f9716

Please sign in to comment.