cmd

package
v23.0.1 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2024 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddConsumerSectionCmd

func AddConsumerSectionCmd(defaultNodeHome string) *cobra.Command

Types

type DefaultGenesisIO

type DefaultGenesisIO struct {
	DefaultGenesisReader
}

func NewDefaultGenesisIO

func NewDefaultGenesisIO() *DefaultGenesisIO

func (DefaultGenesisIO) AlterConsumerModuleState

func (x DefaultGenesisIO) AlterConsumerModuleState(cmd *cobra.Command, callback func(state *GenesisData, appState map[string]json.RawMessage) error) error

type DefaultGenesisReader

type DefaultGenesisReader struct{}

func (DefaultGenesisReader) ReadGenesis

func (d DefaultGenesisReader) ReadGenesis(cmd *cobra.Command) (*GenesisData, error)

type GenesisData

type GenesisData struct {
	GenesisFile         string
	GenDoc              *tmtypes.GenesisDoc
	AppState            map[string]json.RawMessage
	ConsumerModuleState *ccvtypes.ConsumerGenesisState
}

func NewGenesisData

func NewGenesisData(genesisFile string, genDoc *tmtypes.GenesisDoc, appState map[string]json.RawMessage, consumerModuleState *ccvtypes.ConsumerGenesisState) *GenesisData

type GenesisMutator

type GenesisMutator interface {
	AlterConsumerModuleState(cmd *cobra.Command, callback func(state *GenesisData, appState map[string]json.RawMessage) error) error
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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