Skip to content

Commit

Permalink
Fix GetParams in msgfees modules to return ConversionFeeDenom (#1215)…
Browse files Browse the repository at this point in the history
… (#1221)

* Fix GetParams in `msgfees` modules to return ConversionFeeDenom (#1215)

* remove params from upgrade handler

Co-authored-by: Daniel Wedul <[email protected]>
  • Loading branch information
nullpointer0x00 and SpicyLemon authored Nov 15, 2022
1 parent 1dd666c commit f013aeb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -78,6 +78,7 @@ Ref: https://keepachangelog.com/en/1.0.0/
This fixes an erroneous attempt to migrate the wasmd module.
* Fixed outdated devnet docker configurations [#1062](https://github.com/provenance-io/provenance/issues/1062)
* Fix the [Dragonberry security advisory](https://forum.cosmos.network/t/ibc-security-advisory-dragonberry/7702) [PR 1173](https://github.com/provenance-io/provenance/pull/1173)
* Fix GetParams in `msgfees` modules to return ConversionFeeDenom [#1214](https://github.com/provenance-io/provenance/issues/1214)

### Full Commit History

Expand Down
5 changes: 3 additions & 2 deletions x/msgfees/keeper/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,9 @@ import (
// GetParams returns the total set of distribution parameters.
func (k Keeper) GetParams(ctx sdk.Context) (params types.Params) {
return types.Params{
FloorGasPrice: k.GetFloorGasPrice(ctx),
NhashPerUsdMil: k.GetNhashPerUsdMil(ctx),
FloorGasPrice: k.GetFloorGasPrice(ctx),
NhashPerUsdMil: k.GetNhashPerUsdMil(ctx),
ConversionFeeDenom: k.GetConversionFeeDenom(ctx),
}
}

Expand Down

0 comments on commit f013aeb

Please sign in to comment.