Documentation ¶
Index ¶
Constants ¶
View Source
const (
ModuleName = "staking"
)
Variables ¶
This section is empty.
Functions ¶
func Migrate ¶
func Migrate(stakingState v038staking.GenesisState) *v040staking.GenesisState
Migrate accepts exported v0.38 x/staking genesis state and migrates it to v0.40 x/staking genesis state. The migration includes:
- Convert addresses from bytes to bech32 strings. - Update BondStatus staking constants. - Re-encode in v0.40 GenesisState.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.