Documentation ¶
Index ¶
- type SequencerControl
- func (_m *SequencerControl) EXPECT() *SequencerControl_Expecter
- func (_m *SequencerControl) LatestUnsafeBlock(ctx context.Context) (eth.BlockInfo, error)
- func (_m *SequencerControl) PostUnsafePayload(ctx context.Context, payload *eth.ExecutionPayloadEnvelope) error
- func (_m *SequencerControl) SequencerActive(ctx context.Context) (bool, error)
- func (_m *SequencerControl) StartSequencer(ctx context.Context, hash common.Hash) error
- func (_m *SequencerControl) StopSequencer(ctx context.Context) (common.Hash, error)
- type SequencerControl_Expecter
- func (_e *SequencerControl_Expecter) LatestUnsafeBlock(ctx interface{}) *SequencerControl_LatestUnsafeBlock_Call
- func (_e *SequencerControl_Expecter) PostUnsafePayload(ctx interface{}, payload interface{}) *SequencerControl_PostUnsafePayload_Call
- func (_e *SequencerControl_Expecter) SequencerActive(ctx interface{}) *SequencerControl_SequencerActive_Call
- func (_e *SequencerControl_Expecter) StartSequencer(ctx interface{}, hash interface{}) *SequencerControl_StartSequencer_Call
- func (_e *SequencerControl_Expecter) StopSequencer(ctx interface{}) *SequencerControl_StopSequencer_Call
- type SequencerControl_LatestUnsafeBlock_Call
- func (_c *SequencerControl_LatestUnsafeBlock_Call) Return(_a0 eth.BlockInfo, _a1 error) *SequencerControl_LatestUnsafeBlock_Call
- func (_c *SequencerControl_LatestUnsafeBlock_Call) Run(run func(ctx context.Context)) *SequencerControl_LatestUnsafeBlock_Call
- func (_c *SequencerControl_LatestUnsafeBlock_Call) RunAndReturn(run func(context.Context) (eth.BlockInfo, error)) *SequencerControl_LatestUnsafeBlock_Call
- type SequencerControl_PostUnsafePayload_Call
- func (_c *SequencerControl_PostUnsafePayload_Call) Return(_a0 error) *SequencerControl_PostUnsafePayload_Call
- func (_c *SequencerControl_PostUnsafePayload_Call) Run(run func(ctx context.Context, payload *eth.ExecutionPayloadEnvelope)) *SequencerControl_PostUnsafePayload_Call
- func (_c *SequencerControl_PostUnsafePayload_Call) RunAndReturn(run func(context.Context, *eth.ExecutionPayloadEnvelope) error) *SequencerControl_PostUnsafePayload_Call
- type SequencerControl_SequencerActive_Call
- func (_c *SequencerControl_SequencerActive_Call) Return(_a0 bool, _a1 error) *SequencerControl_SequencerActive_Call
- func (_c *SequencerControl_SequencerActive_Call) Run(run func(ctx context.Context)) *SequencerControl_SequencerActive_Call
- func (_c *SequencerControl_SequencerActive_Call) RunAndReturn(run func(context.Context) (bool, error)) *SequencerControl_SequencerActive_Call
- type SequencerControl_StartSequencer_Call
- func (_c *SequencerControl_StartSequencer_Call) Return(_a0 error) *SequencerControl_StartSequencer_Call
- func (_c *SequencerControl_StartSequencer_Call) Run(run func(ctx context.Context, hash common.Hash)) *SequencerControl_StartSequencer_Call
- func (_c *SequencerControl_StartSequencer_Call) RunAndReturn(run func(context.Context, common.Hash) error) *SequencerControl_StartSequencer_Call
- type SequencerControl_StopSequencer_Call
- func (_c *SequencerControl_StopSequencer_Call) Return(_a0 common.Hash, _a1 error) *SequencerControl_StopSequencer_Call
- func (_c *SequencerControl_StopSequencer_Call) Run(run func(ctx context.Context)) *SequencerControl_StopSequencer_Call
- func (_c *SequencerControl_StopSequencer_Call) RunAndReturn(run func(context.Context) (common.Hash, error)) *SequencerControl_StopSequencer_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SequencerControl ¶
SequencerControl is an autogenerated mock type for the SequencerControl type
func NewSequencerControl ¶
func NewSequencerControl(t interface { mock.TestingT Cleanup(func()) }) *SequencerControl
NewSequencerControl creates a new instance of SequencerControl. 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 (*SequencerControl) EXPECT ¶
func (_m *SequencerControl) EXPECT() *SequencerControl_Expecter
func (*SequencerControl) LatestUnsafeBlock ¶
LatestUnsafeBlock provides a mock function with given fields: ctx
func (*SequencerControl) PostUnsafePayload ¶
func (_m *SequencerControl) PostUnsafePayload(ctx context.Context, payload *eth.ExecutionPayloadEnvelope) error
PostUnsafePayload provides a mock function with given fields: ctx, payload
func (*SequencerControl) SequencerActive ¶
func (_m *SequencerControl) SequencerActive(ctx context.Context) (bool, error)
SequencerActive provides a mock function with given fields: ctx
func (*SequencerControl) StartSequencer ¶
StartSequencer provides a mock function with given fields: ctx, hash
func (*SequencerControl) StopSequencer ¶
StopSequencer provides a mock function with given fields: ctx
type SequencerControl_Expecter ¶
type SequencerControl_Expecter struct {
// contains filtered or unexported fields
}
func (*SequencerControl_Expecter) LatestUnsafeBlock ¶
func (_e *SequencerControl_Expecter) LatestUnsafeBlock(ctx interface{}) *SequencerControl_LatestUnsafeBlock_Call
LatestUnsafeBlock is a helper method to define mock.On call
- ctx context.Context
func (*SequencerControl_Expecter) PostUnsafePayload ¶
func (_e *SequencerControl_Expecter) PostUnsafePayload(ctx interface{}, payload interface{}) *SequencerControl_PostUnsafePayload_Call
PostUnsafePayload is a helper method to define mock.On call
- ctx context.Context
- payload *eth.ExecutionPayloadEnvelope
func (*SequencerControl_Expecter) SequencerActive ¶
func (_e *SequencerControl_Expecter) SequencerActive(ctx interface{}) *SequencerControl_SequencerActive_Call
SequencerActive is a helper method to define mock.On call
- ctx context.Context
func (*SequencerControl_Expecter) StartSequencer ¶
func (_e *SequencerControl_Expecter) StartSequencer(ctx interface{}, hash interface{}) *SequencerControl_StartSequencer_Call
StartSequencer is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
func (*SequencerControl_Expecter) StopSequencer ¶
func (_e *SequencerControl_Expecter) StopSequencer(ctx interface{}) *SequencerControl_StopSequencer_Call
StopSequencer is a helper method to define mock.On call
- ctx context.Context
type SequencerControl_LatestUnsafeBlock_Call ¶
SequencerControl_LatestUnsafeBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestUnsafeBlock'
func (*SequencerControl_LatestUnsafeBlock_Call) Return ¶
func (_c *SequencerControl_LatestUnsafeBlock_Call) Return(_a0 eth.BlockInfo, _a1 error) *SequencerControl_LatestUnsafeBlock_Call
func (*SequencerControl_LatestUnsafeBlock_Call) Run ¶
func (_c *SequencerControl_LatestUnsafeBlock_Call) Run(run func(ctx context.Context)) *SequencerControl_LatestUnsafeBlock_Call
func (*SequencerControl_LatestUnsafeBlock_Call) RunAndReturn ¶
func (_c *SequencerControl_LatestUnsafeBlock_Call) RunAndReturn(run func(context.Context) (eth.BlockInfo, error)) *SequencerControl_LatestUnsafeBlock_Call
type SequencerControl_PostUnsafePayload_Call ¶
SequencerControl_PostUnsafePayload_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PostUnsafePayload'
func (*SequencerControl_PostUnsafePayload_Call) Return ¶
func (_c *SequencerControl_PostUnsafePayload_Call) Return(_a0 error) *SequencerControl_PostUnsafePayload_Call
func (*SequencerControl_PostUnsafePayload_Call) Run ¶
func (_c *SequencerControl_PostUnsafePayload_Call) Run(run func(ctx context.Context, payload *eth.ExecutionPayloadEnvelope)) *SequencerControl_PostUnsafePayload_Call
func (*SequencerControl_PostUnsafePayload_Call) RunAndReturn ¶
func (_c *SequencerControl_PostUnsafePayload_Call) RunAndReturn(run func(context.Context, *eth.ExecutionPayloadEnvelope) error) *SequencerControl_PostUnsafePayload_Call
type SequencerControl_SequencerActive_Call ¶
SequencerControl_SequencerActive_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SequencerActive'
func (*SequencerControl_SequencerActive_Call) Return ¶
func (_c *SequencerControl_SequencerActive_Call) Return(_a0 bool, _a1 error) *SequencerControl_SequencerActive_Call
func (*SequencerControl_SequencerActive_Call) Run ¶
func (_c *SequencerControl_SequencerActive_Call) Run(run func(ctx context.Context)) *SequencerControl_SequencerActive_Call
func (*SequencerControl_SequencerActive_Call) RunAndReturn ¶
func (_c *SequencerControl_SequencerActive_Call) RunAndReturn(run func(context.Context) (bool, error)) *SequencerControl_SequencerActive_Call
type SequencerControl_StartSequencer_Call ¶
SequencerControl_StartSequencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartSequencer'
func (*SequencerControl_StartSequencer_Call) Return ¶
func (_c *SequencerControl_StartSequencer_Call) Return(_a0 error) *SequencerControl_StartSequencer_Call
func (*SequencerControl_StartSequencer_Call) Run ¶
func (_c *SequencerControl_StartSequencer_Call) Run(run func(ctx context.Context, hash common.Hash)) *SequencerControl_StartSequencer_Call
func (*SequencerControl_StartSequencer_Call) RunAndReturn ¶
func (_c *SequencerControl_StartSequencer_Call) RunAndReturn(run func(context.Context, common.Hash) error) *SequencerControl_StartSequencer_Call
type SequencerControl_StopSequencer_Call ¶
SequencerControl_StopSequencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StopSequencer'
func (*SequencerControl_StopSequencer_Call) Return ¶
func (_c *SequencerControl_StopSequencer_Call) Return(_a0 common.Hash, _a1 error) *SequencerControl_StopSequencer_Call
func (*SequencerControl_StopSequencer_Call) Run ¶
func (_c *SequencerControl_StopSequencer_Call) Run(run func(ctx context.Context)) *SequencerControl_StopSequencer_Call
func (*SequencerControl_StopSequencer_Call) RunAndReturn ¶
func (_c *SequencerControl_StopSequencer_Call) RunAndReturn(run func(context.Context) (common.Hash, error)) *SequencerControl_StopSequencer_Call