v040

package
v0.0.0-...-2a91c6f Latest Latest
Warning

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

Go to latest
Published: Aug 9, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ModuleName = "slashing"
)

Variables

This section is empty.

Functions

func Migrate

func Migrate(oldGenState v039slashing.GenesisState) *v040slashing.GenesisState

Migrate accepts exported x/slashing genesis state from v0.39 and migrates it to v0.40 x/slashing genesis state. The migration includes:

- Chaning SigningInfos and MissedBlocks from map to array. - Convert addresses from bytes to bech32 strings. - Re-encode in v0.40 GenesisState.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL