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