v1

package
v3.0.1 Latest Latest
Warning

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

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MigrateStore

func MigrateStore(ctx sdk.Context, pk profilesv4.Keeper, relationshipsStoreKey sdk.StoreKey, cdc codec.BinaryCodec) error

MigrateStore performs in-place store migrations from v0 to v1 The migration includes:

- store all the relationships present inside x/profiles into this module - store all the user blocks present inside x/profiles into this module

NOTE: This method must be called BEFORE the migration from v4 to v5 of the profiles module.

If this order is not preserved, all relationships and blocks WILL BE DELETED.

Types

This section is empty.

Jump to

Keyboard shortcuts

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