Documentation ¶
Index ¶
- type BatchDataProvider
- type BatchDataProvider_Expecter
- type BatchDataProvider_GetBatchL2Data_Call
- func (_c *BatchDataProvider_GetBatchL2Data_Call) Return(_a0 [][]byte, _a1 error) *BatchDataProvider_GetBatchL2Data_Call
- func (_c *BatchDataProvider_GetBatchL2Data_Call) Run(...) *BatchDataProvider_GetBatchL2Data_Call
- func (_c *BatchDataProvider_GetBatchL2Data_Call) RunAndReturn(run func([]uint64, []common.Hash, []byte) ([][]byte, error)) *BatchDataProvider_GetBatchL2Data_Call
- type DABackender
- func (_m *DABackender) EXPECT() *DABackender_Expecter
- func (_m *DABackender) GetSequence(ctx context.Context, batchHashes []common.Hash, dataAvailabilityMessage []byte) ([][]byte, error)
- func (_m *DABackender) Init() error
- func (_m *DABackender) PostSequenceBanana(ctx context.Context, sequence etherman.SequenceBanana) ([]byte, error)
- func (_m *DABackender) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error)
- type DABackender_Expecter
- func (_e *DABackender_Expecter) GetSequence(ctx interface{}, batchHashes interface{}, dataAvailabilityMessage interface{}) *DABackender_GetSequence_Call
- func (_e *DABackender_Expecter) Init() *DABackender_Init_Call
- func (_e *DABackender_Expecter) PostSequenceBanana(ctx interface{}, sequence interface{}) *DABackender_PostSequenceBanana_Call
- func (_e *DABackender_Expecter) PostSequenceElderberry(ctx interface{}, batchesData interface{}) *DABackender_PostSequenceElderberry_Call
- type DABackender_GetSequence_Call
- func (_c *DABackender_GetSequence_Call) Return(_a0 [][]byte, _a1 error) *DABackender_GetSequence_Call
- func (_c *DABackender_GetSequence_Call) Run(...) *DABackender_GetSequence_Call
- func (_c *DABackender_GetSequence_Call) RunAndReturn(run func(context.Context, []common.Hash, []byte) ([][]byte, error)) *DABackender_GetSequence_Call
- type DABackender_Init_Call
- type DABackender_PostSequenceBanana_Call
- func (_c *DABackender_PostSequenceBanana_Call) Return(_a0 []byte, _a1 error) *DABackender_PostSequenceBanana_Call
- func (_c *DABackender_PostSequenceBanana_Call) Run(run func(ctx context.Context, sequence etherman.SequenceBanana)) *DABackender_PostSequenceBanana_Call
- func (_c *DABackender_PostSequenceBanana_Call) RunAndReturn(run func(context.Context, etherman.SequenceBanana) ([]byte, error)) *DABackender_PostSequenceBanana_Call
- type DABackender_PostSequenceElderberry_Call
- func (_c *DABackender_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *DABackender_PostSequenceElderberry_Call
- func (_c *DABackender_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *DABackender_PostSequenceElderberry_Call
- func (_c *DABackender_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *DABackender_PostSequenceElderberry_Call
- type DataManager
- func (_m *DataManager) EXPECT() *DataManager_Expecter
- func (_m *DataManager) GetBatchL2Data(batchNum []uint64, batchHashes []common.Hash, dataAvailabilityMessage []byte) ([][]byte, error)
- func (_m *DataManager) PostSequenceBanana(ctx context.Context, sequence etherman.SequenceBanana) ([]byte, error)
- func (_m *DataManager) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error)
- type DataManager_Expecter
- func (_e *DataManager_Expecter) GetBatchL2Data(batchNum interface{}, batchHashes interface{}, ...) *DataManager_GetBatchL2Data_Call
- func (_e *DataManager_Expecter) PostSequenceBanana(ctx interface{}, sequence interface{}) *DataManager_PostSequenceBanana_Call
- func (_e *DataManager_Expecter) PostSequenceElderberry(ctx interface{}, batchesData interface{}) *DataManager_PostSequenceElderberry_Call
- type DataManager_GetBatchL2Data_Call
- func (_c *DataManager_GetBatchL2Data_Call) Return(_a0 [][]byte, _a1 error) *DataManager_GetBatchL2Data_Call
- func (_c *DataManager_GetBatchL2Data_Call) Run(...) *DataManager_GetBatchL2Data_Call
- func (_c *DataManager_GetBatchL2Data_Call) RunAndReturn(run func([]uint64, []common.Hash, []byte) ([][]byte, error)) *DataManager_GetBatchL2Data_Call
- type DataManager_PostSequenceBanana_Call
- func (_c *DataManager_PostSequenceBanana_Call) Return(_a0 []byte, _a1 error) *DataManager_PostSequenceBanana_Call
- func (_c *DataManager_PostSequenceBanana_Call) Run(run func(ctx context.Context, sequence etherman.SequenceBanana)) *DataManager_PostSequenceBanana_Call
- func (_c *DataManager_PostSequenceBanana_Call) RunAndReturn(run func(context.Context, etherman.SequenceBanana) ([]byte, error)) *DataManager_PostSequenceBanana_Call
- type DataManager_PostSequenceElderberry_Call
- func (_c *DataManager_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *DataManager_PostSequenceElderberry_Call
- func (_c *DataManager_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *DataManager_PostSequenceElderberry_Call
- func (_c *DataManager_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *DataManager_PostSequenceElderberry_Call
- type FuncSignType
- type FuncSignType_Execute_Call
- func (_c *FuncSignType_Execute_Call) Return(_a0 []byte, _a1 error) *FuncSignType_Execute_Call
- func (_c *FuncSignType_Execute_Call) Run(run func(c client.Client)) *FuncSignType_Execute_Call
- func (_c *FuncSignType_Execute_Call) RunAndReturn(run func(client.Client) ([]byte, error)) *FuncSignType_Execute_Call
- type FuncSignType_Expecter
- type SequenceRetriever
- type SequenceRetriever_Expecter
- type SequenceRetriever_GetSequence_Call
- func (_c *SequenceRetriever_GetSequence_Call) Return(_a0 [][]byte, _a1 error) *SequenceRetriever_GetSequence_Call
- func (_c *SequenceRetriever_GetSequence_Call) Run(...) *SequenceRetriever_GetSequence_Call
- func (_c *SequenceRetriever_GetSequence_Call) RunAndReturn(run func(context.Context, []common.Hash, []byte) ([][]byte, error)) *SequenceRetriever_GetSequence_Call
- type SequenceSender
- type SequenceSenderBanana
- type SequenceSenderBanana_Expecter
- type SequenceSenderBanana_PostSequenceBanana_Call
- func (_c *SequenceSenderBanana_PostSequenceBanana_Call) Return(_a0 []byte, _a1 error) *SequenceSenderBanana_PostSequenceBanana_Call
- func (_c *SequenceSenderBanana_PostSequenceBanana_Call) Run(run func(ctx context.Context, sequence etherman.SequenceBanana)) *SequenceSenderBanana_PostSequenceBanana_Call
- func (_c *SequenceSenderBanana_PostSequenceBanana_Call) RunAndReturn(run func(context.Context, etherman.SequenceBanana) ([]byte, error)) *SequenceSenderBanana_PostSequenceBanana_Call
- type SequenceSenderElderberry
- type SequenceSenderElderberry_Expecter
- type SequenceSenderElderberry_PostSequenceElderberry_Call
- func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *SequenceSenderElderberry_PostSequenceElderberry_Call
- func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *SequenceSenderElderberry_PostSequenceElderberry_Call
- func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *SequenceSenderElderberry_PostSequenceElderberry_Call
- type SequenceSender_Expecter
- type SequenceSender_PostSequenceBanana_Call
- func (_c *SequenceSender_PostSequenceBanana_Call) Return(_a0 []byte, _a1 error) *SequenceSender_PostSequenceBanana_Call
- func (_c *SequenceSender_PostSequenceBanana_Call) Run(run func(ctx context.Context, sequence etherman.SequenceBanana)) *SequenceSender_PostSequenceBanana_Call
- func (_c *SequenceSender_PostSequenceBanana_Call) RunAndReturn(run func(context.Context, etherman.SequenceBanana) ([]byte, error)) *SequenceSender_PostSequenceBanana_Call
- type SequenceSender_PostSequenceElderberry_Call
- func (_c *SequenceSender_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *SequenceSender_PostSequenceElderberry_Call
- func (_c *SequenceSender_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *SequenceSender_PostSequenceElderberry_Call
- func (_c *SequenceSender_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *SequenceSender_PostSequenceElderberry_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BatchDataProvider ¶
BatchDataProvider is an autogenerated mock type for the BatchDataProvider type
func NewBatchDataProvider ¶
func NewBatchDataProvider(t interface { mock.TestingT Cleanup(func()) }) *BatchDataProvider
NewBatchDataProvider creates a new instance of BatchDataProvider. 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 (*BatchDataProvider) EXPECT ¶
func (_m *BatchDataProvider) EXPECT() *BatchDataProvider_Expecter
func (*BatchDataProvider) GetBatchL2Data ¶
func (_m *BatchDataProvider) GetBatchL2Data(batchNum []uint64, batchHashes []common.Hash, dataAvailabilityMessage []byte) ([][]byte, error)
GetBatchL2Data provides a mock function with given fields: batchNum, batchHashes, dataAvailabilityMessage
type BatchDataProvider_Expecter ¶
type BatchDataProvider_Expecter struct {
// contains filtered or unexported fields
}
func (*BatchDataProvider_Expecter) GetBatchL2Data ¶
func (_e *BatchDataProvider_Expecter) GetBatchL2Data(batchNum interface{}, batchHashes interface{}, dataAvailabilityMessage interface{}) *BatchDataProvider_GetBatchL2Data_Call
GetBatchL2Data is a helper method to define mock.On call
- batchNum []uint64
- batchHashes []common.Hash
- dataAvailabilityMessage []byte
type BatchDataProvider_GetBatchL2Data_Call ¶
BatchDataProvider_GetBatchL2Data_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchL2Data'
func (*BatchDataProvider_GetBatchL2Data_Call) Return ¶
func (_c *BatchDataProvider_GetBatchL2Data_Call) Return(_a0 [][]byte, _a1 error) *BatchDataProvider_GetBatchL2Data_Call
func (*BatchDataProvider_GetBatchL2Data_Call) Run ¶
func (_c *BatchDataProvider_GetBatchL2Data_Call) Run(run func(batchNum []uint64, batchHashes []common.Hash, dataAvailabilityMessage []byte)) *BatchDataProvider_GetBatchL2Data_Call
func (*BatchDataProvider_GetBatchL2Data_Call) RunAndReturn ¶
func (_c *BatchDataProvider_GetBatchL2Data_Call) RunAndReturn(run func([]uint64, []common.Hash, []byte) ([][]byte, error)) *BatchDataProvider_GetBatchL2Data_Call
type DABackender ¶
DABackender is an autogenerated mock type for the DABackender type
func NewDABackender ¶
func NewDABackender(t interface { mock.TestingT Cleanup(func()) }) *DABackender
NewDABackender creates a new instance of DABackender. 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 (*DABackender) EXPECT ¶
func (_m *DABackender) EXPECT() *DABackender_Expecter
func (*DABackender) GetSequence ¶
func (_m *DABackender) GetSequence(ctx context.Context, batchHashes []common.Hash, dataAvailabilityMessage []byte) ([][]byte, error)
GetSequence provides a mock function with given fields: ctx, batchHashes, dataAvailabilityMessage
func (*DABackender) Init ¶
func (_m *DABackender) Init() error
Init provides a mock function with given fields:
func (*DABackender) PostSequenceBanana ¶
func (_m *DABackender) PostSequenceBanana(ctx context.Context, sequence etherman.SequenceBanana) ([]byte, error)
PostSequenceBanana provides a mock function with given fields: ctx, sequence
func (*DABackender) PostSequenceElderberry ¶
func (_m *DABackender) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error)
PostSequenceElderberry provides a mock function with given fields: ctx, batchesData
type DABackender_Expecter ¶
type DABackender_Expecter struct {
// contains filtered or unexported fields
}
func (*DABackender_Expecter) GetSequence ¶
func (_e *DABackender_Expecter) GetSequence(ctx interface{}, batchHashes interface{}, dataAvailabilityMessage interface{}) *DABackender_GetSequence_Call
GetSequence is a helper method to define mock.On call
- ctx context.Context
- batchHashes []common.Hash
- dataAvailabilityMessage []byte
func (*DABackender_Expecter) Init ¶
func (_e *DABackender_Expecter) Init() *DABackender_Init_Call
Init is a helper method to define mock.On call
func (*DABackender_Expecter) PostSequenceBanana ¶
func (_e *DABackender_Expecter) PostSequenceBanana(ctx interface{}, sequence interface{}) *DABackender_PostSequenceBanana_Call
PostSequenceBanana is a helper method to define mock.On call
- ctx context.Context
- sequence etherman.SequenceBanana
func (*DABackender_Expecter) PostSequenceElderberry ¶
func (_e *DABackender_Expecter) PostSequenceElderberry(ctx interface{}, batchesData interface{}) *DABackender_PostSequenceElderberry_Call
PostSequenceElderberry is a helper method to define mock.On call
- ctx context.Context
- batchesData [][]byte
type DABackender_GetSequence_Call ¶
DABackender_GetSequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSequence'
func (*DABackender_GetSequence_Call) Return ¶
func (_c *DABackender_GetSequence_Call) Return(_a0 [][]byte, _a1 error) *DABackender_GetSequence_Call
func (*DABackender_GetSequence_Call) Run ¶
func (_c *DABackender_GetSequence_Call) Run(run func(ctx context.Context, batchHashes []common.Hash, dataAvailabilityMessage []byte)) *DABackender_GetSequence_Call
func (*DABackender_GetSequence_Call) RunAndReturn ¶
func (_c *DABackender_GetSequence_Call) RunAndReturn(run func(context.Context, []common.Hash, []byte) ([][]byte, error)) *DABackender_GetSequence_Call
type DABackender_Init_Call ¶
DABackender_Init_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Init'
func (*DABackender_Init_Call) Return ¶
func (_c *DABackender_Init_Call) Return(_a0 error) *DABackender_Init_Call
func (*DABackender_Init_Call) Run ¶
func (_c *DABackender_Init_Call) Run(run func()) *DABackender_Init_Call
func (*DABackender_Init_Call) RunAndReturn ¶
func (_c *DABackender_Init_Call) RunAndReturn(run func() error) *DABackender_Init_Call
type DABackender_PostSequenceBanana_Call ¶
DABackender_PostSequenceBanana_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceBanana'
func (*DABackender_PostSequenceBanana_Call) Return ¶
func (_c *DABackender_PostSequenceBanana_Call) Return(_a0 []byte, _a1 error) *DABackender_PostSequenceBanana_Call
func (*DABackender_PostSequenceBanana_Call) Run ¶
func (_c *DABackender_PostSequenceBanana_Call) Run(run func(ctx context.Context, sequence etherman.SequenceBanana)) *DABackender_PostSequenceBanana_Call
func (*DABackender_PostSequenceBanana_Call) RunAndReturn ¶
func (_c *DABackender_PostSequenceBanana_Call) RunAndReturn(run func(context.Context, etherman.SequenceBanana) ([]byte, error)) *DABackender_PostSequenceBanana_Call
type DABackender_PostSequenceElderberry_Call ¶
DABackender_PostSequenceElderberry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceElderberry'
func (*DABackender_PostSequenceElderberry_Call) Return ¶
func (_c *DABackender_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *DABackender_PostSequenceElderberry_Call
func (*DABackender_PostSequenceElderberry_Call) Run ¶
func (_c *DABackender_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *DABackender_PostSequenceElderberry_Call
func (*DABackender_PostSequenceElderberry_Call) RunAndReturn ¶
func (_c *DABackender_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *DABackender_PostSequenceElderberry_Call
type DataManager ¶
DataManager is an autogenerated mock type for the DataManager type
func NewDataManager ¶
func NewDataManager(t interface { mock.TestingT Cleanup(func()) }) *DataManager
NewDataManager creates a new instance of DataManager. 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 (*DataManager) EXPECT ¶
func (_m *DataManager) EXPECT() *DataManager_Expecter
func (*DataManager) GetBatchL2Data ¶
func (_m *DataManager) GetBatchL2Data(batchNum []uint64, batchHashes []common.Hash, dataAvailabilityMessage []byte) ([][]byte, error)
GetBatchL2Data provides a mock function with given fields: batchNum, batchHashes, dataAvailabilityMessage
func (*DataManager) PostSequenceBanana ¶
func (_m *DataManager) PostSequenceBanana(ctx context.Context, sequence etherman.SequenceBanana) ([]byte, error)
PostSequenceBanana provides a mock function with given fields: ctx, sequence
func (*DataManager) PostSequenceElderberry ¶
func (_m *DataManager) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error)
PostSequenceElderberry provides a mock function with given fields: ctx, batchesData
type DataManager_Expecter ¶
type DataManager_Expecter struct {
// contains filtered or unexported fields
}
func (*DataManager_Expecter) GetBatchL2Data ¶
func (_e *DataManager_Expecter) GetBatchL2Data(batchNum interface{}, batchHashes interface{}, dataAvailabilityMessage interface{}) *DataManager_GetBatchL2Data_Call
GetBatchL2Data is a helper method to define mock.On call
- batchNum []uint64
- batchHashes []common.Hash
- dataAvailabilityMessage []byte
func (*DataManager_Expecter) PostSequenceBanana ¶
func (_e *DataManager_Expecter) PostSequenceBanana(ctx interface{}, sequence interface{}) *DataManager_PostSequenceBanana_Call
PostSequenceBanana is a helper method to define mock.On call
- ctx context.Context
- sequence etherman.SequenceBanana
func (*DataManager_Expecter) PostSequenceElderberry ¶
func (_e *DataManager_Expecter) PostSequenceElderberry(ctx interface{}, batchesData interface{}) *DataManager_PostSequenceElderberry_Call
PostSequenceElderberry is a helper method to define mock.On call
- ctx context.Context
- batchesData [][]byte
type DataManager_GetBatchL2Data_Call ¶
DataManager_GetBatchL2Data_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchL2Data'
func (*DataManager_GetBatchL2Data_Call) Return ¶
func (_c *DataManager_GetBatchL2Data_Call) Return(_a0 [][]byte, _a1 error) *DataManager_GetBatchL2Data_Call
func (*DataManager_GetBatchL2Data_Call) Run ¶
func (_c *DataManager_GetBatchL2Data_Call) Run(run func(batchNum []uint64, batchHashes []common.Hash, dataAvailabilityMessage []byte)) *DataManager_GetBatchL2Data_Call
func (*DataManager_GetBatchL2Data_Call) RunAndReturn ¶
func (_c *DataManager_GetBatchL2Data_Call) RunAndReturn(run func([]uint64, []common.Hash, []byte) ([][]byte, error)) *DataManager_GetBatchL2Data_Call
type DataManager_PostSequenceBanana_Call ¶
DataManager_PostSequenceBanana_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceBanana'
func (*DataManager_PostSequenceBanana_Call) Return ¶
func (_c *DataManager_PostSequenceBanana_Call) Return(_a0 []byte, _a1 error) *DataManager_PostSequenceBanana_Call
func (*DataManager_PostSequenceBanana_Call) Run ¶
func (_c *DataManager_PostSequenceBanana_Call) Run(run func(ctx context.Context, sequence etherman.SequenceBanana)) *DataManager_PostSequenceBanana_Call
func (*DataManager_PostSequenceBanana_Call) RunAndReturn ¶
func (_c *DataManager_PostSequenceBanana_Call) RunAndReturn(run func(context.Context, etherman.SequenceBanana) ([]byte, error)) *DataManager_PostSequenceBanana_Call
type DataManager_PostSequenceElderberry_Call ¶
DataManager_PostSequenceElderberry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceElderberry'
func (*DataManager_PostSequenceElderberry_Call) Return ¶
func (_c *DataManager_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *DataManager_PostSequenceElderberry_Call
func (*DataManager_PostSequenceElderberry_Call) Run ¶
func (_c *DataManager_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *DataManager_PostSequenceElderberry_Call
func (*DataManager_PostSequenceElderberry_Call) RunAndReturn ¶
func (_c *DataManager_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *DataManager_PostSequenceElderberry_Call
type FuncSignType ¶
FuncSignType is an autogenerated mock type for the funcSignType type
func NewFuncSignType ¶
func NewFuncSignType(t interface { mock.TestingT Cleanup(func()) }) *FuncSignType
NewFuncSignType creates a new instance of FuncSignType. 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 (*FuncSignType) EXPECT ¶
func (_m *FuncSignType) EXPECT() *FuncSignType_Expecter
type FuncSignType_Execute_Call ¶
FuncSignType_Execute_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Execute'
func (*FuncSignType_Execute_Call) Return ¶
func (_c *FuncSignType_Execute_Call) Return(_a0 []byte, _a1 error) *FuncSignType_Execute_Call
func (*FuncSignType_Execute_Call) Run ¶
func (_c *FuncSignType_Execute_Call) Run(run func(c client.Client)) *FuncSignType_Execute_Call
func (*FuncSignType_Execute_Call) RunAndReturn ¶
func (_c *FuncSignType_Execute_Call) RunAndReturn(run func(client.Client) ([]byte, error)) *FuncSignType_Execute_Call
type FuncSignType_Expecter ¶
type FuncSignType_Expecter struct {
// contains filtered or unexported fields
}
func (*FuncSignType_Expecter) Execute ¶
func (_e *FuncSignType_Expecter) Execute(c interface{}) *FuncSignType_Execute_Call
Execute is a helper method to define mock.On call
- c client.Client
type SequenceRetriever ¶
SequenceRetriever is an autogenerated mock type for the SequenceRetriever type
func NewSequenceRetriever ¶
func NewSequenceRetriever(t interface { mock.TestingT Cleanup(func()) }) *SequenceRetriever
NewSequenceRetriever creates a new instance of SequenceRetriever. 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 (*SequenceRetriever) EXPECT ¶
func (_m *SequenceRetriever) EXPECT() *SequenceRetriever_Expecter
func (*SequenceRetriever) GetSequence ¶
func (_m *SequenceRetriever) GetSequence(ctx context.Context, batchHashes []common.Hash, dataAvailabilityMessage []byte) ([][]byte, error)
GetSequence provides a mock function with given fields: ctx, batchHashes, dataAvailabilityMessage
type SequenceRetriever_Expecter ¶
type SequenceRetriever_Expecter struct {
// contains filtered or unexported fields
}
func (*SequenceRetriever_Expecter) GetSequence ¶
func (_e *SequenceRetriever_Expecter) GetSequence(ctx interface{}, batchHashes interface{}, dataAvailabilityMessage interface{}) *SequenceRetriever_GetSequence_Call
GetSequence is a helper method to define mock.On call
- ctx context.Context
- batchHashes []common.Hash
- dataAvailabilityMessage []byte
type SequenceRetriever_GetSequence_Call ¶
SequenceRetriever_GetSequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSequence'
func (*SequenceRetriever_GetSequence_Call) Return ¶
func (_c *SequenceRetriever_GetSequence_Call) Return(_a0 [][]byte, _a1 error) *SequenceRetriever_GetSequence_Call
func (*SequenceRetriever_GetSequence_Call) Run ¶
func (_c *SequenceRetriever_GetSequence_Call) Run(run func(ctx context.Context, batchHashes []common.Hash, dataAvailabilityMessage []byte)) *SequenceRetriever_GetSequence_Call
func (*SequenceRetriever_GetSequence_Call) RunAndReturn ¶
func (_c *SequenceRetriever_GetSequence_Call) RunAndReturn(run func(context.Context, []common.Hash, []byte) ([][]byte, error)) *SequenceRetriever_GetSequence_Call
type SequenceSender ¶
SequenceSender is an autogenerated mock type for the SequenceSender type
func NewSequenceSender ¶
func NewSequenceSender(t interface { mock.TestingT Cleanup(func()) }) *SequenceSender
NewSequenceSender creates a new instance of SequenceSender. 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 (*SequenceSender) EXPECT ¶
func (_m *SequenceSender) EXPECT() *SequenceSender_Expecter
func (*SequenceSender) PostSequenceBanana ¶
func (_m *SequenceSender) PostSequenceBanana(ctx context.Context, sequence etherman.SequenceBanana) ([]byte, error)
PostSequenceBanana provides a mock function with given fields: ctx, sequence
func (*SequenceSender) PostSequenceElderberry ¶
func (_m *SequenceSender) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error)
PostSequenceElderberry provides a mock function with given fields: ctx, batchesData
type SequenceSenderBanana ¶
SequenceSenderBanana is an autogenerated mock type for the SequenceSenderBanana type
func NewSequenceSenderBanana ¶
func NewSequenceSenderBanana(t interface { mock.TestingT Cleanup(func()) }) *SequenceSenderBanana
NewSequenceSenderBanana creates a new instance of SequenceSenderBanana. 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 (*SequenceSenderBanana) EXPECT ¶
func (_m *SequenceSenderBanana) EXPECT() *SequenceSenderBanana_Expecter
func (*SequenceSenderBanana) PostSequenceBanana ¶
func (_m *SequenceSenderBanana) PostSequenceBanana(ctx context.Context, sequence etherman.SequenceBanana) ([]byte, error)
PostSequenceBanana provides a mock function with given fields: ctx, sequence
type SequenceSenderBanana_Expecter ¶
type SequenceSenderBanana_Expecter struct {
// contains filtered or unexported fields
}
func (*SequenceSenderBanana_Expecter) PostSequenceBanana ¶
func (_e *SequenceSenderBanana_Expecter) PostSequenceBanana(ctx interface{}, sequence interface{}) *SequenceSenderBanana_PostSequenceBanana_Call
PostSequenceBanana is a helper method to define mock.On call
- ctx context.Context
- sequence etherman.SequenceBanana
type SequenceSenderBanana_PostSequenceBanana_Call ¶
SequenceSenderBanana_PostSequenceBanana_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceBanana'
func (*SequenceSenderBanana_PostSequenceBanana_Call) Return ¶
func (_c *SequenceSenderBanana_PostSequenceBanana_Call) Return(_a0 []byte, _a1 error) *SequenceSenderBanana_PostSequenceBanana_Call
func (*SequenceSenderBanana_PostSequenceBanana_Call) Run ¶
func (_c *SequenceSenderBanana_PostSequenceBanana_Call) Run(run func(ctx context.Context, sequence etherman.SequenceBanana)) *SequenceSenderBanana_PostSequenceBanana_Call
func (*SequenceSenderBanana_PostSequenceBanana_Call) RunAndReturn ¶
func (_c *SequenceSenderBanana_PostSequenceBanana_Call) RunAndReturn(run func(context.Context, etherman.SequenceBanana) ([]byte, error)) *SequenceSenderBanana_PostSequenceBanana_Call
type SequenceSenderElderberry ¶
SequenceSenderElderberry is an autogenerated mock type for the SequenceSenderElderberry type
func NewSequenceSenderElderberry ¶
func NewSequenceSenderElderberry(t interface { mock.TestingT Cleanup(func()) }) *SequenceSenderElderberry
NewSequenceSenderElderberry creates a new instance of SequenceSenderElderberry. 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 (*SequenceSenderElderberry) EXPECT ¶
func (_m *SequenceSenderElderberry) EXPECT() *SequenceSenderElderberry_Expecter
func (*SequenceSenderElderberry) PostSequenceElderberry ¶
func (_m *SequenceSenderElderberry) PostSequenceElderberry(ctx context.Context, batchesData [][]byte) ([]byte, error)
PostSequenceElderberry provides a mock function with given fields: ctx, batchesData
type SequenceSenderElderberry_Expecter ¶
type SequenceSenderElderberry_Expecter struct {
// contains filtered or unexported fields
}
func (*SequenceSenderElderberry_Expecter) PostSequenceElderberry ¶
func (_e *SequenceSenderElderberry_Expecter) PostSequenceElderberry(ctx interface{}, batchesData interface{}) *SequenceSenderElderberry_PostSequenceElderberry_Call
PostSequenceElderberry is a helper method to define mock.On call
- ctx context.Context
- batchesData [][]byte
type SequenceSenderElderberry_PostSequenceElderberry_Call ¶
SequenceSenderElderberry_PostSequenceElderberry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceElderberry'
func (*SequenceSenderElderberry_PostSequenceElderberry_Call) Return ¶
func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *SequenceSenderElderberry_PostSequenceElderberry_Call
func (*SequenceSenderElderberry_PostSequenceElderberry_Call) Run ¶
func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *SequenceSenderElderberry_PostSequenceElderberry_Call
func (*SequenceSenderElderberry_PostSequenceElderberry_Call) RunAndReturn ¶
func (_c *SequenceSenderElderberry_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *SequenceSenderElderberry_PostSequenceElderberry_Call
type SequenceSender_Expecter ¶
type SequenceSender_Expecter struct {
// contains filtered or unexported fields
}
func (*SequenceSender_Expecter) PostSequenceBanana ¶
func (_e *SequenceSender_Expecter) PostSequenceBanana(ctx interface{}, sequence interface{}) *SequenceSender_PostSequenceBanana_Call
PostSequenceBanana is a helper method to define mock.On call
- ctx context.Context
- sequence etherman.SequenceBanana
func (*SequenceSender_Expecter) PostSequenceElderberry ¶
func (_e *SequenceSender_Expecter) PostSequenceElderberry(ctx interface{}, batchesData interface{}) *SequenceSender_PostSequenceElderberry_Call
PostSequenceElderberry is a helper method to define mock.On call
- ctx context.Context
- batchesData [][]byte
type SequenceSender_PostSequenceBanana_Call ¶
SequenceSender_PostSequenceBanana_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceBanana'
func (*SequenceSender_PostSequenceBanana_Call) Return ¶
func (_c *SequenceSender_PostSequenceBanana_Call) Return(_a0 []byte, _a1 error) *SequenceSender_PostSequenceBanana_Call
func (*SequenceSender_PostSequenceBanana_Call) Run ¶
func (_c *SequenceSender_PostSequenceBanana_Call) Run(run func(ctx context.Context, sequence etherman.SequenceBanana)) *SequenceSender_PostSequenceBanana_Call
func (*SequenceSender_PostSequenceBanana_Call) RunAndReturn ¶
func (_c *SequenceSender_PostSequenceBanana_Call) RunAndReturn(run func(context.Context, etherman.SequenceBanana) ([]byte, error)) *SequenceSender_PostSequenceBanana_Call
type SequenceSender_PostSequenceElderberry_Call ¶
SequenceSender_PostSequenceElderberry_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostSequenceElderberry'
func (*SequenceSender_PostSequenceElderberry_Call) Return ¶
func (_c *SequenceSender_PostSequenceElderberry_Call) Return(_a0 []byte, _a1 error) *SequenceSender_PostSequenceElderberry_Call
func (*SequenceSender_PostSequenceElderberry_Call) Run ¶
func (_c *SequenceSender_PostSequenceElderberry_Call) Run(run func(ctx context.Context, batchesData [][]byte)) *SequenceSender_PostSequenceElderberry_Call
func (*SequenceSender_PostSequenceElderberry_Call) RunAndReturn ¶
func (_c *SequenceSender_PostSequenceElderberry_Call) RunAndReturn(run func(context.Context, [][]byte) ([]byte, error)) *SequenceSender_PostSequenceElderberry_Call