Documentation
¶
Index ¶
- type Bridger
- func (_m *Bridger) EXPECT() *Bridger_Expecter
- func (_m *Bridger) GetBridgesPaged(ctx context.Context, pageNumber uint32, pageSize uint32, depositCount *uint64, ...) ([]*bridgesync.Bridge, int, error)
- func (_m *Bridger) GetClaimsPaged(ctx context.Context, page uint32, pageSize uint32, networkIDs []uint32, ...) ([]*bridgesync.Claim, int, error)
- func (_m *Bridger) GetContractDepositCount(ctx context.Context) (uint32, error)
- func (_m *Bridger) GetLastReorgEvent(ctx context.Context) (*bridgesync.LastReorg, error)
- func (_m *Bridger) GetLastRoot(ctx context.Context) (*types.Root, error)
- func (_m *Bridger) GetLegacyTokenMigrations(ctx context.Context, pageNumber uint32, pageSize uint32) ([]*bridgesync.LegacyTokenMigration, int, error)
- func (_m *Bridger) GetProof(ctx context.Context, depositCount uint32, localExitRoot common.Hash) (types.Proof, error)
- func (_m *Bridger) GetRootByLER(ctx context.Context, ler common.Hash) (*types.Root, error)
- func (_m *Bridger) GetTokenMappings(ctx context.Context, pageNumber uint32, pageSize uint32) ([]*bridgesync.TokenMapping, int, error)
- type Bridger_Expecter
- func (_e *Bridger_Expecter) GetBridgesPaged(ctx interface{}, pageNumber interface{}, pageSize interface{}, ...) *Bridger_GetBridgesPaged_Call
- func (_e *Bridger_Expecter) GetClaimsPaged(ctx interface{}, page interface{}, pageSize interface{}, ...) *Bridger_GetClaimsPaged_Call
- func (_e *Bridger_Expecter) GetContractDepositCount(ctx interface{}) *Bridger_GetContractDepositCount_Call
- func (_e *Bridger_Expecter) GetLastReorgEvent(ctx interface{}) *Bridger_GetLastReorgEvent_Call
- func (_e *Bridger_Expecter) GetLastRoot(ctx interface{}) *Bridger_GetLastRoot_Call
- func (_e *Bridger_Expecter) GetLegacyTokenMigrations(ctx interface{}, pageNumber interface{}, pageSize interface{}) *Bridger_GetLegacyTokenMigrations_Call
- func (_e *Bridger_Expecter) GetProof(ctx interface{}, depositCount interface{}, localExitRoot interface{}) *Bridger_GetProof_Call
- func (_e *Bridger_Expecter) GetRootByLER(ctx interface{}, ler interface{}) *Bridger_GetRootByLER_Call
- func (_e *Bridger_Expecter) GetTokenMappings(ctx interface{}, pageNumber interface{}, pageSize interface{}) *Bridger_GetTokenMappings_Call
- type Bridger_GetBridgesPaged_Call
- type Bridger_GetClaimsPaged_Call
- type Bridger_GetContractDepositCount_Call
- func (_c *Bridger_GetContractDepositCount_Call) Return(_a0 uint32, _a1 error) *Bridger_GetContractDepositCount_Call
- func (_c *Bridger_GetContractDepositCount_Call) Run(run func(ctx context.Context)) *Bridger_GetContractDepositCount_Call
- func (_c *Bridger_GetContractDepositCount_Call) RunAndReturn(run func(context.Context) (uint32, error)) *Bridger_GetContractDepositCount_Call
- type Bridger_GetLastReorgEvent_Call
- func (_c *Bridger_GetLastReorgEvent_Call) Return(_a0 *bridgesync.LastReorg, _a1 error) *Bridger_GetLastReorgEvent_Call
- func (_c *Bridger_GetLastReorgEvent_Call) Run(run func(ctx context.Context)) *Bridger_GetLastReorgEvent_Call
- func (_c *Bridger_GetLastReorgEvent_Call) RunAndReturn(run func(context.Context) (*bridgesync.LastReorg, error)) *Bridger_GetLastReorgEvent_Call
- type Bridger_GetLastRoot_Call
- func (_c *Bridger_GetLastRoot_Call) Return(_a0 *types.Root, _a1 error) *Bridger_GetLastRoot_Call
- func (_c *Bridger_GetLastRoot_Call) Run(run func(ctx context.Context)) *Bridger_GetLastRoot_Call
- func (_c *Bridger_GetLastRoot_Call) RunAndReturn(run func(context.Context) (*types.Root, error)) *Bridger_GetLastRoot_Call
- type Bridger_GetLegacyTokenMigrations_Call
- func (_c *Bridger_GetLegacyTokenMigrations_Call) Return(_a0 []*bridgesync.LegacyTokenMigration, _a1 int, _a2 error) *Bridger_GetLegacyTokenMigrations_Call
- func (_c *Bridger_GetLegacyTokenMigrations_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32)) *Bridger_GetLegacyTokenMigrations_Call
- func (_c *Bridger_GetLegacyTokenMigrations_Call) RunAndReturn(...) *Bridger_GetLegacyTokenMigrations_Call
- type Bridger_GetProof_Call
- func (_c *Bridger_GetProof_Call) Return(_a0 types.Proof, _a1 error) *Bridger_GetProof_Call
- func (_c *Bridger_GetProof_Call) Run(run func(ctx context.Context, depositCount uint32, localExitRoot common.Hash)) *Bridger_GetProof_Call
- func (_c *Bridger_GetProof_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (types.Proof, error)) *Bridger_GetProof_Call
- type Bridger_GetRootByLER_Call
- func (_c *Bridger_GetRootByLER_Call) Return(_a0 *types.Root, _a1 error) *Bridger_GetRootByLER_Call
- func (_c *Bridger_GetRootByLER_Call) Run(run func(ctx context.Context, ler common.Hash)) *Bridger_GetRootByLER_Call
- func (_c *Bridger_GetRootByLER_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Root, error)) *Bridger_GetRootByLER_Call
- type Bridger_GetTokenMappings_Call
- func (_c *Bridger_GetTokenMappings_Call) Return(_a0 []*bridgesync.TokenMapping, _a1 int, _a2 error) *Bridger_GetTokenMappings_Call
- func (_c *Bridger_GetTokenMappings_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32)) *Bridger_GetTokenMappings_Call
- func (_c *Bridger_GetTokenMappings_Call) RunAndReturn(...) *Bridger_GetTokenMappings_Call
- type L1InfoTreer
- func (_m *L1InfoTreer) EXPECT() *L1InfoTreer_Expecter
- func (_m *L1InfoTreer) GetFirstInfo() (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreer) GetFirstInfoAfterBlock(blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreer) GetFirstL1InfoWithRollupExitRoot(rollupExitRoot common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreer) GetFirstVerifiedBatches(rollupID uint32) (*l1infotreesync.VerifyBatches, error)
- func (_m *L1InfoTreer) GetFirstVerifiedBatchesAfterBlock(rollupID uint32, blockNum uint64) (*l1infotreesync.VerifyBatches, error)
- func (_m *L1InfoTreer) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreer) GetLastInfo() (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreer) GetLastVerifiedBatches(rollupID uint32) (*l1infotreesync.VerifyBatches, error)
- func (_m *L1InfoTreer) GetLocalExitRoot(ctx context.Context, networkID uint32, rollupExitRoot common.Hash) (common.Hash, error)
- func (_m *L1InfoTreer) GetRollupExitTreeMerkleProof(ctx context.Context, networkID uint32, root common.Hash) (types.Proof, error)
- type L1InfoTreer_Expecter
- func (_e *L1InfoTreer_Expecter) GetFirstInfo() *L1InfoTreer_GetFirstInfo_Call
- func (_e *L1InfoTreer_Expecter) GetFirstInfoAfterBlock(blockNum interface{}) *L1InfoTreer_GetFirstInfoAfterBlock_Call
- func (_e *L1InfoTreer_Expecter) GetFirstL1InfoWithRollupExitRoot(rollupExitRoot interface{}) *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
- func (_e *L1InfoTreer_Expecter) GetFirstVerifiedBatches(rollupID interface{}) *L1InfoTreer_GetFirstVerifiedBatches_Call
- func (_e *L1InfoTreer_Expecter) GetFirstVerifiedBatchesAfterBlock(rollupID interface{}, blockNum interface{}) *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
- func (_e *L1InfoTreer_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreer_GetInfoByIndex_Call
- func (_e *L1InfoTreer_Expecter) GetLastInfo() *L1InfoTreer_GetLastInfo_Call
- func (_e *L1InfoTreer_Expecter) GetLastVerifiedBatches(rollupID interface{}) *L1InfoTreer_GetLastVerifiedBatches_Call
- func (_e *L1InfoTreer_Expecter) GetLocalExitRoot(ctx interface{}, networkID interface{}, rollupExitRoot interface{}) *L1InfoTreer_GetLocalExitRoot_Call
- func (_e *L1InfoTreer_Expecter) GetRollupExitTreeMerkleProof(ctx interface{}, networkID interface{}, root interface{}) *L1InfoTreer_GetRollupExitTreeMerkleProof_Call
- type L1InfoTreer_GetFirstInfoAfterBlock_Call
- func (_c *L1InfoTreer_GetFirstInfoAfterBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetFirstInfoAfterBlock_Call
- func (_c *L1InfoTreer_GetFirstInfoAfterBlock_Call) Run(run func(blockNum uint64)) *L1InfoTreer_GetFirstInfoAfterBlock_Call
- func (_c *L1InfoTreer_GetFirstInfoAfterBlock_Call) RunAndReturn(run func(uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetFirstInfoAfterBlock_Call
- type L1InfoTreer_GetFirstInfo_Call
- func (_c *L1InfoTreer_GetFirstInfo_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetFirstInfo_Call
- func (_c *L1InfoTreer_GetFirstInfo_Call) Run(run func()) *L1InfoTreer_GetFirstInfo_Call
- func (_c *L1InfoTreer_GetFirstInfo_Call) RunAndReturn(run func() (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetFirstInfo_Call
- type L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
- func (_c *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
- func (_c *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) Run(run func(rollupExitRoot common.Hash)) *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
- func (_c *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) RunAndReturn(run func(common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
- type L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
- func (_c *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
- func (_c *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) Run(run func(rollupID uint32, blockNum uint64)) *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
- func (_c *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) RunAndReturn(run func(uint32, uint64) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
- type L1InfoTreer_GetFirstVerifiedBatches_Call
- func (_c *L1InfoTreer_GetFirstVerifiedBatches_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreer_GetFirstVerifiedBatches_Call
- func (_c *L1InfoTreer_GetFirstVerifiedBatches_Call) Run(run func(rollupID uint32)) *L1InfoTreer_GetFirstVerifiedBatches_Call
- func (_c *L1InfoTreer_GetFirstVerifiedBatches_Call) RunAndReturn(run func(uint32) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreer_GetFirstVerifiedBatches_Call
- type L1InfoTreer_GetInfoByIndex_Call
- func (_c *L1InfoTreer_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetInfoByIndex_Call
- func (_c *L1InfoTreer_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreer_GetInfoByIndex_Call
- func (_c *L1InfoTreer_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetInfoByIndex_Call
- type L1InfoTreer_GetLastInfo_Call
- func (_c *L1InfoTreer_GetLastInfo_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetLastInfo_Call
- func (_c *L1InfoTreer_GetLastInfo_Call) Run(run func()) *L1InfoTreer_GetLastInfo_Call
- func (_c *L1InfoTreer_GetLastInfo_Call) RunAndReturn(run func() (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetLastInfo_Call
- type L1InfoTreer_GetLastVerifiedBatches_Call
- func (_c *L1InfoTreer_GetLastVerifiedBatches_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreer_GetLastVerifiedBatches_Call
- func (_c *L1InfoTreer_GetLastVerifiedBatches_Call) Run(run func(rollupID uint32)) *L1InfoTreer_GetLastVerifiedBatches_Call
- func (_c *L1InfoTreer_GetLastVerifiedBatches_Call) RunAndReturn(run func(uint32) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreer_GetLastVerifiedBatches_Call
- type L1InfoTreer_GetLocalExitRoot_Call
- func (_c *L1InfoTreer_GetLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *L1InfoTreer_GetLocalExitRoot_Call
- func (_c *L1InfoTreer_GetLocalExitRoot_Call) Run(run func(ctx context.Context, networkID uint32, rollupExitRoot common.Hash)) *L1InfoTreer_GetLocalExitRoot_Call
- func (_c *L1InfoTreer_GetLocalExitRoot_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (common.Hash, error)) *L1InfoTreer_GetLocalExitRoot_Call
- type L1InfoTreer_GetRollupExitTreeMerkleProof_Call
- func (_c *L1InfoTreer_GetRollupExitTreeMerkleProof_Call) Return(_a0 types.Proof, _a1 error) *L1InfoTreer_GetRollupExitTreeMerkleProof_Call
- func (_c *L1InfoTreer_GetRollupExitTreeMerkleProof_Call) Run(run func(ctx context.Context, networkID uint32, root common.Hash)) *L1InfoTreer_GetRollupExitTreeMerkleProof_Call
- func (_c *L1InfoTreer_GetRollupExitTreeMerkleProof_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (types.Proof, error)) *L1InfoTreer_GetRollupExitTreeMerkleProof_Call
- type LastGERer
- type LastGERer_Expecter
- type LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call
- func (_c *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) Return(_a0 lastgersync.GlobalExitRootInfo, _a1 error) *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call
- func (_c *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) Run(run func(ctx context.Context, atOrAfterL1InfoTreeIndex uint32)) *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call
- func (_c *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) RunAndReturn(run func(context.Context, uint32) (lastgersync.GlobalExitRootInfo, error)) *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bridger ¶
Bridger is an autogenerated mock type for the Bridger type
func NewBridger ¶
NewBridger creates a new instance of Bridger. 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 (*Bridger) EXPECT ¶
func (_m *Bridger) EXPECT() *Bridger_Expecter
func (*Bridger) GetBridgesPaged ¶
func (_m *Bridger) GetBridgesPaged(ctx context.Context, pageNumber uint32, pageSize uint32, depositCount *uint64, networkIDs []uint32, fromAddress string) ([]*bridgesync.Bridge, int, error)
GetBridgesPaged provides a mock function with given fields: ctx, pageNumber, pageSize, depositCount, networkIDs, fromAddress
func (*Bridger) GetClaimsPaged ¶
func (_m *Bridger) GetClaimsPaged(ctx context.Context, page uint32, pageSize uint32, networkIDs []uint32, fromAddress string) ([]*bridgesync.Claim, int, error)
GetClaimsPaged provides a mock function with given fields: ctx, page, pageSize, networkIDs, fromAddress
func (*Bridger) GetContractDepositCount ¶
GetContractDepositCount provides a mock function with given fields: ctx
func (*Bridger) GetLastReorgEvent ¶
GetLastReorgEvent provides a mock function with given fields: ctx
func (*Bridger) GetLastRoot ¶
GetLastRoot provides a mock function with given fields: ctx
func (*Bridger) GetLegacyTokenMigrations ¶
func (_m *Bridger) GetLegacyTokenMigrations(ctx context.Context, pageNumber uint32, pageSize uint32) ([]*bridgesync.LegacyTokenMigration, int, error)
GetLegacyTokenMigrations provides a mock function with given fields: ctx, pageNumber, pageSize
func (*Bridger) GetProof ¶
func (_m *Bridger) GetProof(ctx context.Context, depositCount uint32, localExitRoot common.Hash) (types.Proof, error)
GetProof provides a mock function with given fields: ctx, depositCount, localExitRoot
func (*Bridger) GetRootByLER ¶
GetRootByLER provides a mock function with given fields: ctx, ler
func (*Bridger) GetTokenMappings ¶
func (_m *Bridger) GetTokenMappings(ctx context.Context, pageNumber uint32, pageSize uint32) ([]*bridgesync.TokenMapping, int, error)
GetTokenMappings provides a mock function with given fields: ctx, pageNumber, pageSize
type Bridger_Expecter ¶
type Bridger_Expecter struct {
// contains filtered or unexported fields
}
func (*Bridger_Expecter) GetBridgesPaged ¶
func (_e *Bridger_Expecter) GetBridgesPaged(ctx interface{}, pageNumber interface{}, pageSize interface{}, depositCount interface{}, networkIDs interface{}, fromAddress interface{}) *Bridger_GetBridgesPaged_Call
GetBridgesPaged is a helper method to define mock.On call
- ctx context.Context
- pageNumber uint32
- pageSize uint32
- depositCount *uint64
- networkIDs []uint32
- fromAddress string
func (*Bridger_Expecter) GetClaimsPaged ¶
func (_e *Bridger_Expecter) GetClaimsPaged(ctx interface{}, page interface{}, pageSize interface{}, networkIDs interface{}, fromAddress interface{}) *Bridger_GetClaimsPaged_Call
GetClaimsPaged is a helper method to define mock.On call
- ctx context.Context
- page uint32
- pageSize uint32
- networkIDs []uint32
- fromAddress string
func (*Bridger_Expecter) GetContractDepositCount ¶
func (_e *Bridger_Expecter) GetContractDepositCount(ctx interface{}) *Bridger_GetContractDepositCount_Call
GetContractDepositCount is a helper method to define mock.On call
- ctx context.Context
func (*Bridger_Expecter) GetLastReorgEvent ¶
func (_e *Bridger_Expecter) GetLastReorgEvent(ctx interface{}) *Bridger_GetLastReorgEvent_Call
GetLastReorgEvent is a helper method to define mock.On call
- ctx context.Context
func (*Bridger_Expecter) GetLastRoot ¶
func (_e *Bridger_Expecter) GetLastRoot(ctx interface{}) *Bridger_GetLastRoot_Call
GetLastRoot is a helper method to define mock.On call
- ctx context.Context
func (*Bridger_Expecter) GetLegacyTokenMigrations ¶
func (_e *Bridger_Expecter) GetLegacyTokenMigrations(ctx interface{}, pageNumber interface{}, pageSize interface{}) *Bridger_GetLegacyTokenMigrations_Call
GetLegacyTokenMigrations is a helper method to define mock.On call
- ctx context.Context
- pageNumber uint32
- pageSize uint32
func (*Bridger_Expecter) GetProof ¶
func (_e *Bridger_Expecter) GetProof(ctx interface{}, depositCount interface{}, localExitRoot interface{}) *Bridger_GetProof_Call
GetProof is a helper method to define mock.On call
- ctx context.Context
- depositCount uint32
- localExitRoot common.Hash
func (*Bridger_Expecter) GetRootByLER ¶
func (_e *Bridger_Expecter) GetRootByLER(ctx interface{}, ler interface{}) *Bridger_GetRootByLER_Call
GetRootByLER is a helper method to define mock.On call
- ctx context.Context
- ler common.Hash
func (*Bridger_Expecter) GetTokenMappings ¶
func (_e *Bridger_Expecter) GetTokenMappings(ctx interface{}, pageNumber interface{}, pageSize interface{}) *Bridger_GetTokenMappings_Call
GetTokenMappings is a helper method to define mock.On call
- ctx context.Context
- pageNumber uint32
- pageSize uint32
type Bridger_GetBridgesPaged_Call ¶
Bridger_GetBridgesPaged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBridgesPaged'
func (*Bridger_GetBridgesPaged_Call) Return ¶
func (_c *Bridger_GetBridgesPaged_Call) Return(_a0 []*bridgesync.Bridge, _a1 int, _a2 error) *Bridger_GetBridgesPaged_Call
func (*Bridger_GetBridgesPaged_Call) Run ¶
func (_c *Bridger_GetBridgesPaged_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32, depositCount *uint64, networkIDs []uint32, fromAddress string)) *Bridger_GetBridgesPaged_Call
func (*Bridger_GetBridgesPaged_Call) RunAndReturn ¶
func (_c *Bridger_GetBridgesPaged_Call) RunAndReturn(run func(context.Context, uint32, uint32, *uint64, []uint32, string) ([]*bridgesync.Bridge, int, error)) *Bridger_GetBridgesPaged_Call
type Bridger_GetClaimsPaged_Call ¶
Bridger_GetClaimsPaged_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClaimsPaged'
func (*Bridger_GetClaimsPaged_Call) Return ¶
func (_c *Bridger_GetClaimsPaged_Call) Return(_a0 []*bridgesync.Claim, _a1 int, _a2 error) *Bridger_GetClaimsPaged_Call
func (*Bridger_GetClaimsPaged_Call) Run ¶
func (_c *Bridger_GetClaimsPaged_Call) Run(run func(ctx context.Context, page uint32, pageSize uint32, networkIDs []uint32, fromAddress string)) *Bridger_GetClaimsPaged_Call
func (*Bridger_GetClaimsPaged_Call) RunAndReturn ¶
func (_c *Bridger_GetClaimsPaged_Call) RunAndReturn(run func(context.Context, uint32, uint32, []uint32, string) ([]*bridgesync.Claim, int, error)) *Bridger_GetClaimsPaged_Call
type Bridger_GetContractDepositCount_Call ¶
Bridger_GetContractDepositCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetContractDepositCount'
func (*Bridger_GetContractDepositCount_Call) Return ¶
func (_c *Bridger_GetContractDepositCount_Call) Return(_a0 uint32, _a1 error) *Bridger_GetContractDepositCount_Call
func (*Bridger_GetContractDepositCount_Call) Run ¶
func (_c *Bridger_GetContractDepositCount_Call) Run(run func(ctx context.Context)) *Bridger_GetContractDepositCount_Call
func (*Bridger_GetContractDepositCount_Call) RunAndReturn ¶
func (_c *Bridger_GetContractDepositCount_Call) RunAndReturn(run func(context.Context) (uint32, error)) *Bridger_GetContractDepositCount_Call
type Bridger_GetLastReorgEvent_Call ¶
Bridger_GetLastReorgEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastReorgEvent'
func (*Bridger_GetLastReorgEvent_Call) Return ¶
func (_c *Bridger_GetLastReorgEvent_Call) Return(_a0 *bridgesync.LastReorg, _a1 error) *Bridger_GetLastReorgEvent_Call
func (*Bridger_GetLastReorgEvent_Call) Run ¶
func (_c *Bridger_GetLastReorgEvent_Call) Run(run func(ctx context.Context)) *Bridger_GetLastReorgEvent_Call
func (*Bridger_GetLastReorgEvent_Call) RunAndReturn ¶
func (_c *Bridger_GetLastReorgEvent_Call) RunAndReturn(run func(context.Context) (*bridgesync.LastReorg, error)) *Bridger_GetLastReorgEvent_Call
type Bridger_GetLastRoot_Call ¶
Bridger_GetLastRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastRoot'
func (*Bridger_GetLastRoot_Call) Return ¶
func (_c *Bridger_GetLastRoot_Call) Return(_a0 *types.Root, _a1 error) *Bridger_GetLastRoot_Call
func (*Bridger_GetLastRoot_Call) Run ¶
func (_c *Bridger_GetLastRoot_Call) Run(run func(ctx context.Context)) *Bridger_GetLastRoot_Call
func (*Bridger_GetLastRoot_Call) RunAndReturn ¶
func (_c *Bridger_GetLastRoot_Call) RunAndReturn(run func(context.Context) (*types.Root, error)) *Bridger_GetLastRoot_Call
type Bridger_GetLegacyTokenMigrations_Call ¶
Bridger_GetLegacyTokenMigrations_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLegacyTokenMigrations'
func (*Bridger_GetLegacyTokenMigrations_Call) Return ¶
func (_c *Bridger_GetLegacyTokenMigrations_Call) Return(_a0 []*bridgesync.LegacyTokenMigration, _a1 int, _a2 error) *Bridger_GetLegacyTokenMigrations_Call
func (*Bridger_GetLegacyTokenMigrations_Call) Run ¶
func (_c *Bridger_GetLegacyTokenMigrations_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32)) *Bridger_GetLegacyTokenMigrations_Call
func (*Bridger_GetLegacyTokenMigrations_Call) RunAndReturn ¶
func (_c *Bridger_GetLegacyTokenMigrations_Call) RunAndReturn(run func(context.Context, uint32, uint32) ([]*bridgesync.LegacyTokenMigration, int, error)) *Bridger_GetLegacyTokenMigrations_Call
type Bridger_GetProof_Call ¶
Bridger_GetProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProof'
func (*Bridger_GetProof_Call) Return ¶
func (_c *Bridger_GetProof_Call) Return(_a0 types.Proof, _a1 error) *Bridger_GetProof_Call
func (*Bridger_GetProof_Call) Run ¶
func (_c *Bridger_GetProof_Call) Run(run func(ctx context.Context, depositCount uint32, localExitRoot common.Hash)) *Bridger_GetProof_Call
func (*Bridger_GetProof_Call) RunAndReturn ¶
func (_c *Bridger_GetProof_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (types.Proof, error)) *Bridger_GetProof_Call
type Bridger_GetRootByLER_Call ¶
Bridger_GetRootByLER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRootByLER'
func (*Bridger_GetRootByLER_Call) Return ¶
func (_c *Bridger_GetRootByLER_Call) Return(_a0 *types.Root, _a1 error) *Bridger_GetRootByLER_Call
func (*Bridger_GetRootByLER_Call) Run ¶
func (_c *Bridger_GetRootByLER_Call) Run(run func(ctx context.Context, ler common.Hash)) *Bridger_GetRootByLER_Call
func (*Bridger_GetRootByLER_Call) RunAndReturn ¶
func (_c *Bridger_GetRootByLER_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Root, error)) *Bridger_GetRootByLER_Call
type Bridger_GetTokenMappings_Call ¶
Bridger_GetTokenMappings_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTokenMappings'
func (*Bridger_GetTokenMappings_Call) Return ¶
func (_c *Bridger_GetTokenMappings_Call) Return(_a0 []*bridgesync.TokenMapping, _a1 int, _a2 error) *Bridger_GetTokenMappings_Call
func (*Bridger_GetTokenMappings_Call) Run ¶
func (_c *Bridger_GetTokenMappings_Call) Run(run func(ctx context.Context, pageNumber uint32, pageSize uint32)) *Bridger_GetTokenMappings_Call
func (*Bridger_GetTokenMappings_Call) RunAndReturn ¶
func (_c *Bridger_GetTokenMappings_Call) RunAndReturn(run func(context.Context, uint32, uint32) ([]*bridgesync.TokenMapping, int, error)) *Bridger_GetTokenMappings_Call
type L1InfoTreer ¶
L1InfoTreer is an autogenerated mock type for the L1InfoTreer type
func NewL1InfoTreer ¶
func NewL1InfoTreer(t interface {
mock.TestingT
Cleanup(func())
}) *L1InfoTreer
NewL1InfoTreer creates a new instance of L1InfoTreer. 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 (*L1InfoTreer) EXPECT ¶
func (_m *L1InfoTreer) EXPECT() *L1InfoTreer_Expecter
func (*L1InfoTreer) GetFirstInfo ¶
func (_m *L1InfoTreer) GetFirstInfo() (*l1infotreesync.L1InfoTreeLeaf, error)
GetFirstInfo provides a mock function with no fields
func (*L1InfoTreer) GetFirstInfoAfterBlock ¶
func (_m *L1InfoTreer) GetFirstInfoAfterBlock(blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
GetFirstInfoAfterBlock provides a mock function with given fields: blockNum
func (*L1InfoTreer) GetFirstL1InfoWithRollupExitRoot ¶
func (_m *L1InfoTreer) GetFirstL1InfoWithRollupExitRoot(rollupExitRoot common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)
GetFirstL1InfoWithRollupExitRoot provides a mock function with given fields: rollupExitRoot
func (*L1InfoTreer) GetFirstVerifiedBatches ¶
func (_m *L1InfoTreer) GetFirstVerifiedBatches(rollupID uint32) (*l1infotreesync.VerifyBatches, error)
GetFirstVerifiedBatches provides a mock function with given fields: rollupID
func (*L1InfoTreer) GetFirstVerifiedBatchesAfterBlock ¶
func (_m *L1InfoTreer) GetFirstVerifiedBatchesAfterBlock(rollupID uint32, blockNum uint64) (*l1infotreesync.VerifyBatches, error)
GetFirstVerifiedBatchesAfterBlock provides a mock function with given fields: rollupID, blockNum
func (*L1InfoTreer) GetInfoByIndex ¶
func (_m *L1InfoTreer) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
GetInfoByIndex provides a mock function with given fields: ctx, index
func (*L1InfoTreer) GetLastInfo ¶
func (_m *L1InfoTreer) GetLastInfo() (*l1infotreesync.L1InfoTreeLeaf, error)
GetLastInfo provides a mock function with no fields
func (*L1InfoTreer) GetLastVerifiedBatches ¶
func (_m *L1InfoTreer) GetLastVerifiedBatches(rollupID uint32) (*l1infotreesync.VerifyBatches, error)
GetLastVerifiedBatches provides a mock function with given fields: rollupID
type L1InfoTreer_Expecter ¶
type L1InfoTreer_Expecter struct {
// contains filtered or unexported fields
}
func (*L1InfoTreer_Expecter) GetFirstInfo ¶
func (_e *L1InfoTreer_Expecter) GetFirstInfo() *L1InfoTreer_GetFirstInfo_Call
GetFirstInfo is a helper method to define mock.On call
func (*L1InfoTreer_Expecter) GetFirstInfoAfterBlock ¶
func (_e *L1InfoTreer_Expecter) GetFirstInfoAfterBlock(blockNum interface{}) *L1InfoTreer_GetFirstInfoAfterBlock_Call
GetFirstInfoAfterBlock is a helper method to define mock.On call
- blockNum uint64
func (*L1InfoTreer_Expecter) GetFirstL1InfoWithRollupExitRoot ¶
func (_e *L1InfoTreer_Expecter) GetFirstL1InfoWithRollupExitRoot(rollupExitRoot interface{}) *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
GetFirstL1InfoWithRollupExitRoot is a helper method to define mock.On call
- rollupExitRoot common.Hash
func (*L1InfoTreer_Expecter) GetFirstVerifiedBatches ¶
func (_e *L1InfoTreer_Expecter) GetFirstVerifiedBatches(rollupID interface{}) *L1InfoTreer_GetFirstVerifiedBatches_Call
GetFirstVerifiedBatches is a helper method to define mock.On call
- rollupID uint32
func (*L1InfoTreer_Expecter) GetFirstVerifiedBatchesAfterBlock ¶
func (_e *L1InfoTreer_Expecter) GetFirstVerifiedBatchesAfterBlock(rollupID interface{}, blockNum interface{}) *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
GetFirstVerifiedBatchesAfterBlock is a helper method to define mock.On call
- rollupID uint32
- blockNum uint64
func (*L1InfoTreer_Expecter) GetInfoByIndex ¶
func (_e *L1InfoTreer_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreer_GetInfoByIndex_Call
GetInfoByIndex is a helper method to define mock.On call
- ctx context.Context
- index uint32
func (*L1InfoTreer_Expecter) GetLastInfo ¶
func (_e *L1InfoTreer_Expecter) GetLastInfo() *L1InfoTreer_GetLastInfo_Call
GetLastInfo is a helper method to define mock.On call
func (*L1InfoTreer_Expecter) GetLastVerifiedBatches ¶
func (_e *L1InfoTreer_Expecter) GetLastVerifiedBatches(rollupID interface{}) *L1InfoTreer_GetLastVerifiedBatches_Call
GetLastVerifiedBatches is a helper method to define mock.On call
- rollupID uint32
func (*L1InfoTreer_Expecter) GetLocalExitRoot ¶
func (_e *L1InfoTreer_Expecter) GetLocalExitRoot(ctx interface{}, networkID interface{}, rollupExitRoot interface{}) *L1InfoTreer_GetLocalExitRoot_Call
GetLocalExitRoot is a helper method to define mock.On call
- ctx context.Context
- networkID uint32
- rollupExitRoot common.Hash
func (*L1InfoTreer_Expecter) GetRollupExitTreeMerkleProof ¶
func (_e *L1InfoTreer_Expecter) GetRollupExitTreeMerkleProof(ctx interface{}, networkID interface{}, root interface{}) *L1InfoTreer_GetRollupExitTreeMerkleProof_Call
GetRollupExitTreeMerkleProof is a helper method to define mock.On call
- ctx context.Context
- networkID uint32
- root common.Hash
type L1InfoTreer_GetFirstInfoAfterBlock_Call ¶
L1InfoTreer_GetFirstInfoAfterBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstInfoAfterBlock'
func (*L1InfoTreer_GetFirstInfoAfterBlock_Call) Return ¶
func (_c *L1InfoTreer_GetFirstInfoAfterBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetFirstInfoAfterBlock_Call
func (*L1InfoTreer_GetFirstInfoAfterBlock_Call) Run ¶
func (_c *L1InfoTreer_GetFirstInfoAfterBlock_Call) Run(run func(blockNum uint64)) *L1InfoTreer_GetFirstInfoAfterBlock_Call
func (*L1InfoTreer_GetFirstInfoAfterBlock_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetFirstInfoAfterBlock_Call) RunAndReturn(run func(uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetFirstInfoAfterBlock_Call
type L1InfoTreer_GetFirstInfo_Call ¶
L1InfoTreer_GetFirstInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstInfo'
func (*L1InfoTreer_GetFirstInfo_Call) Return ¶
func (_c *L1InfoTreer_GetFirstInfo_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetFirstInfo_Call
func (*L1InfoTreer_GetFirstInfo_Call) Run ¶
func (_c *L1InfoTreer_GetFirstInfo_Call) Run(run func()) *L1InfoTreer_GetFirstInfo_Call
func (*L1InfoTreer_GetFirstInfo_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetFirstInfo_Call) RunAndReturn(run func() (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetFirstInfo_Call
type L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call ¶
L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstL1InfoWithRollupExitRoot'
func (*L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) Return ¶
func (_c *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
func (*L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) Run ¶
func (_c *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) Run(run func(rollupExitRoot common.Hash)) *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
func (*L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call) RunAndReturn(run func(common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetFirstL1InfoWithRollupExitRoot_Call
type L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call ¶
L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstVerifiedBatchesAfterBlock'
func (*L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) Return ¶
func (_c *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
func (*L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) Run ¶
func (_c *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) Run(run func(rollupID uint32, blockNum uint64)) *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
func (*L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call) RunAndReturn(run func(uint32, uint64) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreer_GetFirstVerifiedBatchesAfterBlock_Call
type L1InfoTreer_GetFirstVerifiedBatches_Call ¶
L1InfoTreer_GetFirstVerifiedBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstVerifiedBatches'
func (*L1InfoTreer_GetFirstVerifiedBatches_Call) Return ¶
func (_c *L1InfoTreer_GetFirstVerifiedBatches_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreer_GetFirstVerifiedBatches_Call
func (*L1InfoTreer_GetFirstVerifiedBatches_Call) Run ¶
func (_c *L1InfoTreer_GetFirstVerifiedBatches_Call) Run(run func(rollupID uint32)) *L1InfoTreer_GetFirstVerifiedBatches_Call
func (*L1InfoTreer_GetFirstVerifiedBatches_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetFirstVerifiedBatches_Call) RunAndReturn(run func(uint32) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreer_GetFirstVerifiedBatches_Call
type L1InfoTreer_GetInfoByIndex_Call ¶
L1InfoTreer_GetInfoByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInfoByIndex'
func (*L1InfoTreer_GetInfoByIndex_Call) Return ¶
func (_c *L1InfoTreer_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetInfoByIndex_Call
func (*L1InfoTreer_GetInfoByIndex_Call) Run ¶
func (_c *L1InfoTreer_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreer_GetInfoByIndex_Call
func (*L1InfoTreer_GetInfoByIndex_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetInfoByIndex_Call
type L1InfoTreer_GetLastInfo_Call ¶
L1InfoTreer_GetLastInfo_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastInfo'
func (*L1InfoTreer_GetLastInfo_Call) Return ¶
func (_c *L1InfoTreer_GetLastInfo_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreer_GetLastInfo_Call
func (*L1InfoTreer_GetLastInfo_Call) Run ¶
func (_c *L1InfoTreer_GetLastInfo_Call) Run(run func()) *L1InfoTreer_GetLastInfo_Call
func (*L1InfoTreer_GetLastInfo_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetLastInfo_Call) RunAndReturn(run func() (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreer_GetLastInfo_Call
type L1InfoTreer_GetLastVerifiedBatches_Call ¶
L1InfoTreer_GetLastVerifiedBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVerifiedBatches'
func (*L1InfoTreer_GetLastVerifiedBatches_Call) Return ¶
func (_c *L1InfoTreer_GetLastVerifiedBatches_Call) Return(_a0 *l1infotreesync.VerifyBatches, _a1 error) *L1InfoTreer_GetLastVerifiedBatches_Call
func (*L1InfoTreer_GetLastVerifiedBatches_Call) Run ¶
func (_c *L1InfoTreer_GetLastVerifiedBatches_Call) Run(run func(rollupID uint32)) *L1InfoTreer_GetLastVerifiedBatches_Call
func (*L1InfoTreer_GetLastVerifiedBatches_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetLastVerifiedBatches_Call) RunAndReturn(run func(uint32) (*l1infotreesync.VerifyBatches, error)) *L1InfoTreer_GetLastVerifiedBatches_Call
type L1InfoTreer_GetLocalExitRoot_Call ¶
L1InfoTreer_GetLocalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocalExitRoot'
func (*L1InfoTreer_GetLocalExitRoot_Call) Return ¶
func (_c *L1InfoTreer_GetLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *L1InfoTreer_GetLocalExitRoot_Call
func (*L1InfoTreer_GetLocalExitRoot_Call) Run ¶
func (_c *L1InfoTreer_GetLocalExitRoot_Call) Run(run func(ctx context.Context, networkID uint32, rollupExitRoot common.Hash)) *L1InfoTreer_GetLocalExitRoot_Call
func (*L1InfoTreer_GetLocalExitRoot_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetLocalExitRoot_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (common.Hash, error)) *L1InfoTreer_GetLocalExitRoot_Call
type L1InfoTreer_GetRollupExitTreeMerkleProof_Call ¶
L1InfoTreer_GetRollupExitTreeMerkleProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRollupExitTreeMerkleProof'
func (*L1InfoTreer_GetRollupExitTreeMerkleProof_Call) Return ¶
func (_c *L1InfoTreer_GetRollupExitTreeMerkleProof_Call) Return(_a0 types.Proof, _a1 error) *L1InfoTreer_GetRollupExitTreeMerkleProof_Call
func (*L1InfoTreer_GetRollupExitTreeMerkleProof_Call) Run ¶
func (_c *L1InfoTreer_GetRollupExitTreeMerkleProof_Call) Run(run func(ctx context.Context, networkID uint32, root common.Hash)) *L1InfoTreer_GetRollupExitTreeMerkleProof_Call
func (*L1InfoTreer_GetRollupExitTreeMerkleProof_Call) RunAndReturn ¶
func (_c *L1InfoTreer_GetRollupExitTreeMerkleProof_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (types.Proof, error)) *L1InfoTreer_GetRollupExitTreeMerkleProof_Call
type LastGERer ¶
LastGERer is an autogenerated mock type for the LastGERer type
func NewLastGERer ¶
NewLastGERer creates a new instance of LastGERer. 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 (*LastGERer) EXPECT ¶
func (_m *LastGERer) EXPECT() *LastGERer_Expecter
func (*LastGERer) GetFirstGERAfterL1InfoTreeIndex ¶
func (_m *LastGERer) GetFirstGERAfterL1InfoTreeIndex(ctx context.Context, atOrAfterL1InfoTreeIndex uint32) (lastgersync.GlobalExitRootInfo, error)
GetFirstGERAfterL1InfoTreeIndex provides a mock function with given fields: ctx, atOrAfterL1InfoTreeIndex
type LastGERer_Expecter ¶
type LastGERer_Expecter struct {
// contains filtered or unexported fields
}
func (*LastGERer_Expecter) GetFirstGERAfterL1InfoTreeIndex ¶
func (_e *LastGERer_Expecter) GetFirstGERAfterL1InfoTreeIndex(ctx interface{}, atOrAfterL1InfoTreeIndex interface{}) *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call
GetFirstGERAfterL1InfoTreeIndex is a helper method to define mock.On call
- ctx context.Context
- atOrAfterL1InfoTreeIndex uint32
type LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call ¶
LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstGERAfterL1InfoTreeIndex'
func (*LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) Return ¶
func (_c *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) Return(_a0 lastgersync.GlobalExitRootInfo, _a1 error) *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call
func (*LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) Run ¶
func (_c *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) Run(run func(ctx context.Context, atOrAfterL1InfoTreeIndex uint32)) *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call
func (*LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) RunAndReturn ¶
func (_c *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call) RunAndReturn(run func(context.Context, uint32) (lastgersync.GlobalExitRootInfo, error)) *LastGERer_GetFirstGERAfterL1InfoTreeIndex_Call