v043

package
v0.45.16 Latest Latest
Warning

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

Go to latest
Published: May 11, 2023 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// ModuleName is the name of the module
	ModuleName = "gov"
)

Variables

This section is empty.

Functions

func MigrateJSON

func MigrateJSON(oldState *types.GenesisState) *types.GenesisState

MigrateJSON accepts exported v0.40 x/gov genesis state and migrates it to v0.43 x/gov genesis state. The migration includes:

- Gov weighted votes.

func MigrateStore

func MigrateStore(ctx sdk.Context, storeKey sdk.StoreKey, cdc codec.BinaryCodec) error

MigrateStore performs in-place store migrations from v0.40 to v0.43. The migration includes:

- Change addresses to be length-prefixed.

Types

This section is empty.

Jump to

Keyboard shortcuts

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