v3

package
v6.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FixMissingNextReactionIDs

func FixMissingNextReactionIDs(ctx sdk.Context, storeKey storetypes.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, storeKey storetypes.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

func RemoveDuplicatedReactions(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) error

RemoveDuplicatedReactions removes all the duplicated reactions

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL