feat: custom x/mint minting function (#24436)
Co-authored-by: Tyler <48813565+technicallyty@users.noreply.github.com>
This commit is contained in:
co-authored by
Tyler
parent
2bca0bf2fa
commit
c5cbda08f2
@@ -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
@@ -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.
|
||||
),
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user