Documentation
¶
Index ¶
- Constants
- func AddFlags(cmd *cobra.Command)
- func InitCmd() *cobra.Command
- func InitRunE(cmd *cobra.Command, args []string) error
- func MigrateToEvolveCmd() *cobra.Command
- func NewAttesterCmd() *cobra.Command
- func NewRollbackCmd(appCreator types.AppCreator, defaultNodeHome string) *cobra.Command
- func PostTxCmd() *cobra.Command
- type AttesterConfig
- type StartCommandHandler
Constants ¶
const FlagAttesterMode = config.FlagPrefixEvnode + "attester-mode"
Variables ¶
This section is empty.
Functions ¶
func InitRunE ¶
InitRunE is the function that is called when the init command is run. It can be used standalone to wrap the SDK genesis init command. Or used via the InitCmd function to create a new command.
func MigrateToEvolveCmd ¶
MigrateToEvolveCmd returns a command that migrates the data from the CometBFT chain to Evolve.
func NewAttesterCmd ¶
NewAttesterCmd creates a command to run the attester client
func NewRollbackCmd ¶
func NewRollbackCmd(appCreator types.AppCreator, defaultNodeHome string) *cobra.Command
NewRollbackCmd creates a command to rollback CometBFT and multistore state by one height.
Types ¶
type AttesterConfig ¶
type AttesterConfig struct {
ChainID string
Node string
Home string
Verbose bool
Mnemonic string
PrivKeyArmor string
}
AttesterConfig holds all configuration parameters for the attester
type StartCommandHandler ¶
type StartCommandHandler = func( svrCtx *server.Context, clientCtx client.Context, appCreator sdktypes.AppCreator, withCmt bool, opts server.StartCmdOptions, ) error
StartCommandHandler is the type that must implement nova to match Cosmos SDK start logic.
func StartHandler ¶
func StartHandler() StartCommandHandler
StartHandler starts the Rollkit server with the provided application and options.