Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetParamsLegacy ¶
func GetParamsLegacy( ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec, ) (params types.LegacyParams, found bool)
func MigrateStore ¶
func MigrateStore( ctx sdk.Context, emissionsKeeper EmissionsKeeper, ) error
MigrateStore migrates the store from v3 to v4 The v3 params are copied to the v4 params, and the v4 params are set in the store v4 params removes unused parameters from v3; these values are discarded. v4 introduces a new parameter, BlockRewardAmount, which is set to the default value
Types ¶
type EmissionsKeeper ¶
type EmissionsKeeper interface { SetParams(ctx sdk.Context, params types.Params) error GetCodec() codec.BinaryCodec GetStoreKey() storetypes.StoreKey }
Click to show internal directories.
Click to hide internal directories.