cli

package
v0.45.10 Latest Latest
Warning

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

Go to latest
Published: Sep 20, 2025 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ExecTestCLICmd

func ExecTestCLICmd(clientCtx client.Context, cmd *cobra.Command, extraArgs []string) (testutil.BufferWriter, error)

ExecTestCLICmd builds the client context, mocks the output and executes the command.

Types

type MockTendermintRPC

type MockTendermintRPC struct {
	rpcclientmock.Client
	// contains filtered or unexported fields
}

func NewMockTendermintRPC

func NewMockTendermintRPC(respQuery abci.ResponseQuery, client rpcclientmock.Client) MockTendermintRPC

NewMockTendermintRPC returns a mock TendermintRPC implementation. It is used for CLI testing.

func (MockTendermintRPC) ABCIQueryWithOptions

func (MockTendermintRPC) BroadcastTxSync

Jump to

Keyboard shortcuts

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