Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ( // CometLocalTCPURL provides a default URL pointing to the localnet TCP endpoint. CometLocalTCPURL = "tcp://localhost:36657" // CometLocalWebsocketURL provides a default URL pointing to the localnet websocket endpoint. CometLocalWebsocketURL = "ws://localhost:36657/websocket" // TODO_IN_THIS_COMMIT: godoc comments... TxConfig client.TxConfig Marshaler codec.Codec InterfaceRegistry codectypes.InterfaceRegistry )
Functions ¶
func NewKey ¶
func NewKey( t *testing.T, name string, keyring cosmoskeyring.Keyring, ) (key *cosmoskeyring.Record, mnemonic string)
NewKey creates a new Secp256k1 key and mnemonic for the given name within the provided keyring.
func NewLocalnetClientCtx ¶
NewLocalnetClientCtx creates a client context specifically tailored for localnet environments. The returned client context is initialized with encoding configurations, a default home directory, a default account retriever, and command flags.
Parameters: - t: The testing.T instance used for the current test. - flagSet: The set of flags to be read for initializing the client context.
Returns: - A pointer to a populated client.Context instance suitable for localnet usage.
func NewLocalnetFlagSet ¶
NewLocalnetFlagSet creates a set of predefined flags suitable for a localnet testing environment.
Parameters: - t: The testing.T instance used for the current test.
Returns: - A flag set populated with flags tailored for localnet environments.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package testblock provides helper functions for constructing real (e.g.
|
Package testblock provides helper functions for constructing real (e.g. |
Package testdelegation provides helper functions for constructing real (e.g.
|
Package testdelegation provides helper functions for constructing real (e.g. |
Package testeventsquery provides helper functions for constructing real (e.g.
|
Package testeventsquery provides helper functions for constructing real (e.g. |
Package testqueryclients provides helper functions for contstructing mock AccountQueryClient objects parameterized call arguments, return value(s), and/or expectations thereof.
|
Package testqueryclients provides helper functions for contstructing mock AccountQueryClient objects parameterized call arguments, return value(s), and/or expectations thereof. |