v043

package
v2.0.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeleteDeprecatedPrefix

func DeleteDeprecatedPrefix(store sdk.KVStore, prefixBz []byte)

DeleteDeprecatedPrefix is a helper function that deletes all keys which started the prefix

func MigratePrefixAddress

func MigratePrefixAddress(store sdk.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 MigrateStore

func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey) error

MigrateStore performs in-place store migrations from v0.42 to v0.43. The migration includes:

- Change addresses to be length-prefixed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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