v2

package
v0.0.0-...-08ff881 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	LegacyNodeAccountKey     = "NodeAccount-value-"
	LegacyKeygenKey          = "Keygen-value-"
	LegacyPermissionFlagsKey = "PermissionFlags-value-"
)

Variables

This section is empty.

Functions

func MigrateStore

func MigrateStore(
	ctx sdk.Context,
	observerKeeper types.ObserverKeeper,
	crossChainStoreKey storetypes.StoreKey,
	cdc codec.BinaryCodec,
) error

MigrateStore migrates the x/crosschain module state from the consensus version 1 to 2 This migration moves some data from the cross chain store to the observer store. The data moved is the node accounts, permission flags and keygen.

Types

This section is empty.

Jump to

Keyboard shortcuts

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