feat(x/mint): Add max supply param (#19896)

Co-authored-by: Marko <marko@baricevic.me>
This commit is contained in:
Likhita Polavarapu
2024-05-03 10:26:18 +00:00
committed by GitHub
co-authored by Marko
parent 74966c9c94
commit 52dbcc171c
15 changed files with 297 additions and 65 deletions
+1 -1
View File
@@ -66,7 +66,7 @@ func RandomizedGenState(simState *module.SimulationState) {
mintDenom := simState.BondDenom
blocksPerYear := uint64(60 * 60 * 8766 / 5)
params := types.NewParams(mintDenom, inflationRateChange, inflationMax, inflationMin, goalBonded, blocksPerYear)
params := types.NewParams(mintDenom, inflationRateChange, inflationMax, inflationMin, goalBonded, blocksPerYear, math.ZeroInt())
mintGenesis := types.NewGenesisState(types.InitialMinter(inflation), params)