feat: custom x/mint minting function (#24436)

Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
This commit is contained in:
Alex | Interchain Labs
2025-04-14 15:58:34 +00:00
committed by GitHub
co-authored by Tyler
parent 2bca0bf2fa
commit c5cbda08f2
10 changed files with 423 additions and 80 deletions
+1
View File
@@ -349,6 +349,7 @@ func NewSimApp(
app.BankKeeper,
authtypes.FeeCollectorName,
authtypes.NewModuleAddress(govtypes.ModuleName).String(),
// mintkeeper.WithMintFn(mintkeeper.DefaultMintFn(minttypes.DefaultInflationCalculationFn)), custom mintFn can be added here
)
app.ProtocolPoolKeeper = protocolpoolkeeper.NewKeeper(
+1 -1
View File
@@ -156,7 +156,7 @@ func NewSimApp(
//
// For providing a custom inflation function for x/mint add here your
// custom function that implements the minttypes.InflationCalculationFn
// custom minting function that implements the mintkeeper.MintFn
// interface.
),
)