2.2 KiB
2.2 KiB
Changelog
[Unreleased]
v0.2.0-rc.1 - 2024-12-18
Features
- #20363 Implemented epoched minting, configurable through
MintFn. NowMintFndoesn't do any assumptions on how tokens are minted, users can define their own minting logic. - #19896 Added a new max supply genesis param to existing params.
API Breaking Changes
- #20363 Deprecated InflationCalculationFn in favor of MintFn,
keeper.DefaultMintFnwrapper must be used in order to continue using it inNewAppModule. This is not breaking for depinject users, as bothMintFnandInflationCalculationFnare accepted. - #19367
appmodule.Environmentis received on the Keeper to get access to different application services. - #21858
NewKeepernow returns a pointer toKeeper. - #21858, #22979
DefaultMintFnnow takesStakingKeeperandMintKeeperas arguments to avoid staking keeper being required by mint.SetMintFnis used to replace the default minting function.