v044

package
Version: v0.43.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DenomAddressPrefix = []byte{0x03}
)

Functions

func CreateAddressDenomPrefix

func CreateAddressDenomPrefix(denom string) []byte

func MigrateStore

func MigrateStore(ctx sdk.Context, storeKey sdk.StoreKey, cdc codec.BinaryCodec) error

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

- Migrate coin storage to save only amount. - Add an additional reverse index from denomination to address. - Remove duplicate denom from denom metadata store key.

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL