Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MigratePrefixAddress ¶
func MigratePrefixAddress(store storetypes.KVStore, prefixBz []byte)
MigratePrefixAddress is a helper function that migrates all keys of format: prefix_bytes | address_bytes into format: prefix_bytes | address_len (1 byte) | address_bytes
func MigratePrefixAddressAddress ¶
func MigratePrefixAddressAddress(store storetypes.KVStore, prefixBz []byte)
MigratePrefixAddressAddress is a helper function that migrates all keys of format: prefix_bytes | address_1_bytes | address_2_bytes into format: prefix_bytes | address_1_len (1 byte) | address_1_bytes | address_2_len (1 byte) | address_2_bytes
func MigratePrefixAddressBytes ¶
func MigratePrefixAddressBytes(store storetypes.KVStore, prefixBz []byte)
MigratePrefixAddressBytes is a helper function that migrates all keys of format: prefix_bytes | address_bytes | arbitrary_bytes into format: prefix_bytes | address_len (1 byte) | address_bytes | arbitrary_bytes
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, storeService store.KVStoreService) error
MigrateStore performs in-place store migrations from v0.40 to v0.43. The migration includes:
- Change addresses to be length-prefixed.
Types ¶
This section is empty.