Documentation ¶
Index ¶
- func FixMissingNextReactionIDs(ctx sdk.Context, storeKey sdk.StoreKey, pk types.PostsKeeper, ...) error
- func MigrateStore(ctx sdk.Context, reactionsStoreKey sdk.StoreKey, pk types.PostsKeeper, ...) error
- func RemoveDuplicatedReactions(ctx sdk.Context, storeKey sdk.StoreKey, cdc codec.BinaryCodec) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FixMissingNextReactionIDs ¶
func FixMissingNextReactionIDs(ctx sdk.Context, storeKey sdk.StoreKey, pk types.PostsKeeper, cdc codec.BinaryCodec) error
FixMissingNextReactionIDs fixes the missing next reaction ids for existing posts
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, reactionsStoreKey sdk.StoreKey, pk types.PostsKeeper, cdc codec.BinaryCodec) error
MigrateStore performs in-place store migrations from v2 to v3 It removes all the duplicated reactions and fix missing reaction ids.
func RemoveDuplicatedReactions ¶
RemoveDuplicatedReactions removes all the duplicated reactions
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.