mocks

package
v1.5.4 Latest Latest
Warning

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

Go to latest
Published: Jan 28, 2026 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	mock.Mock
}

Client is an autogenerated mock type for the Client type

func NewClient

func NewClient(t interface {
	mock.TestingT
	Cleanup(func())
}) *Client

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) ABCIInfo

func (_mock *Client) ABCIInfo(context1 context.Context) (*coretypes.ResultABCIInfo, error)

ABCIInfo provides a mock function for the type Client

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) Block

func (_mock *Client) Block(ctx context.Context, height *int64) (*coretypes.ResultBlock, error)

Block 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) Commit

func (_mock *Client) Commit(ctx context.Context, height *int64) (*coretypes.ResultCommit, error)

Commit 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

Events provides a mock function for the type Client

func (*Client) Genesis

func (_mock *Client) Genesis(context1 context.Context) (*coretypes.ResultGenesis, error)

Genesis 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) Header

func (_mock *Client) Header(ctx context.Context, height *int64) (*coretypes.ResultHeader, error)

Header 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) Health

func (_mock *Client) Health(context1 context.Context) (*coretypes.ResultHealth, error)

Health provides a mock function for the type Client

func (*Client) NetInfo

func (_mock *Client) NetInfo(context1 context.Context) (*coretypes.ResultNetInfo, error)

NetInfo 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) RemoveTx

func (_mock *Client) RemoveTx(context1 context.Context, txKey types.TxKey) error

RemoveTx provides a mock function for the type Client

func (*Client) Start

func (_mock *Client) Start(context1 context.Context) error

Start provides a mock function for the type Client

func (*Client) Status

func (_mock *Client) Status(context1 context.Context) (*coretypes.ResultStatus, error)

Status 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

func (_mock *Client) Unsubscribe(ctx context.Context, subscriber string, query string) error

Unsubscribe provides a mock function for the type Client

func (*Client) UnsubscribeAll

func (_mock *Client) UnsubscribeAll(ctx context.Context, subscriber string) error

UnsubscribeAll provides a mock function for the type Client

func (*Client) Validators

func (_mock *Client) Validators(ctx context.Context, height *int64, page *int, perPage *int, requestQuorumInfo *bool) (*coretypes.ResultValidators, error)

Validators provides a mock function for the type Client

type Client_ABCIInfo_Call added in v1.4.0

type Client_ABCIInfo_Call struct {
	*mock.Call
}

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

type Client_ABCIQueryWithOptions_Call struct {
	*mock.Call
}

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 (*Client_ABCIQueryWithOptions_Call) Run added in v1.4.0

func (*Client_ABCIQueryWithOptions_Call) RunAndReturn added in v1.4.0

type Client_ABCIQuery_Call added in v1.4.0

type Client_ABCIQuery_Call struct {
	*mock.Call
}

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

type Client_BlockByHash_Call added in v1.4.0

type Client_BlockByHash_Call struct {
	*mock.Call
}

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 (*Client_BlockByHash_Call) Run added in v1.4.0

func (*Client_BlockByHash_Call) RunAndReturn added in v1.4.0

type Client_BlockResults_Call added in v1.4.0

