mocks

package
v0.5.0-zeta Latest Latest
Warning

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

Go to latest
Published: May 12, 2023 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HubClient

type HubClient struct {
	mock.Mock
}

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

func (_m *HubClient) GetSequencers(rollappID string) ([]*types.Sequencer, error)

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

func (*HubClient) Start

func (_m *HubClient) Start() error

Start provides a mock function with given fields:

func (*HubClient) Stop

func (_m *HubClient) Stop() error

Stop provides a mock function with given fields:

type RollAppQueryClient

type RollAppQueryClient struct {
	mock.Mock
}

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

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

func (*RollAppQueryClient) BlockHeightToFinalizationQueueAll

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

func (*RollAppQueryClient) GetStateInfoByHeight

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

func (*RollAppQueryClient) LatestFinalizedStateInfo

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

func (*RollAppQueryClient) LatestStateInfoIndex

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

func (*RollAppQueryClient) LatestStateInfoIndexAll

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

func (*RollAppQueryClient) Params

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

func (*RollAppQueryClient) Rollapp

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

func (*RollAppQueryClient) RollappAll

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

func (*RollAppQueryClient) StateInfo

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

func (*RollAppQueryClient) StateInfoAll

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

type SequencerQueryClient

type SequencerQueryClient struct {
	mock.Mock
}

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

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

func (*SequencerQueryClient) Scheduler

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

func (*SequencerQueryClient) SchedulerAll

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

func (*SequencerQueryClient) Sequencer

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

func (*SequencerQueryClient) SequencerAll

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

func (*SequencerQueryClient) SequencersByRollapp

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

func (*SequencerQueryClient) SequencersByRollappAll

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

Jump to

Keyboard shortcuts

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