Skip to content

Commit

Permalink
fix(tokenfactory): default bond denom to muno
Browse files Browse the repository at this point in the history
  • Loading branch information
hussein-aitlahcen committed Sep 1, 2023
1 parent 9f25c2b commit bbba812
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion uniond/x/tokenfactory/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ import (
"fmt"

sdk "github.com/cosmos/cosmos-sdk/types"
appparams "union/app/params"
)


func NewParams(denomCreationFee sdk.Coins) Params {
return Params{
DenomCreationFee: denomCreationFee,
Expand All @@ -15,7 +17,7 @@ func NewParams(denomCreationFee sdk.Coins) Params {
// default tokenfactory module parameters.
func DefaultParams() Params {
return Params{
DenomCreationFee: sdk.NewCoins(sdk.NewInt64Coin(sdk.DefaultBondDenom, 10_000_000)),
DenomCreationFee: sdk.NewCoins(sdk.NewInt64Coin(appparams.BondDenom, 10_000_000)),
DenomCreationGasConsume: 2_000_000,
}
}
Expand Down

0 comments on commit bbba812

Please sign in to comment.