v3

package
v4.8.1 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

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

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