Documentation
¶
Index ¶
- func ExecTestCLICmd(ctx context.Context, clientCtx client.Context, cmd *cobra.Command, ...) (testutil.BufferWriter, error)
- func GetTxFees(t testing.TB, cctx client.Context, data []byte) sdk.FeeTx
- func ValidateTxSuccessful(t testing.TB, cctx client.Context, data []byte) (*sdk.TxResponse, sdk.Tx)
- func ValidateTxUnSuccessful(t testing.TB, cctx client.Context, data []byte)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExecTestCLICmd ¶
func ExecTestCLICmd(ctx context.Context, clientCtx client.Context, cmd *cobra.Command, extraArgs ...string) (testutil.BufferWriter, error)
ExecTestCLICmd builds the client context, mocks the output and executes the command.
func GetTxFees ¶
GetTxFees is a gentle response to inappropriate approach of cli test utils send transaction may fail and calling cli routine won't know about it
func ValidateTxSuccessful ¶
ValidateTxSuccessful is a gentle response to inappropriate approach of cli test utils send transaction may fail and calling cli routine won't know about it
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.