mocks

package
v0.7.5 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2026 License: Apache-2.0 Imports: 13 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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 (_m *Client) ABCIInfo(_a0 context.Context) (*coretypes.ResultABCIInfo, error)

ABCIInfo provides a mock function with given fields: _a0

func (*Client) ABCIQuery

func (_m *Client) ABCIQuery(ctx context.Context, path string, data bytes.HexBytes) (*coretypes.ResultABCIQuery, error)

ABCIQuery provides a mock function with given fields: ctx, path, data

func (*Client) ABCIQueryWithOptions

func (_m *Client) ABCIQueryWithOptions(ctx context.Context, path string, data bytes.HexBytes, opts client.ABCIQueryOptions) (*coretypes.ResultABCIQuery, error)

ABCIQueryWithOptions provides a mock function with given fields: ctx, path, data, opts

func (*Client) Block

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

Block provides a mock function with given fields: ctx, height

func (*Client) BlockByHash

func (_m *Client) BlockByHash(ctx context.Context, hash []byte) (*coretypes.ResultBlock, error)

BlockByHash provides a mock function with given fields: ctx, hash

func (*Client) BlockResults

func (_m *Client) BlockResults(ctx context.Context, height *int64) (*coretypes.ResultBlockResults, error)

BlockResults provides a mock function with given fields: ctx, height

func (*Client) BlockSearch

func (_m *Client) BlockSearch(ctx context.Context, query string, page *int, perPage *int, orderBy string) (*coretypes.ResultBlockSearch, error)

BlockSearch provides a mock function with given fields: ctx, query, page, perPage, orderBy

func (*Client) BlockchainInfo

func (_m *Client) BlockchainInfo(ctx context.Context, minHeight int64, maxHeight int64) (*coretypes.ResultBlockchainInfo, error)

BlockchainInfo provides a mock function with given fields: ctx, minHeight, maxHeight

func (*Client) BroadcastEvidence

func (_m *Client) BroadcastEvidence(_a0 context.Context, _a1 types.Evidence) (*coretypes.ResultBroadcastEvidence, error)

BroadcastEvidence provides a mock function with given fields: _a0, _a1

func (*Client) BroadcastTxAsync

func (_m *Client) BroadcastTxAsync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)

BroadcastTxAsync provides a mock function with given fields: _a0, _a1

func (*Client) BroadcastTxCommit

func (_m *Client) BroadcastTxCommit(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTxCommit, error)

BroadcastTxCommit provides a mock function with given fields: _a0, _a1

func (*Client) BroadcastTxSync

func (_m *Client) BroadcastTxSync(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultBroadcastTx, error)

BroadcastTxSync provides a mock function with given fields: _a0, _a1

func (*Client) CheckTx

func (_m *Client) CheckTx(_a0 context.Context, _a1 types.Tx) (*coretypes.ResultCheckTx, error)

CheckTx provides a mock function with given fields: _a0, _a1

func (*Client) Commit

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

Commit provides a mock function with given fields: ctx, height

func (*Client) ConsensusParams

func (_m *Client) ConsensusParams(ctx context.Context, height *int64) (*coretypes.ResultConsensusParams, error)

ConsensusParams provides a mock function with given fields: ctx, height

func (*Client) ConsensusState

func (_m *Client) ConsensusState(_a0 context.Context) (*coretypes.ResultConsensusState, error)

ConsensusState provides a mock function with given fields: _a0

func (*Client) DumpConsensusState

func (_m *Client) DumpConsensusState(_a0 context.Context) (*coretypes.ResultDumpConsensusState, error)

DumpConsensusState provides a mock function with given fields: _a0

func (*Client) EXPECT added in v0.7.0

func (_m *Client) EXPECT() *Client_Expecter

func (*Client) Genesis

func (_m *Client) Genesis(_a0 context.Context) (*coretypes.ResultGenesis, error)

Genesis provides a mock function with given fields: _a0

func (*Client) GenesisChunked

func (_m *Client) GenesisChunked(_a0 context.Context, _a1 uint) (*coretypes.ResultGenesisChunk, error)

GenesisChunked provides a mock function with given fields: _a0, _a1

func (*Client) Header

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

Header provides a mock function with given fields: ctx, height

func (*Client) HeaderByHash

func (_m *Client) HeaderByHash(ctx context.Context, hash bytes.HexBytes) (*coretypes.ResultHeader, error)

HeaderByHash provides a mock function with given fields: ctx, hash

func (*Client) Health

func (_m *Client) Health(_a0 context.Context) (*coretypes.ResultHealth, error)

Health provides a mock function with given fields: _a0

func (*Client) IsRunning

func (_m *Client) IsRunning() bool

IsRunning provides a mock function with no fields

func (*Client) NetInfo

func (_m *Client) NetInfo(_a0 context.Context) (*coretypes.ResultNetInfo, error)

NetInfo provides a mock function with given fields: _a0

func (*Client) NumUnconfirmedTxs

func (_m *Client) NumUnconfirmedTxs(_a0 context.Context) (*coretypes.ResultUnconfirmedTxs, error)

NumUnconfirmedTxs provides a mock function with given fields: _a0

func (*Client) OnReset

func (_m *Client) OnReset() error

OnReset provides a mock function with no fields

func (*Client) OnStart

func (_m *Client) OnStart() error

OnStart provides a mock function with no fields

func (*Client) OnStop

func (_m *Client) OnStop()

OnStop provides a mock function with no fields

func (*Client) Quit

func (_m *Client) Quit() <-chan struct{}

Quit provides a mock function with no fields

func (*Client) Reset

func (_m *Client) Reset() error

Reset provides a mock function with no fields

func (*Client) SetLogger

func (_m *Client) SetLogger(_a0 log.Logger)

SetLogger provides a mock function with given fields: _a0

func (*Client) Start

func (_m *Client) Start() error

Start provides a mock function with no fields

func (*Client) Status

func (_m *Client) Status(_a0 context.Context) (*coretypes.ResultStatus, error)

Status provides a mock function with given fields: _a0

func (*Client) Stop

func (_m *Client) Stop() error

Stop provides a mock function with no fields

