v2

package
v0.50.7 Latest Latest
Warning

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

Go to latest
Published: Jun 4, 2024 License: Apache-2.0 Imports: 8 Imported by: 7

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.

Jump to

Keyboard shortcuts

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