Skip to content

Commit

Permalink
remove unused constants
Browse files Browse the repository at this point in the history
  • Loading branch information
cmwaters committed Feb 22, 2024
1 parent 6ad07e8 commit b03fd36
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions x/mint/types/constants.go
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
package types

import (
"cosmossdk.io/math"
sdk "github.com/cosmos/cosmos-sdk/types"
)
import sdk "github.com/cosmos/cosmos-sdk/types"

const (
NanosecondsPerSecond = 1_000_000_000
Expand Down Expand Up @@ -31,18 +28,12 @@ var (
initialInflationRateAsDec = sdk.NewDecWithPrec(InitialInflationRate*1000, 3)
disinflationRateAsDec = sdk.NewDecWithPrec(DisinflationRate*1000, 3)
targetInflationRateAsDec = sdk.NewDecWithPrec(TargetInflationRate*1000, 3)

initialInflationRateAsLegacyDec = math.LegacyNewDecWithPrec(InitialInflationRate*1000, 3)
)

func InitialInflationRateAsDec() sdk.Dec {
return initialInflationRateAsDec
}

func InitialInflationRateAsLegacyDec() math.LegacyDec {
return initialInflationRateAsLegacyDec
}

func DisinflationRateAsDec() sdk.Dec {
return disinflationRateAsDec
}
Expand Down

0 comments on commit b03fd36

Please sign in to comment.