v2

package
v0.50.26 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

v2 contains logic and CLI used for genutil by server/v2 / runtime/v2 applications. It contains the AppExporter struct which is used when exporting the application state. Additionally it holds the a custom Export command specific to the v2 application. The rest of the CLI commands are the same as the ones in the genutil module.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ExportedApp

type ExportedApp struct {
	// AppState is the application state as JSON.
	AppState json.RawMessage
	// Height is the app's latest block height.
	Height int64
	// Validators is the exported validator set.
	Validators []sdk.GenesisValidator
}

ExportedApp represents an exported app state, along with validators, consensus params and latest app height.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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