v043

package
v2.0.0-...-3c1199b Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

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 MigratePrefixAddressAddress

func MigratePrefixAddressAddress(store sdk.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 sdk.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, storeKey storetypes.StoreKey) 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.

Jump to

Keyboard shortcuts

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