Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "metadata"
)
Variables ¶
This section is empty.
Functions ¶
func BackportScope ¶
func BackportScope( ctx sdk.Context, k metadatakeeper.Keeper, newScope v040metadata.Scope, ) (old v039metadata.Scope, err error)
BackportScope takes a reference to a current scope and backports it to the v039 version by reading the components from the keeper to reconstruct it.
func Migrate ¶
func Migrate(oldGenState v039metadata.GenesisState) *v040metadata.GenesisState
Migrate accepts exported x/metadata genesis state from v0.39 and migrates it to v0.40 x/metadata genesis state. The migration includes:
- Convert addresses from bytes to bech32 strings. - Re-encode in v0.40 GenesisState.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.