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.
Click to show internal directories.
Click to hide internal directories.