cli

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Aug 16, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NotFoundOutput                   = "\"Not Found\"\n"
	LightClientProxyForListQueries   = "" /* 129-byte string literal not displayed */
	LightClientProxyForWriteRequests = "\"Write requests don't work with a Light Client Proxy. Please connect to a Full Node (Validator or Observer) instead.\"\n"
	RequestFailed                    = "Request failed"
)

Variables

This section is empty.

Functions

func AddTxFlagsToCmd added in v0.6.0

func AddTxFlagsToCmd(cmd *cobra.Command)

func IsEmptySubtreeRPCError added in v0.10.0

func IsEmptySubtreeRPCError(err error) bool

func IsKeyNotFoundRPCError added in v0.10.0

func IsKeyNotFoundRPCError(err error) bool

func IsWriteInsteadReadRPCError added in v0.10.0

func IsWriteInsteadReadRPCError(err error) bool

func QueryWithProof added in v0.6.0

func QueryWithProof(clientCtx client.Context, storeName string, keyPrefix string, key []byte, res codec.ProtoMarshaler) error

func QueryWithProofList added in v0.6.0

func QueryWithProofList(clientCtx client.Context, storeName string, keyPrefix string, key []byte, res codec.ProtoMarshaler) error

func ReadFromFile added in v0.6.0

func ReadFromFile(target string) (string, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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