Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, storeKey sdk.StoreKey, paramsSubspace paramstypes.Subspace, sk SubspacesKeeper) error
MigrateStore performs in-place store migrations from v1 to v2 The things done here are the following: 1. setting up the next reason id and report id keys for existing subspaces 2. setting up the module params
Types ¶
type SubspacesKeeper ¶
type SubspacesKeeper interface {
IterateSubspaces(ctx sdk.Context, fn func(subspaces subspacestypes.Subspace) (stop bool))
}
Click to show internal directories.
Click to hide internal directories.