Documentation
¶
Index ¶
- type Client
- func (_mock *Client) ABCIInfo(context1 context.Context) (*coretypes.ResultABCIInfo, error)
- func (_mock *Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
- func (_mock *Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*coretypes.ResultABCIQuery, error)
- func (_mock *Client) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
- func (_mock *Client) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
- func (_mock *Client) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
- func (_mock *Client) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
- func (_mock *Client) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
- func (_mock *Client) BroadcastEvidence(context1 context.Context, evidence types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
- func (_mock *Client) BroadcastTx(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_mock *Client) BroadcastTxAsync(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_mock *Client) BroadcastTxCommit(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (_mock *Client) BroadcastTxSync(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_mock *Client) CheckTx(context1 context.Context, tx types.Tx) (*coretypes.ResultCheckTx, error)
- func (_mock *Client) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
- func (_mock *Client) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
- func (_mock *Client) ConsensusState(context1 context.Context) (*coretypes.ResultConsensusState, error)
- func (_mock *Client) DumpConsensusState(context1 context.Context) (*coretypes.ResultDumpConsensusState, error)
- func (_m *Client) EXPECT() *Client_Expecter
- func (_mock *Client) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)
- func (_mock *Client) Genesis(context1 context.Context) (*coretypes.ResultGenesis, error)
- func (_mock *Client) GenesisChunked(context1 context.Context, v uint) (*coretypes.ResultGenesisChunk, error)
- func (_mock *Client) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
- func (_mock *Client) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
- func (_mock *Client) Health(context1 context.Context) (*coretypes.ResultHealth, error)
- func (_mock *Client) NetInfo(context1 context.Context) (*coretypes.ResultNetInfo, error)
- func (_mock *Client) NumUnconfirmedTxs(context1 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
- func (_mock *Client) RemoveTx(context1 context.Context, txKey types.TxKey) error
- func (_mock *Client) Start(context1 context.Context) error
- func (_mock *Client) Status(context1 context.Context) (*coretypes.ResultStatus, error)
- func (_mock *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
- func (_mock *Client) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
- func (_mock *Client) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, ...) (*coretypes.ResultTxSearch, error)
- func (_mock *Client) UnconfirmedTx(ctx context.Context, txHash []byte) (*coretypes.ResultUnconfirmedTx, error)
- func (_mock *Client) UnconfirmedTxs(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
- func (_mock *Client) Unsubscribe(ctx context.Context, subscriber string, query string) error
- func (_mock *Client) UnsubscribeAll(ctx context.Context, subscriber string) error
- func (_mock *Client) Validators(ctx context.Context, height *int64, page *int, perPage *int, ...) (*coretypes.ResultValidators, error)
- type Client_ABCIInfo_Call
- func (_c *Client_ABCIInfo_Call) Return(resultABCIInfo *coretypes.ResultABCIInfo, err error) *Client_ABCIInfo_Call
- func (_c *Client_ABCIInfo_Call) Run(run func(context1 context.Context)) *Client_ABCIInfo_Call
- func (_c *Client_ABCIInfo_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultABCIInfo, error)) *Client_ABCIInfo_Call
- type Client_ABCIQueryWithOptions_Call
- func (_c *Client_ABCIQueryWithOptions_Call) Return(resultABCIQuery *coretypes.ResultABCIQuery, err error) *Client_ABCIQueryWithOptions_Call
- func (_c *Client_ABCIQueryWithOptions_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes, ...)) *Client_ABCIQueryWithOptions_Call
- func (_c *Client_ABCIQueryWithOptions_Call) RunAndReturn(...) *Client_ABCIQueryWithOptions_Call
- type Client_ABCIQuery_Call
- func (_c *Client_ABCIQuery_Call) Return(resultABCIQuery *coretypes.ResultABCIQuery, err error) *Client_ABCIQuery_Call
- func (_c *Client_ABCIQuery_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes)) *Client_ABCIQuery_Call
- func (_c *Client_ABCIQuery_Call) RunAndReturn(...) *Client_ABCIQuery_Call
- type Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) Return(resultBlock *coretypes.ResultBlock, err error) *Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *Client_BlockByHash_Call
- func (_c *Client_BlockByHash_Call) RunAndReturn(...) *Client_BlockByHash_Call
- type Client_BlockResults_Call
- func (_c *Client_BlockResults_Call) Return(resultBlockResults *coretypes.ResultBlockResults, err error) *Client_BlockResults_Call
- func (_c *Client_BlockResults_Call) Run(run func(ctx context.Context, height *int64)) *Client_BlockResults_Call
- func (_c *Client_BlockResults_Call) RunAndReturn(...) *Client_BlockResults_Call
- type Client_BlockSearch_Call
- type Client_Block_Call
- func (_c *Client_Block_Call) Return(resultBlock *coretypes.ResultBlock, err error) *Client_Block_Call
- func (_c *Client_Block_Call) Run(run func(ctx context.Context, height *int64)) *Client_Block_Call
- func (_c *Client_Block_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)) *Client_Block_Call
- type Client_BlockchainInfo_Call
- func (_c *Client_BlockchainInfo_Call) Return(resultBlockchainInfo *coretypes.ResultBlockchainInfo, err error) *Client_BlockchainInfo_Call
- func (_c *Client_BlockchainInfo_Call) Run(run func(ctx context.Context, minHeight int64, maxHeight int64)) *Client_BlockchainInfo_Call
- func (_c *Client_BlockchainInfo_Call) RunAndReturn(...) *Client_BlockchainInfo_Call
- type Client_BroadcastEvidence_Call
- func (_c *Client_BroadcastEvidence_Call) Return(resultBroadcastEvidence *coretypes.ResultBroadcastEvidence, err error) *Client_BroadcastEvidence_Call
- func (_c *Client_BroadcastEvidence_Call) Run(run func(context1 context.Context, evidence types.Evidence)) *Client_BroadcastEvidence_Call
- func (_c *Client_BroadcastEvidence_Call) RunAndReturn(...) *Client_BroadcastEvidence_Call
- type Client_BroadcastTxAsync_Call
- func (_c *Client_BroadcastTxAsync_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *Client_BroadcastTxAsync_Call
- func (_c *Client_BroadcastTxAsync_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_BroadcastTxAsync_Call
- func (_c *Client_BroadcastTxAsync_Call) RunAndReturn(...) *Client_BroadcastTxAsync_Call
- type Client_BroadcastTxCommit_Call
- func (_c *Client_BroadcastTxCommit_Call) Return(resultBroadcastTxCommit *coretypes.ResultBroadcastTxCommit, err error) *Client_BroadcastTxCommit_Call
- func (_c *Client_BroadcastTxCommit_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_BroadcastTxCommit_Call
- func (_c *Client_BroadcastTxCommit_Call) RunAndReturn(...) *Client_BroadcastTxCommit_Call
- type Client_BroadcastTxSync_Call
- func (_c *Client_BroadcastTxSync_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *Client_BroadcastTxSync_Call
- func (_c *Client_BroadcastTxSync_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_BroadcastTxSync_Call
- func (_c *Client_BroadcastTxSync_Call) RunAndReturn(...) *Client_BroadcastTxSync_Call
- type Client_BroadcastTx_Call
- func (_c *Client_BroadcastTx_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *Client_BroadcastTx_Call
- func (_c *Client_BroadcastTx_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_BroadcastTx_Call
- func (_c *Client_BroadcastTx_Call) RunAndReturn(...) *Client_BroadcastTx_Call
- type Client_CheckTx_Call
- type Client_Commit_Call
- func (_c *Client_Commit_Call) Return(resultCommit *coretypes.ResultCommit, err error) *Client_Commit_Call
- func (_c *Client_Commit_Call) Run(run func(ctx context.Context, height *int64)) *Client_Commit_Call
- func (_c *Client_Commit_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)) *Client_Commit_Call
- type Client_ConsensusParams_Call
- func (_c *Client_ConsensusParams_Call) Return(resultConsensusParams *coretypes.ResultConsensusParams, err error) *Client_ConsensusParams_Call
- func (_c *Client_ConsensusParams_Call) Run(run func(ctx context.Context, height *int64)) *Client_ConsensusParams_Call
- func (_c *Client_ConsensusParams_Call) RunAndReturn(...) *Client_ConsensusParams_Call
- type Client_ConsensusState_Call
- func (_c *Client_ConsensusState_Call) Return(resultConsensusState *coretypes.ResultConsensusState, err error) *Client_ConsensusState_Call
- func (_c *Client_ConsensusState_Call) Run(run func(context1 context.Context)) *Client_ConsensusState_Call
- func (_c *Client_ConsensusState_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultConsensusState, error)) *Client_ConsensusState_Call
- type Client_DumpConsensusState_Call
- func (_c *Client_DumpConsensusState_Call) Return(resultDumpConsensusState *coretypes.ResultDumpConsensusState, err error) *Client_DumpConsensusState_Call
- func (_c *Client_DumpConsensusState_Call) Run(run func(context1 context.Context)) *Client_DumpConsensusState_Call
- func (_c *Client_DumpConsensusState_Call) RunAndReturn(...) *Client_DumpConsensusState_Call
- type Client_Events_Call
- type Client_Expecter
- func (_e *Client_Expecter) ABCIInfo(context1 interface{}) *Client_ABCIInfo_Call
- func (_e *Client_Expecter) ABCIQuery(ctx interface{}, path interface{}, data interface{}) *Client_ABCIQuery_Call
- func (_e *Client_Expecter) ABCIQueryWithOptions(ctx interface{}, path interface{}, data interface{}, opts interface{}) *Client_ABCIQueryWithOptions_Call
- func (_e *Client_Expecter) Block(ctx interface{}, height interface{}) *Client_Block_Call
- func (_e *Client_Expecter) BlockByHash(ctx interface{}, hash interface{}) *Client_BlockByHash_Call
- func (_e *Client_Expecter) BlockResults(ctx interface{}, height interface{}) *Client_BlockResults_Call
- func (_e *Client_Expecter) BlockSearch(ctx interface{}, query interface{}, page interface{}, perPage interface{}, ...) *Client_BlockSearch_Call
- func (_e *Client_Expecter) BlockchainInfo(ctx interface{}, minHeight interface{}, maxHeight interface{}) *Client_BlockchainInfo_Call
- func (_e *Client_Expecter) BroadcastEvidence(context1 interface{}, evidence interface{}) *Client_BroadcastEvidence_Call
- func (_e *Client_Expecter) BroadcastTx(context1 interface{}, tx interface{}) *Client_BroadcastTx_Call
- func (_e *Client_Expecter) BroadcastTxAsync(context1 interface{}, tx interface{}) *Client_BroadcastTxAsync_Call
- func (_e *Client_Expecter) BroadcastTxCommit(context1 interface{}, tx interface{}) *Client_BroadcastTxCommit_Call
- func (_e *Client_Expecter) BroadcastTxSync(context1 interface{}, tx interface{}) *Client_BroadcastTxSync_Call
- func (_e *Client_Expecter) CheckTx(context1 interface{}, tx interface{}) *Client_CheckTx_Call
- func (_e *Client_Expecter) Commit(ctx interface{}, height interface{}) *Client_Commit_Call
- func (_e *Client_Expecter) ConsensusParams(ctx interface{}, height interface{}) *Client_ConsensusParams_Call
- func (_e *Client_Expecter) ConsensusState(context1 interface{}) *Client_ConsensusState_Call
- func (_e *Client_Expecter) DumpConsensusState(context1 interface{}) *Client_DumpConsensusState_Call
- func (_e *Client_Expecter) Events(ctx interface{}, req interface{}) *Client_Events_Call
- func (_e *Client_Expecter) Genesis(context1 interface{}) *Client_Genesis_Call
- func (_e *Client_Expecter) GenesisChunked(context1 interface{}, v interface{}) *Client_GenesisChunked_Call
- func (_e *Client_Expecter) Header(ctx interface{}, height interface{}) *Client_Header_Call
- func (_e *Client_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *Client_HeaderByHash_Call
- func (_e *Client_Expecter) Health(context1 interface{}) *Client_Health_Call
- func (_e *Client_Expecter) NetInfo(context1 interface{}) *Client_NetInfo_Call
- func (_e *Client_Expecter) NumUnconfirmedTxs(context1 interface{}) *Client_NumUnconfirmedTxs_Call
- func (_e *Client_Expecter) RemoveTx(context1 interface{}, txKey interface{}) *Client_RemoveTx_Call
- func (_e *Client_Expecter) Start(context1 interface{}) *Client_Start_Call
- func (_e *Client_Expecter) Status(context1 interface{}) *Client_Status_Call
- func (_e *Client_Expecter) Subscribe(ctx interface{}, subscriber interface{}, query interface{}, ...) *Client_Subscribe_Call
- func (_e *Client_Expecter) Tx(ctx interface{}, hash interface{}, prove interface{}) *Client_Tx_Call
- func (_e *Client_Expecter) TxSearch(ctx interface{}, query interface{}, prove interface{}, page interface{}, ...) *Client_TxSearch_Call
- func (_e *Client_Expecter) UnconfirmedTx(ctx interface{}, txHash interface{}) *Client_UnconfirmedTx_Call
- func (_e *Client_Expecter) UnconfirmedTxs(ctx interface{}, page interface{}, perPage interface{}) *Client_UnconfirmedTxs_Call
- func (_e *Client_Expecter) Unsubscribe(ctx interface{}, subscriber interface{}, query interface{}) *Client_Unsubscribe_Call
- func (_e *Client_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *Client_UnsubscribeAll_Call
- func (_e *Client_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}, ...) *Client_Validators_Call
- type Client_GenesisChunked_Call
- func (_c *Client_GenesisChunked_Call) Return(resultGenesisChunk *coretypes.ResultGenesisChunk, err error) *Client_GenesisChunked_Call
- func (_c *Client_GenesisChunked_Call) Run(run func(context1 context.Context, v uint)) *Client_GenesisChunked_Call
- func (_c *Client_GenesisChunked_Call) RunAndReturn(...) *Client_GenesisChunked_Call
- type Client_Genesis_Call
- func (_c *Client_Genesis_Call) Return(resultGenesis *coretypes.ResultGenesis, err error) *Client_Genesis_Call
- func (_c *Client_Genesis_Call) Run(run func(context1 context.Context)) *Client_Genesis_Call
- func (_c *Client_Genesis_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultGenesis, error)) *Client_Genesis_Call
- type Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) Return(resultHeader *coretypes.ResultHeader, err error) *Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *Client_HeaderByHash_Call
- func (_c *Client_HeaderByHash_Call) RunAndReturn(...) *Client_HeaderByHash_Call
- type Client_Header_Call
- func (_c *Client_Header_Call) Return(resultHeader *coretypes.ResultHeader, err error) *Client_Header_Call
- func (_c *Client_Header_Call) Run(run func(ctx context.Context, height *int64)) *Client_Header_Call
- func (_c *Client_Header_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)) *Client_Header_Call
- type Client_Health_Call
- func (_c *Client_Health_Call) Return(resultHealth *coretypes.ResultHealth, err error) *Client_Health_Call
- func (_c *Client_Health_Call) Run(run func(context1 context.Context)) *Client_Health_Call
- func (_c *Client_Health_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultHealth, error)) *Client_Health_Call
- type Client_NetInfo_Call
- func (_c *Client_NetInfo_Call) Return(resultNetInfo *coretypes.ResultNetInfo, err error) *Client_NetInfo_Call
- func (_c *Client_NetInfo_Call) Run(run func(context1 context.Context)) *Client_NetInfo_Call
- func (_c *Client_NetInfo_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultNetInfo, error)) *Client_NetInfo_Call
- type Client_NumUnconfirmedTxs_Call
- func (_c *Client_NumUnconfirmedTxs_Call) Return(resultUnconfirmedTxs *coretypes.ResultUnconfirmedTxs, err error) *Client_NumUnconfirmedTxs_Call
- func (_c *Client_NumUnconfirmedTxs_Call) Run(run func(context1 context.Context)) *Client_NumUnconfirmedTxs_Call
- func (_c *Client_NumUnconfirmedTxs_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultUnconfirmedTxs, error)) *Client_NumUnconfirmedTxs_Call
- type Client_RemoveTx_Call
- func (_c *Client_RemoveTx_Call) Return(err error) *Client_RemoveTx_Call
- func (_c *Client_RemoveTx_Call) Run(run func(context1 context.Context, txKey types.TxKey)) *Client_RemoveTx_Call
- func (_c *Client_RemoveTx_Call) RunAndReturn(run func(context1 context.Context, txKey types.TxKey) error) *Client_RemoveTx_Call
- type Client_Start_Call
- type Client_Status_Call
- func (_c *Client_Status_Call) Return(resultStatus *coretypes.ResultStatus, err error) *Client_Status_Call
- func (_c *Client_Status_Call) Run(run func(context1 context.Context)) *Client_Status_Call
- func (_c *Client_Status_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultStatus, error)) *Client_Status_Call
- type Client_Subscribe_Call
- type Client_TxSearch_Call
- type Client_Tx_Call
- type Client_UnconfirmedTx_Call
- func (_c *Client_UnconfirmedTx_Call) Return(resultUnconfirmedTx *coretypes.ResultUnconfirmedTx, err error) *Client_UnconfirmedTx_Call
- func (_c *Client_UnconfirmedTx_Call) Run(run func(ctx context.Context, txHash []byte)) *Client_UnconfirmedTx_Call
- func (_c *Client_UnconfirmedTx_Call) RunAndReturn(...) *Client_UnconfirmedTx_Call
- type Client_UnconfirmedTxs_Call
- func (_c *Client_UnconfirmedTxs_Call) Return(resultUnconfirmedTxs *coretypes.ResultUnconfirmedTxs, err error) *Client_UnconfirmedTxs_Call
- func (_c *Client_UnconfirmedTxs_Call) Run(run func(ctx context.Context, page *int, perPage *int)) *Client_UnconfirmedTxs_Call
- func (_c *Client_UnconfirmedTxs_Call) RunAndReturn(...) *Client_UnconfirmedTxs_Call
- type Client_UnsubscribeAll_Call
- func (_c *Client_UnsubscribeAll_Call) Return(err error) *Client_UnsubscribeAll_Call
- func (_c *Client_UnsubscribeAll_Call) Run(run func(ctx context.Context, subscriber string)) *Client_UnsubscribeAll_Call
- func (_c *Client_UnsubscribeAll_Call) RunAndReturn(run func(ctx context.Context, subscriber string) error) *Client_UnsubscribeAll_Call
- type Client_Unsubscribe_Call
- func (_c *Client_Unsubscribe_Call) Return(err error) *Client_Unsubscribe_Call
- func (_c *Client_Unsubscribe_Call) Run(run func(ctx context.Context, subscriber string, query string)) *Client_Unsubscribe_Call
- func (_c *Client_Unsubscribe_Call) RunAndReturn(run func(ctx context.Context, subscriber string, query string) error) *Client_Unsubscribe_Call
- type Client_Validators_Call
- func (_c *Client_Validators_Call) Return(resultValidators *coretypes.ResultValidators, err error) *Client_Validators_Call
- func (_c *Client_Validators_Call) Run(run func(ctx context.Context, height *int64, page *int, perPage *int, ...)) *Client_Validators_Call
- func (_c *Client_Validators_Call) RunAndReturn(...) *Client_Validators_Call
- type RemoteClient
- func (_mock *RemoteClient) ABCIInfo(context1 context.Context) (*coretypes.ResultABCIInfo, error)
- func (_mock *RemoteClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
- func (_mock *RemoteClient) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, ...) (*coretypes.ResultABCIQuery, error)
- func (_mock *RemoteClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
- func (_mock *RemoteClient) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
- func (_mock *RemoteClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
- func (_mock *RemoteClient) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
- func (_mock *RemoteClient) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
- func (_mock *RemoteClient) BroadcastEvidence(context1 context.Context, evidence types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
- func (_mock *RemoteClient) BroadcastTx(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_mock *RemoteClient) BroadcastTxAsync(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_mock *RemoteClient) BroadcastTxCommit(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
- func (_mock *RemoteClient) BroadcastTxSync(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
- func (_mock *RemoteClient) CheckTx(context1 context.Context, tx types.Tx) (*coretypes.ResultCheckTx, error)
- func (_mock *RemoteClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
- func (_mock *RemoteClient) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
- func (_mock *RemoteClient) ConsensusState(context1 context.Context) (*coretypes.ResultConsensusState, error)
- func (_mock *RemoteClient) DumpConsensusState(context1 context.Context) (*coretypes.ResultDumpConsensusState, error)
- func (_m *RemoteClient) EXPECT() *RemoteClient_Expecter
- func (_mock *RemoteClient) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)
- func (_mock *RemoteClient) Genesis(context1 context.Context) (*coretypes.ResultGenesis, error)
- func (_mock *RemoteClient) GenesisChunked(context1 context.Context, v uint) (*coretypes.ResultGenesisChunk, error)
- func (_mock *RemoteClient) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
- func (_mock *RemoteClient) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
- func (_mock *RemoteClient) Health(context1 context.Context) (*coretypes.ResultHealth, error)
- func (_mock *RemoteClient) NetInfo(context1 context.Context) (*coretypes.ResultNetInfo, error)
- func (_mock *RemoteClient) NumUnconfirmedTxs(context1 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
- func (_mock *RemoteClient) Remote() string
- func (_mock *RemoteClient) RemoveTx(context1 context.Context, txKey types.TxKey) error
- func (_mock *RemoteClient) Start(context1 context.Context) error
- func (_mock *RemoteClient) Status(context1 context.Context) (*coretypes.ResultStatus, error)
- func (_mock *RemoteClient) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
- func (_mock *RemoteClient) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
- func (_mock *RemoteClient) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, ...) (*coretypes.ResultTxSearch, error)
- func (_mock *RemoteClient) UnconfirmedTx(ctx context.Context, txHash []byte) (*coretypes.ResultUnconfirmedTx, error)
- func (_mock *RemoteClient) UnconfirmedTxs(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
- func (_mock *RemoteClient) Unsubscribe(ctx context.Context, subscriber string, query string) error
- func (_mock *RemoteClient) UnsubscribeAll(ctx context.Context, subscriber string) error
- func (_mock *RemoteClient) Validators(ctx context.Context, height *int64, page *int, perPage *int, ...) (*coretypes.ResultValidators, error)
- type RemoteClient_ABCIInfo_Call
- func (_c *RemoteClient_ABCIInfo_Call) Return(resultABCIInfo *coretypes.ResultABCIInfo, err error) *RemoteClient_ABCIInfo_Call
- func (_c *RemoteClient_ABCIInfo_Call) Run(run func(context1 context.Context)) *RemoteClient_ABCIInfo_Call
- func (_c *RemoteClient_ABCIInfo_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultABCIInfo, error)) *RemoteClient_ABCIInfo_Call
- type RemoteClient_ABCIQueryWithOptions_Call
- func (_c *RemoteClient_ABCIQueryWithOptions_Call) Return(resultABCIQuery *coretypes.ResultABCIQuery, err error) *RemoteClient_ABCIQueryWithOptions_Call
- func (_c *RemoteClient_ABCIQueryWithOptions_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes, ...)) *RemoteClient_ABCIQueryWithOptions_Call
- func (_c *RemoteClient_ABCIQueryWithOptions_Call) RunAndReturn(...) *RemoteClient_ABCIQueryWithOptions_Call
- type RemoteClient_ABCIQuery_Call
- func (_c *RemoteClient_ABCIQuery_Call) Return(resultABCIQuery *coretypes.ResultABCIQuery, err error) *RemoteClient_ABCIQuery_Call
- func (_c *RemoteClient_ABCIQuery_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes)) *RemoteClient_ABCIQuery_Call
- func (_c *RemoteClient_ABCIQuery_Call) RunAndReturn(...) *RemoteClient_ABCIQuery_Call
- type RemoteClient_BlockByHash_Call
- func (_c *RemoteClient_BlockByHash_Call) Return(resultBlock *coretypes.ResultBlock, err error) *RemoteClient_BlockByHash_Call
- func (_c *RemoteClient_BlockByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *RemoteClient_BlockByHash_Call
- func (_c *RemoteClient_BlockByHash_Call) RunAndReturn(...) *RemoteClient_BlockByHash_Call
- type RemoteClient_BlockResults_Call
- func (_c *RemoteClient_BlockResults_Call) Return(resultBlockResults *coretypes.ResultBlockResults, err error) *RemoteClient_BlockResults_Call
- func (_c *RemoteClient_BlockResults_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_BlockResults_Call
- func (_c *RemoteClient_BlockResults_Call) RunAndReturn(...) *RemoteClient_BlockResults_Call
- type RemoteClient_BlockSearch_Call
- func (_c *RemoteClient_BlockSearch_Call) Return(resultBlockSearch *coretypes.ResultBlockSearch, err error) *RemoteClient_BlockSearch_Call
- func (_c *RemoteClient_BlockSearch_Call) Run(...) *RemoteClient_BlockSearch_Call
- func (_c *RemoteClient_BlockSearch_Call) RunAndReturn(...) *RemoteClient_BlockSearch_Call
- type RemoteClient_Block_Call
- func (_c *RemoteClient_Block_Call) Return(resultBlock *coretypes.ResultBlock, err error) *RemoteClient_Block_Call
- func (_c *RemoteClient_Block_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_Block_Call
- func (_c *RemoteClient_Block_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)) *RemoteClient_Block_Call
- type RemoteClient_BlockchainInfo_Call
- func (_c *RemoteClient_BlockchainInfo_Call) Return(resultBlockchainInfo *coretypes.ResultBlockchainInfo, err error) *RemoteClient_BlockchainInfo_Call
- func (_c *RemoteClient_BlockchainInfo_Call) Run(run func(ctx context.Context, minHeight int64, maxHeight int64)) *RemoteClient_BlockchainInfo_Call
- func (_c *RemoteClient_BlockchainInfo_Call) RunAndReturn(...) *RemoteClient_BlockchainInfo_Call
- type RemoteClient_BroadcastEvidence_Call
- func (_c *RemoteClient_BroadcastEvidence_Call) Return(resultBroadcastEvidence *coretypes.ResultBroadcastEvidence, err error) *RemoteClient_BroadcastEvidence_Call
- func (_c *RemoteClient_BroadcastEvidence_Call) Run(run func(context1 context.Context, evidence types.Evidence)) *RemoteClient_BroadcastEvidence_Call
- func (_c *RemoteClient_BroadcastEvidence_Call) RunAndReturn(...) *RemoteClient_BroadcastEvidence_Call
- type RemoteClient_BroadcastTxAsync_Call
- func (_c *RemoteClient_BroadcastTxAsync_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *RemoteClient_BroadcastTxAsync_Call
- func (_c *RemoteClient_BroadcastTxAsync_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_BroadcastTxAsync_Call
- func (_c *RemoteClient_BroadcastTxAsync_Call) RunAndReturn(...) *RemoteClient_BroadcastTxAsync_Call
- type RemoteClient_BroadcastTxCommit_Call
- func (_c *RemoteClient_BroadcastTxCommit_Call) Return(resultBroadcastTxCommit *coretypes.ResultBroadcastTxCommit, err error) *RemoteClient_BroadcastTxCommit_Call
- func (_c *RemoteClient_BroadcastTxCommit_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_BroadcastTxCommit_Call
- func (_c *RemoteClient_BroadcastTxCommit_Call) RunAndReturn(...) *RemoteClient_BroadcastTxCommit_Call
- type RemoteClient_BroadcastTxSync_Call
- func (_c *RemoteClient_BroadcastTxSync_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *RemoteClient_BroadcastTxSync_Call
- func (_c *RemoteClient_BroadcastTxSync_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_BroadcastTxSync_Call
- func (_c *RemoteClient_BroadcastTxSync_Call) RunAndReturn(...) *RemoteClient_BroadcastTxSync_Call
- type RemoteClient_BroadcastTx_Call
- func (_c *RemoteClient_BroadcastTx_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *RemoteClient_BroadcastTx_Call
- func (_c *RemoteClient_BroadcastTx_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_BroadcastTx_Call
- func (_c *RemoteClient_BroadcastTx_Call) RunAndReturn(...) *RemoteClient_BroadcastTx_Call
- type RemoteClient_CheckTx_Call
- func (_c *RemoteClient_CheckTx_Call) Return(resultCheckTx *coretypes.ResultCheckTx, err error) *RemoteClient_CheckTx_Call
- func (_c *RemoteClient_CheckTx_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_CheckTx_Call
- func (_c *RemoteClient_CheckTx_Call) RunAndReturn(...) *RemoteClient_CheckTx_Call
- type RemoteClient_Commit_Call
- func (_c *RemoteClient_Commit_Call) Return(resultCommit *coretypes.ResultCommit, err error) *RemoteClient_Commit_Call
- func (_c *RemoteClient_Commit_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_Commit_Call
- func (_c *RemoteClient_Commit_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)) *RemoteClient_Commit_Call
- type RemoteClient_ConsensusParams_Call
- func (_c *RemoteClient_ConsensusParams_Call) Return(resultConsensusParams *coretypes.ResultConsensusParams, err error) *RemoteClient_ConsensusParams_Call
- func (_c *RemoteClient_ConsensusParams_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_ConsensusParams_Call
- func (_c *RemoteClient_ConsensusParams_Call) RunAndReturn(...) *RemoteClient_ConsensusParams_Call
- type RemoteClient_ConsensusState_Call
- func (_c *RemoteClient_ConsensusState_Call) Return(resultConsensusState *coretypes.ResultConsensusState, err error) *RemoteClient_ConsensusState_Call
- func (_c *RemoteClient_ConsensusState_Call) Run(run func(context1 context.Context)) *RemoteClient_ConsensusState_Call
- func (_c *RemoteClient_ConsensusState_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultConsensusState, error)) *RemoteClient_ConsensusState_Call
- type RemoteClient_DumpConsensusState_Call
- func (_c *RemoteClient_DumpConsensusState_Call) Return(resultDumpConsensusState *coretypes.ResultDumpConsensusState, err error) *RemoteClient_DumpConsensusState_Call
- func (_c *RemoteClient_DumpConsensusState_Call) Run(run func(context1 context.Context)) *RemoteClient_DumpConsensusState_Call
- func (_c *RemoteClient_DumpConsensusState_Call) RunAndReturn(...) *RemoteClient_DumpConsensusState_Call
- type RemoteClient_Events_Call
- func (_c *RemoteClient_Events_Call) Return(resultEvents *coretypes.ResultEvents, err error) *RemoteClient_Events_Call
- func (_c *RemoteClient_Events_Call) Run(run func(ctx context.Context, req *coretypes.RequestEvents)) *RemoteClient_Events_Call
- func (_c *RemoteClient_Events_Call) RunAndReturn(...) *RemoteClient_Events_Call
- type RemoteClient_Expecter
- func (_e *RemoteClient_Expecter) ABCIInfo(context1 interface{}) *RemoteClient_ABCIInfo_Call
- func (_e *RemoteClient_Expecter) ABCIQuery(ctx interface{}, path interface{}, data interface{}) *RemoteClient_ABCIQuery_Call
- func (_e *RemoteClient_Expecter) ABCIQueryWithOptions(ctx interface{}, path interface{}, data interface{}, opts interface{}) *RemoteClient_ABCIQueryWithOptions_Call
- func (_e *RemoteClient_Expecter) Block(ctx interface{}, height interface{}) *RemoteClient_Block_Call
- func (_e *RemoteClient_Expecter) BlockByHash(ctx interface{}, hash interface{}) *RemoteClient_BlockByHash_Call
- func (_e *RemoteClient_Expecter) BlockResults(ctx interface{}, height interface{}) *RemoteClient_BlockResults_Call
- func (_e *RemoteClient_Expecter) BlockSearch(ctx interface{}, query interface{}, page interface{}, perPage interface{}, ...) *RemoteClient_BlockSearch_Call
- func (_e *RemoteClient_Expecter) BlockchainInfo(ctx interface{}, minHeight interface{}, maxHeight interface{}) *RemoteClient_BlockchainInfo_Call
- func (_e *RemoteClient_Expecter) BroadcastEvidence(context1 interface{}, evidence interface{}) *RemoteClient_BroadcastEvidence_Call
- func (_e *RemoteClient_Expecter) BroadcastTx(context1 interface{}, tx interface{}) *RemoteClient_BroadcastTx_Call
- func (_e *RemoteClient_Expecter) BroadcastTxAsync(context1 interface{}, tx interface{}) *RemoteClient_BroadcastTxAsync_Call
- func (_e *RemoteClient_Expecter) BroadcastTxCommit(context1 interface{}, tx interface{}) *RemoteClient_BroadcastTxCommit_Call
- func (_e *RemoteClient_Expecter) BroadcastTxSync(context1 interface{}, tx interface{}) *RemoteClient_BroadcastTxSync_Call
- func (_e *RemoteClient_Expecter) CheckTx(context1 interface{}, tx interface{}) *RemoteClient_CheckTx_Call
- func (_e *RemoteClient_Expecter) Commit(ctx interface{}, height interface{}) *RemoteClient_Commit_Call
- func (_e *RemoteClient_Expecter) ConsensusParams(ctx interface{}, height interface{}) *RemoteClient_ConsensusParams_Call
- func (_e *RemoteClient_Expecter) ConsensusState(context1 interface{}) *RemoteClient_ConsensusState_Call
- func (_e *RemoteClient_Expecter) DumpConsensusState(context1 interface{}) *RemoteClient_DumpConsensusState_Call
- func (_e *RemoteClient_Expecter) Events(ctx interface{}, req interface{}) *RemoteClient_Events_Call
- func (_e *RemoteClient_Expecter) Genesis(context1 interface{}) *RemoteClient_Genesis_Call
- func (_e *RemoteClient_Expecter) GenesisChunked(context1 interface{}, v interface{}) *RemoteClient_GenesisChunked_Call
- func (_e *RemoteClient_Expecter) Header(ctx interface{}, height interface{}) *RemoteClient_Header_Call
- func (_e *RemoteClient_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *RemoteClient_HeaderByHash_Call
- func (_e *RemoteClient_Expecter) Health(context1 interface{}) *RemoteClient_Health_Call
- func (_e *RemoteClient_Expecter) NetInfo(context1 interface{}) *RemoteClient_NetInfo_Call
- func (_e *RemoteClient_Expecter) NumUnconfirmedTxs(context1 interface{}) *RemoteClient_NumUnconfirmedTxs_Call
- func (_e *RemoteClient_Expecter) Remote() *RemoteClient_Remote_Call
- func (_e *RemoteClient_Expecter) RemoveTx(context1 interface{}, txKey interface{}) *RemoteClient_RemoveTx_Call
- func (_e *RemoteClient_Expecter) Start(context1 interface{}) *RemoteClient_Start_Call
- func (_e *RemoteClient_Expecter) Status(context1 interface{}) *RemoteClient_Status_Call
- func (_e *RemoteClient_Expecter) Subscribe(ctx interface{}, subscriber interface{}, query interface{}, ...) *RemoteClient_Subscribe_Call
- func (_e *RemoteClient_Expecter) Tx(ctx interface{}, hash interface{}, prove interface{}) *RemoteClient_Tx_Call
- func (_e *RemoteClient_Expecter) TxSearch(ctx interface{}, query interface{}, prove interface{}, page interface{}, ...) *RemoteClient_TxSearch_Call
- func (_e *RemoteClient_Expecter) UnconfirmedTx(ctx interface{}, txHash interface{}) *RemoteClient_UnconfirmedTx_Call
- func (_e *RemoteClient_Expecter) UnconfirmedTxs(ctx interface{}, page interface{}, perPage interface{}) *RemoteClient_UnconfirmedTxs_Call
- func (_e *RemoteClient_Expecter) Unsubscribe(ctx interface{}, subscriber interface{}, query interface{}) *RemoteClient_Unsubscribe_Call
- func (_e *RemoteClient_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *RemoteClient_UnsubscribeAll_Call
- func (_e *RemoteClient_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}, ...) *RemoteClient_Validators_Call
- type RemoteClient_GenesisChunked_Call
- func (_c *RemoteClient_GenesisChunked_Call) Return(resultGenesisChunk *coretypes.ResultGenesisChunk, err error) *RemoteClient_GenesisChunked_Call
- func (_c *RemoteClient_GenesisChunked_Call) Run(run func(context1 context.Context, v uint)) *RemoteClient_GenesisChunked_Call
- func (_c *RemoteClient_GenesisChunked_Call) RunAndReturn(...) *RemoteClient_GenesisChunked_Call
- type RemoteClient_Genesis_Call
- func (_c *RemoteClient_Genesis_Call) Return(resultGenesis *coretypes.ResultGenesis, err error) *RemoteClient_Genesis_Call
- func (_c *RemoteClient_Genesis_Call) Run(run func(context1 context.Context)) *RemoteClient_Genesis_Call
- func (_c *RemoteClient_Genesis_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultGenesis, error)) *RemoteClient_Genesis_Call
- type RemoteClient_HeaderByHash_Call
- func (_c *RemoteClient_HeaderByHash_Call) Return(resultHeader *coretypes.ResultHeader, err error) *RemoteClient_HeaderByHash_Call
- func (_c *RemoteClient_HeaderByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *RemoteClient_HeaderByHash_Call
- func (_c *RemoteClient_HeaderByHash_Call) RunAndReturn(...) *RemoteClient_HeaderByHash_Call
- type RemoteClient_Header_Call
- func (_c *RemoteClient_Header_Call) Return(resultHeader *coretypes.ResultHeader, err error) *RemoteClient_Header_Call
- func (_c *RemoteClient_Header_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_Header_Call
- func (_c *RemoteClient_Header_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)) *RemoteClient_Header_Call
- type RemoteClient_Health_Call
- func (_c *RemoteClient_Health_Call) Return(resultHealth *coretypes.ResultHealth, err error) *RemoteClient_Health_Call
- func (_c *RemoteClient_Health_Call) Run(run func(context1 context.Context)) *RemoteClient_Health_Call
- func (_c *RemoteClient_Health_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultHealth, error)) *RemoteClient_Health_Call
- type RemoteClient_NetInfo_Call
- func (_c *RemoteClient_NetInfo_Call) Return(resultNetInfo *coretypes.ResultNetInfo, err error) *RemoteClient_NetInfo_Call
- func (_c *RemoteClient_NetInfo_Call) Run(run func(context1 context.Context)) *RemoteClient_NetInfo_Call
- func (_c *RemoteClient_NetInfo_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultNetInfo, error)) *RemoteClient_NetInfo_Call
- type RemoteClient_NumUnconfirmedTxs_Call
- func (_c *RemoteClient_NumUnconfirmedTxs_Call) Return(resultUnconfirmedTxs *coretypes.ResultUnconfirmedTxs, err error) *RemoteClient_NumUnconfirmedTxs_Call
- func (_c *RemoteClient_NumUnconfirmedTxs_Call) Run(run func(context1 context.Context)) *RemoteClient_NumUnconfirmedTxs_Call
- func (_c *RemoteClient_NumUnconfirmedTxs_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultUnconfirmedTxs, error)) *RemoteClient_NumUnconfirmedTxs_Call
- type RemoteClient_Remote_Call
- type RemoteClient_RemoveTx_Call
- func (_c *RemoteClient_RemoveTx_Call) Return(err error) *RemoteClient_RemoveTx_Call
- func (_c *RemoteClient_RemoveTx_Call) Run(run func(context1 context.Context, txKey types.TxKey)) *RemoteClient_RemoveTx_Call
- func (_c *RemoteClient_RemoveTx_Call) RunAndReturn(run func(context1 context.Context, txKey types.TxKey) error) *RemoteClient_RemoveTx_Call
- type RemoteClient_Start_Call
- type RemoteClient_Status_Call
- func (_c *RemoteClient_Status_Call) Return(resultStatus *coretypes.ResultStatus, err error) *RemoteClient_Status_Call
- func (_c *RemoteClient_Status_Call) Run(run func(context1 context.Context)) *RemoteClient_Status_Call
- func (_c *RemoteClient_Status_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultStatus, error)) *RemoteClient_Status_Call
- type RemoteClient_Subscribe_Call
- type RemoteClient_TxSearch_Call
- type RemoteClient_Tx_Call
- type RemoteClient_UnconfirmedTx_Call
- func (_c *RemoteClient_UnconfirmedTx_Call) Return(resultUnconfirmedTx *coretypes.ResultUnconfirmedTx, err error) *RemoteClient_UnconfirmedTx_Call
- func (_c *RemoteClient_UnconfirmedTx_Call) Run(run func(ctx context.Context, txHash []byte)) *RemoteClient_UnconfirmedTx_Call
- func (_c *RemoteClient_UnconfirmedTx_Call) RunAndReturn(...) *RemoteClient_UnconfirmedTx_Call
- type RemoteClient_UnconfirmedTxs_Call
- func (_c *RemoteClient_UnconfirmedTxs_Call) Return(resultUnconfirmedTxs *coretypes.ResultUnconfirmedTxs, err error) *RemoteClient_UnconfirmedTxs_Call
- func (_c *RemoteClient_UnconfirmedTxs_Call) Run(run func(ctx context.Context, page *int, perPage *int)) *RemoteClient_UnconfirmedTxs_Call
- func (_c *RemoteClient_UnconfirmedTxs_Call) RunAndReturn(...) *RemoteClient_UnconfirmedTxs_Call
- type RemoteClient_UnsubscribeAll_Call
- func (_c *RemoteClient_UnsubscribeAll_Call) Return(err error) *RemoteClient_UnsubscribeAll_Call
- func (_c *RemoteClient_UnsubscribeAll_Call) Run(run func(ctx context.Context, subscriber string)) *RemoteClient_UnsubscribeAll_Call
- func (_c *RemoteClient_UnsubscribeAll_Call) RunAndReturn(run func(ctx context.Context, subscriber string) error) *RemoteClient_UnsubscribeAll_Call
- type RemoteClient_Unsubscribe_Call
- func (_c *RemoteClient_Unsubscribe_Call) Return(err error) *RemoteClient_Unsubscribe_Call
- func (_c *RemoteClient_Unsubscribe_Call) Run(run func(ctx context.Context, subscriber string, query string)) *RemoteClient_Unsubscribe_Call
- func (_c *RemoteClient_Unsubscribe_Call) RunAndReturn(run func(ctx context.Context, subscriber string, query string) error) *RemoteClient_Unsubscribe_Call
- type RemoteClient_Validators_Call
- func (_c *RemoteClient_Validators_Call) Return(resultValidators *coretypes.ResultValidators, err error) *RemoteClient_Validators_Call
- func (_c *RemoteClient_Validators_Call) Run(run func(ctx context.Context, height *int64, page *int, perPage *int, ...)) *RemoteClient_Validators_Call
- func (_c *RemoteClient_Validators_Call) RunAndReturn(...) *RemoteClient_Validators_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client is an autogenerated mock type for the Client type
func NewClient ¶
NewClient creates a new instance of Client. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*Client) ABCIQuery ¶
func (_mock *Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
ABCIQuery provides a mock function for the type Client
func (*Client) ABCIQueryWithOptions ¶
func (_mock *Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)
ABCIQueryWithOptions provides a mock function for the type Client
func (*Client) BlockByHash ¶
func (_mock *Client) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
BlockByHash provides a mock function for the type Client
func (*Client) BlockResults ¶
func (_mock *Client) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
BlockResults provides a mock function for the type Client
func (*Client) BlockSearch ¶
func (_mock *Client) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
BlockSearch provides a mock function for the type Client
func (*Client) BlockchainInfo ¶
func (_mock *Client) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
BlockchainInfo provides a mock function for the type Client
func (*Client) BroadcastEvidence ¶
func (_mock *Client) BroadcastEvidence(context1 context.Context, evidence types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
BroadcastEvidence provides a mock function for the type Client
func (*Client) BroadcastTx ¶
func (_mock *Client) BroadcastTx(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTx provides a mock function for the type Client
func (*Client) BroadcastTxAsync ¶
func (_mock *Client) BroadcastTxAsync(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxAsync provides a mock function for the type Client
func (*Client) BroadcastTxCommit ¶
func (_mock *Client) BroadcastTxCommit(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
BroadcastTxCommit provides a mock function for the type Client
func (*Client) BroadcastTxSync ¶
func (_mock *Client) BroadcastTxSync(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxSync provides a mock function for the type Client
func (*Client) CheckTx ¶
func (_mock *Client) CheckTx(context1 context.Context, tx types.Tx) (*coretypes.ResultCheckTx, error)
CheckTx provides a mock function for the type Client
func (*Client) ConsensusParams ¶
func (_mock *Client) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
ConsensusParams provides a mock function for the type Client
func (*Client) ConsensusState ¶
func (_mock *Client) ConsensusState(context1 context.Context) (*coretypes.ResultConsensusState, error)
ConsensusState provides a mock function for the type Client
func (*Client) DumpConsensusState ¶
func (_mock *Client) DumpConsensusState(context1 context.Context) (*coretypes.ResultDumpConsensusState, error)
DumpConsensusState provides a mock function for the type Client
func (*Client) EXPECT ¶ added in v1.4.0
func (_m *Client) EXPECT() *Client_Expecter
func (*Client) Events ¶
func (_mock *Client) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)
Events provides a mock function for the type Client
func (*Client) GenesisChunked ¶
func (_mock *Client) GenesisChunked(context1 context.Context, v uint) (*coretypes.ResultGenesisChunk, error)
GenesisChunked provides a mock function for the type Client
func (*Client) HeaderByHash ¶
func (_mock *Client) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
HeaderByHash provides a mock function for the type Client
func (*Client) NumUnconfirmedTxs ¶
func (_mock *Client) NumUnconfirmedTxs(context1 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
NumUnconfirmedTxs provides a mock function for the type Client
func (*Client) Subscribe ¶
func (_mock *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
Subscribe provides a mock function for the type Client
func (*Client) Tx ¶
func (_mock *Client) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
Tx provides a mock function for the type Client
func (*Client) TxSearch ¶
func (_mock *Client) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string) (*coretypes.ResultTxSearch, error)
TxSearch provides a mock function for the type Client
func (*Client) UnconfirmedTx ¶ added in v1.5.0
func (_mock *Client) UnconfirmedTx(ctx context.Context, txHash []byte) (*coretypes.ResultUnconfirmedTx, error)
UnconfirmedTx provides a mock function for the type Client
func (*Client) UnconfirmedTxs ¶
func (_mock *Client) UnconfirmedTxs(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
UnconfirmedTxs provides a mock function for the type Client
func (*Client) Unsubscribe ¶
Unsubscribe provides a mock function for the type Client
func (*Client) UnsubscribeAll ¶
UnsubscribeAll provides a mock function for the type Client
type Client_ABCIInfo_Call ¶ added in v1.4.0
Client_ABCIInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIInfo'
func (*Client_ABCIInfo_Call) Return ¶ added in v1.4.0
func (_c *Client_ABCIInfo_Call) Return(resultABCIInfo *coretypes.ResultABCIInfo, err error) *Client_ABCIInfo_Call
func (*Client_ABCIInfo_Call) Run ¶ added in v1.4.0
func (_c *Client_ABCIInfo_Call) Run(run func(context1 context.Context)) *Client_ABCIInfo_Call
func (*Client_ABCIInfo_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ABCIInfo_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultABCIInfo, error)) *Client_ABCIInfo_Call
type Client_ABCIQueryWithOptions_Call ¶ added in v1.4.0
Client_ABCIQueryWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIQueryWithOptions'
func (*Client_ABCIQueryWithOptions_Call) Return ¶ added in v1.4.0
func (_c *Client_ABCIQueryWithOptions_Call) Return(resultABCIQuery *coretypes.ResultABCIQuery, err error) *Client_ABCIQueryWithOptions_Call
func (*Client_ABCIQueryWithOptions_Call) Run ¶ added in v1.4.0
func (_c *Client_ABCIQueryWithOptions_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions)) *Client_ABCIQueryWithOptions_Call
func (*Client_ABCIQueryWithOptions_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ABCIQueryWithOptions_Call) RunAndReturn(run func(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)) *Client_ABCIQueryWithOptions_Call
type Client_ABCIQuery_Call ¶ added in v1.4.0
Client_ABCIQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIQuery'
func (*Client_ABCIQuery_Call) Return ¶ added in v1.4.0
func (_c *Client_ABCIQuery_Call) Return(resultABCIQuery *coretypes.ResultABCIQuery, err error) *Client_ABCIQuery_Call
func (*Client_ABCIQuery_Call) Run ¶ added in v1.4.0
func (_c *Client_ABCIQuery_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes)) *Client_ABCIQuery_Call
func (*Client_ABCIQuery_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ABCIQuery_Call) RunAndReturn(run func(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)) *Client_ABCIQuery_Call
type Client_BlockByHash_Call ¶ added in v1.4.0
Client_BlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByHash'
func (*Client_BlockByHash_Call) Return ¶ added in v1.4.0
func (_c *Client_BlockByHash_Call) Return(resultBlock *coretypes.ResultBlock, err error) *Client_BlockByHash_Call
func (*Client_BlockByHash_Call) Run ¶ added in v1.4.0
func (_c *Client_BlockByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *Client_BlockByHash_Call
func (*Client_BlockByHash_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BlockByHash_Call) RunAndReturn(run func(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)) *Client_BlockByHash_Call
type Client_BlockResults_Call ¶ added in v1.4.0
Client_BlockResults_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockResults'
func (*Client_BlockResults_Call) Return ¶ added in v1.4.0
func (_c *Client_BlockResults_Call) Return(resultBlockResults *coretypes.ResultBlockResults, err error) *Client_BlockResults_Call
func (*Client_BlockResults_Call) Run ¶ added in v1.4.0
func (_c *Client_BlockResults_Call) Run(run func(ctx context.Context, height *int64)) *Client_BlockResults_Call
func (*Client_BlockResults_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BlockResults_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)) *Client_BlockResults_Call
type Client_BlockSearch_Call ¶ added in v1.4.0
Client_BlockSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockSearch'
func (*Client_BlockSearch_Call) Return ¶ added in v1.4.0
func (_c *Client_BlockSearch_Call) Return(resultBlockSearch *coretypes.ResultBlockSearch, err error) *Client_BlockSearch_Call
func (*Client_BlockSearch_Call) Run ¶ added in v1.4.0
func (_c *Client_BlockSearch_Call) Run(run func(ctx context.Context, query string, page *int, perPage *int, orderBy string)) *Client_BlockSearch_Call
func (*Client_BlockSearch_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BlockSearch_Call) RunAndReturn(run func(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)) *Client_BlockSearch_Call
type Client_Block_Call ¶ added in v1.4.0
Client_Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Block'
func (*Client_Block_Call) Return ¶ added in v1.4.0
func (_c *Client_Block_Call) Return(resultBlock *coretypes.ResultBlock, err error) *Client_Block_Call
func (*Client_Block_Call) Run ¶ added in v1.4.0
func (_c *Client_Block_Call) Run(run func(ctx context.Context, height *int64)) *Client_Block_Call
func (*Client_Block_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Block_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)) *Client_Block_Call
type Client_BlockchainInfo_Call ¶ added in v1.4.0
Client_BlockchainInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockchainInfo'
func (*Client_BlockchainInfo_Call) Return ¶ added in v1.4.0
func (_c *Client_BlockchainInfo_Call) Return(resultBlockchainInfo *coretypes.ResultBlockchainInfo, err error) *Client_BlockchainInfo_Call
func (*Client_BlockchainInfo_Call) Run ¶ added in v1.4.0
func (_c *Client_BlockchainInfo_Call) Run(run func(ctx context.Context, minHeight int64, maxHeight int64)) *Client_BlockchainInfo_Call
func (*Client_BlockchainInfo_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BlockchainInfo_Call) RunAndReturn(run func(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)) *Client_BlockchainInfo_Call
type Client_BroadcastEvidence_Call ¶ added in v1.4.0
Client_BroadcastEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastEvidence'
func (*Client_BroadcastEvidence_Call) Return ¶ added in v1.4.0
func (_c *Client_BroadcastEvidence_Call) Return(resultBroadcastEvidence *coretypes.ResultBroadcastEvidence, err error) *Client_BroadcastEvidence_Call
func (*Client_BroadcastEvidence_Call) Run ¶ added in v1.4.0
func (_c *Client_BroadcastEvidence_Call) Run(run func(context1 context.Context, evidence types.Evidence)) *Client_BroadcastEvidence_Call
func (*Client_BroadcastEvidence_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BroadcastEvidence_Call) RunAndReturn(run func(context1 context.Context, evidence types.Evidence) (*coretypes.ResultBroadcastEvidence, error)) *Client_BroadcastEvidence_Call
type Client_BroadcastTxAsync_Call ¶ added in v1.4.0
Client_BroadcastTxAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxAsync'
func (*Client_BroadcastTxAsync_Call) Return ¶ added in v1.4.0
func (_c *Client_BroadcastTxAsync_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *Client_BroadcastTxAsync_Call
func (*Client_BroadcastTxAsync_Call) Run ¶ added in v1.4.0
func (_c *Client_BroadcastTxAsync_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_BroadcastTxAsync_Call
func (*Client_BroadcastTxAsync_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BroadcastTxAsync_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)) *Client_BroadcastTxAsync_Call
type Client_BroadcastTxCommit_Call ¶ added in v1.4.0
Client_BroadcastTxCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxCommit'
func (*Client_BroadcastTxCommit_Call) Return ¶ added in v1.4.0
func (_c *Client_BroadcastTxCommit_Call) Return(resultBroadcastTxCommit *coretypes.ResultBroadcastTxCommit, err error) *Client_BroadcastTxCommit_Call
func (*Client_BroadcastTxCommit_Call) Run ¶ added in v1.4.0
func (_c *Client_BroadcastTxCommit_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_BroadcastTxCommit_Call
func (*Client_BroadcastTxCommit_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BroadcastTxCommit_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTxCommit, error)) *Client_BroadcastTxCommit_Call
type Client_BroadcastTxSync_Call ¶ added in v1.4.0
Client_BroadcastTxSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxSync'
func (*Client_BroadcastTxSync_Call) Return ¶ added in v1.4.0
func (_c *Client_BroadcastTxSync_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *Client_BroadcastTxSync_Call
func (*Client_BroadcastTxSync_Call) Run ¶ added in v1.4.0
func (_c *Client_BroadcastTxSync_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_BroadcastTxSync_Call
func (*Client_BroadcastTxSync_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BroadcastTxSync_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)) *Client_BroadcastTxSync_Call
type Client_BroadcastTx_Call ¶ added in v1.4.0
Client_BroadcastTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTx'
func (*Client_BroadcastTx_Call) Return ¶ added in v1.4.0
func (_c *Client_BroadcastTx_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *Client_BroadcastTx_Call
func (*Client_BroadcastTx_Call) Run ¶ added in v1.4.0
func (_c *Client_BroadcastTx_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_BroadcastTx_Call
func (*Client_BroadcastTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_BroadcastTx_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)) *Client_BroadcastTx_Call
type Client_CheckTx_Call ¶ added in v1.4.0
Client_CheckTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTx'
func (*Client_CheckTx_Call) Return ¶ added in v1.4.0
func (_c *Client_CheckTx_Call) Return(resultCheckTx *coretypes.ResultCheckTx, err error) *Client_CheckTx_Call
func (*Client_CheckTx_Call) Run ¶ added in v1.4.0
func (_c *Client_CheckTx_Call) Run(run func(context1 context.Context, tx types.Tx)) *Client_CheckTx_Call
func (*Client_CheckTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_CheckTx_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultCheckTx, error)) *Client_CheckTx_Call
type Client_Commit_Call ¶ added in v1.4.0
Client_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*Client_Commit_Call) Return ¶ added in v1.4.0
func (_c *Client_Commit_Call) Return(resultCommit *coretypes.ResultCommit, err error) *Client_Commit_Call
func (*Client_Commit_Call) Run ¶ added in v1.4.0
func (_c *Client_Commit_Call) Run(run func(ctx context.Context, height *int64)) *Client_Commit_Call
func (*Client_Commit_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Commit_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)) *Client_Commit_Call
type Client_ConsensusParams_Call ¶ added in v1.4.0
Client_ConsensusParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsensusParams'
func (*Client_ConsensusParams_Call) Return ¶ added in v1.4.0
func (_c *Client_ConsensusParams_Call) Return(resultConsensusParams *coretypes.ResultConsensusParams, err error) *Client_ConsensusParams_Call
func (*Client_ConsensusParams_Call) Run ¶ added in v1.4.0
func (_c *Client_ConsensusParams_Call) Run(run func(ctx context.Context, height *int64)) *Client_ConsensusParams_Call
func (*Client_ConsensusParams_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ConsensusParams_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)) *Client_ConsensusParams_Call
type Client_ConsensusState_Call ¶ added in v1.4.0
Client_ConsensusState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsensusState'
func (*Client_ConsensusState_Call) Return ¶ added in v1.4.0
func (_c *Client_ConsensusState_Call) Return(resultConsensusState *coretypes.ResultConsensusState, err error) *Client_ConsensusState_Call
func (*Client_ConsensusState_Call) Run ¶ added in v1.4.0
func (_c *Client_ConsensusState_Call) Run(run func(context1 context.Context)) *Client_ConsensusState_Call
func (*Client_ConsensusState_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_ConsensusState_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultConsensusState, error)) *Client_ConsensusState_Call
type Client_DumpConsensusState_Call ¶ added in v1.4.0
Client_DumpConsensusState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DumpConsensusState'
func (*Client_DumpConsensusState_Call) Return ¶ added in v1.4.0
func (_c *Client_DumpConsensusState_Call) Return(resultDumpConsensusState *coretypes.ResultDumpConsensusState, err error) *Client_DumpConsensusState_Call
func (*Client_DumpConsensusState_Call) Run ¶ added in v1.4.0
func (_c *Client_DumpConsensusState_Call) Run(run func(context1 context.Context)) *Client_DumpConsensusState_Call
func (*Client_DumpConsensusState_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_DumpConsensusState_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultDumpConsensusState, error)) *Client_DumpConsensusState_Call
type Client_Events_Call ¶ added in v1.4.0
Client_Events_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Events'
func (*Client_Events_Call) Return ¶ added in v1.4.0
func (_c *Client_Events_Call) Return(resultEvents *coretypes.ResultEvents, err error) *Client_Events_Call
func (*Client_Events_Call) Run ¶ added in v1.4.0
func (_c *Client_Events_Call) Run(run func(ctx context.Context, req *coretypes.RequestEvents)) *Client_Events_Call
func (*Client_Events_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Events_Call) RunAndReturn(run func(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)) *Client_Events_Call
type Client_Expecter ¶ added in v1.4.0
type Client_Expecter struct {
// contains filtered or unexported fields
}
func (*Client_Expecter) ABCIInfo ¶ added in v1.4.0
func (_e *Client_Expecter) ABCIInfo(context1 interface{}) *Client_ABCIInfo_Call
ABCIInfo is a helper method to define mock.On call
- context1
func (*Client_Expecter) ABCIQuery ¶ added in v1.4.0
func (_e *Client_Expecter) ABCIQuery(ctx interface{}, path interface{}, data interface{}) *Client_ABCIQuery_Call
ABCIQuery is a helper method to define mock.On call
- ctx
- path
- data
func (*Client_Expecter) ABCIQueryWithOptions ¶ added in v1.4.0
func (_e *Client_Expecter) ABCIQueryWithOptions(ctx interface{}, path interface{}, data interface{}, opts interface{}) *Client_ABCIQueryWithOptions_Call
ABCIQueryWithOptions is a helper method to define mock.On call
- ctx
- path
- data
- opts
func (*Client_Expecter) Block ¶ added in v1.4.0
func (_e *Client_Expecter) Block(ctx interface{}, height interface{}) *Client_Block_Call
Block is a helper method to define mock.On call
- ctx
- height
func (*Client_Expecter) BlockByHash ¶ added in v1.4.0
func (_e *Client_Expecter) BlockByHash(ctx interface{}, hash interface{}) *Client_BlockByHash_Call
BlockByHash is a helper method to define mock.On call
- ctx
- hash
func (*Client_Expecter) BlockResults ¶ added in v1.4.0
func (_e *Client_Expecter) BlockResults(ctx interface{}, height interface{}) *Client_BlockResults_Call
BlockResults is a helper method to define mock.On call
- ctx
- height
func (*Client_Expecter) BlockSearch ¶ added in v1.4.0
func (_e *Client_Expecter) BlockSearch(ctx interface{}, query interface{}, page interface{}, perPage interface{}, orderBy interface{}) *Client_BlockSearch_Call
BlockSearch is a helper method to define mock.On call
- ctx
- query
- page
- perPage
- orderBy
func (*Client_Expecter) BlockchainInfo ¶ added in v1.4.0
func (_e *Client_Expecter) BlockchainInfo(ctx interface{}, minHeight interface{}, maxHeight interface{}) *Client_BlockchainInfo_Call
BlockchainInfo is a helper method to define mock.On call
- ctx
- minHeight
- maxHeight
func (*Client_Expecter) BroadcastEvidence ¶ added in v1.4.0
func (_e *Client_Expecter) BroadcastEvidence(context1 interface{}, evidence interface{}) *Client_BroadcastEvidence_Call
BroadcastEvidence is a helper method to define mock.On call
- context1
- evidence
func (*Client_Expecter) BroadcastTx ¶ added in v1.4.0
func (_e *Client_Expecter) BroadcastTx(context1 interface{}, tx interface{}) *Client_BroadcastTx_Call
BroadcastTx is a helper method to define mock.On call
- context1
- tx
func (*Client_Expecter) BroadcastTxAsync ¶ added in v1.4.0
func (_e *Client_Expecter) BroadcastTxAsync(context1 interface{}, tx interface{}) *Client_BroadcastTxAsync_Call
BroadcastTxAsync is a helper method to define mock.On call
- context1
- tx
func (*Client_Expecter) BroadcastTxCommit ¶ added in v1.4.0
func (_e *Client_Expecter) BroadcastTxCommit(context1 interface{}, tx interface{}) *Client_BroadcastTxCommit_Call
BroadcastTxCommit is a helper method to define mock.On call
- context1
- tx
func (*Client_Expecter) BroadcastTxSync ¶ added in v1.4.0
func (_e *Client_Expecter) BroadcastTxSync(context1 interface{}, tx interface{}) *Client_BroadcastTxSync_Call
BroadcastTxSync is a helper method to define mock.On call
- context1
- tx
func (*Client_Expecter) CheckTx ¶ added in v1.4.0
func (_e *Client_Expecter) CheckTx(context1 interface{}, tx interface{}) *Client_CheckTx_Call
CheckTx is a helper method to define mock.On call
- context1
- tx
func (*Client_Expecter) Commit ¶ added in v1.4.0
func (_e *Client_Expecter) Commit(ctx interface{}, height interface{}) *Client_Commit_Call
Commit is a helper method to define mock.On call
- ctx
- height
func (*Client_Expecter) ConsensusParams ¶ added in v1.4.0
func (_e *Client_Expecter) ConsensusParams(ctx interface{}, height interface{}) *Client_ConsensusParams_Call
ConsensusParams is a helper method to define mock.On call
- ctx
- height
func (*Client_Expecter) ConsensusState ¶ added in v1.4.0
func (_e *Client_Expecter) ConsensusState(context1 interface{}) *Client_ConsensusState_Call
ConsensusState is a helper method to define mock.On call
- context1
func (*Client_Expecter) DumpConsensusState ¶ added in v1.4.0
func (_e *Client_Expecter) DumpConsensusState(context1 interface{}) *Client_DumpConsensusState_Call
DumpConsensusState is a helper method to define mock.On call
- context1
func (*Client_Expecter) Events ¶ added in v1.4.0
func (_e *Client_Expecter) Events(ctx interface{}, req interface{}) *Client_Events_Call
Events is a helper method to define mock.On call
- ctx
- req
func (*Client_Expecter) Genesis ¶ added in v1.4.0
func (_e *Client_Expecter) Genesis(context1 interface{}) *Client_Genesis_Call
Genesis is a helper method to define mock.On call
- context1
func (*Client_Expecter) GenesisChunked ¶ added in v1.4.0
func (_e *Client_Expecter) GenesisChunked(context1 interface{}, v interface{}) *Client_GenesisChunked_Call
GenesisChunked is a helper method to define mock.On call
- context1
- v
func (*Client_Expecter) Header ¶ added in v1.4.0
func (_e *Client_Expecter) Header(ctx interface{}, height interface{}) *Client_Header_Call
Header is a helper method to define mock.On call
- ctx
- height
func (*Client_Expecter) HeaderByHash ¶ added in v1.4.0
func (_e *Client_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *Client_HeaderByHash_Call
HeaderByHash is a helper method to define mock.On call
- ctx
- hash
func (*Client_Expecter) Health ¶ added in v1.4.0
func (_e *Client_Expecter) Health(context1 interface{}) *Client_Health_Call
Health is a helper method to define mock.On call
- context1
func (*Client_Expecter) NetInfo ¶ added in v1.4.0
func (_e *Client_Expecter) NetInfo(context1 interface{}) *Client_NetInfo_Call
NetInfo is a helper method to define mock.On call
- context1
func (*Client_Expecter) NumUnconfirmedTxs ¶ added in v1.4.0
func (_e *Client_Expecter) NumUnconfirmedTxs(context1 interface{}) *Client_NumUnconfirmedTxs_Call
NumUnconfirmedTxs is a helper method to define mock.On call
- context1
func (*Client_Expecter) RemoveTx ¶ added in v1.4.0
func (_e *Client_Expecter) RemoveTx(context1 interface{}, txKey interface{}) *Client_RemoveTx_Call
RemoveTx is a helper method to define mock.On call
- context1
- txKey
func (*Client_Expecter) Start ¶ added in v1.4.0
func (_e *Client_Expecter) Start(context1 interface{}) *Client_Start_Call
Start is a helper method to define mock.On call
- context1
func (*Client_Expecter) Status ¶ added in v1.4.0
func (_e *Client_Expecter) Status(context1 interface{}) *Client_Status_Call
Status is a helper method to define mock.On call
- context1
func (*Client_Expecter) Subscribe ¶ added in v1.4.0
func (_e *Client_Expecter) Subscribe(ctx interface{}, subscriber interface{}, query interface{}, outCapacity ...interface{}) *Client_Subscribe_Call
Subscribe is a helper method to define mock.On call
- ctx
- subscriber
- query
- outCapacity
func (*Client_Expecter) Tx ¶ added in v1.4.0
func (_e *Client_Expecter) Tx(ctx interface{}, hash interface{}, prove interface{}) *Client_Tx_Call
Tx is a helper method to define mock.On call
- ctx
- hash
- prove
func (*Client_Expecter) TxSearch ¶ added in v1.4.0
func (_e *Client_Expecter) TxSearch(ctx interface{}, query interface{}, prove interface{}, page interface{}, perPage interface{}, orderBy interface{}) *Client_TxSearch_Call
TxSearch is a helper method to define mock.On call
- ctx
- query
- prove
- page
- perPage
- orderBy
func (*Client_Expecter) UnconfirmedTx ¶ added in v1.5.0
func (_e *Client_Expecter) UnconfirmedTx(ctx interface{}, txHash interface{}) *Client_UnconfirmedTx_Call
UnconfirmedTx is a helper method to define mock.On call
- ctx
- txHash
func (*Client_Expecter) UnconfirmedTxs ¶ added in v1.4.0
func (_e *Client_Expecter) UnconfirmedTxs(ctx interface{}, page interface{}, perPage interface{}) *Client_UnconfirmedTxs_Call
UnconfirmedTxs is a helper method to define mock.On call
- ctx
- page
- perPage
func (*Client_Expecter) Unsubscribe ¶ added in v1.4.0
func (_e *Client_Expecter) Unsubscribe(ctx interface{}, subscriber interface{}, query interface{}) *Client_Unsubscribe_Call
Unsubscribe is a helper method to define mock.On call
- ctx
- subscriber
- query
func (*Client_Expecter) UnsubscribeAll ¶ added in v1.4.0
func (_e *Client_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *Client_UnsubscribeAll_Call
UnsubscribeAll is a helper method to define mock.On call
- ctx
- subscriber
func (*Client_Expecter) Validators ¶ added in v1.4.0
func (_e *Client_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}, requestQuorumInfo interface{}) *Client_Validators_Call
Validators is a helper method to define mock.On call
- ctx
- height
- page
- perPage
- requestQuorumInfo
type Client_GenesisChunked_Call ¶ added in v1.4.0
Client_GenesisChunked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenesisChunked'
func (*Client_GenesisChunked_Call) Return ¶ added in v1.4.0
func (_c *Client_GenesisChunked_Call) Return(resultGenesisChunk *coretypes.ResultGenesisChunk, err error) *Client_GenesisChunked_Call
func (*Client_GenesisChunked_Call) Run ¶ added in v1.4.0
func (_c *Client_GenesisChunked_Call) Run(run func(context1 context.Context, v uint)) *Client_GenesisChunked_Call
func (*Client_GenesisChunked_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_GenesisChunked_Call) RunAndReturn(run func(context1 context.Context, v uint) (*coretypes.ResultGenesisChunk, error)) *Client_GenesisChunked_Call
type Client_Genesis_Call ¶ added in v1.4.0
Client_Genesis_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Genesis'
func (*Client_Genesis_Call) Return ¶ added in v1.4.0
func (_c *Client_Genesis_Call) Return(resultGenesis *coretypes.ResultGenesis, err error) *Client_Genesis_Call
func (*Client_Genesis_Call) Run ¶ added in v1.4.0
func (_c *Client_Genesis_Call) Run(run func(context1 context.Context)) *Client_Genesis_Call
func (*Client_Genesis_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Genesis_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultGenesis, error)) *Client_Genesis_Call
type Client_HeaderByHash_Call ¶ added in v1.4.0
Client_HeaderByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByHash'
func (*Client_HeaderByHash_Call) Return ¶ added in v1.4.0
func (_c *Client_HeaderByHash_Call) Return(resultHeader *coretypes.ResultHeader, err error) *Client_HeaderByHash_Call
func (*Client_HeaderByHash_Call) Run ¶ added in v1.4.0
func (_c *Client_HeaderByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *Client_HeaderByHash_Call
func (*Client_HeaderByHash_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_HeaderByHash_Call) RunAndReturn(run func(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)) *Client_HeaderByHash_Call
type Client_Header_Call ¶ added in v1.4.0
Client_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*Client_Header_Call) Return ¶ added in v1.4.0
func (_c *Client_Header_Call) Return(resultHeader *coretypes.ResultHeader, err error) *Client_Header_Call
func (*Client_Header_Call) Run ¶ added in v1.4.0
func (_c *Client_Header_Call) Run(run func(ctx context.Context, height *int64)) *Client_Header_Call
func (*Client_Header_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Header_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)) *Client_Header_Call
type Client_Health_Call ¶ added in v1.4.0
Client_Health_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Health'
func (*Client_Health_Call) Return ¶ added in v1.4.0
func (_c *Client_Health_Call) Return(resultHealth *coretypes.ResultHealth, err error) *Client_Health_Call
func (*Client_Health_Call) Run ¶ added in v1.4.0
func (_c *Client_Health_Call) Run(run func(context1 context.Context)) *Client_Health_Call
func (*Client_Health_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Health_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultHealth, error)) *Client_Health_Call
type Client_NetInfo_Call ¶ added in v1.4.0
Client_NetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetInfo'
func (*Client_NetInfo_Call) Return ¶ added in v1.4.0
func (_c *Client_NetInfo_Call) Return(resultNetInfo *coretypes.ResultNetInfo, err error) *Client_NetInfo_Call
func (*Client_NetInfo_Call) Run ¶ added in v1.4.0
func (_c *Client_NetInfo_Call) Run(run func(context1 context.Context)) *Client_NetInfo_Call
func (*Client_NetInfo_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_NetInfo_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultNetInfo, error)) *Client_NetInfo_Call
type Client_NumUnconfirmedTxs_Call ¶ added in v1.4.0
Client_NumUnconfirmedTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NumUnconfirmedTxs'
func (*Client_NumUnconfirmedTxs_Call) Return ¶ added in v1.4.0
func (_c *Client_NumUnconfirmedTxs_Call) Return(resultUnconfirmedTxs *coretypes.ResultUnconfirmedTxs, err error) *Client_NumUnconfirmedTxs_Call
func (*Client_NumUnconfirmedTxs_Call) Run ¶ added in v1.4.0
func (_c *Client_NumUnconfirmedTxs_Call) Run(run func(context1 context.Context)) *Client_NumUnconfirmedTxs_Call
func (*Client_NumUnconfirmedTxs_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_NumUnconfirmedTxs_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultUnconfirmedTxs, error)) *Client_NumUnconfirmedTxs_Call
type Client_RemoveTx_Call ¶ added in v1.4.0
Client_RemoveTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTx'
func (*Client_RemoveTx_Call) Return ¶ added in v1.4.0
func (_c *Client_RemoveTx_Call) Return(err error) *Client_RemoveTx_Call
func (*Client_RemoveTx_Call) Run ¶ added in v1.4.0
func (_c *Client_RemoveTx_Call) Run(run func(context1 context.Context, txKey types.TxKey)) *Client_RemoveTx_Call
func (*Client_RemoveTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_RemoveTx_Call) RunAndReturn(run func(context1 context.Context, txKey types.TxKey) error) *Client_RemoveTx_Call
type Client_Start_Call ¶ added in v1.4.0
Client_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*Client_Start_Call) Return ¶ added in v1.4.0
func (_c *Client_Start_Call) Return(err error) *Client_Start_Call
func (*Client_Start_Call) Run ¶ added in v1.4.0
func (_c *Client_Start_Call) Run(run func(context1 context.Context)) *Client_Start_Call
func (*Client_Start_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Start_Call) RunAndReturn(run func(context1 context.Context) error) *Client_Start_Call
type Client_Status_Call ¶ added in v1.4.0
Client_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*Client_Status_Call) Return ¶ added in v1.4.0
func (_c *Client_Status_Call) Return(resultStatus *coretypes.ResultStatus, err error) *Client_Status_Call
func (*Client_Status_Call) Run ¶ added in v1.4.0
func (_c *Client_Status_Call) Run(run func(context1 context.Context)) *Client_Status_Call
func (*Client_Status_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Status_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultStatus, error)) *Client_Status_Call
type Client_Subscribe_Call ¶ added in v1.4.0
Client_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*Client_Subscribe_Call) Return ¶ added in v1.4.0
func (_c *Client_Subscribe_Call) Return(out <-chan coretypes.ResultEvent, err error) *Client_Subscribe_Call
func (*Client_Subscribe_Call) Run ¶ added in v1.4.0
func (_c *Client_Subscribe_Call) Run(run func(ctx context.Context, subscriber string, query string, outCapacity ...int)) *Client_Subscribe_Call
func (*Client_Subscribe_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Subscribe_Call) RunAndReturn(run func(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)) *Client_Subscribe_Call
type Client_TxSearch_Call ¶ added in v1.4.0
Client_TxSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxSearch'
func (*Client_TxSearch_Call) Return ¶ added in v1.4.0
func (_c *Client_TxSearch_Call) Return(resultTxSearch *coretypes.ResultTxSearch, err error) *Client_TxSearch_Call
func (*Client_TxSearch_Call) Run ¶ added in v1.4.0
func (_c *Client_TxSearch_Call) Run(run func(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string)) *Client_TxSearch_Call
func (*Client_TxSearch_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_TxSearch_Call) RunAndReturn(run func(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string) (*coretypes.ResultTxSearch, error)) *Client_TxSearch_Call
type Client_Tx_Call ¶ added in v1.4.0
Client_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'
func (*Client_Tx_Call) Return ¶ added in v1.4.0
func (_c *Client_Tx_Call) Return(resultTx *coretypes.ResultTx, err error) *Client_Tx_Call
func (*Client_Tx_Call) Run ¶ added in v1.4.0
func (_c *Client_Tx_Call) Run(run func(ctx context.Context, hash bytes.HexBytes, prove bool)) *Client_Tx_Call
func (*Client_Tx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Tx_Call) RunAndReturn(run func(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)) *Client_Tx_Call
type Client_UnconfirmedTx_Call ¶ added in v1.5.0
Client_UnconfirmedTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnconfirmedTx'
func (*Client_UnconfirmedTx_Call) Return ¶ added in v1.5.0
func (_c *Client_UnconfirmedTx_Call) Return(resultUnconfirmedTx *coretypes.ResultUnconfirmedTx, err error) *Client_UnconfirmedTx_Call
func (*Client_UnconfirmedTx_Call) Run ¶ added in v1.5.0
func (_c *Client_UnconfirmedTx_Call) Run(run func(ctx context.Context, txHash []byte)) *Client_UnconfirmedTx_Call
func (*Client_UnconfirmedTx_Call) RunAndReturn ¶ added in v1.5.0
func (_c *Client_UnconfirmedTx_Call) RunAndReturn(run func(ctx context.Context, txHash []byte) (*coretypes.ResultUnconfirmedTx, error)) *Client_UnconfirmedTx_Call
type Client_UnconfirmedTxs_Call ¶ added in v1.4.0
Client_UnconfirmedTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnconfirmedTxs'
func (*Client_UnconfirmedTxs_Call) Return ¶ added in v1.4.0
func (_c *Client_UnconfirmedTxs_Call) Return(resultUnconfirmedTxs *coretypes.ResultUnconfirmedTxs, err error) *Client_UnconfirmedTxs_Call
func (*Client_UnconfirmedTxs_Call) Run ¶ added in v1.4.0
func (_c *Client_UnconfirmedTxs_Call) Run(run func(ctx context.Context, page *int, perPage *int)) *Client_UnconfirmedTxs_Call
func (*Client_UnconfirmedTxs_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_UnconfirmedTxs_Call) RunAndReturn(run func(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)) *Client_UnconfirmedTxs_Call
type Client_UnsubscribeAll_Call ¶ added in v1.4.0
Client_UnsubscribeAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeAll'
func (*Client_UnsubscribeAll_Call) Return ¶ added in v1.4.0
func (_c *Client_UnsubscribeAll_Call) Return(err error) *Client_UnsubscribeAll_Call
func (*Client_UnsubscribeAll_Call) Run ¶ added in v1.4.0
func (_c *Client_UnsubscribeAll_Call) Run(run func(ctx context.Context, subscriber string)) *Client_UnsubscribeAll_Call
func (*Client_UnsubscribeAll_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_UnsubscribeAll_Call) RunAndReturn(run func(ctx context.Context, subscriber string) error) *Client_UnsubscribeAll_Call
type Client_Unsubscribe_Call ¶ added in v1.4.0
Client_Unsubscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unsubscribe'
func (*Client_Unsubscribe_Call) Return ¶ added in v1.4.0
func (_c *Client_Unsubscribe_Call) Return(err error) *Client_Unsubscribe_Call
func (*Client_Unsubscribe_Call) Run ¶ added in v1.4.0
func (_c *Client_Unsubscribe_Call) Run(run func(ctx context.Context, subscriber string, query string)) *Client_Unsubscribe_Call
func (*Client_Unsubscribe_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Unsubscribe_Call) RunAndReturn(run func(ctx context.Context, subscriber string, query string) error) *Client_Unsubscribe_Call
type Client_Validators_Call ¶ added in v1.4.0
Client_Validators_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validators'
func (*Client_Validators_Call) Return ¶ added in v1.4.0
func (_c *Client_Validators_Call) Return(resultValidators *coretypes.ResultValidators, err error) *Client_Validators_Call
func (*Client_Validators_Call) Run ¶ added in v1.4.0
func (_c *Client_Validators_Call) Run(run func(ctx context.Context, height *int64, page *int, perPage *int, requestQuorumInfo *bool)) *Client_Validators_Call
func (*Client_Validators_Call) RunAndReturn ¶ added in v1.4.0
func (_c *Client_Validators_Call) RunAndReturn(run func(ctx context.Context, height *int64, page *int, perPage *int, requestQuorumInfo *bool) (*coretypes.ResultValidators, error)) *Client_Validators_Call
type RemoteClient ¶
RemoteClient is an autogenerated mock type for the RemoteClient type
func NewRemoteClient ¶
func NewRemoteClient(t interface {
mock.TestingT
Cleanup(func())
}) *RemoteClient
NewRemoteClient creates a new instance of RemoteClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*RemoteClient) ABCIInfo ¶
func (_mock *RemoteClient) ABCIInfo(context1 context.Context) (*coretypes.ResultABCIInfo, error)
ABCIInfo provides a mock function for the type RemoteClient
func (*RemoteClient) ABCIQuery ¶
func (_mock *RemoteClient) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)
ABCIQuery provides a mock function for the type RemoteClient
func (*RemoteClient) ABCIQueryWithOptions ¶
func (_mock *RemoteClient) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)
ABCIQueryWithOptions provides a mock function for the type RemoteClient
func (*RemoteClient) Block ¶
func (_mock *RemoteClient) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)
Block provides a mock function for the type RemoteClient
func (*RemoteClient) BlockByHash ¶
func (_mock *RemoteClient) BlockByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)
BlockByHash provides a mock function for the type RemoteClient
func (*RemoteClient) BlockResults ¶
func (_mock *RemoteClient) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)
BlockResults provides a mock function for the type RemoteClient
func (*RemoteClient) BlockSearch ¶
func (_mock *RemoteClient) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)
BlockSearch provides a mock function for the type RemoteClient
func (*RemoteClient) BlockchainInfo ¶
func (_mock *RemoteClient) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)
BlockchainInfo provides a mock function for the type RemoteClient
func (*RemoteClient) BroadcastEvidence ¶
func (_mock *RemoteClient) BroadcastEvidence(context1 context.Context, evidence types.Evidence) (*coretypes.ResultBroadcastEvidence, error)
BroadcastEvidence provides a mock function for the type RemoteClient
func (*RemoteClient) BroadcastTx ¶
func (_mock *RemoteClient) BroadcastTx(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTx provides a mock function for the type RemoteClient
func (*RemoteClient) BroadcastTxAsync ¶
func (_mock *RemoteClient) BroadcastTxAsync(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxAsync provides a mock function for the type RemoteClient
func (*RemoteClient) BroadcastTxCommit ¶
func (_mock *RemoteClient) BroadcastTxCommit(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTxCommit, error)
BroadcastTxCommit provides a mock function for the type RemoteClient
func (*RemoteClient) BroadcastTxSync ¶
func (_mock *RemoteClient) BroadcastTxSync(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)
BroadcastTxSync provides a mock function for the type RemoteClient
func (*RemoteClient) CheckTx ¶
func (_mock *RemoteClient) CheckTx(context1 context.Context, tx types.Tx) (*coretypes.ResultCheckTx, error)
CheckTx provides a mock function for the type RemoteClient
func (*RemoteClient) Commit ¶
func (_mock *RemoteClient) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)
Commit provides a mock function for the type RemoteClient
func (*RemoteClient) ConsensusParams ¶
func (_mock *RemoteClient) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)
ConsensusParams provides a mock function for the type RemoteClient
func (*RemoteClient) ConsensusState ¶
func (_mock *RemoteClient) ConsensusState(context1 context.Context) (*coretypes.ResultConsensusState, error)
ConsensusState provides a mock function for the type RemoteClient
func (*RemoteClient) DumpConsensusState ¶
func (_mock *RemoteClient) DumpConsensusState(context1 context.Context) (*coretypes.ResultDumpConsensusState, error)
DumpConsensusState provides a mock function for the type RemoteClient
func (*RemoteClient) EXPECT ¶ added in v1.4.0
func (_m *RemoteClient) EXPECT() *RemoteClient_Expecter
func (*RemoteClient) Events ¶
func (_mock *RemoteClient) Events(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)
Events provides a mock function for the type RemoteClient
func (*RemoteClient) Genesis ¶
func (_mock *RemoteClient) Genesis(context1 context.Context) (*coretypes.ResultGenesis, error)
Genesis provides a mock function for the type RemoteClient
func (*RemoteClient) GenesisChunked ¶
func (_mock *RemoteClient) GenesisChunked(context1 context.Context, v uint) (*coretypes.ResultGenesisChunk, error)
GenesisChunked provides a mock function for the type RemoteClient
func (*RemoteClient) Header ¶
func (_mock *RemoteClient) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)
Header provides a mock function for the type RemoteClient
func (*RemoteClient) HeaderByHash ¶
func (_mock *RemoteClient) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)
HeaderByHash provides a mock function for the type RemoteClient
func (*RemoteClient) Health ¶
func (_mock *RemoteClient) Health(context1 context.Context) (*coretypes.ResultHealth, error)
Health provides a mock function for the type RemoteClient
func (*RemoteClient) NetInfo ¶
func (_mock *RemoteClient) NetInfo(context1 context.Context) (*coretypes.ResultNetInfo, error)
NetInfo provides a mock function for the type RemoteClient
func (*RemoteClient) NumUnconfirmedTxs ¶
func (_mock *RemoteClient) NumUnconfirmedTxs(context1 context.Context) (*coretypes.ResultUnconfirmedTxs, error)
NumUnconfirmedTxs provides a mock function for the type RemoteClient
func (*RemoteClient) Remote ¶
func (_mock *RemoteClient) Remote() string
Remote provides a mock function for the type RemoteClient
func (*RemoteClient) Start ¶
func (_mock *RemoteClient) Start(context1 context.Context) error
Start provides a mock function for the type RemoteClient
func (*RemoteClient) Status ¶
func (_mock *RemoteClient) Status(context1 context.Context) (*coretypes.ResultStatus, error)
Status provides a mock function for the type RemoteClient
func (*RemoteClient) Subscribe ¶
func (_mock *RemoteClient) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
Subscribe provides a mock function for the type RemoteClient
func (*RemoteClient) Tx ¶
func (_mock *RemoteClient) Tx(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)
Tx provides a mock function for the type RemoteClient
func (*RemoteClient) TxSearch ¶
func (_mock *RemoteClient) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string) (*coretypes.ResultTxSearch, error)
TxSearch provides a mock function for the type RemoteClient
func (*RemoteClient) UnconfirmedTx ¶ added in v1.5.0
func (_mock *RemoteClient) UnconfirmedTx(ctx context.Context, txHash []byte) (*coretypes.ResultUnconfirmedTx, error)
UnconfirmedTx provides a mock function for the type RemoteClient
func (*RemoteClient) UnconfirmedTxs ¶
func (_mock *RemoteClient) UnconfirmedTxs(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)
UnconfirmedTxs provides a mock function for the type RemoteClient
func (*RemoteClient) Unsubscribe ¶
Unsubscribe provides a mock function for the type RemoteClient
func (*RemoteClient) UnsubscribeAll ¶
func (_mock *RemoteClient) UnsubscribeAll(ctx context.Context, subscriber string) error
UnsubscribeAll provides a mock function for the type RemoteClient
func (*RemoteClient) Validators ¶
func (_mock *RemoteClient) Validators(ctx context.Context, height *int64, page *int, perPage *int, requestQuorumInfo *bool) (*coretypes.ResultValidators, error)
Validators provides a mock function for the type RemoteClient
type RemoteClient_ABCIInfo_Call ¶ added in v1.4.0
RemoteClient_ABCIInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIInfo'
func (*RemoteClient_ABCIInfo_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_ABCIInfo_Call) Return(resultABCIInfo *coretypes.ResultABCIInfo, err error) *RemoteClient_ABCIInfo_Call
func (*RemoteClient_ABCIInfo_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_ABCIInfo_Call) Run(run func(context1 context.Context)) *RemoteClient_ABCIInfo_Call
func (*RemoteClient_ABCIInfo_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_ABCIInfo_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultABCIInfo, error)) *RemoteClient_ABCIInfo_Call
type RemoteClient_ABCIQueryWithOptions_Call ¶ added in v1.4.0
RemoteClient_ABCIQueryWithOptions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIQueryWithOptions'
func (*RemoteClient_ABCIQueryWithOptions_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_ABCIQueryWithOptions_Call) Return(resultABCIQuery *coretypes.ResultABCIQuery, err error) *RemoteClient_ABCIQueryWithOptions_Call
func (*RemoteClient_ABCIQueryWithOptions_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_ABCIQueryWithOptions_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions)) *RemoteClient_ABCIQueryWithOptions_Call
func (*RemoteClient_ABCIQueryWithOptions_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_ABCIQueryWithOptions_Call) RunAndReturn(run func(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)) *RemoteClient_ABCIQueryWithOptions_Call
type RemoteClient_ABCIQuery_Call ¶ added in v1.4.0
RemoteClient_ABCIQuery_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ABCIQuery'
func (*RemoteClient_ABCIQuery_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_ABCIQuery_Call) Return(resultABCIQuery *coretypes.ResultABCIQuery, err error) *RemoteClient_ABCIQuery_Call
func (*RemoteClient_ABCIQuery_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_ABCIQuery_Call) Run(run func(ctx context.Context, path string, data bytes.HexBytes)) *RemoteClient_ABCIQuery_Call
func (*RemoteClient_ABCIQuery_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_ABCIQuery_Call) RunAndReturn(run func(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)) *RemoteClient_ABCIQuery_Call
type RemoteClient_BlockByHash_Call ¶ added in v1.4.0
RemoteClient_BlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByHash'
func (*RemoteClient_BlockByHash_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BlockByHash_Call) Return(resultBlock *coretypes.ResultBlock, err error) *RemoteClient_BlockByHash_Call
func (*RemoteClient_BlockByHash_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BlockByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *RemoteClient_BlockByHash_Call
func (*RemoteClient_BlockByHash_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BlockByHash_Call) RunAndReturn(run func(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultBlock, error)) *RemoteClient_BlockByHash_Call
type RemoteClient_BlockResults_Call ¶ added in v1.4.0
RemoteClient_BlockResults_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockResults'
func (*RemoteClient_BlockResults_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BlockResults_Call) Return(resultBlockResults *coretypes.ResultBlockResults, err error) *RemoteClient_BlockResults_Call
func (*RemoteClient_BlockResults_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BlockResults_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_BlockResults_Call
func (*RemoteClient_BlockResults_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BlockResults_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)) *RemoteClient_BlockResults_Call
type RemoteClient_BlockSearch_Call ¶ added in v1.4.0
RemoteClient_BlockSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockSearch'
func (*RemoteClient_BlockSearch_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BlockSearch_Call) Return(resultBlockSearch *coretypes.ResultBlockSearch, err error) *RemoteClient_BlockSearch_Call
func (*RemoteClient_BlockSearch_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BlockSearch_Call) Run(run func(ctx context.Context, query string, page *int, perPage *int, orderBy string)) *RemoteClient_BlockSearch_Call
func (*RemoteClient_BlockSearch_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BlockSearch_Call) RunAndReturn(run func(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)) *RemoteClient_BlockSearch_Call
type RemoteClient_Block_Call ¶ added in v1.4.0
RemoteClient_Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Block'
func (*RemoteClient_Block_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Block_Call) Return(resultBlock *coretypes.ResultBlock, err error) *RemoteClient_Block_Call
func (*RemoteClient_Block_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Block_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_Block_Call
func (*RemoteClient_Block_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Block_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)) *RemoteClient_Block_Call
type RemoteClient_BlockchainInfo_Call ¶ added in v1.4.0
RemoteClient_BlockchainInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockchainInfo'
func (*RemoteClient_BlockchainInfo_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BlockchainInfo_Call) Return(resultBlockchainInfo *coretypes.ResultBlockchainInfo, err error) *RemoteClient_BlockchainInfo_Call
func (*RemoteClient_BlockchainInfo_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BlockchainInfo_Call) Run(run func(ctx context.Context, minHeight int64, maxHeight int64)) *RemoteClient_BlockchainInfo_Call
func (*RemoteClient_BlockchainInfo_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BlockchainInfo_Call) RunAndReturn(run func(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)) *RemoteClient_BlockchainInfo_Call
type RemoteClient_BroadcastEvidence_Call ¶ added in v1.4.0
RemoteClient_BroadcastEvidence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastEvidence'
func (*RemoteClient_BroadcastEvidence_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastEvidence_Call) Return(resultBroadcastEvidence *coretypes.ResultBroadcastEvidence, err error) *RemoteClient_BroadcastEvidence_Call
func (*RemoteClient_BroadcastEvidence_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastEvidence_Call) Run(run func(context1 context.Context, evidence types.Evidence)) *RemoteClient_BroadcastEvidence_Call
func (*RemoteClient_BroadcastEvidence_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastEvidence_Call) RunAndReturn(run func(context1 context.Context, evidence types.Evidence) (*coretypes.ResultBroadcastEvidence, error)) *RemoteClient_BroadcastEvidence_Call
type RemoteClient_BroadcastTxAsync_Call ¶ added in v1.4.0
RemoteClient_BroadcastTxAsync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxAsync'
func (*RemoteClient_BroadcastTxAsync_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxAsync_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *RemoteClient_BroadcastTxAsync_Call
func (*RemoteClient_BroadcastTxAsync_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxAsync_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_BroadcastTxAsync_Call
func (*RemoteClient_BroadcastTxAsync_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxAsync_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)) *RemoteClient_BroadcastTxAsync_Call
type RemoteClient_BroadcastTxCommit_Call ¶ added in v1.4.0
RemoteClient_BroadcastTxCommit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxCommit'
func (*RemoteClient_BroadcastTxCommit_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxCommit_Call) Return(resultBroadcastTxCommit *coretypes.ResultBroadcastTxCommit, err error) *RemoteClient_BroadcastTxCommit_Call
func (*RemoteClient_BroadcastTxCommit_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxCommit_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_BroadcastTxCommit_Call
func (*RemoteClient_BroadcastTxCommit_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxCommit_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTxCommit, error)) *RemoteClient_BroadcastTxCommit_Call
type RemoteClient_BroadcastTxSync_Call ¶ added in v1.4.0
RemoteClient_BroadcastTxSync_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTxSync'
func (*RemoteClient_BroadcastTxSync_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxSync_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *RemoteClient_BroadcastTxSync_Call
func (*RemoteClient_BroadcastTxSync_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxSync_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_BroadcastTxSync_Call
func (*RemoteClient_BroadcastTxSync_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTxSync_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)) *RemoteClient_BroadcastTxSync_Call
type RemoteClient_BroadcastTx_Call ¶ added in v1.4.0
RemoteClient_BroadcastTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BroadcastTx'
func (*RemoteClient_BroadcastTx_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTx_Call) Return(resultBroadcastTx *coretypes.ResultBroadcastTx, err error) *RemoteClient_BroadcastTx_Call
func (*RemoteClient_BroadcastTx_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTx_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_BroadcastTx_Call
func (*RemoteClient_BroadcastTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_BroadcastTx_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultBroadcastTx, error)) *RemoteClient_BroadcastTx_Call
type RemoteClient_CheckTx_Call ¶ added in v1.4.0
RemoteClient_CheckTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckTx'
func (*RemoteClient_CheckTx_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_CheckTx_Call) Return(resultCheckTx *coretypes.ResultCheckTx, err error) *RemoteClient_CheckTx_Call
func (*RemoteClient_CheckTx_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_CheckTx_Call) Run(run func(context1 context.Context, tx types.Tx)) *RemoteClient_CheckTx_Call
func (*RemoteClient_CheckTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_CheckTx_Call) RunAndReturn(run func(context1 context.Context, tx types.Tx) (*coretypes.ResultCheckTx, error)) *RemoteClient_CheckTx_Call
type RemoteClient_Commit_Call ¶ added in v1.4.0
RemoteClient_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*RemoteClient_Commit_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Commit_Call) Return(resultCommit *coretypes.ResultCommit, err error) *RemoteClient_Commit_Call
func (*RemoteClient_Commit_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Commit_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_Commit_Call
func (*RemoteClient_Commit_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Commit_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)) *RemoteClient_Commit_Call
type RemoteClient_ConsensusParams_Call ¶ added in v1.4.0
RemoteClient_ConsensusParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsensusParams'
func (*RemoteClient_ConsensusParams_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_ConsensusParams_Call) Return(resultConsensusParams *coretypes.ResultConsensusParams, err error) *RemoteClient_ConsensusParams_Call
func (*RemoteClient_ConsensusParams_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_ConsensusParams_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_ConsensusParams_Call
func (*RemoteClient_ConsensusParams_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_ConsensusParams_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)) *RemoteClient_ConsensusParams_Call
type RemoteClient_ConsensusState_Call ¶ added in v1.4.0
RemoteClient_ConsensusState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConsensusState'
func (*RemoteClient_ConsensusState_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_ConsensusState_Call) Return(resultConsensusState *coretypes.ResultConsensusState, err error) *RemoteClient_ConsensusState_Call
func (*RemoteClient_ConsensusState_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_ConsensusState_Call) Run(run func(context1 context.Context)) *RemoteClient_ConsensusState_Call
func (*RemoteClient_ConsensusState_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_ConsensusState_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultConsensusState, error)) *RemoteClient_ConsensusState_Call
type RemoteClient_DumpConsensusState_Call ¶ added in v1.4.0
RemoteClient_DumpConsensusState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DumpConsensusState'
func (*RemoteClient_DumpConsensusState_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_DumpConsensusState_Call) Return(resultDumpConsensusState *coretypes.ResultDumpConsensusState, err error) *RemoteClient_DumpConsensusState_Call
func (*RemoteClient_DumpConsensusState_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_DumpConsensusState_Call) Run(run func(context1 context.Context)) *RemoteClient_DumpConsensusState_Call
func (*RemoteClient_DumpConsensusState_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_DumpConsensusState_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultDumpConsensusState, error)) *RemoteClient_DumpConsensusState_Call
type RemoteClient_Events_Call ¶ added in v1.4.0
RemoteClient_Events_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Events'
func (*RemoteClient_Events_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Events_Call) Return(resultEvents *coretypes.ResultEvents, err error) *RemoteClient_Events_Call
func (*RemoteClient_Events_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Events_Call) Run(run func(ctx context.Context, req *coretypes.RequestEvents)) *RemoteClient_Events_Call
func (*RemoteClient_Events_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Events_Call) RunAndReturn(run func(ctx context.Context, req *coretypes.RequestEvents) (*coretypes.ResultEvents, error)) *RemoteClient_Events_Call
type RemoteClient_Expecter ¶ added in v1.4.0
type RemoteClient_Expecter struct {
// contains filtered or unexported fields
}
func (*RemoteClient_Expecter) ABCIInfo ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) ABCIInfo(context1 interface{}) *RemoteClient_ABCIInfo_Call
ABCIInfo is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) ABCIQuery ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) ABCIQuery(ctx interface{}, path interface{}, data interface{}) *RemoteClient_ABCIQuery_Call
ABCIQuery is a helper method to define mock.On call
- ctx context.Context
- path string
- data bytes.HexBytes
func (*RemoteClient_Expecter) ABCIQueryWithOptions ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) ABCIQueryWithOptions(ctx interface{}, path interface{}, data interface{}, opts interface{}) *RemoteClient_ABCIQueryWithOptions_Call
ABCIQueryWithOptions is a helper method to define mock.On call
- ctx context.Context
- path string
- data bytes.HexBytes
- opts client.ABCIQueryOptions
func (*RemoteClient_Expecter) Block ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Block(ctx interface{}, height interface{}) *RemoteClient_Block_Call
Block is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RemoteClient_Expecter) BlockByHash ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BlockByHash(ctx interface{}, hash interface{}) *RemoteClient_BlockByHash_Call
BlockByHash is a helper method to define mock.On call
- ctx context.Context
- hash bytes.HexBytes
func (*RemoteClient_Expecter) BlockResults ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BlockResults(ctx interface{}, height interface{}) *RemoteClient_BlockResults_Call
BlockResults is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RemoteClient_Expecter) BlockSearch ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BlockSearch(ctx interface{}, query interface{}, page interface{}, perPage interface{}, orderBy interface{}) *RemoteClient_BlockSearch_Call
BlockSearch is a helper method to define mock.On call
- ctx context.Context
- query string
- page *int
- perPage *int
- orderBy string
func (*RemoteClient_Expecter) BlockchainInfo ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BlockchainInfo(ctx interface{}, minHeight interface{}, maxHeight interface{}) *RemoteClient_BlockchainInfo_Call
BlockchainInfo is a helper method to define mock.On call
- ctx context.Context
- minHeight int64
- maxHeight int64
func (*RemoteClient_Expecter) BroadcastEvidence ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BroadcastEvidence(context1 interface{}, evidence interface{}) *RemoteClient_BroadcastEvidence_Call
BroadcastEvidence is a helper method to define mock.On call
- context1 context.Context
- evidence types.Evidence
func (*RemoteClient_Expecter) BroadcastTx ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BroadcastTx(context1 interface{}, tx interface{}) *RemoteClient_BroadcastTx_Call
BroadcastTx is a helper method to define mock.On call
- context1 context.Context
- tx types.Tx
func (*RemoteClient_Expecter) BroadcastTxAsync ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BroadcastTxAsync(context1 interface{}, tx interface{}) *RemoteClient_BroadcastTxAsync_Call
BroadcastTxAsync is a helper method to define mock.On call
- context1 context.Context
- tx types.Tx
func (*RemoteClient_Expecter) BroadcastTxCommit ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BroadcastTxCommit(context1 interface{}, tx interface{}) *RemoteClient_BroadcastTxCommit_Call
BroadcastTxCommit is a helper method to define mock.On call
- context1 context.Context
- tx types.Tx
func (*RemoteClient_Expecter) BroadcastTxSync ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) BroadcastTxSync(context1 interface{}, tx interface{}) *RemoteClient_BroadcastTxSync_Call
BroadcastTxSync is a helper method to define mock.On call
- context1 context.Context
- tx types.Tx
func (*RemoteClient_Expecter) CheckTx ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) CheckTx(context1 interface{}, tx interface{}) *RemoteClient_CheckTx_Call
CheckTx is a helper method to define mock.On call
- context1 context.Context
- tx types.Tx
func (*RemoteClient_Expecter) Commit ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Commit(ctx interface{}, height interface{}) *RemoteClient_Commit_Call
Commit is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RemoteClient_Expecter) ConsensusParams ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) ConsensusParams(ctx interface{}, height interface{}) *RemoteClient_ConsensusParams_Call
ConsensusParams is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RemoteClient_Expecter) ConsensusState ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) ConsensusState(context1 interface{}) *RemoteClient_ConsensusState_Call
ConsensusState is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) DumpConsensusState ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) DumpConsensusState(context1 interface{}) *RemoteClient_DumpConsensusState_Call
DumpConsensusState is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) Events ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Events(ctx interface{}, req interface{}) *RemoteClient_Events_Call
Events is a helper method to define mock.On call
- ctx context.Context
- req *coretypes.RequestEvents
func (*RemoteClient_Expecter) Genesis ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Genesis(context1 interface{}) *RemoteClient_Genesis_Call
Genesis is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) GenesisChunked ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) GenesisChunked(context1 interface{}, v interface{}) *RemoteClient_GenesisChunked_Call
GenesisChunked is a helper method to define mock.On call
- context1 context.Context
- v uint
func (*RemoteClient_Expecter) Header ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Header(ctx interface{}, height interface{}) *RemoteClient_Header_Call
Header is a helper method to define mock.On call
- ctx context.Context
- height *int64
func (*RemoteClient_Expecter) HeaderByHash ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *RemoteClient_HeaderByHash_Call
HeaderByHash is a helper method to define mock.On call
- ctx context.Context
- hash bytes.HexBytes
func (*RemoteClient_Expecter) Health ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Health(context1 interface{}) *RemoteClient_Health_Call
Health is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) NetInfo ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) NetInfo(context1 interface{}) *RemoteClient_NetInfo_Call
NetInfo is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) NumUnconfirmedTxs ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) NumUnconfirmedTxs(context1 interface{}) *RemoteClient_NumUnconfirmedTxs_Call
NumUnconfirmedTxs is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) Remote ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Remote() *RemoteClient_Remote_Call
Remote is a helper method to define mock.On call
func (*RemoteClient_Expecter) RemoveTx ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) RemoveTx(context1 interface{}, txKey interface{}) *RemoteClient_RemoveTx_Call
RemoveTx is a helper method to define mock.On call
- context1 context.Context
- txKey types.TxKey
func (*RemoteClient_Expecter) Start ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Start(context1 interface{}) *RemoteClient_Start_Call
Start is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) Status ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Status(context1 interface{}) *RemoteClient_Status_Call
Status is a helper method to define mock.On call
- context1 context.Context
func (*RemoteClient_Expecter) Subscribe ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Subscribe(ctx interface{}, subscriber interface{}, query interface{}, outCapacity ...interface{}) *RemoteClient_Subscribe_Call
Subscribe is a helper method to define mock.On call
- ctx context.Context
- subscriber string
- query string
- outCapacity ...int
func (*RemoteClient_Expecter) Tx ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Tx(ctx interface{}, hash interface{}, prove interface{}) *RemoteClient_Tx_Call
Tx is a helper method to define mock.On call
- ctx context.Context
- hash bytes.HexBytes
- prove bool
func (*RemoteClient_Expecter) TxSearch ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) TxSearch(ctx interface{}, query interface{}, prove interface{}, page interface{}, perPage interface{}, orderBy interface{}) *RemoteClient_TxSearch_Call
TxSearch is a helper method to define mock.On call
- ctx context.Context
- query string
- prove bool
- page *int
- perPage *int
- orderBy string
func (*RemoteClient_Expecter) UnconfirmedTx ¶ added in v1.5.0
func (_e *RemoteClient_Expecter) UnconfirmedTx(ctx interface{}, txHash interface{}) *RemoteClient_UnconfirmedTx_Call
UnconfirmedTx is a helper method to define mock.On call
- ctx context.Context
- txHash []byte
func (*RemoteClient_Expecter) UnconfirmedTxs ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) UnconfirmedTxs(ctx interface{}, page interface{}, perPage interface{}) *RemoteClient_UnconfirmedTxs_Call
UnconfirmedTxs is a helper method to define mock.On call
- ctx context.Context
- page *int
- perPage *int
func (*RemoteClient_Expecter) Unsubscribe ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Unsubscribe(ctx interface{}, subscriber interface{}, query interface{}) *RemoteClient_Unsubscribe_Call
Unsubscribe is a helper method to define mock.On call
- ctx context.Context
- subscriber string
- query string
func (*RemoteClient_Expecter) UnsubscribeAll ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *RemoteClient_UnsubscribeAll_Call
UnsubscribeAll is a helper method to define mock.On call
- ctx context.Context
- subscriber string
func (*RemoteClient_Expecter) Validators ¶ added in v1.4.0
func (_e *RemoteClient_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}, requestQuorumInfo interface{}) *RemoteClient_Validators_Call
Validators is a helper method to define mock.On call
- ctx context.Context
- height *int64
- page *int
- perPage *int
- requestQuorumInfo *bool
type RemoteClient_GenesisChunked_Call ¶ added in v1.4.0
RemoteClient_GenesisChunked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenesisChunked'
func (*RemoteClient_GenesisChunked_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_GenesisChunked_Call) Return(resultGenesisChunk *coretypes.ResultGenesisChunk, err error) *RemoteClient_GenesisChunked_Call
func (*RemoteClient_GenesisChunked_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_GenesisChunked_Call) Run(run func(context1 context.Context, v uint)) *RemoteClient_GenesisChunked_Call
func (*RemoteClient_GenesisChunked_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_GenesisChunked_Call) RunAndReturn(run func(context1 context.Context, v uint) (*coretypes.ResultGenesisChunk, error)) *RemoteClient_GenesisChunked_Call
type RemoteClient_Genesis_Call ¶ added in v1.4.0
RemoteClient_Genesis_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Genesis'
func (*RemoteClient_Genesis_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Genesis_Call) Return(resultGenesis *coretypes.ResultGenesis, err error) *RemoteClient_Genesis_Call
func (*RemoteClient_Genesis_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Genesis_Call) Run(run func(context1 context.Context)) *RemoteClient_Genesis_Call
func (*RemoteClient_Genesis_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Genesis_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultGenesis, error)) *RemoteClient_Genesis_Call
type RemoteClient_HeaderByHash_Call ¶ added in v1.4.0
RemoteClient_HeaderByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByHash'
func (*RemoteClient_HeaderByHash_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_HeaderByHash_Call) Return(resultHeader *coretypes.ResultHeader, err error) *RemoteClient_HeaderByHash_Call
func (*RemoteClient_HeaderByHash_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_HeaderByHash_Call) Run(run func(ctx context.Context, hash bytes.HexBytes)) *RemoteClient_HeaderByHash_Call
func (*RemoteClient_HeaderByHash_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_HeaderByHash_Call) RunAndReturn(run func(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)) *RemoteClient_HeaderByHash_Call
type RemoteClient_Header_Call ¶ added in v1.4.0
RemoteClient_Header_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Header'
func (*RemoteClient_Header_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Header_Call) Return(resultHeader *coretypes.ResultHeader, err error) *RemoteClient_Header_Call
func (*RemoteClient_Header_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Header_Call) Run(run func(ctx context.Context, height *int64)) *RemoteClient_Header_Call
func (*RemoteClient_Header_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Header_Call) RunAndReturn(run func(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)) *RemoteClient_Header_Call
type RemoteClient_Health_Call ¶ added in v1.4.0
RemoteClient_Health_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Health'
func (*RemoteClient_Health_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Health_Call) Return(resultHealth *coretypes.ResultHealth, err error) *RemoteClient_Health_Call
func (*RemoteClient_Health_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Health_Call) Run(run func(context1 context.Context)) *RemoteClient_Health_Call
func (*RemoteClient_Health_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Health_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultHealth, error)) *RemoteClient_Health_Call
type RemoteClient_NetInfo_Call ¶ added in v1.4.0
RemoteClient_NetInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NetInfo'
func (*RemoteClient_NetInfo_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_NetInfo_Call) Return(resultNetInfo *coretypes.ResultNetInfo, err error) *RemoteClient_NetInfo_Call
func (*RemoteClient_NetInfo_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_NetInfo_Call) Run(run func(context1 context.Context)) *RemoteClient_NetInfo_Call
func (*RemoteClient_NetInfo_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_NetInfo_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultNetInfo, error)) *RemoteClient_NetInfo_Call
type RemoteClient_NumUnconfirmedTxs_Call ¶ added in v1.4.0
RemoteClient_NumUnconfirmedTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'NumUnconfirmedTxs'
func (*RemoteClient_NumUnconfirmedTxs_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_NumUnconfirmedTxs_Call) Return(resultUnconfirmedTxs *coretypes.ResultUnconfirmedTxs, err error) *RemoteClient_NumUnconfirmedTxs_Call
func (*RemoteClient_NumUnconfirmedTxs_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_NumUnconfirmedTxs_Call) Run(run func(context1 context.Context)) *RemoteClient_NumUnconfirmedTxs_Call
func (*RemoteClient_NumUnconfirmedTxs_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_NumUnconfirmedTxs_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultUnconfirmedTxs, error)) *RemoteClient_NumUnconfirmedTxs_Call
type RemoteClient_Remote_Call ¶ added in v1.4.0
RemoteClient_Remote_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remote'
func (*RemoteClient_Remote_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Remote_Call) Return(s string) *RemoteClient_Remote_Call
func (*RemoteClient_Remote_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Remote_Call) Run(run func()) *RemoteClient_Remote_Call
func (*RemoteClient_Remote_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Remote_Call) RunAndReturn(run func() string) *RemoteClient_Remote_Call
type RemoteClient_RemoveTx_Call ¶ added in v1.4.0
RemoteClient_RemoveTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RemoveTx'
func (*RemoteClient_RemoveTx_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_RemoveTx_Call) Return(err error) *RemoteClient_RemoveTx_Call
func (*RemoteClient_RemoveTx_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_RemoveTx_Call) Run(run func(context1 context.Context, txKey types.TxKey)) *RemoteClient_RemoveTx_Call
func (*RemoteClient_RemoveTx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_RemoveTx_Call) RunAndReturn(run func(context1 context.Context, txKey types.TxKey) error) *RemoteClient_RemoveTx_Call
type RemoteClient_Start_Call ¶ added in v1.4.0
RemoteClient_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*RemoteClient_Start_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Start_Call) Return(err error) *RemoteClient_Start_Call
func (*RemoteClient_Start_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Start_Call) Run(run func(context1 context.Context)) *RemoteClient_Start_Call
func (*RemoteClient_Start_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Start_Call) RunAndReturn(run func(context1 context.Context) error) *RemoteClient_Start_Call
type RemoteClient_Status_Call ¶ added in v1.4.0
RemoteClient_Status_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Status'
func (*RemoteClient_Status_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Status_Call) Return(resultStatus *coretypes.ResultStatus, err error) *RemoteClient_Status_Call
func (*RemoteClient_Status_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Status_Call) Run(run func(context1 context.Context)) *RemoteClient_Status_Call
func (*RemoteClient_Status_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Status_Call) RunAndReturn(run func(context1 context.Context) (*coretypes.ResultStatus, error)) *RemoteClient_Status_Call
type RemoteClient_Subscribe_Call ¶ added in v1.4.0
RemoteClient_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*RemoteClient_Subscribe_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Subscribe_Call) Return(out <-chan coretypes.ResultEvent, err error) *RemoteClient_Subscribe_Call
func (*RemoteClient_Subscribe_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Subscribe_Call) Run(run func(ctx context.Context, subscriber string, query string, outCapacity ...int)) *RemoteClient_Subscribe_Call
func (*RemoteClient_Subscribe_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Subscribe_Call) RunAndReturn(run func(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)) *RemoteClient_Subscribe_Call
type RemoteClient_TxSearch_Call ¶ added in v1.4.0
RemoteClient_TxSearch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TxSearch'
func (*RemoteClient_TxSearch_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_TxSearch_Call) Return(resultTxSearch *coretypes.ResultTxSearch, err error) *RemoteClient_TxSearch_Call
func (*RemoteClient_TxSearch_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_TxSearch_Call) Run(run func(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string)) *RemoteClient_TxSearch_Call
func (*RemoteClient_TxSearch_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_TxSearch_Call) RunAndReturn(run func(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string) (*coretypes.ResultTxSearch, error)) *RemoteClient_TxSearch_Call
type RemoteClient_Tx_Call ¶ added in v1.4.0
RemoteClient_Tx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Tx'
func (*RemoteClient_Tx_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Tx_Call) Return(resultTx *coretypes.ResultTx, err error) *RemoteClient_Tx_Call
func (*RemoteClient_Tx_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Tx_Call) Run(run func(ctx context.Context, hash bytes.HexBytes, prove bool)) *RemoteClient_Tx_Call
func (*RemoteClient_Tx_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Tx_Call) RunAndReturn(run func(ctx context.Context, hash bytes.HexBytes, prove bool) (*coretypes.ResultTx, error)) *RemoteClient_Tx_Call
type RemoteClient_UnconfirmedTx_Call ¶ added in v1.5.0
RemoteClient_UnconfirmedTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnconfirmedTx'
func (*RemoteClient_UnconfirmedTx_Call) Return ¶ added in v1.5.0
func (_c *RemoteClient_UnconfirmedTx_Call) Return(resultUnconfirmedTx *coretypes.ResultUnconfirmedTx, err error) *RemoteClient_UnconfirmedTx_Call
func (*RemoteClient_UnconfirmedTx_Call) Run ¶ added in v1.5.0
func (_c *RemoteClient_UnconfirmedTx_Call) Run(run func(ctx context.Context, txHash []byte)) *RemoteClient_UnconfirmedTx_Call
func (*RemoteClient_UnconfirmedTx_Call) RunAndReturn ¶ added in v1.5.0
func (_c *RemoteClient_UnconfirmedTx_Call) RunAndReturn(run func(ctx context.Context, txHash []byte) (*coretypes.ResultUnconfirmedTx, error)) *RemoteClient_UnconfirmedTx_Call
type RemoteClient_UnconfirmedTxs_Call ¶ added in v1.4.0
RemoteClient_UnconfirmedTxs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnconfirmedTxs'
func (*RemoteClient_UnconfirmedTxs_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_UnconfirmedTxs_Call) Return(resultUnconfirmedTxs *coretypes.ResultUnconfirmedTxs, err error) *RemoteClient_UnconfirmedTxs_Call
func (*RemoteClient_UnconfirmedTxs_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_UnconfirmedTxs_Call) Run(run func(ctx context.Context, page *int, perPage *int)) *RemoteClient_UnconfirmedTxs_Call
func (*RemoteClient_UnconfirmedTxs_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_UnconfirmedTxs_Call) RunAndReturn(run func(ctx context.Context, page *int, perPage *int) (*coretypes.ResultUnconfirmedTxs, error)) *RemoteClient_UnconfirmedTxs_Call
type RemoteClient_UnsubscribeAll_Call ¶ added in v1.4.0
RemoteClient_UnsubscribeAll_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UnsubscribeAll'
func (*RemoteClient_UnsubscribeAll_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_UnsubscribeAll_Call) Return(err error) *RemoteClient_UnsubscribeAll_Call
func (*RemoteClient_UnsubscribeAll_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_UnsubscribeAll_Call) Run(run func(ctx context.Context, subscriber string)) *RemoteClient_UnsubscribeAll_Call
func (*RemoteClient_UnsubscribeAll_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_UnsubscribeAll_Call) RunAndReturn(run func(ctx context.Context, subscriber string) error) *RemoteClient_UnsubscribeAll_Call
type RemoteClient_Unsubscribe_Call ¶ added in v1.4.0
RemoteClient_Unsubscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Unsubscribe'
func (*RemoteClient_Unsubscribe_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Unsubscribe_Call) Return(err error) *RemoteClient_Unsubscribe_Call
func (*RemoteClient_Unsubscribe_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Unsubscribe_Call) Run(run func(ctx context.Context, subscriber string, query string)) *RemoteClient_Unsubscribe_Call
func (*RemoteClient_Unsubscribe_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Unsubscribe_Call) RunAndReturn(run func(ctx context.Context, subscriber string, query string) error) *RemoteClient_Unsubscribe_Call
type RemoteClient_Validators_Call ¶ added in v1.4.0
RemoteClient_Validators_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Validators'
func (*RemoteClient_Validators_Call) Return ¶ added in v1.4.0
func (_c *RemoteClient_Validators_Call) Return(resultValidators *coretypes.ResultValidators, err error) *RemoteClient_Validators_Call
func (*RemoteClient_Validators_Call) Run ¶ added in v1.4.0
func (_c *RemoteClient_Validators_Call) Run(run func(ctx context.Context, height *int64, page *int, perPage *int, requestQuorumInfo *bool)) *RemoteClient_Validators_Call
func (*RemoteClient_Validators_Call) RunAndReturn ¶ added in v1.4.0
func (_c *RemoteClient_Validators_Call) RunAndReturn(run func(ctx context.Context, height *int64, page *int, perPage *int, requestQuorumInfo *bool) (*coretypes.ResultValidators, error)) *RemoteClient_Validators_Call