func (*Client) String

func (_m *Client) String() string

String provides a mock function with no fields

func (*Client) Subscribe

func (_m *Client) Subscribe(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)

Subscribe provides a mock function with given fields: ctx, subscriber, query, outCapacity

func (*Client) Tx

func (_m *Client) Tx(ctx context.Context, hash []byte, prove bool) (*coretypes.ResultTx, error)

Tx provides a mock function with given fields: ctx, hash, prove

func (*Client) TxSearch

func (_m *Client) TxSearch(ctx context.Context, query string, prove bool, page *int, perPage *int, orderBy string) (*coretypes.ResultTxSearch, error)

TxSearch provides a mock function with given fields: ctx, query, prove, page, perPage, orderBy

func (*Client) UnconfirmedTxs

func (_m *Client) UnconfirmedTxs(ctx context.Context, limit *int) (*coretypes.ResultUnconfirmedTxs, error)

UnconfirmedTxs provides a mock function with given fields: ctx, limit

func (*Client) Unsubscribe

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

Unsubscribe provides a mock function with given fields: ctx, subscriber, query

func (*Client) UnsubscribeAll

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

UnsubscribeAll provides a mock function with given fields: ctx, subscriber

func (*Client) Validators

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

Validators provides a mock function with given fields: ctx, height, page, perPage

type Client_ABCIInfo_Call added in v0.7.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 v0.7.0

func (*Client_ABCIInfo_Call) Run added in v0.7.0

func (_c *Client_ABCIInfo_Call) Run(run func(_a0 context.Context)) *Client_ABCIInfo_Call

func (*Client_ABCIInfo_Call) RunAndReturn added in v0.7.0

type Client_ABCIQueryWithOptions_Call added in v0.7.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 v0.7.0

func (*Client_ABCIQueryWithOptions_Call) Run added in v0.7.0

func (*Client_ABCIQueryWithOptions_Call) RunAndReturn added in v0.7.0

type Client_ABCIQuery_Call added in v0.7.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 v0.7.0

func (*Client_ABCIQuery_Call) Run added in v0.7.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 v0.7.0

type Client_BlockByHash_Call added in v0.7.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 v0.7.0

func (*Client_BlockByHash_Call) Run added in v0.7.0

func (_c *Client_BlockByHash_Call) Run(run func(ctx context.Context, hash []byte)) *Client_BlockByHash_Call

func (*Client_BlockByHash_Call) RunAndReturn added in v0.7.0

type Client_BlockResults_Call added in v0.7.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 v0.7.0

func (*Client_BlockResults_Call) Run added in v0.7.0

func (_c *Client_BlockResults_Call) Run(run func(ctx context.Context, height *int64)) *Client_BlockResults_Call

func (*Client_BlockResults_Call) RunAndReturn added in v0.7.0

type Client_BlockSearch_Call added in v0.7.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 v0.7.0

func (*Client_BlockSearch_Call) Run added in v0.7.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 v0.7.0

type Client_Block_Call added in v0.7.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 v0.7.0

func (*Client_Block_Call) Run added in v0.7.0

func (_c *Client_Block_Call) Run(run func(ctx context.Context, height *int64)) *Client_Block_Call

func (*Client_Block_Call) RunAndReturn added in v0.7.0

type Client_BlockchainInfo_Call added in v0.7.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 v0.7.0

func (*Client_BlockchainInfo_Call) Run added in v0.7.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 v0.7.0

type Client_BroadcastEvidence_Call added in v0.7.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 v0.7.0

func (*Client_BroadcastEvidence_Call) Run added in v0.7.0

func (*Client_BroadcastEvidence_Call) RunAndReturn added in v0.7.0

type Client_BroadcastTxAsync_Call added in v0.7.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 v0.7.0

func (*Client_BroadcastTxAsync_Call) Run added in v0.7.0

func (*Client_BroadcastTxAsync_Call) RunAndReturn added in v0.7.0

type Client_BroadcastTxCommit_Call added in v0.7.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 v0.7.0

func (*Client_BroadcastTxCommit_Call) Run added in v0.7.0

func (*Client_BroadcastTxCommit_Call) RunAndReturn added in v0.7.0

type Client_BroadcastTxSync_Call added in v0.7.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 v0.7.0

func (*Client_BroadcastTxSync_Call) Run added in v0.7.0

func (*Client_BroadcastTxSync_Call) RunAndReturn added in v0.7.0

type Client_CheckTx_Call added in v0.7.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 v0.7.0

func (*Client_CheckTx_Call) Run added in v0.7.0

func (_c *Client_CheckTx_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Client_CheckTx_Call

func (*Client_CheckTx_Call) RunAndReturn added in v0.7.0

type Client_Commit_Call added in v0.7.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 v0.7.0

func (*Client_Commit_Call) Run added in v0.7.0

func (_c *Client_Commit_Call) Run(run func(ctx context.Context, height *int64)) *Client_Commit_Call

func (*Client_Commit_Call) RunAndReturn added in v0.7.0

type Client_ConsensusParams_Call added in v0.7.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 v0.7.0

func (*Client_ConsensusParams_Call) Run added in v0.7.0

func (*Client_ConsensusParams_Call) RunAndReturn added in v0.7.0

type Client_ConsensusState_Call added in v0.7.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 v0.7.0

func (*Client_ConsensusState_Call) Run added in v0.7.0

func (*Client_ConsensusState_Call) RunAndReturn added in v0.7.0

type Client_DumpConsensusState_Call added in v0.7.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 v0.7.0

func (*Client_DumpConsensusState_Call) Run added in v0.7.0

func (*Client_DumpConsensusState_Call) RunAndReturn added in v0.7.0

type Client_Expecter added in v0.7.0

type Client_Expecter struct {
	// contains filtered or unexported fields
}

func (*Client_Expecter) ABCIInfo added in v0.7.0

func (_e *Client_Expecter) ABCIInfo(_a0 interface{}) *Client_ABCIInfo_Call

ABCIInfo is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) ABCIQuery added in v0.7.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 context.Context
  • path string
  • data bytes.HexBytes

