Documentation ¶
Index ¶
- type AppConns
- func (_m *AppConns) Consensus() proxy.AppConnConsensus
- func (_m *AppConns) IsRunning() bool
- func (_m *AppConns) Mempool() proxy.AppConnMempool
- func (_m *AppConns) OnReset() error
- func (_m *AppConns) OnStart() error
- func (_m *AppConns) OnStop()
- func (_m *AppConns) Query() proxy.AppConnQuery
- func (_m *AppConns) Quit() <-chan struct{}
- func (_m *AppConns) Reset() error
- func (_m *AppConns) SetLogger(_a0 log.Logger)
- func (_m *AppConns) Snapshot() proxy.AppConnSnapshot
- func (_m *AppConns) Start() error
- func (_m *AppConns) Stop() error
- func (_m *AppConns) String() string
- type Application
- func (_m *Application) ApplySnapshotChunk(_a0 types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk
- func (_m *Application) BeginBlock(_a0 types.RequestBeginBlock) types.ResponseBeginBlock
- func (_m *Application) CheckTx(_a0 types.RequestCheckTx) types.ResponseCheckTx
- func (_m *Application) Commit() types.ResponseCommit
- func (_m *Application) DeliverTx(_a0 types.RequestDeliverTx) types.ResponseDeliverTx
- func (_m *Application) EndBlock(_a0 types.RequestEndBlock) types.ResponseEndBlock
- func (_m *Application) Info(_a0 types.RequestInfo) types.ResponseInfo
- func (_m *Application) InitChain(_a0 types.RequestInitChain) types.ResponseInitChain
- func (_m *Application) ListSnapshots(_a0 types.RequestListSnapshots) types.ResponseListSnapshots
- func (_m *Application) LoadSnapshotChunk(_a0 types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk
- func (_m *Application) OfferSnapshot(_a0 types.RequestOfferSnapshot) types.ResponseOfferSnapshot
- func (_m *Application) Query(_a0 types.RequestQuery) types.ResponseQuery
- func (_m *Application) SetOption(_a0 types.RequestSetOption) types.ResponseSetOption
- type CosmosClient
- func (_m *CosmosClient) BroadcastTx(accountName string, msgs ...types.Msg) (cosmosclient.Response, error)
- func (_m *CosmosClient) Context() client.Context
- func (_m *CosmosClient) EventListenerQuit() <-chan struct{}
- func (_m *CosmosClient) GetAccount(accountName string) (cosmosaccount.Account, error)
- func (_m *CosmosClient) GetRollappClient() rollapptypes.QueryClient
- func (_m *CosmosClient) GetSequencerClient() sequencertypes.QueryClient
- func (_m *CosmosClient) StartEventListener() error
- func (_m *CosmosClient) StopEventListener() error
- func (_m *CosmosClient) SubscribeToEvents(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AppConns ¶
AppConns is an autogenerated mock type for the AppConns type
func NewAppConns ¶
func NewAppConns(t mockConstructorTestingTNewAppConns) *AppConns
NewAppConns creates a new instance of AppConns. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*AppConns) Consensus ¶
func (_m *AppConns) Consensus() proxy.AppConnConsensus
Consensus provides a mock function with given fields:
func (*AppConns) Mempool ¶
func (_m *AppConns) Mempool() proxy.AppConnMempool
Mempool provides a mock function with given fields:
func (*AppConns) OnStop ¶
func (_m *AppConns) OnStop()
OnStop provides a mock function with given fields:
func (*AppConns) Query ¶
func (_m *AppConns) Query() proxy.AppConnQuery
Query provides a mock function with given fields:
func (*AppConns) Quit ¶
func (_m *AppConns) Quit() <-chan struct{}
Quit provides a mock function with given fields:
func (*AppConns) Snapshot ¶
func (_m *AppConns) Snapshot() proxy.AppConnSnapshot
Snapshot provides a mock function with given fields:
type Application ¶
Application is an autogenerated mock type for the Application type
func (*Application) ApplySnapshotChunk ¶
func (_m *Application) ApplySnapshotChunk(_a0 types.RequestApplySnapshotChunk) types.ResponseApplySnapshotChunk
ApplySnapshotChunk provides a mock function with given fields: _a0
func (*Application) BeginBlock ¶
func (_m *Application) BeginBlock(_a0 types.RequestBeginBlock) types.ResponseBeginBlock
BeginBlock provides a mock function with given fields: _a0
func (*Application) CheckTx ¶
func (_m *Application) CheckTx(_a0 types.RequestCheckTx) types.ResponseCheckTx
CheckTx provides a mock function with given fields: _a0
func (*Application) Commit ¶
func (_m *Application) Commit() types.ResponseCommit
Commit provides a mock function with given fields:
func (*Application) DeliverTx ¶
func (_m *Application) DeliverTx(_a0 types.RequestDeliverTx) types.ResponseDeliverTx
DeliverTx provides a mock function with given fields: _a0
func (*Application) EndBlock ¶
func (_m *Application) EndBlock(_a0 types.RequestEndBlock) types.ResponseEndBlock
EndBlock provides a mock function with given fields: _a0
func (*Application) Info ¶
func (_m *Application) Info(_a0 types.RequestInfo) types.ResponseInfo
Info provides a mock function with given fields: _a0
func (*Application) InitChain ¶
func (_m *Application) InitChain(_a0 types.RequestInitChain) types.ResponseInitChain
InitChain provides a mock function with given fields: _a0
func (*Application) ListSnapshots ¶
func (_m *Application) ListSnapshots(_a0 types.RequestListSnapshots) types.ResponseListSnapshots
ListSnapshots provides a mock function with given fields: _a0
func (*Application) LoadSnapshotChunk ¶
func (_m *Application) LoadSnapshotChunk(_a0 types.RequestLoadSnapshotChunk) types.ResponseLoadSnapshotChunk
LoadSnapshotChunk provides a mock function with given fields: _a0
func (*Application) OfferSnapshot ¶
func (_m *Application) OfferSnapshot(_a0 types.RequestOfferSnapshot) types.ResponseOfferSnapshot
OfferSnapshot provides a mock function with given fields: _a0
func (*Application) Query ¶
func (_m *Application) Query(_a0 types.RequestQuery) types.ResponseQuery
Query provides a mock function with given fields: _a0
func (*Application) SetOption ¶
func (_m *Application) SetOption(_a0 types.RequestSetOption) types.ResponseSetOption
SetOption provides a mock function with given fields: _a0
type CosmosClient ¶
CosmosClient is an autogenerated mock type for the CosmosClient type
func NewCosmosClient ¶
func NewCosmosClient(t mockConstructorTestingTNewCosmosClient) *CosmosClient
NewCosmosClient creates a new instance of CosmosClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*CosmosClient) BroadcastTx ¶
func (_m *CosmosClient) BroadcastTx(accountName string, msgs ...types.Msg) (cosmosclient.Response, error)
BroadcastTx provides a mock function with given fields: accountName, msgs
func (*CosmosClient) Context ¶
func (_m *CosmosClient) Context() client.Context
Context provides a mock function with given fields:
func (*CosmosClient) EventListenerQuit ¶
func (_m *CosmosClient) EventListenerQuit() <-chan struct{}
EventListenerQuit provides a mock function with given fields:
func (*CosmosClient) GetAccount ¶
func (_m *CosmosClient) GetAccount(accountName string) (cosmosaccount.Account, error)
GetAccount provides a mock function with given fields: accountName
func (*CosmosClient) GetRollappClient ¶
func (_m *CosmosClient) GetRollappClient() rollapptypes.QueryClient
GetRollappClient provides a mock function with given fields:
func (*CosmosClient) GetSequencerClient ¶
func (_m *CosmosClient) GetSequencerClient() sequencertypes.QueryClient
GetSequencerClient provides a mock function with given fields:
func (*CosmosClient) StartEventListener ¶
func (_m *CosmosClient) StartEventListener() error
StartEventListener provides a mock function with given fields:
func (*CosmosClient) StopEventListener ¶
func (_m *CosmosClient) StopEventListener() error
StopEventListener provides a mock function with given fields:
func (*CosmosClient) SubscribeToEvents ¶
func (_m *CosmosClient) SubscribeToEvents(ctx context.Context, subscriber string, query string, outCapacity ...int) (<-chan coretypes.ResultEvent, error)
SubscribeToEvents provides a mock function with given fields: ctx, subscriber, query, outCapacity