Documentation
¶
Index ¶
- type AgglayerClientInterface
- type AgglayerClientInterface_Expecter
- type AgglayerClientInterface_GetCertificateHeader_Call
- func (_c *AgglayerClientInterface_GetCertificateHeader_Call) Return(_a0 *types.CertificateHeader, _a1 error) *AgglayerClientInterface_GetCertificateHeader_Call
- func (_c *AgglayerClientInterface_GetCertificateHeader_Call) Run(run func(ctx context.Context, certificateID common.Hash)) *AgglayerClientInterface_GetCertificateHeader_Call
- func (_c *AgglayerClientInterface_GetCertificateHeader_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.CertificateHeader, error)) *AgglayerClientInterface_GetCertificateHeader_Call
- type FlowInterface
- func (_m *FlowInterface) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)
- func (_m *FlowInterface) EXPECT() *FlowInterface_Expecter
- func (_m *FlowInterface) GenerateBuildParams(ctx context.Context, preParams *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)
- type FlowInterface_BuildCertificate_Call
- func (_c *FlowInterface_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *FlowInterface_BuildCertificate_Call
- func (_c *FlowInterface_BuildCertificate_Call) Run(run func(ctx context.Context, buildParams *types.CertificateBuildParams)) *FlowInterface_BuildCertificate_Call
- func (_c *FlowInterface_BuildCertificate_Call) RunAndReturn(...) *FlowInterface_BuildCertificate_Call
- type FlowInterface_Expecter
- type FlowInterface_GenerateBuildParams_Call
- func (_c *FlowInterface_GenerateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *FlowInterface_GenerateBuildParams_Call
- func (_c *FlowInterface_GenerateBuildParams_Call) Run(run func(ctx context.Context, preParams *types.CertificatePreBuildParams)) *FlowInterface_GenerateBuildParams_Call
- func (_c *FlowInterface_GenerateBuildParams_Call) RunAndReturn(...) *FlowInterface_GenerateBuildParams_Call
- type L1InfoTreeRootByLeafQuerier
- type L1InfoTreeRootByLeafQuerier_Expecter
- type L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call
- func (_c *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) Return(_a0 *types.Root, _a1 error) *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call
- func (_c *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) Run(run func(ctx context.Context, leafCount uint32)) *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call
- func (_c *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) RunAndReturn(run func(context.Context, uint32) (*types.Root, error)) *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AgglayerClientInterface ¶
AgglayerClientInterface is an autogenerated mock type for the AgglayerClientInterface type
func NewAgglayerClientInterface ¶
func NewAgglayerClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *AgglayerClientInterface
NewAgglayerClientInterface creates a new instance of AgglayerClientInterface. 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 (*AgglayerClientInterface) EXPECT ¶
func (_m *AgglayerClientInterface) EXPECT() *AgglayerClientInterface_Expecter
func (*AgglayerClientInterface) GetCertificateHeader ¶
func (_m *AgglayerClientInterface) GetCertificateHeader(ctx context.Context, certificateID common.Hash) (*types.CertificateHeader, error)
GetCertificateHeader provides a mock function with given fields: ctx, certificateID
type AgglayerClientInterface_Expecter ¶
type AgglayerClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*AgglayerClientInterface_Expecter) GetCertificateHeader ¶
func (_e *AgglayerClientInterface_Expecter) GetCertificateHeader(ctx interface{}, certificateID interface{}) *AgglayerClientInterface_GetCertificateHeader_Call
GetCertificateHeader is a helper method to define mock.On call
- ctx context.Context
- certificateID common.Hash
type AgglayerClientInterface_GetCertificateHeader_Call ¶
AgglayerClientInterface_GetCertificateHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificateHeader'
func (*AgglayerClientInterface_GetCertificateHeader_Call) Return ¶
func (_c *AgglayerClientInterface_GetCertificateHeader_Call) Return(_a0 *types.CertificateHeader, _a1 error) *AgglayerClientInterface_GetCertificateHeader_Call
func (*AgglayerClientInterface_GetCertificateHeader_Call) Run ¶
func (_c *AgglayerClientInterface_GetCertificateHeader_Call) Run(run func(ctx context.Context, certificateID common.Hash)) *AgglayerClientInterface_GetCertificateHeader_Call
func (*AgglayerClientInterface_GetCertificateHeader_Call) RunAndReturn ¶
func (_c *AgglayerClientInterface_GetCertificateHeader_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.CertificateHeader, error)) *AgglayerClientInterface_GetCertificateHeader_Call
type FlowInterface ¶
FlowInterface is an autogenerated mock type for the FlowInterface type
func NewFlowInterface ¶
func NewFlowInterface(t interface {
mock.TestingT
Cleanup(func())
}) *FlowInterface
NewFlowInterface creates a new instance of FlowInterface. 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 (*FlowInterface) BuildCertificate ¶
func (_m *FlowInterface) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)
BuildCertificate provides a mock function with given fields: ctx, buildParams
func (*FlowInterface) EXPECT ¶
func (_m *FlowInterface) EXPECT() *FlowInterface_Expecter
func (*FlowInterface) GenerateBuildParams ¶
func (_m *FlowInterface) GenerateBuildParams(ctx context.Context, preParams *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)
GenerateBuildParams provides a mock function with given fields: ctx, preParams
type FlowInterface_BuildCertificate_Call ¶
FlowInterface_BuildCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildCertificate'
func (*FlowInterface_BuildCertificate_Call) Return ¶
func (_c *FlowInterface_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *FlowInterface_BuildCertificate_Call
func (*FlowInterface_BuildCertificate_Call) Run ¶
func (_c *FlowInterface_BuildCertificate_Call) Run(run func(ctx context.Context, buildParams *types.CertificateBuildParams)) *FlowInterface_BuildCertificate_Call
func (*FlowInterface_BuildCertificate_Call) RunAndReturn ¶
func (_c *FlowInterface_BuildCertificate_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) (*agglayertypes.Certificate, error)) *FlowInterface_BuildCertificate_Call
type FlowInterface_Expecter ¶
type FlowInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*FlowInterface_Expecter) BuildCertificate ¶
func (_e *FlowInterface_Expecter) BuildCertificate(ctx interface{}, buildParams interface{}) *FlowInterface_BuildCertificate_Call
BuildCertificate is a helper method to define mock.On call
- ctx context.Context
- buildParams *types.CertificateBuildParams
func (*FlowInterface_Expecter) GenerateBuildParams ¶
func (_e *FlowInterface_Expecter) GenerateBuildParams(ctx interface{}, preParams interface{}) *FlowInterface_GenerateBuildParams_Call
GenerateBuildParams is a helper method to define mock.On call
- ctx context.Context
- preParams *types.CertificatePreBuildParams
type FlowInterface_GenerateBuildParams_Call ¶
FlowInterface_GenerateBuildParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateBuildParams'
func (*FlowInterface_GenerateBuildParams_Call) Return ¶
func (_c *FlowInterface_GenerateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *FlowInterface_GenerateBuildParams_Call
func (*FlowInterface_GenerateBuildParams_Call) Run ¶
func (_c *FlowInterface_GenerateBuildParams_Call) Run(run func(ctx context.Context, preParams *types.CertificatePreBuildParams)) *FlowInterface_GenerateBuildParams_Call
func (*FlowInterface_GenerateBuildParams_Call) RunAndReturn ¶
func (_c *FlowInterface_GenerateBuildParams_Call) RunAndReturn(run func(context.Context, *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)) *FlowInterface_GenerateBuildParams_Call
type L1InfoTreeRootByLeafQuerier ¶
L1InfoTreeRootByLeafQuerier is an autogenerated mock type for the L1InfoTreeRootByLeafQuerier type
func NewL1InfoTreeRootByLeafQuerier ¶
func NewL1InfoTreeRootByLeafQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *L1InfoTreeRootByLeafQuerier
NewL1InfoTreeRootByLeafQuerier creates a new instance of L1InfoTreeRootByLeafQuerier. 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 (*L1InfoTreeRootByLeafQuerier) EXPECT ¶
func (_m *L1InfoTreeRootByLeafQuerier) EXPECT() *L1InfoTreeRootByLeafQuerier_Expecter
func (*L1InfoTreeRootByLeafQuerier) GetL1InfoRootByLeafIndex ¶
func (_m *L1InfoTreeRootByLeafQuerier) GetL1InfoRootByLeafIndex(ctx context.Context, leafCount uint32) (*types.Root, error)
GetL1InfoRootByLeafIndex provides a mock function with given fields: ctx, leafCount
type L1InfoTreeRootByLeafQuerier_Expecter ¶
type L1InfoTreeRootByLeafQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*L1InfoTreeRootByLeafQuerier_Expecter) GetL1InfoRootByLeafIndex ¶
func (_e *L1InfoTreeRootByLeafQuerier_Expecter) GetL1InfoRootByLeafIndex(ctx interface{}, leafCount interface{}) *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call
GetL1InfoRootByLeafIndex is a helper method to define mock.On call
- ctx context.Context
- leafCount uint32
type L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call ¶
L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoRootByLeafIndex'
func (*L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) Return ¶
func (_c *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) Return(_a0 *types.Root, _a1 error) *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call
func (*L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) Run ¶
func (_c *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) Run(run func(ctx context.Context, leafCount uint32)) *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call
func (*L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) RunAndReturn ¶
func (_c *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call) RunAndReturn(run func(context.Context, uint32) (*types.Root, error)) *L1InfoTreeRootByLeafQuerier_GetL1InfoRootByLeafIndex_Call