func (*Client_Expecter) ABCIQueryWithOptions added in v0.7.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 context.Context
  • path string
  • data bytes.HexBytes
  • opts client.ABCIQueryOptions

func (*Client_Expecter) Block added in v0.7.0

func (_e *Client_Expecter) Block(ctx interface{}, height interface{}) *Client_Block_Call

Block is a helper method to define mock.On call

  • ctx context.Context
  • height *int64

func (*Client_Expecter) BlockByHash added in v0.7.0

func (_e *Client_Expecter) BlockByHash(ctx interface{}, hash interface{}) *Client_BlockByHash_Call

BlockByHash is a helper method to define mock.On call

  • ctx context.Context
  • hash []byte

func (*Client_Expecter) BlockResults added in v0.7.0

func (_e *Client_Expecter) BlockResults(ctx interface{}, height interface{}) *Client_BlockResults_Call

BlockResults is a helper method to define mock.On call

  • ctx context.Context
  • height *int64

func (*Client_Expecter) BlockSearch added in v0.7.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 context.Context
  • query string
  • page *int
  • perPage *int
  • orderBy string

func (*Client_Expecter) BlockchainInfo added in v0.7.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 context.Context
  • minHeight int64
  • maxHeight int64

func (*Client_Expecter) BroadcastEvidence added in v0.7.0

func (_e *Client_Expecter) BroadcastEvidence(_a0 interface{}, _a1 interface{}) *Client_BroadcastEvidence_Call

BroadcastEvidence is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 types.Evidence

func (*Client_Expecter) BroadcastTxAsync added in v0.7.0

func (_e *Client_Expecter) BroadcastTxAsync(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxAsync_Call

BroadcastTxAsync is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 types.Tx

func (*Client_Expecter) BroadcastTxCommit added in v0.7.0

func (_e *Client_Expecter) BroadcastTxCommit(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxCommit_Call

BroadcastTxCommit is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 types.Tx

func (*Client_Expecter) BroadcastTxSync added in v0.7.0

func (_e *Client_Expecter) BroadcastTxSync(_a0 interface{}, _a1 interface{}) *Client_BroadcastTxSync_Call

BroadcastTxSync is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 types.Tx

func (*Client_Expecter) CheckTx added in v0.7.0

func (_e *Client_Expecter) CheckTx(_a0 interface{}, _a1 interface{}) *Client_CheckTx_Call

CheckTx is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 types.Tx

func (*Client_Expecter) Commit added in v0.7.0

func (_e *Client_Expecter) Commit(ctx interface{}, height interface{}) *Client_Commit_Call

Commit is a helper method to define mock.On call

  • ctx context.Context
  • height *int64

func (*Client_Expecter) ConsensusParams added in v0.7.0

func (_e *Client_Expecter) ConsensusParams(ctx interface{}, height interface{}) *Client_ConsensusParams_Call

ConsensusParams is a helper method to define mock.On call

  • ctx context.Context
  • height *int64

func (*Client_Expecter) ConsensusState added in v0.7.0

func (_e *Client_Expecter) ConsensusState(_a0 interface{}) *Client_ConsensusState_Call

ConsensusState is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) DumpConsensusState added in v0.7.0

func (_e *Client_Expecter) DumpConsensusState(_a0 interface{}) *Client_DumpConsensusState_Call

DumpConsensusState is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) Genesis added in v0.7.0

func (_e *Client_Expecter) Genesis(_a0 interface{}) *Client_Genesis_Call

Genesis is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) GenesisChunked added in v0.7.0

func (_e *Client_Expecter) GenesisChunked(_a0 interface{}, _a1 interface{}) *Client_GenesisChunked_Call

GenesisChunked is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 uint

func (*Client_Expecter) Header added in v0.7.0

func (_e *Client_Expecter) Header(ctx interface{}, height interface{}) *Client_Header_Call

Header is a helper method to define mock.On call

  • ctx context.Context
  • height *int64

func (*Client_Expecter) HeaderByHash added in v0.7.0

func (_e *Client_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *Client_HeaderByHash_Call

HeaderByHash is a helper method to define mock.On call

  • ctx context.Context
  • hash bytes.HexBytes

func (*Client_Expecter) Health added in v0.7.0

func (_e *Client_Expecter) Health(_a0 interface{}) *Client_Health_Call

Health is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) IsRunning added in v0.7.0

func (_e *Client_Expecter) IsRunning() *Client_IsRunning_Call

IsRunning is a helper method to define mock.On call

func (*Client_Expecter) NetInfo added in v0.7.0

func (_e *Client_Expecter) NetInfo(_a0 interface{}) *Client_NetInfo_Call

NetInfo is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) NumUnconfirmedTxs added in v0.7.0

func (_e *Client_Expecter) NumUnconfirmedTxs(_a0 interface{}) *Client_NumUnconfirmedTxs_Call

NumUnconfirmedTxs is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) OnReset added in v0.7.0

func (_e *Client_Expecter) OnReset() *Client_OnReset_Call

OnReset is a helper method to define mock.On call

func (*Client_Expecter) OnStart added in v0.7.0

func (_e *Client_Expecter) OnStart() *Client_OnStart_Call

OnStart is a helper method to define mock.On call

func (*Client_Expecter) OnStop added in v0.7.0

func (_e *Client_Expecter) OnStop() *Client_OnStop_Call

OnStop is a helper method to define mock.On call

func (*Client_Expecter) Quit added in v0.7.0

func (_e *Client_Expecter) Quit() *Client_Quit_Call

Quit is a helper method to define mock.On call

func (*Client_Expecter) Reset added in v0.7.0

func (_e *Client_Expecter) Reset() *Client_Reset_Call

Reset is a helper method to define mock.On call

func (*Client_Expecter) SetLogger added in v0.7.0

func (_e *Client_Expecter) SetLogger(_a0 interface{}) *Client_SetLogger_Call

SetLogger is a helper method to define mock.On call

  • _a0 log.Logger

func (*Client_Expecter) Start added in v0.7.0

func (_e *Client_Expecter) Start() *Client_Start_Call

Start is a helper method to define mock.On call

func (*Client_Expecter) Status added in v0.7.0

