Skip to content

Commit

Permalink
make use of default params
Browse files Browse the repository at this point in the history
  • Loading branch information
mmsqe committed Nov 16, 2023
1 parent dd1a0ca commit 5384097
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions x/feemarket/types/params.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@ var (
DefaultEnableHeight = int64(0)
// DefaultNoBaseFee is false
DefaultNoBaseFee = false
// DefaultElasticityMultiplier is 2
DefaultElasticityMultiplier = uint32(2)
// DefaultBaseFeeChangeDenominator is 8
DefaultBaseFeeChangeDenominator = uint32(8)
)

// Parameter keys
Expand Down Expand Up @@ -94,8 +90,8 @@ func NewParams(
func DefaultParams() Params {
return Params{
NoBaseFee: DefaultNoBaseFee,
BaseFeeChangeDenominator: DefaultBaseFeeChangeDenominator,
ElasticityMultiplier: DefaultElasticityMultiplier,
BaseFeeChangeDenominator: params.DefaultBaseFeeChangeDenominator,
ElasticityMultiplier: params.DefaultElasticityMultiplier,
BaseFee: sdkmath.NewIntFromUint64(params.InitialBaseFee),
EnableHeight: DefaultEnableHeight,
MinGasPrice: DefaultMinGasPrice,
Expand Down

0 comments on commit 5384097

Please sign in to comment.