Documentation ¶
Index ¶
Constants ¶
View Source
const (
// ModuleName nolint
ModuleName = "authz"
)
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
func Migrate(msgauthGenState v04msgauth.GenesisState) *v043authz.GenesisState
Migrate accepts exported v0.4 x/msgauth genesis state and migrates it to cosmos-sdk@v0.43 x/authz genesis state. The migration includes:
- Convert vote option & proposal status from byte to enum. - Migrate proposal content to Any. - Convert addresses from bytes to bech32 strings. - Re-encode in v0.43 GenesisState.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.