func (_e *Client_Expecter) Status(_a0 interface{}) *Client_Status_Call

Status is a helper method to define mock.On call

  • _a0 context.Context

func (*Client_Expecter) Stop added in v0.7.0

func (_e *Client_Expecter) Stop() *Client_Stop_Call

Stop is a helper method to define mock.On call

func (*Client_Expecter) String added in v0.7.0

func (_e *Client_Expecter) String() *Client_String_Call

String is a helper method to define mock.On call

func (*Client_Expecter) Subscribe added in v0.7.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 context.Context
  • subscriber string
  • query string
  • outCapacity ...int

func (*Client_Expecter) Tx added in v0.7.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 context.Context
  • hash []byte
  • prove bool

func (*Client_Expecter) TxSearch added in v0.7.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 context.Context
  • query string
  • prove bool
  • page *int
  • perPage *int
  • orderBy string

func (*Client_Expecter) UnconfirmedTxs added in v0.7.0

func (_e *Client_Expecter) UnconfirmedTxs(ctx interface{}, limit interface{}) *Client_UnconfirmedTxs_Call

UnconfirmedTxs is a helper method to define mock.On call

  • ctx context.Context
  • limit *int

func (*Client_Expecter) Unsubscribe added in v0.7.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 context.Context
  • subscriber string
  • query string

func (*Client_Expecter) UnsubscribeAll added in v0.7.0

func (_e *Client_Expecter) UnsubscribeAll(ctx interface{}, subscriber interface{}) *Client_UnsubscribeAll_Call

UnsubscribeAll is a helper method to define mock.On call

  • ctx context.Context
  • subscriber string

func (*Client_Expecter) Validators added in v0.7.0

func (_e *Client_Expecter) Validators(ctx interface{}, height interface{}, page interface{}, perPage interface{}) *Client_Validators_Call

Validators is a helper method to define mock.On call

  • ctx context.Context
  • height *int64
  • page *int
  • perPage *int

type Client_GenesisChunked_Call added in v0.7.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 v0.7.0

func (*Client_GenesisChunked_Call) Run added in v0.7.0

func (*Client_GenesisChunked_Call) RunAndReturn added in v0.7.0

type Client_Genesis_Call added in v0.7.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 v0.7.0

func (*Client_Genesis_Call) Run added in v0.7.0

func (_c *Client_Genesis_Call) Run(run func(_a0 context.Context)) *Client_Genesis_Call

func (*Client_Genesis_Call) RunAndReturn added in v0.7.0

type Client_HeaderByHash_Call added in v0.7.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 v0.7.0

func (*Client_HeaderByHash_Call) Run added in v0.7.0

func (*Client_HeaderByHash_Call) RunAndReturn added in v0.7.0

type Client_Header_Call added in v0.7.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 v0.7.0

func (*Client_Header_Call) Run added in v0.7.0

func (_c *Client_Header_Call) Run(run func(ctx context.Context, height *int64)) *Client_Header_Call

func (*Client_Header_Call) RunAndReturn added in v0.7.0

type Client_Health_Call added in v0.7.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 v0.7.0

func (*Client_Health_Call) Run added in v0.7.0

func (_c *Client_Health_Call) Run(run func(_a0 context.Context)) *Client_Health_Call

func (*Client_Health_Call) RunAndReturn added in v0.7.0

type Client_IsRunning_Call added in v0.7.0

type Client_IsRunning_Call struct {
	*mock.Call
}

Client_IsRunning_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsRunning'

func (*Client_IsRunning_Call) Return added in v0.7.0

func (*Client_IsRunning_Call) Run added in v0.7.0

func (_c *Client_IsRunning_Call) Run(run func()) *Client_IsRunning_Call

func (*Client_IsRunning_Call) RunAndReturn added in v0.7.0

func (_c *Client_IsRunning_Call) RunAndReturn(run func() bool) *Client_IsRunning_Call

type Client_NetInfo_Call added in v0.7.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 v0.7.0

func (*Client_NetInfo_Call) Run added in v0.7.0

func (_c *Client_NetInfo_Call) Run(run func(_a0 context.Context)) *Client_NetInfo_Call

func (*Client_NetInfo_Call) RunAndReturn added in v0.7.0

type Client_NumUnconfirmedTxs_Call added in v0.7.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 v0.7.0

func (*Client_NumUnconfirmedTxs_Call) Run added in v0.7.0

func (*Client_NumUnconfirmedTxs_Call) RunAndReturn added in v0.7.0

type Client_OnReset_Call added in v0.7.0

type Client_OnReset_Call struct {
	*mock.Call
}

Client_OnReset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnReset'

func (*Client_OnReset_Call) Return added in v0.7.0

func (*Client_OnReset_Call) Run added in v0.7.0

func (_c *Client_OnReset_Call) Run(run func()) *Client_OnReset_Call

func (*Client_OnReset_Call) RunAndReturn added in v0.7.0

func (_c *Client_OnReset_Call) RunAndReturn(run func() error) *Client_OnReset_Call

type Client_OnStart_Call added in v0.7.0

type Client_OnStart_Call struct {
	*mock.Call
}

Client_OnStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStart'

func (*Client_OnStart_Call) Return added in v0.7.0

func (*Client_OnStart_Call) Run added in v0.7.0

func (_c *Client_OnStart_Call) Run(run func()) *Client_OnStart_Call

func (*Client_OnStart_Call) RunAndReturn added in v0.7.0

func (_c *Client_OnStart_Call) RunAndReturn(run func() error) *Client_OnStart_Call

type Client_OnStop_Call added in v0.7.0

type Client_OnStop_Call struct {
	*mock.Call
}

Client_OnStop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStop'

func (*Client_OnStop_Call) Return added in v0.7.0

func (_c *Client_OnStop_Call) Return() *Client_OnStop_Call

func (*Client_OnStop_Call) Run added in v0.7.0

func (_c *Client_OnStop_Call) Run(run func()) *Client_OnStop_Call

func (*Client_OnStop_Call) RunAndReturn added in v0.7.0

func (_c *Client_OnStop_Call) RunAndReturn(run func()) *Client_OnStop_Call

