cosmos-sdk/x/mint/CHANGELOG.md
2024-12-19 07:32:49 +00:00

2.2 KiB

Changelog

[Unreleased]

v0.2.0-rc.1 - 2024-12-18

Features

  • #20363 Implemented epoched minting, configurable through MintFn. Now MintFn doesn'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.DefaultMintFn wrapper must be used in order to continue using it in NewAppModule. This is not breaking for depinject users, as both MintFn and InflationCalculationFn are accepted.
  • #19367 appmodule.Environment is received on the Keeper to get access to different application services.
  • #21858 NewKeeper now returns a pointer to Keeper.
  • #21858, #22979 DefaultMintFn now takes StakingKeeper and MintKeeper as arguments to avoid staking keeper being required by mint.
    • SetMintFn is used to replace the default minting function.