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.
Click to show internal directories.
Click to hide internal directories.