type Client_Quit_Call added in v0.7.0

type Client_Quit_Call struct {
	*mock.Call
}

Client_Quit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Quit'

func (*Client_Quit_Call) Return added in v0.7.0

func (_c *Client_Quit_Call) Return(_a0 <-chan struct{}) *Client_Quit_Call

func (*Client_Quit_Call) Run added in v0.7.0

func (_c *Client_Quit_Call) Run(run func()) *Client_Quit_Call

func (*Client_Quit_Call) RunAndReturn added in v0.7.0

func (_c *Client_Quit_Call) RunAndReturn(run func() <-chan struct{}) *Client_Quit_Call

type Client_Reset_Call added in v0.7.0

type Client_Reset_Call struct {
	*mock.Call
}

Client_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'

func (*Client_Reset_Call) Return added in v0.7.0

func (_c *Client_Reset_Call) Return(_a0 error) *Client_Reset_Call

func (*Client_Reset_Call) Run added in v0.7.0

func (_c *Client_Reset_Call) Run(run func()) *Client_Reset_Call

func (*Client_Reset_Call) RunAndReturn added in v0.7.0

func (_c *Client_Reset_Call) RunAndReturn(run func() error) *Client_Reset_Call

type Client_SetLogger_Call added in v0.7.0

type Client_SetLogger_Call struct {
	*mock.Call
}

Client_SetLogger_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLogger'

func (*Client_SetLogger_Call) Return added in v0.7.0

func (*Client_SetLogger_Call) Run added in v0.7.0

func (_c *Client_SetLogger_Call) Run(run func(_a0 log.Logger)) *Client_SetLogger_Call

func (*Client_SetLogger_Call) RunAndReturn added in v0.7.0

func (_c *Client_SetLogger_Call) RunAndReturn(run func(log.Logger)) *Client_SetLogger_Call

type Client_Start_Call added in v0.7.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 v0.7.0

func (_c *Client_Start_Call) Return(_a0 error) *Client_Start_Call

func (*Client_Start_Call) Run added in v0.7.0

func (_c *Client_Start_Call) Run(run func()) *Client_Start_Call

func (*Client_Start_Call) RunAndReturn added in v0.7.0

func (_c *Client_Start_Call) RunAndReturn(run func() error) *Client_Start_Call

type Client_Status_Call added in v0.7.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 v0.7.0

func (*Client_Status_Call) Run added in v0.7.0

func (_c *Client_Status_Call) Run(run func(_a0 context.Context)) *Client_Status_Call

func (*Client_Status_Call) RunAndReturn added in v0.7.0

type Client_Stop_Call added in v0.7.0

type Client_Stop_Call struct {
	*mock.Call
}

Client_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'

func (*Client_Stop_Call) Return added in v0.7.0

func (_c *Client_Stop_Call) Return(_a0 error) *Client_Stop_Call

func (*Client_Stop_Call) Run added in v0.7.0

func (_c *Client_Stop_Call) Run(run func()) *Client_Stop_Call

func (*Client_Stop_Call) RunAndReturn added in v0.7.0

func (_c *Client_Stop_Call) RunAndReturn(run func() error) *Client_Stop_Call

type Client_String_Call added in v0.7.0

type Client_String_Call struct {
	*mock.Call
}

Client_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'

func (*Client_String_Call) Return added in v0.7.0

func (_c *Client_String_Call) Return(_a0 string) *Client_String_Call

func (*Client_String_Call) Run added in v0.7.0

func (_c *Client_String_Call) Run(run func()) *Client_String_Call

func (*Client_String_Call) RunAndReturn added in v0.7.0

func (_c *Client_String_Call) RunAndReturn(run func() string) *Client_String_Call

type Client_Subscribe_Call added in v0.7.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 v0.7.0

func (*Client_Subscribe_Call) Run added in v0.7.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 v0.7.0

type Client_TxSearch_Call added in v0.7.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 v0.7.0

func (*Client_TxSearch_Call) Run added in v0.7.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 v0.7.0

type Client_Tx_Call added in v0.7.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 v0.7.0

func (_c *Client_Tx_Call) Return(_a0 *coretypes.ResultTx, _a1 error) *Client_Tx_Call

func (*Client_Tx_Call) Run added in v0.7.0

func (_c *Client_Tx_Call) Run(run func(ctx context.Context, hash []byte, prove bool)) *Client_Tx_Call

func (*Client_Tx_Call) RunAndReturn added in v0.7.0

func (_c *Client_Tx_Call) RunAndReturn(run func(context.Context, []byte, bool) (*coretypes.ResultTx, error)) *Client_Tx_Call

type Client_UnconfirmedTxs_Call added in v0.7.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 v0.7.0

func (*Client_UnconfirmedTxs_Call) Run added in v0.7.0

func (*Client_UnconfirmedTxs_Call) RunAndReturn added in v0.7.0

type Client_UnsubscribeAll_Call added in v0.7.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 v0.7.0

func (*Client_UnsubscribeAll_Call) Run added in v0.7.0

func (_c *Client_UnsubscribeAll_Call) Run(run func(ctx context.Context, subscriber string)) *Client_UnsubscribeAll_Call

func (*Client_UnsubscribeAll_Call) RunAndReturn added in v0.7.0

type Client_Unsubscribe_Call added in v0.7.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 v0.7.0

func (*Client_Unsubscribe_Call) Run added in v0.7.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 v0.7.0

type Client_Validators_Call added in v0.7.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 v0.7.0

func (*Client_Validators_Call) Run added in v0.7.0

func (_c *Client_Validators_Call) Run(run func(ctx context.Context, height *int64, page *int, perPage *int)) *Client_Validators_Call

func (*Client_Validators_Call) RunAndReturn added in v0.7.0

type EVMQueryClient

type EVMQueryClient struct {
	mock.Mock
}

EVMQueryClient is an autogenerated mock type for the QueryClient type

func NewEVMQueryClient

func NewEVMQueryClient(t interface {
	mock.TestingT
	Cleanup(func())
},
) *EVMQueryClient

NewEVMQueryClient creates a new instance of EVMQueryClient. 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 (*EVMQueryClient) Account