type Client_BlockResults_Call struct {
	*mock.Call
}

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 (*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

type Client_BlockSearch_Call added in v1.4.0

type Client_BlockSearch_Call struct {
	*mock.Call
}

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 (*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

type Client_Block_Call struct {
	*mock.Call
}

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

type Client_BlockchainInfo_Call struct {
	*mock.Call
}

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 (*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

type Client_BroadcastEvidence_Call struct {
	*mock.Call
}

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 (*Client_BroadcastEvidence_Call) Run added in v1.4.0

func (*Client_BroadcastEvidence_Call) RunAndReturn added in v1.4.0

type Client_BroadcastTxAsync_Call added in v1.4.0

type Client_BroadcastTxAsync_Call struct {
	*mock.Call
}

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 (*Client_BroadcastTxAsync_Call) Run added in v1.4.0

func (*Client_BroadcastTxAsync_Call) RunAndReturn added in v1.4.0

type Client_BroadcastTxCommit_Call added in v1.4.0

type Client_BroadcastTxCommit_Call struct {
	*mock.Call
}

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 (*Client_BroadcastTxCommit_Call) Run added in v1.4.0

func (*Client_BroadcastTxCommit_Call) RunAndReturn added in v1.4.0

type Client_BroadcastTxSync_Call added in v1.4.0

type Client_BroadcastTxSync_Call struct {
	*mock.Call
}

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 (*Client_BroadcastTxSync_Call) Run added in v1.4.0

func (*Client_BroadcastTxSync_Call) RunAndReturn added in v1.4.0

type Client_BroadcastTx_Call added in v1.4.0

type Client_BroadcastTx_Call struct {
	*mock.Call
}

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 (*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

type Client_CheckTx_Call added in v1.4.0

type Client_CheckTx_Call struct {
	*mock.Call
}

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

type Client_Commit_Call struct {
	*mock.Call
}

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

type Client_ConsensusParams_Call struct {
	*mock.Call
}

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 (*Client_ConsensusParams_Call) Run added in v1.4.0

func (*Client_ConsensusParams_Call) RunAndReturn added in v1.4.0

type Client_ConsensusState_Call added in v1.4.0

type Client_ConsensusState_Call struct {
	*mock.Call
}

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 (*Client_ConsensusState_Call) Run added in v1.4.0

func (*Client_ConsensusState_Call) RunAndReturn added in v1.4.0

type Client_DumpConsensusState_Call added in v1.4.0

type Client_DumpConsensusState_Call struct {
	*mock.Call
}

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 (*Client_DumpConsensusState_Call) Run added in v1.4.0

func (*Client_DumpConsensusState_Call) RunAndReturn added in v1.4.0

type Client_Events_Call added in v1.4.0

type Client_Events_Call struct {
	*mock.Call
}

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 (*Client_Events_Call) RunAndReturn added in v1.4.0

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

type Client_GenesisChunked_Call struct {
	*mock.Call
}

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 (*Client_GenesisChunked_Call) Run added in v1.4.0

func (*Client_GenesisChunked_Call) RunAndReturn added in v1.4.0

type Client_Genesis_Call added in v1.4.0

type Client_Genesis_Call struct {
	*mock.Call
}

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

type Client_HeaderByHash_Call struct {
	*mock.Call
}

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 (*Client_HeaderByHash_Call) Run added in v1.4.0

func (*Client_HeaderByHash_Call) RunAndReturn added in v1.4.0

type Client_Header_Call added in v1.4.0

type Client_Header_Call struct {
	*mock.Call
}

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

type Client_Health_Call struct {
	*mock.Call
}

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

type Client_NetInfo_Call struct {
	*mock.Call
}

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

type Client_NumUnconfirmedTxs_Call struct {
	*mock.Call
}

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 (*Client_NumUnconfirmedTxs_Call) Run added in v1.4.0

func (*Client_NumUnconfirmedTxs_Call) RunAndReturn added in v1.4.0

type Client_RemoveTx_Call added in v1.4.0

type Client_RemoveTx_Call struct {
	*mock.Call
}

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 (*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

type Client_Start_Call struct {
	*mock.Call
}

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

type Client_Status_Call struct {
	*mock.Call
}

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

type Client_Subscribe_Call struct {
	*mock.Call
}

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 (*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

type Client_TxSearch_Call struct {
	*mock.Call
}

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

type Client_Tx_Call struct {
	*mock.Call
}

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

type Client_UnconfirmedTx_Call struct {
	*mock.Call
}

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 (*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

type Client_UnconfirmedTxs_Call added in v1.4.0

type Client_UnconfirmedTxs_Call struct {
	*mock.Call
}

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 (*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

type Client_UnsubscribeAll_Call struct {
	*mock.Call
}

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 (*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

type Client_Unsubscribe_Call struct {
	*mock.Call
}

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 (*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

type Client_Validators_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient struct {
	mock.Mock
}

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

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) RemoveTx

func (_mock *RemoteClient) RemoveTx(context1 context.Context, txKey types.TxKey) error

RemoveTx 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

func (_mock *RemoteClient) Unsubscribe(ctx context.Context, subscriber string, query string) error

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

type RemoteClient_ABCIInfo_Call struct {
	*mock.Call
}

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 (*RemoteClient_ABCIInfo_Call) Run added in v1.4.0

func (*RemoteClient_ABCIInfo_Call) RunAndReturn added in v1.4.0

type RemoteClient_ABCIQueryWithOptions_Call added in v1.4.0

type RemoteClient_ABCIQueryWithOptions_Call struct {
	*mock.Call
}

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 (*RemoteClient_ABCIQueryWithOptions_Call) Run added in v1.4.0

func (*RemoteClient_ABCIQueryWithOptions_Call) RunAndReturn added in v1.4.0

type RemoteClient_ABCIQuery_Call added in v1.4.0

type RemoteClient_ABCIQuery_Call struct {
	*mock.Call
}

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 (*RemoteClient_ABCIQuery_Call) Run added in v1.4.0

func (*RemoteClient_ABCIQuery_Call) RunAndReturn added in v1.4.0

type RemoteClient_BlockByHash_Call added in v1.4.0

type RemoteClient_BlockByHash_Call struct {
	*mock.Call
}

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 (*RemoteClient_BlockByHash_Call) Run added in v1.4.0

func (*RemoteClient_BlockByHash_Call) RunAndReturn added in v1.4.0

type RemoteClient_BlockResults_Call added in v1.4.0

type RemoteClient_BlockResults_Call struct {
	*mock.Call
}

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 (*RemoteClient_BlockResults_Call) Run added in v1.4.0

func (*RemoteClient_BlockResults_Call) RunAndReturn added in v1.4.0

type RemoteClient_BlockSearch_Call added in v1.4.0

type RemoteClient_BlockSearch_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_Block_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_BlockchainInfo_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_BroadcastEvidence_Call added in v1.4.0

type RemoteClient_BroadcastEvidence_Call struct {
	*mock.Call
}

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 (*RemoteClient_BroadcastEvidence_Call) Run added in v1.4.0

func (*RemoteClient_BroadcastEvidence_Call) RunAndReturn added in v1.4.0

type RemoteClient_BroadcastTxAsync_Call added in v1.4.0

type RemoteClient_BroadcastTxAsync_Call struct {
	*mock.Call
}

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 (*RemoteClient_BroadcastTxAsync_Call) Run added in v1.4.0

func (*RemoteClient_BroadcastTxAsync_Call) RunAndReturn added in v1.4.0

type RemoteClient_BroadcastTxCommit_Call added in v1.4.0

type RemoteClient_BroadcastTxCommit_Call struct {
	*mock.Call
}

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 (*RemoteClient_BroadcastTxCommit_Call) Run added in v1.4.0

func (*RemoteClient_BroadcastTxCommit_Call) RunAndReturn added in v1.4.0

type RemoteClient_BroadcastTxSync_Call added in v1.4.0

type RemoteClient_BroadcastTxSync_Call struct {
	*mock.Call
}

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 (*RemoteClient_BroadcastTxSync_Call) Run added in v1.4.0

func (*RemoteClient_BroadcastTxSync_Call) RunAndReturn added in v1.4.0

type RemoteClient_BroadcastTx_Call added in v1.4.0

type RemoteClient_BroadcastTx_Call struct {
	*mock.Call
}

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 (*RemoteClient_BroadcastTx_Call) Run added in v1.4.0

func (*RemoteClient_BroadcastTx_Call) RunAndReturn added in v1.4.0

type RemoteClient_CheckTx_Call added in v1.4.0

type RemoteClient_CheckTx_Call struct {
	*mock.Call
}

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 (*RemoteClient_CheckTx_Call) Run added in v1.4.0

func (*RemoteClient_CheckTx_Call) RunAndReturn added in v1.4.0

type RemoteClient_Commit_Call added in v1.4.0

type RemoteClient_Commit_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_ConsensusParams_Call struct {
	*mock.Call
}

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 (*RemoteClient_ConsensusParams_Call) Run added in v1.4.0

func (*RemoteClient_ConsensusParams_Call) RunAndReturn added in v1.4.0

type RemoteClient_ConsensusState_Call added in v1.4.0

type RemoteClient_ConsensusState_Call struct {
	*mock.Call
}

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 (*RemoteClient_ConsensusState_Call) Run added in v1.4.0

func (*RemoteClient_ConsensusState_Call) RunAndReturn added in v1.4.0

type RemoteClient_DumpConsensusState_Call added in v1.4.0

type RemoteClient_DumpConsensusState_Call struct {
	*mock.Call
}

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 (*RemoteClient_DumpConsensusState_Call) Run added in v1.4.0

func (*RemoteClient_DumpConsensusState_Call) RunAndReturn added in v1.4.0

type RemoteClient_Events_Call added in v1.4.0

type RemoteClient_Events_Call struct {
	*mock.Call
}

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 (*RemoteClient_Events_Call) Run added in v1.4.0

func (*RemoteClient_Events_Call) RunAndReturn added in v1.4.0

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

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

type RemoteClient_GenesisChunked_Call struct {
	*mock.Call
}

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 (*RemoteClient_GenesisChunked_Call) Run added in v1.4.0

func (*RemoteClient_GenesisChunked_Call) RunAndReturn added in v1.4.0

type RemoteClient_Genesis_Call added in v1.4.0

type RemoteClient_Genesis_Call struct {
	*mock.Call
}

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 (*RemoteClient_Genesis_Call) Run added in v1.4.0

func (*RemoteClient_Genesis_Call) RunAndReturn added in v1.4.0

type RemoteClient_HeaderByHash_Call added in v1.4.0

type RemoteClient_HeaderByHash_Call struct {
	*mock.Call
}

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 (*RemoteClient_HeaderByHash_Call) Run added in v1.4.0

func (*RemoteClient_HeaderByHash_Call) RunAndReturn added in v1.4.0

type RemoteClient_Header_Call added in v1.4.0

type RemoteClient_Header_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_Health_Call struct {
	*mock.Call
}

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 (*RemoteClient_Health_Call) Run added in v1.4.0

func (*RemoteClient_Health_Call) RunAndReturn added in v1.4.0

type RemoteClient_NetInfo_Call added in v1.4.0

type RemoteClient_NetInfo_Call struct {
	*mock.Call
}

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 (*RemoteClient_NetInfo_Call) Run added in v1.4.0

func (*RemoteClient_NetInfo_Call) RunAndReturn added in v1.4.0

type RemoteClient_NumUnconfirmedTxs_Call added in v1.4.0

type RemoteClient_NumUnconfirmedTxs_Call struct {
	*mock.Call
}

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 (*RemoteClient_NumUnconfirmedTxs_Call) Run added in v1.4.0

func (*RemoteClient_NumUnconfirmedTxs_Call) RunAndReturn added in v1.4.0

type RemoteClient_Remote_Call added in v1.4.0

type RemoteClient_Remote_Call struct {
	*mock.Call
}

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 (*RemoteClient_Remote_Call) Run added in v1.4.0

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

type RemoteClient_RemoveTx_Call struct {
	*mock.Call
}

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 (*RemoteClient_RemoveTx_Call) Run added in v1.4.0

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

type RemoteClient_Start_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_Status_Call struct {
	*mock.Call
}

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 (*RemoteClient_Status_Call) Run added in v1.4.0

func (*RemoteClient_Status_Call) RunAndReturn added in v1.4.0

type RemoteClient_Subscribe_Call added in v1.4.0

type RemoteClient_Subscribe_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_TxSearch_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_Tx_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_UnconfirmedTx_Call struct {
	*mock.Call
}

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 (*RemoteClient_UnconfirmedTx_Call) Run added in v1.5.0

func (*RemoteClient_UnconfirmedTx_Call) RunAndReturn added in v1.5.0

type RemoteClient_UnconfirmedTxs_Call added in v1.4.0

type RemoteClient_UnconfirmedTxs_Call struct {
	*mock.Call
}

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 (*RemoteClient_UnconfirmedTxs_Call) Run added in v1.4.0

func (*RemoteClient_UnconfirmedTxs_Call) RunAndReturn added in v1.4.0

type RemoteClient_UnsubscribeAll_Call added in v1.4.0

type RemoteClient_UnsubscribeAll_Call struct {
	*mock.Call
}

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 (*RemoteClient_UnsubscribeAll_Call) Run added in v1.4.0

func (*RemoteClient_UnsubscribeAll_Call) RunAndReturn added in v1.4.0

type RemoteClient_Unsubscribe_Call added in v1.4.0

type RemoteClient_Unsubscribe_Call struct {
	*mock.Call
}

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 (*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

type RemoteClient_Validators_Call struct {
	*mock.Call
}

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 (*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

Jump to

Keyboard shortcuts

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