Documentation ¶
Index ¶
- type HubClient
- func (_m *HubClient) GetBatchAtIndex(rollappID string, index uint64) (*settlement.ResultRetrieveBatch, error)
- func (_m *HubClient) GetLatestBatch(rollappID string) (*settlement.ResultRetrieveBatch, error)
- func (_m *HubClient) GetSequencers(rollappID string) ([]*types.Sequencer, error)
- func (_m *HubClient) PostBatch(batch *types.Batch, daClient da.Client, daResult *da.ResultSubmitBatch) (settlement.PostBatchResp, error)
- func (_m *HubClient) Start() error
- func (_m *HubClient) Stop() error
- type RollAppQueryClient
- func (_m *RollAppQueryClient) BlockHeightToFinalizationQueue(ctx context.Context, in *types.QueryGetBlockHeightToFinalizationQueueRequest, ...) (*types.QueryGetBlockHeightToFinalizationQueueResponse, error)
- func (_m *RollAppQueryClient) BlockHeightToFinalizationQueueAll(ctx context.Context, in *types.QueryAllBlockHeightToFinalizationQueueRequest, ...) (*types.QueryAllBlockHeightToFinalizationQueueResponse, error)
- func (_m *RollAppQueryClient) GetStateInfoByHeight(ctx context.Context, in *types.QueryGetStateInfoByHeightRequest, ...) (*types.QueryGetStateInfoByHeightResponse, error)
- func (_m *RollAppQueryClient) LatestFinalizedStateInfo(ctx context.Context, in *types.QueryGetLatestFinalizedStateInfoRequest, ...) (*types.QueryGetLatestFinalizedStateInfoResponse, error)
- func (_m *RollAppQueryClient) LatestStateInfoIndex(ctx context.Context, in *types.QueryGetLatestStateInfoIndexRequest, ...) (*types.QueryGetLatestStateInfoIndexResponse, error)
- func (_m *RollAppQueryClient) LatestStateInfoIndexAll(ctx context.Context, in *types.QueryAllLatestStateInfoIndexRequest, ...) (*types.QueryAllLatestStateInfoIndexResponse, error)
- func (_m *RollAppQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *RollAppQueryClient) Rollapp(ctx context.Context, in *types.QueryGetRollappRequest, opts ...grpc.CallOption) (*types.QueryGetRollappResponse, error)
- func (_m *RollAppQueryClient) RollappAll(ctx context.Context, in *types.QueryAllRollappRequest, opts ...grpc.CallOption) (*types.QueryAllRollappResponse, error)
- func (_m *RollAppQueryClient) StateInfo(ctx context.Context, in *types.QueryGetStateInfoRequest, ...) (*types.QueryGetStateInfoResponse, error)
- func (_m *RollAppQueryClient) StateInfoAll(ctx context.Context, in *types.QueryAllStateInfoRequest, ...) (*types.QueryAllStateInfoResponse, error)
- type SequencerQueryClient
- func (_m *SequencerQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
- func (_m *SequencerQueryClient) Scheduler(ctx context.Context, in *types.QueryGetSchedulerRequest, ...) (*types.QueryGetSchedulerResponse, error)
- func (_m *SequencerQueryClient) SchedulerAll(ctx context.Context, in *types.QueryAllSchedulerRequest, ...) (*types.QueryAllSchedulerResponse, error)
- func (_m *SequencerQueryClient) Sequencer(ctx context.Context, in *types.QueryGetSequencerRequest, ...) (*types.QueryGetSequencerResponse, error)
- func (_m *SequencerQueryClient) SequencerAll(ctx context.Context, in *types.QueryAllSequencerRequest, ...) (*types.QueryAllSequencerResponse, error)
- func (_m *SequencerQueryClient) SequencersByRollapp(ctx context.Context, in *types.QueryGetSequencersByRollappRequest, ...) (*types.QueryGetSequencersByRollappResponse, error)
- func (_m *SequencerQueryClient) SequencersByRollappAll(ctx context.Context, in *types.QueryAllSequencersByRollappRequest, ...) (*types.QueryAllSequencersByRollappResponse, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HubClient ¶
HubClient is an autogenerated mock type for the HubClient type
func NewHubClient ¶
func NewHubClient(t mockConstructorTestingTNewHubClient) *HubClient
NewHubClient creates a new instance of HubClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*HubClient) GetBatchAtIndex ¶
func (_m *HubClient) GetBatchAtIndex(rollappID string, index uint64) (*settlement.ResultRetrieveBatch, error)
GetBatchAtIndex provides a mock function with given fields: rollappID, index
func (*HubClient) GetLatestBatch ¶
func (_m *HubClient) GetLatestBatch(rollappID string) (*settlement.ResultRetrieveBatch, error)
GetLatestBatch provides a mock function with given fields: rollappID
func (*HubClient) GetSequencers ¶
GetSequencers provides a mock function with given fields: rollappID
func (*HubClient) PostBatch ¶
func (_m *HubClient) PostBatch(batch *types.Batch, daClient da.Client, daResult *da.ResultSubmitBatch) (settlement.PostBatchResp, error)
PostBatch provides a mock function with given fields: batch, daClient, daResult
type RollAppQueryClient ¶
RollAppQueryClient is an autogenerated mock type for the QueryClient type
func NewRollAppQueryClient ¶
func NewRollAppQueryClient(t mockConstructorTestingTNewRollAppQueryClient) *RollAppQueryClient
NewRollAppQueryClient creates a new instance of RollAppQueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*RollAppQueryClient) BlockHeightToFinalizationQueue ¶
func (_m *RollAppQueryClient) BlockHeightToFinalizationQueue(ctx context.Context, in *types.QueryGetBlockHeightToFinalizationQueueRequest, opts ...grpc.CallOption) (*types.QueryGetBlockHeightToFinalizationQueueResponse, error)
BlockHeightToFinalizationQueue provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) BlockHeightToFinalizationQueueAll ¶
func (_m *RollAppQueryClient) BlockHeightToFinalizationQueueAll(ctx context.Context, in *types.QueryAllBlockHeightToFinalizationQueueRequest, opts ...grpc.CallOption) (*types.QueryAllBlockHeightToFinalizationQueueResponse, error)
BlockHeightToFinalizationQueueAll provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) GetStateInfoByHeight ¶
func (_m *RollAppQueryClient) GetStateInfoByHeight(ctx context.Context, in *types.QueryGetStateInfoByHeightRequest, opts ...grpc.CallOption) (*types.QueryGetStateInfoByHeightResponse, error)
GetStateInfoByHeight provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) LatestFinalizedStateInfo ¶
func (_m *RollAppQueryClient) LatestFinalizedStateInfo(ctx context.Context, in *types.QueryGetLatestFinalizedStateInfoRequest, opts ...grpc.CallOption) (*types.QueryGetLatestFinalizedStateInfoResponse, error)
LatestFinalizedStateInfo provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) LatestStateInfoIndex ¶
func (_m *RollAppQueryClient) LatestStateInfoIndex(ctx context.Context, in *types.QueryGetLatestStateInfoIndexRequest, opts ...grpc.CallOption) (*types.QueryGetLatestStateInfoIndexResponse, error)
LatestStateInfoIndex provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) LatestStateInfoIndexAll ¶
func (_m *RollAppQueryClient) LatestStateInfoIndexAll(ctx context.Context, in *types.QueryAllLatestStateInfoIndexRequest, opts ...grpc.CallOption) (*types.QueryAllLatestStateInfoIndexResponse, error)
LatestStateInfoIndexAll provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) Params ¶
func (_m *RollAppQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) Rollapp ¶
func (_m *RollAppQueryClient) Rollapp(ctx context.Context, in *types.QueryGetRollappRequest, opts ...grpc.CallOption) (*types.QueryGetRollappResponse, error)
Rollapp provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) RollappAll ¶
func (_m *RollAppQueryClient) RollappAll(ctx context.Context, in *types.QueryAllRollappRequest, opts ...grpc.CallOption) (*types.QueryAllRollappResponse, error)
RollappAll provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) StateInfo ¶
func (_m *RollAppQueryClient) StateInfo(ctx context.Context, in *types.QueryGetStateInfoRequest, opts ...grpc.CallOption) (*types.QueryGetStateInfoResponse, error)
StateInfo provides a mock function with given fields: ctx, in, opts
func (*RollAppQueryClient) StateInfoAll ¶
func (_m *RollAppQueryClient) StateInfoAll(ctx context.Context, in *types.QueryAllStateInfoRequest, opts ...grpc.CallOption) (*types.QueryAllStateInfoResponse, error)
StateInfoAll provides a mock function with given fields: ctx, in, opts
type SequencerQueryClient ¶
SequencerQueryClient is an autogenerated mock type for the QueryClient type
func NewSequencerQueryClient ¶
func NewSequencerQueryClient(t mockConstructorTestingTNewSequencerQueryClient) *SequencerQueryClient
NewSequencerQueryClient creates a new instance of SequencerQueryClient. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations.
func (*SequencerQueryClient) Params ¶
func (_m *SequencerQueryClient) Params(ctx context.Context, in *types.QueryParamsRequest, opts ...grpc.CallOption) (*types.QueryParamsResponse, error)
Params provides a mock function with given fields: ctx, in, opts
func (*SequencerQueryClient) Scheduler ¶
func (_m *SequencerQueryClient) Scheduler(ctx context.Context, in *types.QueryGetSchedulerRequest, opts ...grpc.CallOption) (*types.QueryGetSchedulerResponse, error)
Scheduler provides a mock function with given fields: ctx, in, opts
func (*SequencerQueryClient) SchedulerAll ¶
func (_m *SequencerQueryClient) SchedulerAll(ctx context.Context, in *types.QueryAllSchedulerRequest, opts ...grpc.CallOption) (*types.QueryAllSchedulerResponse, error)
SchedulerAll provides a mock function with given fields: ctx, in, opts
func (*SequencerQueryClient) Sequencer ¶
func (_m *SequencerQueryClient) Sequencer(ctx context.Context, in *types.QueryGetSequencerRequest, opts ...grpc.CallOption) (*types.QueryGetSequencerResponse, error)
Sequencer provides a mock function with given fields: ctx, in, opts
func (*SequencerQueryClient) SequencerAll ¶
func (_m *SequencerQueryClient) SequencerAll(ctx context.Context, in *types.QueryAllSequencerRequest, opts ...grpc.CallOption) (*types.QueryAllSequencerResponse, error)
SequencerAll provides a mock function with given fields: ctx, in, opts
func (*SequencerQueryClient) SequencersByRollapp ¶
func (_m *SequencerQueryClient) SequencersByRollapp(ctx context.Context, in *types.QueryGetSequencersByRollappRequest, opts ...grpc.CallOption) (*types.QueryGetSequencersByRollappResponse, error)
SequencersByRollapp provides a mock function with given fields: ctx, in, opts
func (*SequencerQueryClient) SequencersByRollappAll ¶
func (_m *SequencerQueryClient) SequencersByRollappAll(ctx context.Context, in *types.QueryAllSequencersByRollappRequest, opts ...grpc.CallOption) (*types.QueryAllSequencersByRollappResponse, error)
SequencersByRollappAll provides a mock function with given fields: ctx, in, opts