Account provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) Balance

Balance provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) BaseFee

BaseFee provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) Code

Code provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) Config

Config provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) CosmosAccount

CosmosAccount provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) EXPECT added in v0.7.0

func (*EVMQueryClient) EstimateGas

EstimateGas provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) EthCall

EthCall provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) GlobalMinGasPrice

GlobalMinGasPrice provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) Params

Params provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) Storage

Storage provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) TraceBlock

TraceBlock provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) TraceCall added in v0.5.0

TraceCall provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) TraceTx

TraceTx provides a mock function with given fields: ctx, in, opts

func (*EVMQueryClient) ValidatorAccount

ValidatorAccount provides a mock function with given fields: ctx, in, opts

type EVMQueryClient_Account_Call added in v0.7.0

type EVMQueryClient_Account_Call struct {
	*mock.Call
}

EVMQueryClient_Account_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Account'

func (*EVMQueryClient_Account_Call) Return added in v0.7.0

func (*EVMQueryClient_Account_Call) Run added in v0.7.0

func (*EVMQueryClient_Account_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_Balance_Call added in v0.7.0

type EVMQueryClient_Balance_Call struct {
	*mock.Call
}

EVMQueryClient_Balance_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Balance'

func (*EVMQueryClient_Balance_Call) Return added in v0.7.0

func (*EVMQueryClient_Balance_Call) Run added in v0.7.0

func (*EVMQueryClient_Balance_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_BaseFee_Call added in v0.7.0

type EVMQueryClient_BaseFee_Call struct {
	*mock.Call
}

EVMQueryClient_BaseFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BaseFee'

func (*EVMQueryClient_BaseFee_Call) Return added in v0.7.0

func (*EVMQueryClient_BaseFee_Call) Run added in v0.7.0

func (*EVMQueryClient_BaseFee_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_Code_Call added in v0.7.0

type EVMQueryClient_Code_Call struct {
	*mock.Call
}

EVMQueryClient_Code_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Code'

func (*EVMQueryClient_Code_Call) Return added in v0.7.0

func (*EVMQueryClient_Code_Call) Run added in v0.7.0

func (*EVMQueryClient_Code_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_Config_Call added in v0.7.0

type EVMQueryClient_Config_Call struct {
	*mock.Call
}

EVMQueryClient_Config_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Config'

func (*EVMQueryClient_Config_Call) Return added in v0.7.0

func (*EVMQueryClient_Config_Call) Run added in v0.7.0

func (*EVMQueryClient_Config_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_CosmosAccount_Call added in v0.7.0

type EVMQueryClient_CosmosAccount_Call struct {
	*mock.Call
}

EVMQueryClient_CosmosAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CosmosAccount'

func (*EVMQueryClient_CosmosAccount_Call) Return added in v0.7.0

func (*EVMQueryClient_CosmosAccount_Call) Run added in v0.7.0

func (*EVMQueryClient_CosmosAccount_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_EstimateGas_Call added in v0.7.0

type EVMQueryClient_EstimateGas_Call struct {
	*mock.Call
}

EVMQueryClient_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'

func (*EVMQueryClient_EstimateGas_Call) Return added in v0.7.0

func (*EVMQueryClient_EstimateGas_Call) Run added in v0.7.0

func (*EVMQueryClient_EstimateGas_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_EthCall_Call added in v0.7.0

type EVMQueryClient_EthCall_Call struct {
	*mock.Call
}

EVMQueryClient_EthCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EthCall'

func (*EVMQueryClient_EthCall_Call) Return added in v0.7.0

func (*EVMQueryClient_EthCall_Call) Run added in v0.7.0

func (*EVMQueryClient_EthCall_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_Expecter added in v0.7.0

type EVMQueryClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*EVMQueryClient_Expecter) Account added in v0.7.0

func (_e *EVMQueryClient_Expecter) Account(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Account_Call

Account is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryAccountRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) Balance added in v0.7.0

func (_e *EVMQueryClient_Expecter) Balance(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Balance_Call

Balance is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryBalanceRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) BaseFee added in v0.7.0

func (_e *EVMQueryClient_Expecter) BaseFee(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_BaseFee_Call

BaseFee is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryBaseFeeRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) Code added in v0.7.0

func (_e *EVMQueryClient_Expecter) Code(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Code_Call

Code is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryCodeRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) Config added in v0.7.0

func (_e *EVMQueryClient_Expecter) Config(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Config_Call

Config is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryConfigRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) CosmosAccount added in v0.7.0

func (_e *EVMQueryClient_Expecter) CosmosAccount(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_CosmosAccount_Call

CosmosAccount is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryCosmosAccountRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) EstimateGas added in v0.7.0

func (_e *EVMQueryClient_Expecter) EstimateGas(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_EstimateGas_Call

EstimateGas is a helper method to define mock.On call

  • ctx context.Context
  • in *types.EthCallRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) EthCall added in v0.7.0

func (_e *EVMQueryClient_Expecter) EthCall(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_EthCall_Call

EthCall is a helper method to define mock.On call

  • ctx context.Context
  • in *types.EthCallRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) GlobalMinGasPrice added in v0.7.0

func (_e *EVMQueryClient_Expecter) GlobalMinGasPrice(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_GlobalMinGasPrice_Call

GlobalMinGasPrice is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryGlobalMinGasPriceRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) Params added in v0.7.0

func (_e *EVMQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Params_Call

Params is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryParamsRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) Storage added in v0.7.0

func (_e *EVMQueryClient_Expecter) Storage(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_Storage_Call

Storage is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryStorageRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) TraceBlock added in v0.7.0

func (_e *EVMQueryClient_Expecter) TraceBlock(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceBlock_Call

TraceBlock is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryTraceBlockRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) TraceCall added in v0.7.0

func (_e *EVMQueryClient_Expecter) TraceCall(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceCall_Call

TraceCall is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryTraceCallRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) TraceTx added in v0.7.0

func (_e *EVMQueryClient_Expecter) TraceTx(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_TraceTx_Call

TraceTx is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryTraceTxRequest
  • opts ...grpc.CallOption

func (*EVMQueryClient_Expecter) ValidatorAccount added in v0.7.0

func (_e *EVMQueryClient_Expecter) ValidatorAccount(ctx interface{}, in interface{}, opts ...interface{}) *EVMQueryClient_ValidatorAccount_Call

ValidatorAccount is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryValidatorAccountRequest
  • opts ...grpc.CallOption

type EVMQueryClient_GlobalMinGasPrice_Call added in v0.7.0

type EVMQueryClient_GlobalMinGasPrice_Call struct {
	*mock.Call
}

EVMQueryClient_GlobalMinGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GlobalMinGasPrice'

func (*EVMQueryClient_GlobalMinGasPrice_Call) Return added in v0.7.0

func (*EVMQueryClient_GlobalMinGasPrice_Call) Run added in v0.7.0

type EVMQueryClient_Params_Call added in v0.7.0

type EVMQueryClient_Params_Call struct {
	*mock.Call
}

EVMQueryClient_Params_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Params'

func (*EVMQueryClient_Params_Call) Return added in v0.7.0

func (*EVMQueryClient_Params_Call) Run added in v0.7.0

func (*EVMQueryClient_Params_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_Storage_Call added in v0.7.0

type EVMQueryClient_Storage_Call struct {
	*mock.Call
}

EVMQueryClient_Storage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Storage'

func (*EVMQueryClient_Storage_Call) Return added in v0.7.0

func (*EVMQueryClient_Storage_Call) Run added in v0.7.0

func (*EVMQueryClient_Storage_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_TraceBlock_Call added in v0.7.0

type EVMQueryClient_TraceBlock_Call struct {
	*mock.Call
}

EVMQueryClient_TraceBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TraceBlock'

func (*EVMQueryClient_TraceBlock_Call) Return added in v0.7.0

func (*EVMQueryClient_TraceBlock_Call) Run added in v0.7.0

func (*EVMQueryClient_TraceBlock_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_TraceCall_Call added in v0.7.0

type EVMQueryClient_TraceCall_Call struct {
	*mock.Call
}

EVMQueryClient_TraceCall_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TraceCall'

func (*EVMQueryClient_TraceCall_Call) Return added in v0.7.0

func (*EVMQueryClient_TraceCall_Call) Run added in v0.7.0

func (*EVMQueryClient_TraceCall_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_TraceTx_Call added in v0.7.0

type EVMQueryClient_TraceTx_Call struct {
	*mock.Call
}

EVMQueryClient_TraceTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TraceTx'

func (*EVMQueryClient_TraceTx_Call) Return added in v0.7.0

func (*EVMQueryClient_TraceTx_Call) Run added in v0.7.0

func (*EVMQueryClient_TraceTx_Call) RunAndReturn added in v0.7.0

type EVMQueryClient_ValidatorAccount_Call added in v0.7.0

type EVMQueryClient_ValidatorAccount_Call struct {
	*mock.Call
}

EVMQueryClient_ValidatorAccount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidatorAccount'

func (*EVMQueryClient_ValidatorAccount_Call) Return added in v0.7.0

func (*EVMQueryClient_ValidatorAccount_Call) Run added in v0.7.0

type FeeMarketQueryClient

type FeeMarketQueryClient struct {
	mock.Mock
}

FeeMarketQueryClient is an autogenerated mock type for the QueryClient type

func NewFeeMarketQueryClient

func NewFeeMarketQueryClient(t interface {
	mock.TestingT
	Cleanup(func())
},
) *FeeMarketQueryClient

NewFeeMarketQueryClient creates a new instance of FeeMarketQueryClient. 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 (*FeeMarketQueryClient) BaseFee

BaseFee provides a mock function with given fields: ctx, in, opts

func (*FeeMarketQueryClient) BlockGas

BlockGas provides a mock function with given fields: ctx, in, opts

func (*FeeMarketQueryClient) EXPECT added in v0.7.0

func (*FeeMarketQueryClient) Params

Params provides a mock function with given fields: ctx, in, opts

type FeeMarketQueryClient_BaseFee_Call added in v0.7.0

type FeeMarketQueryClient_BaseFee_Call struct {
	*mock.Call
}

FeeMarketQueryClient_BaseFee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BaseFee'

func (*FeeMarketQueryClient_BaseFee_Call) Return added in v0.7.0

func (*FeeMarketQueryClient_BaseFee_Call) Run added in v0.7.0

func (*FeeMarketQueryClient_BaseFee_Call) RunAndReturn added in v0.7.0

type FeeMarketQueryClient_BlockGas_Call added in v0.7.0

type FeeMarketQueryClient_BlockGas_Call struct {
	*mock.Call
}

FeeMarketQueryClient_BlockGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockGas'

func (*FeeMarketQueryClient_BlockGas_Call) Return added in v0.7.0

func (*FeeMarketQueryClient_BlockGas_Call) Run added in v0.7.0

func (*FeeMarketQueryClient_BlockGas_Call) RunAndReturn added in v0.7.0

type FeeMarketQueryClient_Expecter added in v0.7.0

type FeeMarketQueryClient_Expecter struct {
	// contains filtered or unexported fields
}

func (*FeeMarketQueryClient_Expecter) BaseFee added in v0.7.0

func (_e *FeeMarketQueryClient_Expecter) BaseFee(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_BaseFee_Call

BaseFee is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryBaseFeeRequest
  • opts ...grpc.CallOption

func (*FeeMarketQueryClient_Expecter) BlockGas added in v0.7.0

func (_e *FeeMarketQueryClient_Expecter) BlockGas(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_BlockGas_Call

BlockGas is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryBlockGasRequest
  • opts ...grpc.CallOption

func (*FeeMarketQueryClient_Expecter) Params added in v0.7.0

func (_e *FeeMarketQueryClient_Expecter) Params(ctx interface{}, in interface{}, opts ...interface{}) *FeeMarketQueryClient_Params_Call

Params is a helper method to define mock.On call

  • ctx context.Context
  • in *types.QueryParamsRequest
  • opts ...grpc.CallOption

type FeeMarketQueryClient_Params_Call added in v0.7.0

type FeeMarketQueryClient_Params_Call struct {
	*mock.Call
}

FeeMarketQueryClient_Params_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Params'

func (*FeeMarketQueryClient_Params_Call) Return added in v0.7.0

func (*FeeMarketQueryClient_Params_Call) Run added in v0.7.0

func (*FeeMarketQueryClient_Params_Call) RunAndReturn added in v0.7.0

type Mempool added in v0.7.0

type Mempool struct {
	mock.Mock
}

Mempool is an autogenerated mock type for the Mempool type

func NewMempool added in v0.7.0

func NewMempool(t interface {
	mock.TestingT
	Cleanup(func())
},
) *Mempool

NewMempool creates a new instance of Mempool. 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 (*Mempool) CountTx added in v0.7.0

func (_m *Mempool) CountTx() int

CountTx provides a mock function with no fields

func (*Mempool) EXPECT added in v0.7.0

func (_m *Mempool) EXPECT() *Mempool_Expecter

func (*Mempool) GetTxPool added in v0.7.0

func (_m *Mempool) GetTxPool() *txpool.TxPool

GetTxPool provides a mock function with no fields

func (*Mempool) Insert added in v0.7.0

func (_m *Mempool) Insert(_a0 context.Context, _a1 types.Tx) error

Insert provides a mock function with given fields: _a0, _a1

func (*Mempool) Remove added in v0.7.0

func (_m *Mempool) Remove(_a0 types.Tx) error

Remove provides a mock function with given fields: _a0

func (*Mempool) Select added in v0.7.0

func (_m *Mempool) Select(_a0 context.Context, _a1 [][]byte) mempool.Iterator

Select provides a mock function with given fields: _a0, _a1

type Mempool_CountTx_Call added in v0.7.0

type Mempool_CountTx_Call struct {
	*mock.Call
}

Mempool_CountTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountTx'

func (*Mempool_CountTx_Call) Return added in v0.7.0

func (*Mempool_CountTx_Call) Run added in v0.7.0

func (_c *Mempool_CountTx_Call) Run(run func()) *Mempool_CountTx_Call

func (*Mempool_CountTx_Call) RunAndReturn added in v0.7.0

func (_c *Mempool_CountTx_Call) RunAndReturn(run func() int) *Mempool_CountTx_Call

type Mempool_Expecter added in v0.7.0

type Mempool_Expecter struct {
	// contains filtered or unexported fields
}

func (*Mempool_Expecter) CountTx added in v0.7.0

func (_e *Mempool_Expecter) CountTx() *Mempool_CountTx_Call

CountTx is a helper method to define mock.On call

func (*Mempool_Expecter) GetTxPool added in v0.7.0

func (_e *Mempool_Expecter) GetTxPool() *Mempool_GetTxPool_Call

GetTxPool is a helper method to define mock.On call

func (*Mempool_Expecter) Insert added in v0.7.0

func (_e *Mempool_Expecter) Insert(_a0 interface{}, _a1 interface{}) *Mempool_Insert_Call

Insert is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 types.Tx

func (*Mempool_Expecter) Remove added in v0.7.0

func (_e *Mempool_Expecter) Remove(_a0 interface{}) *Mempool_Remove_Call

Remove is a helper method to define mock.On call

  • _a0 types.Tx

func (*Mempool_Expecter) Select added in v0.7.0

func (_e *Mempool_Expecter) Select(_a0 interface{}, _a1 interface{}) *Mempool_Select_Call

Select is a helper method to define mock.On call

  • _a0 context.Context
  • _a1 [][]byte

type Mempool_GetTxPool_Call added in v0.7.0

type Mempool_GetTxPool_Call struct {
	*mock.Call
}

Mempool_GetTxPool_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxPool'

func (*Mempool_GetTxPool_Call) Return added in v0.7.0

func (*Mempool_GetTxPool_Call) Run added in v0.7.0

func (_c *Mempool_GetTxPool_Call) Run(run func()) *Mempool_GetTxPool_Call

func (*Mempool_GetTxPool_Call) RunAndReturn added in v0.7.0

func (_c *Mempool_GetTxPool_Call) RunAndReturn(run func() *txpool.TxPool) *Mempool_GetTxPool_Call

type Mempool_Insert_Call added in v0.7.0

type Mempool_Insert_Call struct {
	*mock.Call
}

Mempool_Insert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Insert'

func (*Mempool_Insert_Call) Return added in v0.7.0

func (*Mempool_Insert_Call) Run added in v0.7.0

func (_c *Mempool_Insert_Call) Run(run func(_a0 context.Context, _a1 types.Tx)) *Mempool_Insert_Call

func (*Mempool_Insert_Call) RunAndReturn added in v0.7.0

func (_c *Mempool_Insert_Call) RunAndReturn(run func(context.Context, types.Tx) error) *Mempool_Insert_Call

type Mempool_Remove_Call added in v0.7.0

type Mempool_Remove_Call struct {
	*mock.Call
}

Mempool_Remove_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Remove'

func (*Mempool_Remove_Call) Return added in v0.7.0

func (*Mempool_Remove_Call) Run added in v0.7.0

func (_c *Mempool_Remove_Call) Run(run func(_a0 types.Tx)) *Mempool_Remove_Call

func (*Mempool_Remove_Call) RunAndReturn added in v0.7.0

func (_c *Mempool_Remove_Call) RunAndReturn(run func(types.Tx) error) *Mempool_Remove_Call

type Mempool_Select_Call added in v0.7.0

type Mempool_Select_Call struct {
	*mock.Call
}

Mempool_Select_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Select'

func (*Mempool_Select_Call) Return added in v0.7.0

func (*Mempool_Select_Call) Run added in v0.7.0

func (_c *Mempool_Select_Call) Run(run func(_a0 context.Context, _a1 [][]byte)) *Mempool_Select_Call

func (*Mempool_Select_Call) RunAndReturn added in v0.7.0

func (_c *Mempool_Select_Call) RunAndReturn(run func(context.Context, [][]byte) mempool.Iterator) *Mempool_Select_Call

Jump to

Keyboard shortcuts

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