Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateParams ¶
func MigrateParams(ctx sdk.Context, storeKey storetypes.StoreKey, legacySubspace exported.Subspace, cdc codec.BinaryCodec) error
MigrateParams migrates the x/cfeminter module state from the consensus version 2 to version 3. Specifically, it takes the parameters that are currently stored and managed by the x/params module and stores them directly into the x/cfeminter module state. The migration also includes: - cfeminter module refactoring - delete type field from minterConfig - minter config is now of type Any rather than using 2 fields (LinearMinting and ExponentialStepMinting) - MinterConfig was deleted and minters and start-time was moved directly to cfeminter params
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.