Documentation
¶
Index ¶
- type L1InfoTreeQuerier
- func (_m *L1InfoTreeQuerier) EXPECT() *L1InfoTreeQuerier_Expecter
- func (_m *L1InfoTreeQuerier) GetInfoByGlobalExitRoot(ger common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeQuerier) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeQuerier) GetLastL1InfoTreeRoot(ctx context.Context) (types.Root, error)
- func (_m *L1InfoTreeQuerier) IsUpToDate(ctx context.Context, l1Client aggkittypes.BaseEthereumClienter) (bool, error)
- type L1InfoTreeQuerier_Expecter
- func (_e *L1InfoTreeQuerier_Expecter) GetInfoByGlobalExitRoot(ger interface{}) *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
- func (_e *L1InfoTreeQuerier_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreeQuerier_GetInfoByIndex_Call
- func (_e *L1InfoTreeQuerier_Expecter) GetLastL1InfoTreeRoot(ctx interface{}) *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
- func (_e *L1InfoTreeQuerier_Expecter) IsUpToDate(ctx interface{}, l1Client interface{}) *L1InfoTreeQuerier_IsUpToDate_Call
- type L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
- func (_c *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
- func (_c *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) Run(run func(ger common.Hash)) *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
- func (_c *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) RunAndReturn(run func(common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
- type L1InfoTreeQuerier_GetInfoByIndex_Call
- func (_c *L1InfoTreeQuerier_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeQuerier_GetInfoByIndex_Call
- func (_c *L1InfoTreeQuerier_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeQuerier_GetInfoByIndex_Call
- func (_c *L1InfoTreeQuerier_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeQuerier_GetInfoByIndex_Call
- type L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
- func (_c *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) Return(_a0 types.Root, _a1 error) *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
- func (_c *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) Run(run func(ctx context.Context)) *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
- func (_c *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) RunAndReturn(run func(context.Context) (types.Root, error)) *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
- type L1InfoTreeQuerier_IsUpToDate_Call
- func (_c *L1InfoTreeQuerier_IsUpToDate_Call) Return(_a0 bool, _a1 error) *L1InfoTreeQuerier_IsUpToDate_Call
- func (_c *L1InfoTreeQuerier_IsUpToDate_Call) Run(run func(ctx context.Context, l1Client aggkittypes.BaseEthereumClienter)) *L1InfoTreeQuerier_IsUpToDate_Call
- func (_c *L1InfoTreeQuerier_IsUpToDate_Call) RunAndReturn(run func(context.Context, aggkittypes.BaseEthereumClienter) (bool, error)) *L1InfoTreeQuerier_IsUpToDate_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type L1InfoTreeQuerier ¶
L1InfoTreeQuerier is an autogenerated mock type for the L1InfoTreeQuerier type
func NewL1InfoTreeQuerier ¶
func NewL1InfoTreeQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *L1InfoTreeQuerier
NewL1InfoTreeQuerier creates a new instance of L1InfoTreeQuerier. 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 (*L1InfoTreeQuerier) EXPECT ¶
func (_m *L1InfoTreeQuerier) EXPECT() *L1InfoTreeQuerier_Expecter
func (*L1InfoTreeQuerier) GetInfoByGlobalExitRoot ¶
func (_m *L1InfoTreeQuerier) GetInfoByGlobalExitRoot(ger common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)
GetInfoByGlobalExitRoot provides a mock function with given fields: ger
func (*L1InfoTreeQuerier) GetInfoByIndex ¶
func (_m *L1InfoTreeQuerier) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
GetInfoByIndex provides a mock function with given fields: ctx, index
func (*L1InfoTreeQuerier) GetLastL1InfoTreeRoot ¶
GetLastL1InfoTreeRoot provides a mock function with given fields: ctx
func (*L1InfoTreeQuerier) IsUpToDate ¶
func (_m *L1InfoTreeQuerier) IsUpToDate(ctx context.Context, l1Client aggkittypes.BaseEthereumClienter) (bool, error)
IsUpToDate provides a mock function with given fields: ctx, l1Client
type L1InfoTreeQuerier_Expecter ¶
type L1InfoTreeQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*L1InfoTreeQuerier_Expecter) GetInfoByGlobalExitRoot ¶
func (_e *L1InfoTreeQuerier_Expecter) GetInfoByGlobalExitRoot(ger interface{}) *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
GetInfoByGlobalExitRoot is a helper method to define mock.On call
- ger common.Hash
func (*L1InfoTreeQuerier_Expecter) GetInfoByIndex ¶
func (_e *L1InfoTreeQuerier_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreeQuerier_GetInfoByIndex_Call
GetInfoByIndex is a helper method to define mock.On call
- ctx context.Context
- index uint32
func (*L1InfoTreeQuerier_Expecter) GetLastL1InfoTreeRoot ¶
func (_e *L1InfoTreeQuerier_Expecter) GetLastL1InfoTreeRoot(ctx interface{}) *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
GetLastL1InfoTreeRoot is a helper method to define mock.On call
- ctx context.Context
func (*L1InfoTreeQuerier_Expecter) IsUpToDate ¶
func (_e *L1InfoTreeQuerier_Expecter) IsUpToDate(ctx interface{}, l1Client interface{}) *L1InfoTreeQuerier_IsUpToDate_Call
IsUpToDate is a helper method to define mock.On call
- ctx context.Context
- l1Client aggkittypes.BaseEthereumClienter
type L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call ¶
L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInfoByGlobalExitRoot'
func (*L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) Return ¶
func (_c *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
func (*L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) Run ¶
func (_c *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) Run(run func(ger common.Hash)) *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
func (*L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) RunAndReturn ¶
func (_c *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call) RunAndReturn(run func(common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeQuerier_GetInfoByGlobalExitRoot_Call
type L1InfoTreeQuerier_GetInfoByIndex_Call ¶
L1InfoTreeQuerier_GetInfoByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInfoByIndex'
func (*L1InfoTreeQuerier_GetInfoByIndex_Call) Return ¶
func (_c *L1InfoTreeQuerier_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeQuerier_GetInfoByIndex_Call
func (*L1InfoTreeQuerier_GetInfoByIndex_Call) Run ¶
func (_c *L1InfoTreeQuerier_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeQuerier_GetInfoByIndex_Call
func (*L1InfoTreeQuerier_GetInfoByIndex_Call) RunAndReturn ¶
func (_c *L1InfoTreeQuerier_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeQuerier_GetInfoByIndex_Call
type L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call ¶
L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL1InfoTreeRoot'
func (*L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) Return ¶
func (_c *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) Return(_a0 types.Root, _a1 error) *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
func (*L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) Run ¶
func (_c *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) Run(run func(ctx context.Context)) *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
func (*L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) RunAndReturn ¶
func (_c *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call) RunAndReturn(run func(context.Context) (types.Root, error)) *L1InfoTreeQuerier_GetLastL1InfoTreeRoot_Call
type L1InfoTreeQuerier_IsUpToDate_Call ¶
L1InfoTreeQuerier_IsUpToDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsUpToDate'
func (*L1InfoTreeQuerier_IsUpToDate_Call) Return ¶
func (_c *L1InfoTreeQuerier_IsUpToDate_Call) Return(_a0 bool, _a1 error) *L1InfoTreeQuerier_IsUpToDate_Call
func (*L1InfoTreeQuerier_IsUpToDate_Call) Run ¶
func (_c *L1InfoTreeQuerier_IsUpToDate_Call) Run(run func(ctx context.Context, l1Client aggkittypes.BaseEthereumClienter)) *L1InfoTreeQuerier_IsUpToDate_Call
func (*L1InfoTreeQuerier_IsUpToDate_Call) RunAndReturn ¶
func (_c *L1InfoTreeQuerier_IsUpToDate_Call) RunAndReturn(run func(context.Context, aggkittypes.BaseEthereumClienter) (bool, error)) *L1InfoTreeQuerier_IsUpToDate_Call