v045

package
v1.6.2 Latest Latest
Warning

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

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

Documentation

Index

Constants

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

Variables

This section is empty.

Functions

func MigrateJSON

func MigrateJSON(oldBeaconState *v040.GenesisState) *types.GenesisState

MigrateJSON accepts exported v0.40 x/beacon genesis state and migrates it to v0.45 (0.43) x/beacon genesis state.

func MigrateStore

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

MigrateStore performs in-place store migrations from SDK v0.42 of the BEACON module to SDK v0.45. The migration includes:

- Adding new params - Setting default in-store limit for BEACONs - Pruning all old timestamps exceeding in-state limit

Types

This section is empty.

Jump to

Keyboard shortcuts

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