cmd

package
v15.0.0-testnet Latest Latest
Warning

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

Go to latest
Published: Sep 18, 2023 License: Apache-2.0 Imports: 16 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 *ccvconsumertypes.GenesisState
}

func NewGenesisData

func NewGenesisData(genesisFile string, genDoc *tmtypes.GenesisDoc, appState map[string]json.RawMessage, consumerModuleState *ccvconsumertypes.GenesisState) *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