Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
DenomAddressPrefix = []byte{0x03}
)
Functions ¶
func CreateDenomAddressPrefix ¶
CreateDenomAddressPrefix creates a prefix for a reverse index of denomination to account balance for that denomination.
func MigrateStore ¶
func MigrateStore(ctx sdk.Context, storeKey storetypes.StoreKey, cdc codec.BinaryCodec) error
MigrateStore performs in-place store migrations from v0.43 to v0.45. 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.
Click to show internal directories.
Click to hide internal directories.