Documentation
¶
Index ¶
- type AggProofPublicValuesQuerier
- type AggProofPublicValuesQuerier_Expecter
- type AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call
- func (_c *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) Return(_a0 *types.AggregationProofPublicValues, _a1 error) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call
- func (_c *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) Run(run func(lastProvenBlock uint64, requestedEndBlock uint64, ...)) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call
- func (_c *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) RunAndReturn(...) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call
- type AggSenderStorage
- func (_m *AggSenderStorage) DeleteCertificate(tx types.Querier, height uint64, mustDelete db.DeleteFlag) error
- func (_m *AggSenderStorage) DeleteOldCertificates(tx types.Querier, olderThanHeight uint64) error
- func (_m *AggSenderStorage) EXPECT() *AggSenderStorage_Expecter
- func (_m *AggSenderStorage) GetCertificateByHeight(height uint64) (*aggsendertypes.Certificate, error)
- func (_m *AggSenderStorage) GetCertificateHeaderByHeight(height uint64) (*aggsendertypes.CertificateHeader, error)
- func (_m *AggSenderStorage) GetCertificateHeadersByStatus(status []agglayertypes.CertificateStatus) ([]*aggsendertypes.CertificateHeader, error)
- func (_m *AggSenderStorage) GetLastSentCertificate() (*aggsendertypes.Certificate, error)
- func (_m *AggSenderStorage) GetLastSentCertificateHeader() (*aggsendertypes.CertificateHeader, error)
- func (_m *AggSenderStorage) GetLastSentCertificateHeaderWithProofIfInError(ctx context.Context) (*aggsendertypes.CertificateHeader, *aggsendertypes.AggchainProof, error)
- func (_m *AggSenderStorage) GetLastSettledCertificate() (*aggsendertypes.CertificateHeader, error)
- func (_m *AggSenderStorage) GetNonAcceptedCertificate() (*db.NonAcceptedCertificate, error)
- func (_m *AggSenderStorage) MoveCertificateToHistory(tx types.Querier, height uint64) error
- func (_m *AggSenderStorage) SaveLastSentCertificate(ctx context.Context, certificate aggsendertypes.Certificate) error
- func (_m *AggSenderStorage) SaveNonAcceptedCertificate(ctx context.Context, nonAcceptedCert *db.NonAcceptedCertificate) error
- func (_m *AggSenderStorage) SaveOrUpdateCertificate(ctx context.Context, certificate aggsendertypes.Certificate) error
- func (_m *AggSenderStorage) UpdateCertificateStatus(ctx context.Context, certificateID common.Hash, ...) error
- type AggSenderStorageMaintainer
- func (_m *AggSenderStorageMaintainer) DeleteCertificate(tx types.Querier, height uint64, mustDelete db.DeleteFlag) error
- func (_m *AggSenderStorageMaintainer) DeleteOldCertificates(tx types.Querier, olderThanHeight uint64) error
- func (_m *AggSenderStorageMaintainer) EXPECT() *AggSenderStorageMaintainer_Expecter
- func (_m *AggSenderStorageMaintainer) MoveCertificateToHistory(tx types.Querier, height uint64) error
- type AggSenderStorageMaintainer_DeleteCertificate_Call
- func (_c *AggSenderStorageMaintainer_DeleteCertificate_Call) Return(_a0 error) *AggSenderStorageMaintainer_DeleteCertificate_Call
- func (_c *AggSenderStorageMaintainer_DeleteCertificate_Call) Run(run func(tx types.Querier, height uint64, mustDelete db.DeleteFlag)) *AggSenderStorageMaintainer_DeleteCertificate_Call
- func (_c *AggSenderStorageMaintainer_DeleteCertificate_Call) RunAndReturn(run func(types.Querier, uint64, db.DeleteFlag) error) *AggSenderStorageMaintainer_DeleteCertificate_Call
- type AggSenderStorageMaintainer_DeleteOldCertificates_Call
- func (_c *AggSenderStorageMaintainer_DeleteOldCertificates_Call) Return(_a0 error) *AggSenderStorageMaintainer_DeleteOldCertificates_Call
- func (_c *AggSenderStorageMaintainer_DeleteOldCertificates_Call) Run(run func(tx types.Querier, olderThanHeight uint64)) *AggSenderStorageMaintainer_DeleteOldCertificates_Call
- func (_c *AggSenderStorageMaintainer_DeleteOldCertificates_Call) RunAndReturn(run func(types.Querier, uint64) error) *AggSenderStorageMaintainer_DeleteOldCertificates_Call
- type AggSenderStorageMaintainer_Expecter
- func (_e *AggSenderStorageMaintainer_Expecter) DeleteCertificate(tx interface{}, height interface{}, mustDelete interface{}) *AggSenderStorageMaintainer_DeleteCertificate_Call
- func (_e *AggSenderStorageMaintainer_Expecter) DeleteOldCertificates(tx interface{}, olderThanHeight interface{}) *AggSenderStorageMaintainer_DeleteOldCertificates_Call
- func (_e *AggSenderStorageMaintainer_Expecter) MoveCertificateToHistory(tx interface{}, height interface{}) *AggSenderStorageMaintainer_MoveCertificateToHistory_Call
- type AggSenderStorageMaintainer_MoveCertificateToHistory_Call
- func (_c *AggSenderStorageMaintainer_MoveCertificateToHistory_Call) Return(_a0 error) *AggSenderStorageMaintainer_MoveCertificateToHistory_Call
- func (_c *AggSenderStorageMaintainer_MoveCertificateToHistory_Call) Run(run func(tx types.Querier, height uint64)) *AggSenderStorageMaintainer_MoveCertificateToHistory_Call
- func (_c *AggSenderStorageMaintainer_MoveCertificateToHistory_Call) RunAndReturn(run func(types.Querier, uint64) error) *AggSenderStorageMaintainer_MoveCertificateToHistory_Call
- type AggSenderStorage_DeleteCertificate_Call
- func (_c *AggSenderStorage_DeleteCertificate_Call) Return(_a0 error) *AggSenderStorage_DeleteCertificate_Call
- func (_c *AggSenderStorage_DeleteCertificate_Call) Run(run func(tx types.Querier, height uint64, mustDelete db.DeleteFlag)) *AggSenderStorage_DeleteCertificate_Call
- func (_c *AggSenderStorage_DeleteCertificate_Call) RunAndReturn(run func(types.Querier, uint64, db.DeleteFlag) error) *AggSenderStorage_DeleteCertificate_Call
- type AggSenderStorage_DeleteOldCertificates_Call
- func (_c *AggSenderStorage_DeleteOldCertificates_Call) Return(_a0 error) *AggSenderStorage_DeleteOldCertificates_Call
- func (_c *AggSenderStorage_DeleteOldCertificates_Call) Run(run func(tx types.Querier, olderThanHeight uint64)) *AggSenderStorage_DeleteOldCertificates_Call
- func (_c *AggSenderStorage_DeleteOldCertificates_Call) RunAndReturn(run func(types.Querier, uint64) error) *AggSenderStorage_DeleteOldCertificates_Call
- type AggSenderStorage_Expecter
- func (_e *AggSenderStorage_Expecter) DeleteCertificate(tx interface{}, height interface{}, mustDelete interface{}) *AggSenderStorage_DeleteCertificate_Call
- func (_e *AggSenderStorage_Expecter) DeleteOldCertificates(tx interface{}, olderThanHeight interface{}) *AggSenderStorage_DeleteOldCertificates_Call
- func (_e *AggSenderStorage_Expecter) GetCertificateByHeight(height interface{}) *AggSenderStorage_GetCertificateByHeight_Call
- func (_e *AggSenderStorage_Expecter) GetCertificateHeaderByHeight(height interface{}) *AggSenderStorage_GetCertificateHeaderByHeight_Call
- func (_e *AggSenderStorage_Expecter) GetCertificateHeadersByStatus(status interface{}) *AggSenderStorage_GetCertificateHeadersByStatus_Call
- func (_e *AggSenderStorage_Expecter) GetLastSentCertificate() *AggSenderStorage_GetLastSentCertificate_Call
- func (_e *AggSenderStorage_Expecter) GetLastSentCertificateHeader() *AggSenderStorage_GetLastSentCertificateHeader_Call
- func (_e *AggSenderStorage_Expecter) GetLastSentCertificateHeaderWithProofIfInError(ctx interface{}) *AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call
- func (_e *AggSenderStorage_Expecter) GetLastSettledCertificate() *AggSenderStorage_GetLastSettledCertificate_Call
- func (_e *AggSenderStorage_Expecter) GetNonAcceptedCertificate() *AggSenderStorage_GetNonAcceptedCertificate_Call
- func (_e *AggSenderStorage_Expecter) MoveCertificateToHistory(tx interface{}, height interface{}) *AggSenderStorage_MoveCertificateToHistory_Call
- func (_e *AggSenderStorage_Expecter) SaveLastSentCertificate(ctx interface{}, certificate interface{}) *AggSenderStorage_SaveLastSentCertificate_Call
- func (_e *AggSenderStorage_Expecter) SaveNonAcceptedCertificate(ctx interface{}, nonAcceptedCert interface{}) *AggSenderStorage_SaveNonAcceptedCertificate_Call
- func (_e *AggSenderStorage_Expecter) SaveOrUpdateCertificate(ctx interface{}, certificate interface{}) *AggSenderStorage_SaveOrUpdateCertificate_Call
- func (_e *AggSenderStorage_Expecter) UpdateCertificateStatus(ctx interface{}, certificateID interface{}, newStatus interface{}, ...) *AggSenderStorage_UpdateCertificateStatus_Call
- type AggSenderStorage_GetCertificateByHeight_Call
- func (_c *AggSenderStorage_GetCertificateByHeight_Call) Return(_a0 *aggsendertypes.Certificate, _a1 error) *AggSenderStorage_GetCertificateByHeight_Call
- func (_c *AggSenderStorage_GetCertificateByHeight_Call) Run(run func(height uint64)) *AggSenderStorage_GetCertificateByHeight_Call
- func (_c *AggSenderStorage_GetCertificateByHeight_Call) RunAndReturn(run func(uint64) (*aggsendertypes.Certificate, error)) *AggSenderStorage_GetCertificateByHeight_Call
- type AggSenderStorage_GetCertificateHeaderByHeight_Call
- func (_c *AggSenderStorage_GetCertificateHeaderByHeight_Call) Return(_a0 *aggsendertypes.CertificateHeader, _a1 error) *AggSenderStorage_GetCertificateHeaderByHeight_Call
- func (_c *AggSenderStorage_GetCertificateHeaderByHeight_Call) Run(run func(height uint64)) *AggSenderStorage_GetCertificateHeaderByHeight_Call
- func (_c *AggSenderStorage_GetCertificateHeaderByHeight_Call) RunAndReturn(run func(uint64) (*aggsendertypes.CertificateHeader, error)) *AggSenderStorage_GetCertificateHeaderByHeight_Call
- type AggSenderStorage_GetCertificateHeadersByStatus_Call
- func (_c *AggSenderStorage_GetCertificateHeadersByStatus_Call) Return(_a0 []*aggsendertypes.CertificateHeader, _a1 error) *AggSenderStorage_GetCertificateHeadersByStatus_Call
- func (_c *AggSenderStorage_GetCertificateHeadersByStatus_Call) Run(run func(status []agglayertypes.CertificateStatus)) *AggSenderStorage_GetCertificateHeadersByStatus_Call
- func (_c *AggSenderStorage_GetCertificateHeadersByStatus_Call) RunAndReturn(...) *AggSenderStorage_GetCertificateHeadersByStatus_Call
- type AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call
- func (_c *AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call) Return(_a0 *aggsendertypes.CertificateHeader, _a1 *aggsendertypes.AggchainProof, ...) *AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call
- func (_c *AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call) Run(run func(ctx context.Context)) *AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call
- func (_c *AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call) RunAndReturn(...) *AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call
- type AggSenderStorage_GetLastSentCertificateHeader_Call
- func (_c *AggSenderStorage_GetLastSentCertificateHeader_Call) Return(_a0 *aggsendertypes.CertificateHeader, _a1 error) *AggSenderStorage_GetLastSentCertificateHeader_Call
- func (_c *AggSenderStorage_GetLastSentCertificateHeader_Call) Run(run func()) *AggSenderStorage_GetLastSentCertificateHeader_Call
- func (_c *AggSenderStorage_GetLastSentCertificateHeader_Call) RunAndReturn(run func() (*aggsendertypes.CertificateHeader, error)) *AggSenderStorage_GetLastSentCertificateHeader_Call
- type AggSenderStorage_GetLastSentCertificate_Call
- func (_c *AggSenderStorage_GetLastSentCertificate_Call) Return(_a0 *aggsendertypes.Certificate, _a1 error) *AggSenderStorage_GetLastSentCertificate_Call
- func (_c *AggSenderStorage_GetLastSentCertificate_Call) Run(run func()) *AggSenderStorage_GetLastSentCertificate_Call
- func (_c *AggSenderStorage_GetLastSentCertificate_Call) RunAndReturn(run func() (*aggsendertypes.Certificate, error)) *AggSenderStorage_GetLastSentCertificate_Call
- type AggSenderStorage_GetLastSettledCertificate_Call
- func (_c *AggSenderStorage_GetLastSettledCertificate_Call) Return(_a0 *aggsendertypes.CertificateHeader, _a1 error) *AggSenderStorage_GetLastSettledCertificate_Call
- func (_c *AggSenderStorage_GetLastSettledCertificate_Call) Run(run func()) *AggSenderStorage_GetLastSettledCertificate_Call
- func (_c *AggSenderStorage_GetLastSettledCertificate_Call) RunAndReturn(run func() (*aggsendertypes.CertificateHeader, error)) *AggSenderStorage_GetLastSettledCertificate_Call
- type AggSenderStorage_GetNonAcceptedCertificate_Call
- func (_c *AggSenderStorage_GetNonAcceptedCertificate_Call) Return(_a0 *db.NonAcceptedCertificate, _a1 error) *AggSenderStorage_GetNonAcceptedCertificate_Call
- func (_c *AggSenderStorage_GetNonAcceptedCertificate_Call) Run(run func()) *AggSenderStorage_GetNonAcceptedCertificate_Call
- func (_c *AggSenderStorage_GetNonAcceptedCertificate_Call) RunAndReturn(run func() (*db.NonAcceptedCertificate, error)) *AggSenderStorage_GetNonAcceptedCertificate_Call
- type AggSenderStorage_MoveCertificateToHistory_Call
- func (_c *AggSenderStorage_MoveCertificateToHistory_Call) Return(_a0 error) *AggSenderStorage_MoveCertificateToHistory_Call
- func (_c *AggSenderStorage_MoveCertificateToHistory_Call) Run(run func(tx types.Querier, height uint64)) *AggSenderStorage_MoveCertificateToHistory_Call
- func (_c *AggSenderStorage_MoveCertificateToHistory_Call) RunAndReturn(run func(types.Querier, uint64) error) *AggSenderStorage_MoveCertificateToHistory_Call
- type AggSenderStorage_SaveLastSentCertificate_Call
- func (_c *AggSenderStorage_SaveLastSentCertificate_Call) Return(_a0 error) *AggSenderStorage_SaveLastSentCertificate_Call
- func (_c *AggSenderStorage_SaveLastSentCertificate_Call) Run(run func(ctx context.Context, certificate aggsendertypes.Certificate)) *AggSenderStorage_SaveLastSentCertificate_Call
- func (_c *AggSenderStorage_SaveLastSentCertificate_Call) RunAndReturn(run func(context.Context, aggsendertypes.Certificate) error) *AggSenderStorage_SaveLastSentCertificate_Call
- type AggSenderStorage_SaveNonAcceptedCertificate_Call
- func (_c *AggSenderStorage_SaveNonAcceptedCertificate_Call) Return(_a0 error) *AggSenderStorage_SaveNonAcceptedCertificate_Call
- func (_c *AggSenderStorage_SaveNonAcceptedCertificate_Call) Run(run func(ctx context.Context, nonAcceptedCert *db.NonAcceptedCertificate)) *AggSenderStorage_SaveNonAcceptedCertificate_Call
- func (_c *AggSenderStorage_SaveNonAcceptedCertificate_Call) RunAndReturn(run func(context.Context, *db.NonAcceptedCertificate) error) *AggSenderStorage_SaveNonAcceptedCertificate_Call
- type AggSenderStorage_SaveOrUpdateCertificate_Call
- func (_c *AggSenderStorage_SaveOrUpdateCertificate_Call) Return(_a0 error) *AggSenderStorage_SaveOrUpdateCertificate_Call
- func (_c *AggSenderStorage_SaveOrUpdateCertificate_Call) Run(run func(ctx context.Context, certificate aggsendertypes.Certificate)) *AggSenderStorage_SaveOrUpdateCertificate_Call
- func (_c *AggSenderStorage_SaveOrUpdateCertificate_Call) RunAndReturn(run func(context.Context, aggsendertypes.Certificate) error) *AggSenderStorage_SaveOrUpdateCertificate_Call
- type AggSenderStorage_UpdateCertificateStatus_Call
- func (_c *AggSenderStorage_UpdateCertificateStatus_Call) Return(_a0 error) *AggSenderStorage_UpdateCertificateStatus_Call
- func (_c *AggSenderStorage_UpdateCertificateStatus_Call) Run(run func(ctx context.Context, certificateID common.Hash, ...)) *AggSenderStorage_UpdateCertificateStatus_Call
- func (_c *AggSenderStorage_UpdateCertificateStatus_Call) RunAndReturn(...) *AggSenderStorage_UpdateCertificateStatus_Call
- type AggchainFEPCaller
- func (_m *AggchainFEPCaller) EXPECT() *AggchainFEPCaller_Expecter
- func (_m *AggchainFEPCaller) GetAggchainSigners(opts *bind.CallOpts) ([]common.Address, error)
- func (_m *AggchainFEPCaller) LatestBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_m *AggchainFEPCaller) OptimisticMode(opts *bind.CallOpts) (bool, error)
- func (_m *AggchainFEPCaller) RangeVkeyCommitment(opts *bind.CallOpts) ([32]byte, error)
- func (_m *AggchainFEPCaller) RollupConfigHash(opts *bind.CallOpts) ([32]byte, error)
- func (_m *AggchainFEPCaller) StartingBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- type AggchainFEPCaller_Expecter
- func (_e *AggchainFEPCaller_Expecter) GetAggchainSigners(opts interface{}) *AggchainFEPCaller_GetAggchainSigners_Call
- func (_e *AggchainFEPCaller_Expecter) LatestBlockNumber(opts interface{}) *AggchainFEPCaller_LatestBlockNumber_Call
- func (_e *AggchainFEPCaller_Expecter) OptimisticMode(opts interface{}) *AggchainFEPCaller_OptimisticMode_Call
- func (_e *AggchainFEPCaller_Expecter) RangeVkeyCommitment(opts interface{}) *AggchainFEPCaller_RangeVkeyCommitment_Call
- func (_e *AggchainFEPCaller_Expecter) RollupConfigHash(opts interface{}) *AggchainFEPCaller_RollupConfigHash_Call
- func (_e *AggchainFEPCaller_Expecter) StartingBlockNumber(opts interface{}) *AggchainFEPCaller_StartingBlockNumber_Call
- type AggchainFEPCaller_GetAggchainSigners_Call
- func (_c *AggchainFEPCaller_GetAggchainSigners_Call) Return(_a0 []common.Address, _a1 error) *AggchainFEPCaller_GetAggchainSigners_Call
- func (_c *AggchainFEPCaller_GetAggchainSigners_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_GetAggchainSigners_Call
- func (_c *AggchainFEPCaller_GetAggchainSigners_Call) RunAndReturn(run func(*bind.CallOpts) ([]common.Address, error)) *AggchainFEPCaller_GetAggchainSigners_Call
- type AggchainFEPCaller_LatestBlockNumber_Call
- func (_c *AggchainFEPCaller_LatestBlockNumber_Call) Return(_a0 *big.Int, _a1 error) *AggchainFEPCaller_LatestBlockNumber_Call
- func (_c *AggchainFEPCaller_LatestBlockNumber_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_LatestBlockNumber_Call
- func (_c *AggchainFEPCaller_LatestBlockNumber_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *AggchainFEPCaller_LatestBlockNumber_Call
- type AggchainFEPCaller_OptimisticMode_Call
- func (_c *AggchainFEPCaller_OptimisticMode_Call) Return(_a0 bool, _a1 error) *AggchainFEPCaller_OptimisticMode_Call
- func (_c *AggchainFEPCaller_OptimisticMode_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_OptimisticMode_Call
- func (_c *AggchainFEPCaller_OptimisticMode_Call) RunAndReturn(run func(*bind.CallOpts) (bool, error)) *AggchainFEPCaller_OptimisticMode_Call
- type AggchainFEPCaller_RangeVkeyCommitment_Call
- func (_c *AggchainFEPCaller_RangeVkeyCommitment_Call) Return(_a0 [32]byte, _a1 error) *AggchainFEPCaller_RangeVkeyCommitment_Call
- func (_c *AggchainFEPCaller_RangeVkeyCommitment_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_RangeVkeyCommitment_Call
- func (_c *AggchainFEPCaller_RangeVkeyCommitment_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *AggchainFEPCaller_RangeVkeyCommitment_Call
- type AggchainFEPCaller_RollupConfigHash_Call
- func (_c *AggchainFEPCaller_RollupConfigHash_Call) Return(_a0 [32]byte, _a1 error) *AggchainFEPCaller_RollupConfigHash_Call
- func (_c *AggchainFEPCaller_RollupConfigHash_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_RollupConfigHash_Call
- func (_c *AggchainFEPCaller_RollupConfigHash_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *AggchainFEPCaller_RollupConfigHash_Call
- type AggchainFEPCaller_StartingBlockNumber_Call
- func (_c *AggchainFEPCaller_StartingBlockNumber_Call) Return(_a0 *big.Int, _a1 error) *AggchainFEPCaller_StartingBlockNumber_Call
- func (_c *AggchainFEPCaller_StartingBlockNumber_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_StartingBlockNumber_Call
- func (_c *AggchainFEPCaller_StartingBlockNumber_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *AggchainFEPCaller_StartingBlockNumber_Call
- type AggchainFEPRollupQuerier
- type AggchainFEPRollupQuerier_Expecter
- func (_e *AggchainFEPRollupQuerier_Expecter) GetLastSettledL2Block() *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
- func (_e *AggchainFEPRollupQuerier_Expecter) IsFEP() *AggchainFEPRollupQuerier_IsFEP_Call
- func (_e *AggchainFEPRollupQuerier_Expecter) StartL2Block() *AggchainFEPRollupQuerier_StartL2Block_Call
- type AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
- func (_c *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) Return(_a0 uint64, _a1 error) *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
- func (_c *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) Run(run func()) *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
- func (_c *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) RunAndReturn(run func() (uint64, error)) *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
- type AggchainFEPRollupQuerier_IsFEP_Call
- func (_c *AggchainFEPRollupQuerier_IsFEP_Call) Return(_a0 bool) *AggchainFEPRollupQuerier_IsFEP_Call
- func (_c *AggchainFEPRollupQuerier_IsFEP_Call) Run(run func()) *AggchainFEPRollupQuerier_IsFEP_Call
- func (_c *AggchainFEPRollupQuerier_IsFEP_Call) RunAndReturn(run func() bool) *AggchainFEPRollupQuerier_IsFEP_Call
- type AggchainFEPRollupQuerier_StartL2Block_Call
- func (_c *AggchainFEPRollupQuerier_StartL2Block_Call) Return(_a0 uint64) *AggchainFEPRollupQuerier_StartL2Block_Call
- func (_c *AggchainFEPRollupQuerier_StartL2Block_Call) Run(run func()) *AggchainFEPRollupQuerier_StartL2Block_Call
- func (_c *AggchainFEPRollupQuerier_StartL2Block_Call) RunAndReturn(run func() uint64) *AggchainFEPRollupQuerier_StartL2Block_Call
- type AggchainProofClientInterface
- func (_m *AggchainProofClientInterface) EXPECT() *AggchainProofClientInterface_Expecter
- func (_m *AggchainProofClientInterface) GenerateAggchainProof(ctx context.Context, req *types.AggchainProofRequest) (*types.AggchainProof, error)
- func (_m *AggchainProofClientInterface) GenerateOptimisticAggchainProof(req *types.AggchainProofRequest, signature []byte) (*types.AggchainProof, error)
- type AggchainProofClientInterface_Expecter
- func (_e *AggchainProofClientInterface_Expecter) GenerateAggchainProof(ctx interface{}, req interface{}) *AggchainProofClientInterface_GenerateAggchainProof_Call
- func (_e *AggchainProofClientInterface_Expecter) GenerateOptimisticAggchainProof(req interface{}, signature interface{}) *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call
- type AggchainProofClientInterface_GenerateAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) Return(_a0 *types.AggchainProof, _a1 error) *AggchainProofClientInterface_GenerateAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) Run(run func(ctx context.Context, req *types.AggchainProofRequest)) *AggchainProofClientInterface_GenerateAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) RunAndReturn(...) *AggchainProofClientInterface_GenerateAggchainProof_Call
- type AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call) Return(_a0 *types.AggchainProof, _a1 error) *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call) Run(run func(req *types.AggchainProofRequest, signature []byte)) *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call) RunAndReturn(run func(*types.AggchainProofRequest, []byte) (*types.AggchainProof, error)) *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call
- type AggchainProofFlow
- type AggchainProofFlow_Expecter
- type AggchainProofFlow_GenerateAggchainProof_Call
- func (_c *AggchainProofFlow_GenerateAggchainProof_Call) Return(_a0 *types.AggchainProof, _a1 *treetypes.Root, _a2 error) *AggchainProofFlow_GenerateAggchainProof_Call
- func (_c *AggchainProofFlow_GenerateAggchainProof_Call) Run(run func(ctx context.Context, lastProvenBlock uint64, toBlock uint64, ...)) *AggchainProofFlow_GenerateAggchainProof_Call
- func (_c *AggchainProofFlow_GenerateAggchainProof_Call) RunAndReturn(...) *AggchainProofFlow_GenerateAggchainProof_Call
- type AggchainProofGeneration
- type AggchainProofGeneration_Expecter
- type AggchainProofGeneration_GenerateAggchainProof_Call
- func (_c *AggchainProofGeneration_GenerateAggchainProof_Call) Return(_a0 *types.SP1StarkProof, _a1 error) *AggchainProofGeneration_GenerateAggchainProof_Call
- func (_c *AggchainProofGeneration_GenerateAggchainProof_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *AggchainProofGeneration_GenerateAggchainProof_Call
- func (_c *AggchainProofGeneration_GenerateAggchainProof_Call) RunAndReturn(run func(context.Context, uint64, uint64) (*types.SP1StarkProof, error)) *AggchainProofGeneration_GenerateAggchainProof_Call
- type AggchainProofQuerier
- type AggchainProofQuerier_Expecter
- type AggchainProofQuerier_GenerateAggchainProof_Call
- func (_c *AggchainProofQuerier_GenerateAggchainProof_Call) Return(_a0 *types.AggchainProof, _a1 *treetypes.Root, _a2 error) *AggchainProofQuerier_GenerateAggchainProof_Call
- func (_c *AggchainProofQuerier_GenerateAggchainProof_Call) Run(run func(ctx context.Context, lastProvenBlock uint64, toBlock uint64, ...)) *AggchainProofQuerier_GenerateAggchainProof_Call
- func (_c *AggchainProofQuerier_GenerateAggchainProof_Call) RunAndReturn(...) *AggchainProofQuerier_GenerateAggchainProof_Call
- type AggchainProofServiceClient
- func (_m *AggchainProofServiceClient) EXPECT() *AggchainProofServiceClient_Expecter
- func (_m *AggchainProofServiceClient) GenerateAggchainProof(ctx context.Context, in *proverv1.GenerateAggchainProofRequest, ...) (*proverv1.GenerateAggchainProofResponse, error)
- func (_m *AggchainProofServiceClient) GenerateOptimisticAggchainProof(ctx context.Context, in *proverv1.GenerateOptimisticAggchainProofRequest, ...) (*proverv1.GenerateOptimisticAggchainProofResponse, error)
- type AggchainProofServiceClient_Expecter
- func (_e *AggchainProofServiceClient_Expecter) GenerateAggchainProof(ctx interface{}, in interface{}, opts ...interface{}) *AggchainProofServiceClient_GenerateAggchainProof_Call
- func (_e *AggchainProofServiceClient_Expecter) GenerateOptimisticAggchainProof(ctx interface{}, in interface{}, opts ...interface{}) *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call
- type AggchainProofServiceClient_GenerateAggchainProof_Call
- func (_c *AggchainProofServiceClient_GenerateAggchainProof_Call) Return(_a0 *proverv1.GenerateAggchainProofResponse, _a1 error) *AggchainProofServiceClient_GenerateAggchainProof_Call
- func (_c *AggchainProofServiceClient_GenerateAggchainProof_Call) Run(run func(ctx context.Context, in *proverv1.GenerateAggchainProofRequest, ...)) *AggchainProofServiceClient_GenerateAggchainProof_Call
- func (_c *AggchainProofServiceClient_GenerateAggchainProof_Call) RunAndReturn(...) *AggchainProofServiceClient_GenerateAggchainProof_Call
- type AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call) Return(_a0 *proverv1.GenerateOptimisticAggchainProofResponse, _a1 error) *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call) Run(...) *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call) RunAndReturn(...) *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call
- type AggchainProofServiceServer
- func (_m *AggchainProofServiceServer) EXPECT() *AggchainProofServiceServer_Expecter
- func (_m *AggchainProofServiceServer) GenerateAggchainProof(_a0 context.Context, _a1 *proverv1.GenerateAggchainProofRequest) (*proverv1.GenerateAggchainProofResponse, error)
- func (_m *AggchainProofServiceServer) GenerateOptimisticAggchainProof(_a0 context.Context, _a1 *proverv1.GenerateOptimisticAggchainProofRequest) (*proverv1.GenerateOptimisticAggchainProofResponse, error)
- type AggchainProofServiceServer_Expecter
- func (_e *AggchainProofServiceServer_Expecter) GenerateAggchainProof(_a0 interface{}, _a1 interface{}) *AggchainProofServiceServer_GenerateAggchainProof_Call
- func (_e *AggchainProofServiceServer_Expecter) GenerateOptimisticAggchainProof(_a0 interface{}, _a1 interface{}) *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call
- type AggchainProofServiceServer_GenerateAggchainProof_Call
- func (_c *AggchainProofServiceServer_GenerateAggchainProof_Call) Return(_a0 *proverv1.GenerateAggchainProofResponse, _a1 error) *AggchainProofServiceServer_GenerateAggchainProof_Call
- func (_c *AggchainProofServiceServer_GenerateAggchainProof_Call) Run(run func(_a0 context.Context, _a1 *proverv1.GenerateAggchainProofRequest)) *AggchainProofServiceServer_GenerateAggchainProof_Call
- func (_c *AggchainProofServiceServer_GenerateAggchainProof_Call) RunAndReturn(...) *AggchainProofServiceServer_GenerateAggchainProof_Call
- type AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call) Return(_a0 *proverv1.GenerateOptimisticAggchainProofResponse, _a1 error) *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call) Run(...) *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call
- func (_c *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call) RunAndReturn(...) *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call
- type AggsenderBuilderFlow
- func (_m *AggsenderBuilderFlow) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)
- func (_m *AggsenderBuilderFlow) CheckInitialStatus(ctx context.Context) error
- func (_m *AggsenderBuilderFlow) EXPECT() *AggsenderBuilderFlow_Expecter
- func (_m *AggsenderBuilderFlow) GenerateBuildParams(ctx context.Context, preParams *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)
- func (_m *AggsenderBuilderFlow) GetCertificateBuildParams(ctx context.Context) (*types.CertificateBuildParams, error)
- func (_m *AggsenderBuilderFlow) Signer() signertypes.Signer
- func (_m *AggsenderBuilderFlow) UpdateAggchainData(cert *agglayertypes.Certificate, multisig *agglayertypes.Multisig) error
- type AggsenderBuilderFlow_BuildCertificate_Call
- func (_c *AggsenderBuilderFlow_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *AggsenderBuilderFlow_BuildCertificate_Call
- func (_c *AggsenderBuilderFlow_BuildCertificate_Call) Run(run func(ctx context.Context, buildParams *types.CertificateBuildParams)) *AggsenderBuilderFlow_BuildCertificate_Call
- func (_c *AggsenderBuilderFlow_BuildCertificate_Call) RunAndReturn(...) *AggsenderBuilderFlow_BuildCertificate_Call
- type AggsenderBuilderFlow_CheckInitialStatus_Call
- func (_c *AggsenderBuilderFlow_CheckInitialStatus_Call) Return(_a0 error) *AggsenderBuilderFlow_CheckInitialStatus_Call
- func (_c *AggsenderBuilderFlow_CheckInitialStatus_Call) Run(run func(ctx context.Context)) *AggsenderBuilderFlow_CheckInitialStatus_Call
- func (_c *AggsenderBuilderFlow_CheckInitialStatus_Call) RunAndReturn(run func(context.Context) error) *AggsenderBuilderFlow_CheckInitialStatus_Call
- type AggsenderBuilderFlow_Expecter
- func (_e *AggsenderBuilderFlow_Expecter) BuildCertificate(ctx interface{}, buildParams interface{}) *AggsenderBuilderFlow_BuildCertificate_Call
- func (_e *AggsenderBuilderFlow_Expecter) CheckInitialStatus(ctx interface{}) *AggsenderBuilderFlow_CheckInitialStatus_Call
- func (_e *AggsenderBuilderFlow_Expecter) GenerateBuildParams(ctx interface{}, preParams interface{}) *AggsenderBuilderFlow_GenerateBuildParams_Call
- func (_e *AggsenderBuilderFlow_Expecter) GetCertificateBuildParams(ctx interface{}) *AggsenderBuilderFlow_GetCertificateBuildParams_Call
- func (_e *AggsenderBuilderFlow_Expecter) Signer() *AggsenderBuilderFlow_Signer_Call
- func (_e *AggsenderBuilderFlow_Expecter) UpdateAggchainData(cert interface{}, multisig interface{}) *AggsenderBuilderFlow_UpdateAggchainData_Call
- type AggsenderBuilderFlow_GenerateBuildParams_Call
- func (_c *AggsenderBuilderFlow_GenerateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderBuilderFlow_GenerateBuildParams_Call
- func (_c *AggsenderBuilderFlow_GenerateBuildParams_Call) Run(run func(ctx context.Context, preParams *types.CertificatePreBuildParams)) *AggsenderBuilderFlow_GenerateBuildParams_Call
- func (_c *AggsenderBuilderFlow_GenerateBuildParams_Call) RunAndReturn(...) *AggsenderBuilderFlow_GenerateBuildParams_Call
- type AggsenderBuilderFlow_GetCertificateBuildParams_Call
- func (_c *AggsenderBuilderFlow_GetCertificateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderBuilderFlow_GetCertificateBuildParams_Call
- func (_c *AggsenderBuilderFlow_GetCertificateBuildParams_Call) Run(run func(ctx context.Context)) *AggsenderBuilderFlow_GetCertificateBuildParams_Call
- func (_c *AggsenderBuilderFlow_GetCertificateBuildParams_Call) RunAndReturn(run func(context.Context) (*types.CertificateBuildParams, error)) *AggsenderBuilderFlow_GetCertificateBuildParams_Call
- type AggsenderBuilderFlow_Signer_Call
- func (_c *AggsenderBuilderFlow_Signer_Call) Return(_a0 signertypes.Signer) *AggsenderBuilderFlow_Signer_Call
- func (_c *AggsenderBuilderFlow_Signer_Call) Run(run func()) *AggsenderBuilderFlow_Signer_Call
- func (_c *AggsenderBuilderFlow_Signer_Call) RunAndReturn(run func() signertypes.Signer) *AggsenderBuilderFlow_Signer_Call
- type AggsenderBuilderFlow_UpdateAggchainData_Call
- func (_c *AggsenderBuilderFlow_UpdateAggchainData_Call) Return(_a0 error) *AggsenderBuilderFlow_UpdateAggchainData_Call
- func (_c *AggsenderBuilderFlow_UpdateAggchainData_Call) Run(run func(cert *agglayertypes.Certificate, multisig *agglayertypes.Multisig)) *AggsenderBuilderFlow_UpdateAggchainData_Call
- func (_c *AggsenderBuilderFlow_UpdateAggchainData_Call) RunAndReturn(run func(*agglayertypes.Certificate, *agglayertypes.Multisig) error) *AggsenderBuilderFlow_UpdateAggchainData_Call
- type AggsenderFlowBaser
- func (_m *AggsenderFlowBaser) BuildCertificate(ctx context.Context, certParams *types.CertificateBuildParams, ...) (*agglayertypes.Certificate, error)
- func (_m *AggsenderFlowBaser) ConvertClaimToImportedBridgeExit(claim bridgesync.Claim) (*agglayertypes.ImportedBridgeExit, error)
- func (_m *AggsenderFlowBaser) EXPECT() *AggsenderFlowBaser_Expecter
- func (_m *AggsenderFlowBaser) GenerateBuildParams(ctx context.Context, preParams types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)
- func (_m *AggsenderFlowBaser) GeneratePreBuildParams(ctx context.Context, certType types.CertificateType) (*types.CertificatePreBuildParams, error)
- func (_m *AggsenderFlowBaser) GetCertificateBuildParamsInternal(ctx context.Context, certType types.CertificateType) (*types.CertificateBuildParams, error)
- func (_m *AggsenderFlowBaser) GetNewLocalExitRoot(ctx context.Context, certParams *types.CertificateBuildParams) (common.Hash, error)
- func (_m *AggsenderFlowBaser) LimitCertSize(certParams *types.CertificateBuildParams) (*types.CertificateBuildParams, error)
- func (_m *AggsenderFlowBaser) StartL2Block() uint64
- func (_m *AggsenderFlowBaser) VerifyBlockRangeGaps(ctx context.Context, lastSentCertificate *types.CertificateHeader, ...) error
- func (_m *AggsenderFlowBaser) VerifyBuildParams(ctx context.Context, fullCert *types.CertificateBuildParams) error
- type AggsenderFlowBaser_BuildCertificate_Call
- func (_c *AggsenderFlowBaser_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *AggsenderFlowBaser_BuildCertificate_Call
- func (_c *AggsenderFlowBaser_BuildCertificate_Call) Run(run func(ctx context.Context, certParams *types.CertificateBuildParams, ...)) *AggsenderFlowBaser_BuildCertificate_Call
- func (_c *AggsenderFlowBaser_BuildCertificate_Call) RunAndReturn(...) *AggsenderFlowBaser_BuildCertificate_Call
- type AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call
- func (_c *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call) Return(_a0 *agglayertypes.ImportedBridgeExit, _a1 error) *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call
- func (_c *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call) Run(run func(claim bridgesync.Claim)) *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call
- func (_c *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call) RunAndReturn(run func(bridgesync.Claim) (*agglayertypes.ImportedBridgeExit, error)) *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call
- type AggsenderFlowBaser_Expecter
- func (_e *AggsenderFlowBaser_Expecter) BuildCertificate(ctx interface{}, certParams interface{}, lastSentCertificate interface{}, ...) *AggsenderFlowBaser_BuildCertificate_Call
- func (_e *AggsenderFlowBaser_Expecter) ConvertClaimToImportedBridgeExit(claim interface{}) *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call
- func (_e *AggsenderFlowBaser_Expecter) GenerateBuildParams(ctx interface{}, preParams interface{}) *AggsenderFlowBaser_GenerateBuildParams_Call
- func (_e *AggsenderFlowBaser_Expecter) GeneratePreBuildParams(ctx interface{}, certType interface{}) *AggsenderFlowBaser_GeneratePreBuildParams_Call
- func (_e *AggsenderFlowBaser_Expecter) GetCertificateBuildParamsInternal(ctx interface{}, certType interface{}) *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call
- func (_e *AggsenderFlowBaser_Expecter) GetNewLocalExitRoot(ctx interface{}, certParams interface{}) *AggsenderFlowBaser_GetNewLocalExitRoot_Call
- func (_e *AggsenderFlowBaser_Expecter) LimitCertSize(certParams interface{}) *AggsenderFlowBaser_LimitCertSize_Call
- func (_e *AggsenderFlowBaser_Expecter) StartL2Block() *AggsenderFlowBaser_StartL2Block_Call
- func (_e *AggsenderFlowBaser_Expecter) VerifyBlockRangeGaps(ctx interface{}, lastSentCertificate interface{}, newFromBlock interface{}, ...) *AggsenderFlowBaser_VerifyBlockRangeGaps_Call
- func (_e *AggsenderFlowBaser_Expecter) VerifyBuildParams(ctx interface{}, fullCert interface{}) *AggsenderFlowBaser_VerifyBuildParams_Call
- type AggsenderFlowBaser_GenerateBuildParams_Call
- func (_c *AggsenderFlowBaser_GenerateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderFlowBaser_GenerateBuildParams_Call
- func (_c *AggsenderFlowBaser_GenerateBuildParams_Call) Run(run func(ctx context.Context, preParams types.CertificatePreBuildParams)) *AggsenderFlowBaser_GenerateBuildParams_Call
- func (_c *AggsenderFlowBaser_GenerateBuildParams_Call) RunAndReturn(...) *AggsenderFlowBaser_GenerateBuildParams_Call
- type AggsenderFlowBaser_GeneratePreBuildParams_Call
- func (_c *AggsenderFlowBaser_GeneratePreBuildParams_Call) Return(_a0 *types.CertificatePreBuildParams, _a1 error) *AggsenderFlowBaser_GeneratePreBuildParams_Call
- func (_c *AggsenderFlowBaser_GeneratePreBuildParams_Call) Run(run func(ctx context.Context, certType types.CertificateType)) *AggsenderFlowBaser_GeneratePreBuildParams_Call
- func (_c *AggsenderFlowBaser_GeneratePreBuildParams_Call) RunAndReturn(...) *AggsenderFlowBaser_GeneratePreBuildParams_Call
- type AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call
- func (_c *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call
- func (_c *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call) Run(run func(ctx context.Context, certType types.CertificateType)) *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call
- func (_c *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call) RunAndReturn(...) *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call
- type AggsenderFlowBaser_GetNewLocalExitRoot_Call
- func (_c *AggsenderFlowBaser_GetNewLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *AggsenderFlowBaser_GetNewLocalExitRoot_Call
- func (_c *AggsenderFlowBaser_GetNewLocalExitRoot_Call) Run(run func(ctx context.Context, certParams *types.CertificateBuildParams)) *AggsenderFlowBaser_GetNewLocalExitRoot_Call
- func (_c *AggsenderFlowBaser_GetNewLocalExitRoot_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) (common.Hash, error)) *AggsenderFlowBaser_GetNewLocalExitRoot_Call
- type AggsenderFlowBaser_LimitCertSize_Call
- func (_c *AggsenderFlowBaser_LimitCertSize_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderFlowBaser_LimitCertSize_Call
- func (_c *AggsenderFlowBaser_LimitCertSize_Call) Run(run func(certParams *types.CertificateBuildParams)) *AggsenderFlowBaser_LimitCertSize_Call
- func (_c *AggsenderFlowBaser_LimitCertSize_Call) RunAndReturn(run func(*types.CertificateBuildParams) (*types.CertificateBuildParams, error)) *AggsenderFlowBaser_LimitCertSize_Call
- type AggsenderFlowBaser_StartL2Block_Call
- func (_c *AggsenderFlowBaser_StartL2Block_Call) Return(_a0 uint64) *AggsenderFlowBaser_StartL2Block_Call
- func (_c *AggsenderFlowBaser_StartL2Block_Call) Run(run func()) *AggsenderFlowBaser_StartL2Block_Call
- func (_c *AggsenderFlowBaser_StartL2Block_Call) RunAndReturn(run func() uint64) *AggsenderFlowBaser_StartL2Block_Call
- type AggsenderFlowBaser_VerifyBlockRangeGaps_Call
- func (_c *AggsenderFlowBaser_VerifyBlockRangeGaps_Call) Return(_a0 error) *AggsenderFlowBaser_VerifyBlockRangeGaps_Call
- func (_c *AggsenderFlowBaser_VerifyBlockRangeGaps_Call) Run(...) *AggsenderFlowBaser_VerifyBlockRangeGaps_Call
- func (_c *AggsenderFlowBaser_VerifyBlockRangeGaps_Call) RunAndReturn(run func(context.Context, *types.CertificateHeader, uint64, uint64) error) *AggsenderFlowBaser_VerifyBlockRangeGaps_Call
- type AggsenderFlowBaser_VerifyBuildParams_Call
- func (_c *AggsenderFlowBaser_VerifyBuildParams_Call) Return(_a0 error) *AggsenderFlowBaser_VerifyBuildParams_Call
- func (_c *AggsenderFlowBaser_VerifyBuildParams_Call) Run(run func(ctx context.Context, fullCert *types.CertificateBuildParams)) *AggsenderFlowBaser_VerifyBuildParams_Call
- func (_c *AggsenderFlowBaser_VerifyBuildParams_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) error) *AggsenderFlowBaser_VerifyBuildParams_Call
- type AggsenderInterface
- type AggsenderInterface_Expecter
- type AggsenderInterface_ForceTriggerCertitificate_Call
- func (_c *AggsenderInterface_ForceTriggerCertitificate_Call) Return() *AggsenderInterface_ForceTriggerCertitificate_Call
- func (_c *AggsenderInterface_ForceTriggerCertitificate_Call) Run(run func()) *AggsenderInterface_ForceTriggerCertitificate_Call
- func (_c *AggsenderInterface_ForceTriggerCertitificate_Call) RunAndReturn(run func()) *AggsenderInterface_ForceTriggerCertitificate_Call
- type AggsenderInterface_Info_Call
- func (_c *AggsenderInterface_Info_Call) Return(_a0 types.AggsenderInfo) *AggsenderInterface_Info_Call
- func (_c *AggsenderInterface_Info_Call) Run(run func()) *AggsenderInterface_Info_Call
- func (_c *AggsenderInterface_Info_Call) RunAndReturn(run func() types.AggsenderInfo) *AggsenderInterface_Info_Call
- type AggsenderStorer
- type AggsenderStorer_Expecter
- type AggsenderStorer_GetCertificateByHeight_Call
- func (_c *AggsenderStorer_GetCertificateByHeight_Call) Return(_a0 *types.Certificate, _a1 error) *AggsenderStorer_GetCertificateByHeight_Call
- func (_c *AggsenderStorer_GetCertificateByHeight_Call) Run(run func(height uint64)) *AggsenderStorer_GetCertificateByHeight_Call
- func (_c *AggsenderStorer_GetCertificateByHeight_Call) RunAndReturn(run func(uint64) (*types.Certificate, error)) *AggsenderStorer_GetCertificateByHeight_Call
- type AggsenderStorer_GetLastSentCertificate_Call
- func (_c *AggsenderStorer_GetLastSentCertificate_Call) Return(_a0 *types.Certificate, _a1 error) *AggsenderStorer_GetLastSentCertificate_Call
- func (_c *AggsenderStorer_GetLastSentCertificate_Call) Run(run func()) *AggsenderStorer_GetLastSentCertificate_Call
- func (_c *AggsenderStorer_GetLastSentCertificate_Call) RunAndReturn(run func() (*types.Certificate, error)) *AggsenderStorer_GetLastSentCertificate_Call
- type AggsenderValidatorClient
- func (_m *AggsenderValidatorClient) EXPECT() *AggsenderValidatorClient_Expecter
- func (_m *AggsenderValidatorClient) HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1.HealthCheckResponse, error)
- func (_m *AggsenderValidatorClient) ValidateCertificate(ctx context.Context, in *v1.ValidateCertificateRequest, ...) (*v1.ValidateCertificateResponse, error)
- type AggsenderValidatorClient_Expecter
- func (_e *AggsenderValidatorClient_Expecter) HealthCheck(ctx interface{}, in interface{}, opts ...interface{}) *AggsenderValidatorClient_HealthCheck_Call
- func (_e *AggsenderValidatorClient_Expecter) ValidateCertificate(ctx interface{}, in interface{}, opts ...interface{}) *AggsenderValidatorClient_ValidateCertificate_Call
- type AggsenderValidatorClient_HealthCheck_Call
- func (_c *AggsenderValidatorClient_HealthCheck_Call) Return(_a0 *v1.HealthCheckResponse, _a1 error) *AggsenderValidatorClient_HealthCheck_Call
- func (_c *AggsenderValidatorClient_HealthCheck_Call) Run(run func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)) *AggsenderValidatorClient_HealthCheck_Call
- func (_c *AggsenderValidatorClient_HealthCheck_Call) RunAndReturn(...) *AggsenderValidatorClient_HealthCheck_Call
- type AggsenderValidatorClient_ValidateCertificate_Call
- func (_c *AggsenderValidatorClient_ValidateCertificate_Call) Return(_a0 *v1.ValidateCertificateResponse, _a1 error) *AggsenderValidatorClient_ValidateCertificate_Call
- func (_c *AggsenderValidatorClient_ValidateCertificate_Call) Run(run func(ctx context.Context, in *v1.ValidateCertificateRequest, ...)) *AggsenderValidatorClient_ValidateCertificate_Call
- func (_c *AggsenderValidatorClient_ValidateCertificate_Call) RunAndReturn(...) *AggsenderValidatorClient_ValidateCertificate_Call
- type AggsenderVerifierFlow
- func (_m *AggsenderVerifierFlow) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)
- func (_m *AggsenderVerifierFlow) EXPECT() *AggsenderVerifierFlow_Expecter
- func (_m *AggsenderVerifierFlow) GenerateBuildParams(ctx context.Context, preParams *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)
- func (_m *AggsenderVerifierFlow) VerifyCertificate(ctx context.Context, cert *agglayertypes.Certificate, lastBlockInCert uint64, ...) error
- type AggsenderVerifierFlow_BuildCertificate_Call
- func (_c *AggsenderVerifierFlow_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *AggsenderVerifierFlow_BuildCertificate_Call
- func (_c *AggsenderVerifierFlow_BuildCertificate_Call) Run(run func(ctx context.Context, buildParams *types.CertificateBuildParams)) *AggsenderVerifierFlow_BuildCertificate_Call
- func (_c *AggsenderVerifierFlow_BuildCertificate_Call) RunAndReturn(...) *AggsenderVerifierFlow_BuildCertificate_Call
- type AggsenderVerifierFlow_Expecter
- func (_e *AggsenderVerifierFlow_Expecter) BuildCertificate(ctx interface{}, buildParams interface{}) *AggsenderVerifierFlow_BuildCertificate_Call
- func (_e *AggsenderVerifierFlow_Expecter) GenerateBuildParams(ctx interface{}, preParams interface{}) *AggsenderVerifierFlow_GenerateBuildParams_Call
- func (_e *AggsenderVerifierFlow_Expecter) VerifyCertificate(ctx interface{}, cert interface{}, lastBlockInCert interface{}, ...) *AggsenderVerifierFlow_VerifyCertificate_Call
- type AggsenderVerifierFlow_GenerateBuildParams_Call
- func (_c *AggsenderVerifierFlow_GenerateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderVerifierFlow_GenerateBuildParams_Call
- func (_c *AggsenderVerifierFlow_GenerateBuildParams_Call) Run(run func(ctx context.Context, preParams *types.CertificatePreBuildParams)) *AggsenderVerifierFlow_GenerateBuildParams_Call
- func (_c *AggsenderVerifierFlow_GenerateBuildParams_Call) RunAndReturn(...) *AggsenderVerifierFlow_GenerateBuildParams_Call
- type AggsenderVerifierFlow_VerifyCertificate_Call
- func (_c *AggsenderVerifierFlow_VerifyCertificate_Call) Return(_a0 error) *AggsenderVerifierFlow_VerifyCertificate_Call
- func (_c *AggsenderVerifierFlow_VerifyCertificate_Call) Run(...) *AggsenderVerifierFlow_VerifyCertificate_Call
- func (_c *AggsenderVerifierFlow_VerifyCertificate_Call) RunAndReturn(run func(context.Context, *agglayertypes.Certificate, uint64, uint64) error) *AggsenderVerifierFlow_VerifyCertificate_Call
- type BlockNotifier
- type BlockNotifier_Expecter
- type BlockNotifier_GetCurrentBlockNumber_Call
- func (_c *BlockNotifier_GetCurrentBlockNumber_Call) Return(_a0 uint64) *BlockNotifier_GetCurrentBlockNumber_Call
- func (_c *BlockNotifier_GetCurrentBlockNumber_Call) Run(run func()) *BlockNotifier_GetCurrentBlockNumber_Call
- func (_c *BlockNotifier_GetCurrentBlockNumber_Call) RunAndReturn(run func() uint64) *BlockNotifier_GetCurrentBlockNumber_Call
- type BlockNotifier_String_Call
- type BlockNotifier_Subscribe_Call
- func (_c *BlockNotifier_Subscribe_Call) Return(_a0 <-chan types.EventNewBlock) *BlockNotifier_Subscribe_Call
- func (_c *BlockNotifier_Subscribe_Call) Run(run func(id string)) *BlockNotifier_Subscribe_Call
- func (_c *BlockNotifier_Subscribe_Call) RunAndReturn(run func(string) <-chan types.EventNewBlock) *BlockNotifier_Subscribe_Call
- type BridgeQuerier
- func (_m *BridgeQuerier) EXPECT() *BridgeQuerier_Expecter
- func (_m *BridgeQuerier) GetBridgesAndClaims(ctx context.Context, fromBlock uint64, toBlock uint64) ([]bridgesync.Bridge, []bridgesync.Claim, error)
- func (_m *BridgeQuerier) GetExitRootByIndex(ctx context.Context, index uint32) (common.Hash, error)
- func (_m *BridgeQuerier) GetLastProcessedBlock(ctx context.Context) (uint64, error)
- func (_m *BridgeQuerier) OriginNetwork() uint32
- func (_m *BridgeQuerier) WaitForSyncerToCatchUp(ctx context.Context, block uint64) error
- type BridgeQuerier_Expecter
- func (_e *BridgeQuerier_Expecter) GetBridgesAndClaims(ctx interface{}, fromBlock interface{}, toBlock interface{}) *BridgeQuerier_GetBridgesAndClaims_Call
- func (_e *BridgeQuerier_Expecter) GetExitRootByIndex(ctx interface{}, index interface{}) *BridgeQuerier_GetExitRootByIndex_Call
- func (_e *BridgeQuerier_Expecter) GetLastProcessedBlock(ctx interface{}) *BridgeQuerier_GetLastProcessedBlock_Call
- func (_e *BridgeQuerier_Expecter) OriginNetwork() *BridgeQuerier_OriginNetwork_Call
- func (_e *BridgeQuerier_Expecter) WaitForSyncerToCatchUp(ctx interface{}, block interface{}) *BridgeQuerier_WaitForSyncerToCatchUp_Call
- type BridgeQuerier_GetBridgesAndClaims_Call
- func (_c *BridgeQuerier_GetBridgesAndClaims_Call) Return(_a0 []bridgesync.Bridge, _a1 []bridgesync.Claim, _a2 error) *BridgeQuerier_GetBridgesAndClaims_Call
- func (_c *BridgeQuerier_GetBridgesAndClaims_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *BridgeQuerier_GetBridgesAndClaims_Call
- func (_c *BridgeQuerier_GetBridgesAndClaims_Call) RunAndReturn(...) *BridgeQuerier_GetBridgesAndClaims_Call
- type BridgeQuerier_GetExitRootByIndex_Call
- func (_c *BridgeQuerier_GetExitRootByIndex_Call) Return(_a0 common.Hash, _a1 error) *BridgeQuerier_GetExitRootByIndex_Call
- func (_c *BridgeQuerier_GetExitRootByIndex_Call) Run(run func(ctx context.Context, index uint32)) *BridgeQuerier_GetExitRootByIndex_Call
- func (_c *BridgeQuerier_GetExitRootByIndex_Call) RunAndReturn(run func(context.Context, uint32) (common.Hash, error)) *BridgeQuerier_GetExitRootByIndex_Call
- type BridgeQuerier_GetLastProcessedBlock_Call
- func (_c *BridgeQuerier_GetLastProcessedBlock_Call) Return(_a0 uint64, _a1 error) *BridgeQuerier_GetLastProcessedBlock_Call
- func (_c *BridgeQuerier_GetLastProcessedBlock_Call) Run(run func(ctx context.Context)) *BridgeQuerier_GetLastProcessedBlock_Call
- func (_c *BridgeQuerier_GetLastProcessedBlock_Call) RunAndReturn(run func(context.Context) (uint64, error)) *BridgeQuerier_GetLastProcessedBlock_Call
- type BridgeQuerier_OriginNetwork_Call
- func (_c *BridgeQuerier_OriginNetwork_Call) Return(_a0 uint32) *BridgeQuerier_OriginNetwork_Call
- func (_c *BridgeQuerier_OriginNetwork_Call) Run(run func()) *BridgeQuerier_OriginNetwork_Call
- func (_c *BridgeQuerier_OriginNetwork_Call) RunAndReturn(run func() uint32) *BridgeQuerier_OriginNetwork_Call
- type BridgeQuerier_WaitForSyncerToCatchUp_Call
- func (_c *BridgeQuerier_WaitForSyncerToCatchUp_Call) Return(_a0 error) *BridgeQuerier_WaitForSyncerToCatchUp_Call
- func (_c *BridgeQuerier_WaitForSyncerToCatchUp_Call) Run(run func(ctx context.Context, block uint64)) *BridgeQuerier_WaitForSyncerToCatchUp_Call
- func (_c *BridgeQuerier_WaitForSyncerToCatchUp_Call) RunAndReturn(run func(context.Context, uint64) error) *BridgeQuerier_WaitForSyncerToCatchUp_Call
- type CertificateQuerier
- func (_m *CertificateQuerier) CalculateCertificateType(cert *types.Certificate, certToBlock uint64) aggsendertypes.CertificateType
- func (_m *CertificateQuerier) CalculateCertificateTypeFromToBlock(certToBlock uint64) aggsendertypes.CertificateType
- func (_m *CertificateQuerier) EXPECT() *CertificateQuerier_Expecter
- func (_m *CertificateQuerier) GetLastSettledCertificateToBlock(ctx context.Context, cert *types.CertificateHeader) (uint64, error)
- func (_m *CertificateQuerier) GetNewCertificateToBlock(ctx context.Context, cert *types.Certificate) (uint64, error)
- type CertificateQuerier_CalculateCertificateTypeFromToBlock_Call
- func (_c *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call) Return(_a0 aggsendertypes.CertificateType) *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call
- func (_c *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call) Run(run func(certToBlock uint64)) *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call
- func (_c *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call) RunAndReturn(run func(uint64) aggsendertypes.CertificateType) *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call
- type CertificateQuerier_CalculateCertificateType_Call
- func (_c *CertificateQuerier_CalculateCertificateType_Call) Return(_a0 aggsendertypes.CertificateType) *CertificateQuerier_CalculateCertificateType_Call
- func (_c *CertificateQuerier_CalculateCertificateType_Call) Run(run func(cert *types.Certificate, certToBlock uint64)) *CertificateQuerier_CalculateCertificateType_Call
- func (_c *CertificateQuerier_CalculateCertificateType_Call) RunAndReturn(run func(*types.Certificate, uint64) aggsendertypes.CertificateType) *CertificateQuerier_CalculateCertificateType_Call
- type CertificateQuerier_Expecter
- func (_e *CertificateQuerier_Expecter) CalculateCertificateType(cert interface{}, certToBlock interface{}) *CertificateQuerier_CalculateCertificateType_Call
- func (_e *CertificateQuerier_Expecter) CalculateCertificateTypeFromToBlock(certToBlock interface{}) *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call
- func (_e *CertificateQuerier_Expecter) GetLastSettledCertificateToBlock(ctx interface{}, cert interface{}) *CertificateQuerier_GetLastSettledCertificateToBlock_Call
- func (_e *CertificateQuerier_Expecter) GetNewCertificateToBlock(ctx interface{}, cert interface{}) *CertificateQuerier_GetNewCertificateToBlock_Call
- type CertificateQuerier_GetLastSettledCertificateToBlock_Call
- func (_c *CertificateQuerier_GetLastSettledCertificateToBlock_Call) Return(_a0 uint64, _a1 error) *CertificateQuerier_GetLastSettledCertificateToBlock_Call
- func (_c *CertificateQuerier_GetLastSettledCertificateToBlock_Call) Run(run func(ctx context.Context, cert *types.CertificateHeader)) *CertificateQuerier_GetLastSettledCertificateToBlock_Call
- func (_c *CertificateQuerier_GetLastSettledCertificateToBlock_Call) RunAndReturn(run func(context.Context, *types.CertificateHeader) (uint64, error)) *CertificateQuerier_GetLastSettledCertificateToBlock_Call
- type CertificateQuerier_GetNewCertificateToBlock_Call
- func (_c *CertificateQuerier_GetNewCertificateToBlock_Call) Return(_a0 uint64, _a1 error) *CertificateQuerier_GetNewCertificateToBlock_Call
- func (_c *CertificateQuerier_GetNewCertificateToBlock_Call) Run(run func(ctx context.Context, cert *types.Certificate)) *CertificateQuerier_GetNewCertificateToBlock_Call
- func (_c *CertificateQuerier_GetNewCertificateToBlock_Call) RunAndReturn(run func(context.Context, *types.Certificate) (uint64, error)) *CertificateQuerier_GetNewCertificateToBlock_Call
- type CertificateStatusChecker
- func (_m *CertificateStatusChecker) CheckInitialStatus(ctx context.Context, delayBetweenRetries time.Duration, ...)
- func (_m *CertificateStatusChecker) CheckPeriodicallyStatus(ctx context.Context) (types.CertStatus, error)
- func (_m *CertificateStatusChecker) EXPECT() *CertificateStatusChecker_Expecter
- type CertificateStatusChecker_CheckInitialStatus_Call
- func (_c *CertificateStatusChecker_CheckInitialStatus_Call) Return() *CertificateStatusChecker_CheckInitialStatus_Call
- func (_c *CertificateStatusChecker_CheckInitialStatus_Call) Run(run func(ctx context.Context, delayBetweenRetries time.Duration, ...)) *CertificateStatusChecker_CheckInitialStatus_Call
- func (_c *CertificateStatusChecker_CheckInitialStatus_Call) RunAndReturn(run func(context.Context, time.Duration, *types.AggsenderStatus)) *CertificateStatusChecker_CheckInitialStatus_Call
- type CertificateStatusChecker_CheckPeriodicallyStatus_Call
- func (_c *CertificateStatusChecker_CheckPeriodicallyStatus_Call) Return(_a0 types.CertStatus, _a1 error) *CertificateStatusChecker_CheckPeriodicallyStatus_Call
- func (_c *CertificateStatusChecker_CheckPeriodicallyStatus_Call) Run(run func(ctx context.Context)) *CertificateStatusChecker_CheckPeriodicallyStatus_Call
- func (_c *CertificateStatusChecker_CheckPeriodicallyStatus_Call) RunAndReturn(run func(context.Context) (types.CertStatus, error)) *CertificateStatusChecker_CheckPeriodicallyStatus_Call
- type CertificateStatusChecker_Expecter
- func (_e *CertificateStatusChecker_Expecter) CheckInitialStatus(ctx interface{}, delayBetweenRetries interface{}, aggsenderStatus interface{}) *CertificateStatusChecker_CheckInitialStatus_Call
- func (_e *CertificateStatusChecker_Expecter) CheckPeriodicallyStatus(ctx interface{}) *CertificateStatusChecker_CheckPeriodicallyStatus_Call
- type CertificateValidateAndSigner
- func (_m *CertificateValidateAndSigner) Address() common.Address
- func (_m *CertificateValidateAndSigner) EXPECT() *CertificateValidateAndSigner_Expecter
- func (_m *CertificateValidateAndSigner) HealthCheck(ctx context.Context) (*types.HealthCheckResponse, error)
- func (_m *CertificateValidateAndSigner) Index() uint32
- func (_m *CertificateValidateAndSigner) String() string
- func (_m *CertificateValidateAndSigner) URL() string
- func (_m *CertificateValidateAndSigner) ValidateAndSignCertificate(ctx context.Context, certificate *agglayertypes.Certificate, ...) ([]byte, error)
- type CertificateValidateAndSigner_Address_Call
- func (_c *CertificateValidateAndSigner_Address_Call) Return(_a0 common.Address) *CertificateValidateAndSigner_Address_Call
- func (_c *CertificateValidateAndSigner_Address_Call) Run(run func()) *CertificateValidateAndSigner_Address_Call
- func (_c *CertificateValidateAndSigner_Address_Call) RunAndReturn(run func() common.Address) *CertificateValidateAndSigner_Address_Call
- type CertificateValidateAndSigner_Expecter
- func (_e *CertificateValidateAndSigner_Expecter) Address() *CertificateValidateAndSigner_Address_Call
- func (_e *CertificateValidateAndSigner_Expecter) HealthCheck(ctx interface{}) *CertificateValidateAndSigner_HealthCheck_Call
- func (_e *CertificateValidateAndSigner_Expecter) Index() *CertificateValidateAndSigner_Index_Call
- func (_e *CertificateValidateAndSigner_Expecter) String() *CertificateValidateAndSigner_String_Call
- func (_e *CertificateValidateAndSigner_Expecter) URL() *CertificateValidateAndSigner_URL_Call
- func (_e *CertificateValidateAndSigner_Expecter) ValidateAndSignCertificate(ctx interface{}, certificate interface{}, lastL2BlockInCert interface{}) *CertificateValidateAndSigner_ValidateAndSignCertificate_Call
- type CertificateValidateAndSigner_HealthCheck_Call
- func (_c *CertificateValidateAndSigner_HealthCheck_Call) Return(_a0 *types.HealthCheckResponse, _a1 error) *CertificateValidateAndSigner_HealthCheck_Call
- func (_c *CertificateValidateAndSigner_HealthCheck_Call) Run(run func(ctx context.Context)) *CertificateValidateAndSigner_HealthCheck_Call
- func (_c *CertificateValidateAndSigner_HealthCheck_Call) RunAndReturn(run func(context.Context) (*types.HealthCheckResponse, error)) *CertificateValidateAndSigner_HealthCheck_Call
- type CertificateValidateAndSigner_Index_Call
- func (_c *CertificateValidateAndSigner_Index_Call) Return(_a0 uint32) *CertificateValidateAndSigner_Index_Call
- func (_c *CertificateValidateAndSigner_Index_Call) Run(run func()) *CertificateValidateAndSigner_Index_Call
- func (_c *CertificateValidateAndSigner_Index_Call) RunAndReturn(run func() uint32) *CertificateValidateAndSigner_Index_Call
- type CertificateValidateAndSigner_String_Call
- func (_c *CertificateValidateAndSigner_String_Call) Return(_a0 string) *CertificateValidateAndSigner_String_Call
- func (_c *CertificateValidateAndSigner_String_Call) Run(run func()) *CertificateValidateAndSigner_String_Call
- func (_c *CertificateValidateAndSigner_String_Call) RunAndReturn(run func() string) *CertificateValidateAndSigner_String_Call
- type CertificateValidateAndSigner_URL_Call
- func (_c *CertificateValidateAndSigner_URL_Call) Return(_a0 string) *CertificateValidateAndSigner_URL_Call
- func (_c *CertificateValidateAndSigner_URL_Call) Run(run func()) *CertificateValidateAndSigner_URL_Call
- func (_c *CertificateValidateAndSigner_URL_Call) RunAndReturn(run func() string) *CertificateValidateAndSigner_URL_Call
- type CertificateValidateAndSigner_ValidateAndSignCertificate_Call
- func (_c *CertificateValidateAndSigner_ValidateAndSignCertificate_Call) Return(_a0 []byte, _a1 error) *CertificateValidateAndSigner_ValidateAndSignCertificate_Call
- func (_c *CertificateValidateAndSigner_ValidateAndSignCertificate_Call) Run(run func(ctx context.Context, certificate *agglayertypes.Certificate, ...)) *CertificateValidateAndSigner_ValidateAndSignCertificate_Call
- func (_c *CertificateValidateAndSigner_ValidateAndSignCertificate_Call) RunAndReturn(run func(context.Context, *agglayertypes.Certificate, uint64) ([]byte, error)) *CertificateValidateAndSigner_ValidateAndSignCertificate_Call
- type CertificateValidator
- type CertificateValidator_Expecter
- type CertificateValidator_ValidateCertificate_Call
- func (_c *CertificateValidator_ValidateCertificate_Call) Return(_a0 error) *CertificateValidator_ValidateCertificate_Call
- func (_c *CertificateValidator_ValidateCertificate_Call) Run(run func(ctx context.Context, params types.VerifyIncomingRequest)) *CertificateValidator_ValidateCertificate_Call
- func (_c *CertificateValidator_ValidateCertificate_Call) RunAndReturn(run func(context.Context, types.VerifyIncomingRequest) error) *CertificateValidator_ValidateCertificate_Call
- type ChainGERReader
- type ChainGERReader_Expecter
- type ChainGERReader_GetInjectedGERsForRange_Call
- func (_c *ChainGERReader_GetInjectedGERsForRange_Call) Return(_a0 map[common.Hash]l2gersync.GlobalExitRootInfo, _a1 error) *ChainGERReader_GetInjectedGERsForRange_Call
- func (_c *ChainGERReader_GetInjectedGERsForRange_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *ChainGERReader_GetInjectedGERsForRange_Call
- func (_c *ChainGERReader_GetInjectedGERsForRange_Call) RunAndReturn(...) *ChainGERReader_GetInjectedGERsForRange_Call
- type EpochNotifier
- func (_m *EpochNotifier) EXPECT() *EpochNotifier_Expecter
- func (_m *EpochNotifier) ForcePublishEpochEvent()
- func (_m *EpochNotifier) GetEpochStatus() types.EpochStatus
- func (_m *EpochNotifier) Start(ctx context.Context)
- func (_m *EpochNotifier) String() string
- func (_m *EpochNotifier) Subscribe(id string) <-chan types.EpochEvent
- type EpochNotifier_Expecter
- func (_e *EpochNotifier_Expecter) ForcePublishEpochEvent() *EpochNotifier_ForcePublishEpochEvent_Call
- func (_e *EpochNotifier_Expecter) GetEpochStatus() *EpochNotifier_GetEpochStatus_Call
- func (_e *EpochNotifier_Expecter) Start(ctx interface{}) *EpochNotifier_Start_Call
- func (_e *EpochNotifier_Expecter) String() *EpochNotifier_String_Call
- func (_e *EpochNotifier_Expecter) Subscribe(id interface{}) *EpochNotifier_Subscribe_Call
- type EpochNotifier_ForcePublishEpochEvent_Call
- func (_c *EpochNotifier_ForcePublishEpochEvent_Call) Return() *EpochNotifier_ForcePublishEpochEvent_Call
- func (_c *EpochNotifier_ForcePublishEpochEvent_Call) Run(run func()) *EpochNotifier_ForcePublishEpochEvent_Call
- func (_c *EpochNotifier_ForcePublishEpochEvent_Call) RunAndReturn(run func()) *EpochNotifier_ForcePublishEpochEvent_Call
- type EpochNotifier_GetEpochStatus_Call
- func (_c *EpochNotifier_GetEpochStatus_Call) Return(_a0 types.EpochStatus) *EpochNotifier_GetEpochStatus_Call
- func (_c *EpochNotifier_GetEpochStatus_Call) Run(run func()) *EpochNotifier_GetEpochStatus_Call
- func (_c *EpochNotifier_GetEpochStatus_Call) RunAndReturn(run func() types.EpochStatus) *EpochNotifier_GetEpochStatus_Call
- type EpochNotifier_Start_Call
- type EpochNotifier_String_Call
- type EpochNotifier_Subscribe_Call
- func (_c *EpochNotifier_Subscribe_Call) Return(_a0 <-chan types.EpochEvent) *EpochNotifier_Subscribe_Call
- func (_c *EpochNotifier_Subscribe_Call) Run(run func(id string)) *EpochNotifier_Subscribe_Call
- func (_c *EpochNotifier_Subscribe_Call) RunAndReturn(run func(string) <-chan types.EpochEvent) *EpochNotifier_Subscribe_Call
- type FEPContractQuerier
- func (_m *FEPContractQuerier) EXPECT() *FEPContractQuerier_Expecter
- func (_m *FEPContractQuerier) GetAggchainSigners(opts *bind.CallOpts) ([]common.Address, error)
- func (_m *FEPContractQuerier) LatestBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- func (_m *FEPContractQuerier) OpSuccinctConfigs(opts *bind.CallOpts, arg0 [32]byte) (struct{ ... }, error)
- func (_m *FEPContractQuerier) OptimisticMode(opts *bind.CallOpts) (bool, error)
- func (_m *FEPContractQuerier) SelectedOpSuccinctConfigName(opts *bind.CallOpts) ([32]byte, error)
- func (_m *FEPContractQuerier) StartingBlockNumber(opts *bind.CallOpts) (*big.Int, error)
- type FEPContractQuerier_Expecter
- func (_e *FEPContractQuerier_Expecter) GetAggchainSigners(opts interface{}) *FEPContractQuerier_GetAggchainSigners_Call
- func (_e *FEPContractQuerier_Expecter) LatestBlockNumber(opts interface{}) *FEPContractQuerier_LatestBlockNumber_Call
- func (_e *FEPContractQuerier_Expecter) OpSuccinctConfigs(opts interface{}, arg0 interface{}) *FEPContractQuerier_OpSuccinctConfigs_Call
- func (_e *FEPContractQuerier_Expecter) OptimisticMode(opts interface{}) *FEPContractQuerier_OptimisticMode_Call
- func (_e *FEPContractQuerier_Expecter) SelectedOpSuccinctConfigName(opts interface{}) *FEPContractQuerier_SelectedOpSuccinctConfigName_Call
- func (_e *FEPContractQuerier_Expecter) StartingBlockNumber(opts interface{}) *FEPContractQuerier_StartingBlockNumber_Call
- type FEPContractQuerier_GetAggchainSigners_Call
- func (_c *FEPContractQuerier_GetAggchainSigners_Call) Return(_a0 []common.Address, _a1 error) *FEPContractQuerier_GetAggchainSigners_Call
- func (_c *FEPContractQuerier_GetAggchainSigners_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_GetAggchainSigners_Call
- func (_c *FEPContractQuerier_GetAggchainSigners_Call) RunAndReturn(run func(*bind.CallOpts) ([]common.Address, error)) *FEPContractQuerier_GetAggchainSigners_Call
- type FEPContractQuerier_LatestBlockNumber_Call
- func (_c *FEPContractQuerier_LatestBlockNumber_Call) Return(_a0 *big.Int, _a1 error) *FEPContractQuerier_LatestBlockNumber_Call
- func (_c *FEPContractQuerier_LatestBlockNumber_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_LatestBlockNumber_Call
- func (_c *FEPContractQuerier_LatestBlockNumber_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *FEPContractQuerier_LatestBlockNumber_Call
- type FEPContractQuerier_OpSuccinctConfigs_Call
- func (_c *FEPContractQuerier_OpSuccinctConfigs_Call) Return(_a0 struct{ ... }, _a1 error) *FEPContractQuerier_OpSuccinctConfigs_Call
- func (_c *FEPContractQuerier_OpSuccinctConfigs_Call) Run(run func(opts *bind.CallOpts, arg0 [32]byte)) *FEPContractQuerier_OpSuccinctConfigs_Call
- func (_c *FEPContractQuerier_OpSuccinctConfigs_Call) RunAndReturn(run func(*bind.CallOpts, [32]byte) (struct{ ... }, error)) *FEPContractQuerier_OpSuccinctConfigs_Call
- type FEPContractQuerier_OptimisticMode_Call
- func (_c *FEPContractQuerier_OptimisticMode_Call) Return(_a0 bool, _a1 error) *FEPContractQuerier_OptimisticMode_Call
- func (_c *FEPContractQuerier_OptimisticMode_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_OptimisticMode_Call
- func (_c *FEPContractQuerier_OptimisticMode_Call) RunAndReturn(run func(*bind.CallOpts) (bool, error)) *FEPContractQuerier_OptimisticMode_Call
- type FEPContractQuerier_SelectedOpSuccinctConfigName_Call
- func (_c *FEPContractQuerier_SelectedOpSuccinctConfigName_Call) Return(_a0 [32]byte, _a1 error) *FEPContractQuerier_SelectedOpSuccinctConfigName_Call
- func (_c *FEPContractQuerier_SelectedOpSuccinctConfigName_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_SelectedOpSuccinctConfigName_Call
- func (_c *FEPContractQuerier_SelectedOpSuccinctConfigName_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *FEPContractQuerier_SelectedOpSuccinctConfigName_Call
- type FEPContractQuerier_StartingBlockNumber_Call
- func (_c *FEPContractQuerier_StartingBlockNumber_Call) Return(_a0 *big.Int, _a1 error) *FEPContractQuerier_StartingBlockNumber_Call
- func (_c *FEPContractQuerier_StartingBlockNumber_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_StartingBlockNumber_Call
- func (_c *FEPContractQuerier_StartingBlockNumber_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *FEPContractQuerier_StartingBlockNumber_Call
- type GERQuerier
- type GERQuerier_Expecter
- type GERQuerier_GetInjectedGERsProofs_Call
- func (_c *GERQuerier_GetInjectedGERsProofs_Call) Return(_a0 map[common.Hash]*agglayertypes.ProvenInsertedGERWithBlockNumber, _a1 error) *GERQuerier_GetInjectedGERsProofs_Call
- func (_c *GERQuerier_GetInjectedGERsProofs_Call) Run(...) *GERQuerier_GetInjectedGERsProofs_Call
- func (_c *GERQuerier_GetInjectedGERsProofs_Call) RunAndReturn(...) *GERQuerier_GetInjectedGERsProofs_Call
- type GenericSubscriber
- type GenericSubscriber_Expecter
- type GenericSubscriber_Publish_Call
- type GenericSubscriber_Subscribe_Call
- func (_c *GenericSubscriber_Subscribe_Call[T]) Return(_a0 <-chan T) *GenericSubscriber_Subscribe_Call[T]
- func (_c *GenericSubscriber_Subscribe_Call[T]) Run(run func(subscriberName string)) *GenericSubscriber_Subscribe_Call[T]
- func (_c *GenericSubscriber_Subscribe_Call[T]) RunAndReturn(run func(string) <-chan T) *GenericSubscriber_Subscribe_Call[T]
- type L1InfoTreeDataQuerier
- func (_m *L1InfoTreeDataQuerier) CheckIfClaimsArePartOfFinalizedL1InfoTree(finalizedL1InfoTreeRoot *types.Root, claims []bridgesync.Claim) error
- func (_m *L1InfoTreeDataQuerier) EXPECT() *L1InfoTreeDataQuerier_Expecter
- func (_m *L1InfoTreeDataQuerier) GetFinalizedL1InfoTreeData(ctx context.Context) (types.Proof, *l1infotreesync.L1InfoTreeLeaf, *types.Root, error)
- func (_m *L1InfoTreeDataQuerier) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeDataQuerier) GetL1InfoRootByLeafIndex(ctx context.Context, leafCount uint32) (*types.Root, error)
- func (_m *L1InfoTreeDataQuerier) GetLatestFinalizedL1InfoRoot(ctx context.Context) (*types.Root, *l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeDataQuerier) GetProofForGER(ctx context.Context, ger common.Hash, rootFromWhichToProve common.Hash) (*l1infotreesync.L1InfoTreeLeaf, types.Proof, error)
- type L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call
- func (_c *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call) Return(_a0 error) *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call
- func (_c *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call) Run(run func(finalizedL1InfoTreeRoot *types.Root, claims []bridgesync.Claim)) *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call
- func (_c *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call) RunAndReturn(run func(*types.Root, []bridgesync.Claim) error) *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call
- type L1InfoTreeDataQuerier_Expecter
- func (_e *L1InfoTreeDataQuerier_Expecter) CheckIfClaimsArePartOfFinalizedL1InfoTree(finalizedL1InfoTreeRoot interface{}, claims interface{}) *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call
- func (_e *L1InfoTreeDataQuerier_Expecter) GetFinalizedL1InfoTreeData(ctx interface{}) *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
- func (_e *L1InfoTreeDataQuerier_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreeDataQuerier_GetInfoByIndex_Call
- func (_e *L1InfoTreeDataQuerier_Expecter) GetL1InfoRootByLeafIndex(ctx interface{}, leafCount interface{}) *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
- func (_e *L1InfoTreeDataQuerier_Expecter) GetLatestFinalizedL1InfoRoot(ctx interface{}) *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
- func (_e *L1InfoTreeDataQuerier_Expecter) GetProofForGER(ctx interface{}, ger interface{}, rootFromWhichToProve interface{}) *L1InfoTreeDataQuerier_GetProofForGER_Call
- type L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
- func (_c *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) Return(_a0 types.Proof, _a1 *l1infotreesync.L1InfoTreeLeaf, _a2 *types.Root, ...) *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
- func (_c *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) Run(run func(ctx context.Context)) *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
- func (_c *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) RunAndReturn(...) *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
- type L1InfoTreeDataQuerier_GetInfoByIndex_Call
- func (_c *L1InfoTreeDataQuerier_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeDataQuerier_GetInfoByIndex_Call
- func (_c *L1InfoTreeDataQuerier_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeDataQuerier_GetInfoByIndex_Call
- func (_c *L1InfoTreeDataQuerier_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeDataQuerier_GetInfoByIndex_Call
- type L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
- func (_c *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) Return(_a0 *types.Root, _a1 error) *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
- func (_c *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) Run(run func(ctx context.Context, leafCount uint32)) *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
- func (_c *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) RunAndReturn(run func(context.Context, uint32) (*types.Root, error)) *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
- type L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
- func (_c *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) Return(_a0 *types.Root, _a1 *l1infotreesync.L1InfoTreeLeaf, _a2 error) *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
- func (_c *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) Run(run func(ctx context.Context)) *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
- func (_c *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) RunAndReturn(run func(context.Context) (*types.Root, *l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
- type L1InfoTreeDataQuerier_GetProofForGER_Call
- func (_c *L1InfoTreeDataQuerier_GetProofForGER_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 types.Proof, _a2 error) *L1InfoTreeDataQuerier_GetProofForGER_Call
- func (_c *L1InfoTreeDataQuerier_GetProofForGER_Call) Run(...) *L1InfoTreeDataQuerier_GetProofForGER_Call
- func (_c *L1InfoTreeDataQuerier_GetProofForGER_Call) RunAndReturn(...) *L1InfoTreeDataQuerier_GetProofForGER_Call
- type L1InfoTreeSyncer
- func (_m *L1InfoTreeSyncer) EXPECT() *L1InfoTreeSyncer_Expecter
- func (_m *L1InfoTreeSyncer) GetInfoByGlobalExitRoot(globalExitRoot common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetL1InfoTreeMerkleProofFromIndexToRoot(ctx context.Context, index uint32, root common.Hash) (treetypes.Proof, error)
- func (_m *L1InfoTreeSyncer) GetL1InfoTreeRootByIndex(ctx context.Context, index uint32) (treetypes.Root, error)
- func (_m *L1InfoTreeSyncer) GetLastL1InfoTreeRoot(ctx context.Context) (treetypes.Root, error)
- func (_m *L1InfoTreeSyncer) GetLatestL1InfoLeafUntilBlock(ctx context.Context, blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetProcessedBlockUntil(ctx context.Context, blockNumber uint64) (uint64, common.Hash, error)
- func (_m *L1InfoTreeSyncer) IsUpToDate(ctx context.Context, l1Client aggkittypes.BaseEthereumClienter) (bool, error)
- type L1InfoTreeSyncer_Expecter
- func (_e *L1InfoTreeSyncer_Expecter) GetInfoByGlobalExitRoot(globalExitRoot interface{}) *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreeSyncer_GetInfoByIndex_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetL1InfoTreeMerkleProofFromIndexToRoot(ctx interface{}, index interface{}, root interface{}) *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetL1InfoTreeRootByIndex(ctx interface{}, index interface{}) *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetLastL1InfoTreeRoot(ctx interface{}) *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetLatestL1InfoLeafUntilBlock(ctx interface{}, blockNum interface{}) *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetProcessedBlockUntil(ctx interface{}, blockNumber interface{}) *L1InfoTreeSyncer_GetProcessedBlockUntil_Call
- func (_e *L1InfoTreeSyncer_Expecter) IsUpToDate(ctx interface{}, l1Client interface{}) *L1InfoTreeSyncer_IsUpToDate_Call
- type L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) Run(run func(globalExitRoot common.Hash)) *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
- func (_c *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) RunAndReturn(run func(common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
- type L1InfoTreeSyncer_GetInfoByIndex_Call
- func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetInfoByIndex_Call
- func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeSyncer_GetInfoByIndex_Call
- func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetInfoByIndex_Call
- type L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call
- func (_c *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call) Return(_a0 treetypes.Proof, _a1 error) *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call
- func (_c *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call) Run(run func(ctx context.Context, index uint32, root common.Hash)) *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call
- func (_c *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (treetypes.Proof, error)) *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call
- type L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
- func (_c *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) Return(_a0 treetypes.Root, _a1 error) *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
- func (_c *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
- func (_c *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) RunAndReturn(run func(context.Context, uint32) (treetypes.Root, error)) *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
- type L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
- func (_c *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) Return(_a0 treetypes.Root, _a1 error) *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
- func (_c *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) Run(run func(ctx context.Context)) *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
- func (_c *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) RunAndReturn(run func(context.Context) (treetypes.Root, error)) *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
- type L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
- func (_c *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
- func (_c *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) Run(run func(ctx context.Context, blockNum uint64)) *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
- func (_c *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) RunAndReturn(run func(context.Context, uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
- type L1InfoTreeSyncer_GetProcessedBlockUntil_Call
- func (_c *L1InfoTreeSyncer_GetProcessedBlockUntil_Call) Return(_a0 uint64, _a1 common.Hash, _a2 error) *L1InfoTreeSyncer_GetProcessedBlockUntil_Call
- func (_c *L1InfoTreeSyncer_GetProcessedBlockUntil_Call) Run(run func(ctx context.Context, blockNumber uint64)) *L1InfoTreeSyncer_GetProcessedBlockUntil_Call
- func (_c *L1InfoTreeSyncer_GetProcessedBlockUntil_Call) RunAndReturn(run func(context.Context, uint64) (uint64, common.Hash, error)) *L1InfoTreeSyncer_GetProcessedBlockUntil_Call
- type L1InfoTreeSyncer_IsUpToDate_Call
- func (_c *L1InfoTreeSyncer_IsUpToDate_Call) Return(_a0 bool, _a1 error) *L1InfoTreeSyncer_IsUpToDate_Call
- func (_c *L1InfoTreeSyncer_IsUpToDate_Call) Run(run func(ctx context.Context, l1Client aggkittypes.BaseEthereumClienter)) *L1InfoTreeSyncer_IsUpToDate_Call
- func (_c *L1InfoTreeSyncer_IsUpToDate_Call) RunAndReturn(run func(context.Context, aggkittypes.BaseEthereumClienter) (bool, error)) *L1InfoTreeSyncer_IsUpToDate_Call
- type L2BridgeSyncer
- func (_m *L2BridgeSyncer) EXPECT() *L2BridgeSyncer_Expecter
- func (_m *L2BridgeSyncer) GetBlockByLER(ctx context.Context, ler common.Hash) (uint64, error)
- func (_m *L2BridgeSyncer) GetBridges(ctx context.Context, fromBlock uint64, toBlock uint64) ([]bridgesync.Bridge, error)
- func (_m *L2BridgeSyncer) GetClaims(ctx context.Context, fromBlock uint64, toBlock uint64) ([]bridgesync.Claim, error)
- func (_m *L2BridgeSyncer) GetClaimsByGlobalIndex(ctx context.Context, globalIndex *big.Int) ([]bridgesync.Claim, error)
- func (_m *L2BridgeSyncer) GetExitRootByHash(ctx context.Context, root common.Hash) (*treetypes.Root, error)
- func (_m *L2BridgeSyncer) GetExitRootByIndex(ctx context.Context, index uint32) (treetypes.Root, error)
- func (_m *L2BridgeSyncer) GetLastProcessedBlock(ctx context.Context) (uint64, error)
- func (_m *L2BridgeSyncer) OriginNetwork() uint32
- type L2BridgeSyncer_Expecter
- func (_e *L2BridgeSyncer_Expecter) GetBlockByLER(ctx interface{}, ler interface{}) *L2BridgeSyncer_GetBlockByLER_Call
- func (_e *L2BridgeSyncer_Expecter) GetBridges(ctx interface{}, fromBlock interface{}, toBlock interface{}) *L2BridgeSyncer_GetBridges_Call
- func (_e *L2BridgeSyncer_Expecter) GetClaims(ctx interface{}, fromBlock interface{}, toBlock interface{}) *L2BridgeSyncer_GetClaims_Call
- func (_e *L2BridgeSyncer_Expecter) GetClaimsByGlobalIndex(ctx interface{}, globalIndex interface{}) *L2BridgeSyncer_GetClaimsByGlobalIndex_Call
- func (_e *L2BridgeSyncer_Expecter) GetExitRootByHash(ctx interface{}, root interface{}) *L2BridgeSyncer_GetExitRootByHash_Call
- func (_e *L2BridgeSyncer_Expecter) GetExitRootByIndex(ctx interface{}, index interface{}) *L2BridgeSyncer_GetExitRootByIndex_Call
- func (_e *L2BridgeSyncer_Expecter) GetLastProcessedBlock(ctx interface{}) *L2BridgeSyncer_GetLastProcessedBlock_Call
- func (_e *L2BridgeSyncer_Expecter) OriginNetwork() *L2BridgeSyncer_OriginNetwork_Call
- type L2BridgeSyncer_GetBlockByLER_Call
- func (_c *L2BridgeSyncer_GetBlockByLER_Call) Return(_a0 uint64, _a1 error) *L2BridgeSyncer_GetBlockByLER_Call
- func (_c *L2BridgeSyncer_GetBlockByLER_Call) Run(run func(ctx context.Context, ler common.Hash)) *L2BridgeSyncer_GetBlockByLER_Call
- func (_c *L2BridgeSyncer_GetBlockByLER_Call) RunAndReturn(run func(context.Context, common.Hash) (uint64, error)) *L2BridgeSyncer_GetBlockByLER_Call
- type L2BridgeSyncer_GetBridges_Call
- func (_c *L2BridgeSyncer_GetBridges_Call) Return(_a0 []bridgesync.Bridge, _a1 error) *L2BridgeSyncer_GetBridges_Call
- func (_c *L2BridgeSyncer_GetBridges_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *L2BridgeSyncer_GetBridges_Call
- func (_c *L2BridgeSyncer_GetBridges_Call) RunAndReturn(run func(context.Context, uint64, uint64) ([]bridgesync.Bridge, error)) *L2BridgeSyncer_GetBridges_Call
- type L2BridgeSyncer_GetClaimsByGlobalIndex_Call
- func (_c *L2BridgeSyncer_GetClaimsByGlobalIndex_Call) Return(_a0 []bridgesync.Claim, _a1 error) *L2BridgeSyncer_GetClaimsByGlobalIndex_Call
- func (_c *L2BridgeSyncer_GetClaimsByGlobalIndex_Call) Run(run func(ctx context.Context, globalIndex *big.Int)) *L2BridgeSyncer_GetClaimsByGlobalIndex_Call
- func (_c *L2BridgeSyncer_GetClaimsByGlobalIndex_Call) RunAndReturn(run func(context.Context, *big.Int) ([]bridgesync.Claim, error)) *L2BridgeSyncer_GetClaimsByGlobalIndex_Call
- type L2BridgeSyncer_GetClaims_Call
- func (_c *L2BridgeSyncer_GetClaims_Call) Return(_a0 []bridgesync.Claim, _a1 error) *L2BridgeSyncer_GetClaims_Call
- func (_c *L2BridgeSyncer_GetClaims_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *L2BridgeSyncer_GetClaims_Call
- func (_c *L2BridgeSyncer_GetClaims_Call) RunAndReturn(run func(context.Context, uint64, uint64) ([]bridgesync.Claim, error)) *L2BridgeSyncer_GetClaims_Call
- type L2BridgeSyncer_GetExitRootByHash_Call
- func (_c *L2BridgeSyncer_GetExitRootByHash_Call) Return(_a0 *treetypes.Root, _a1 error) *L2BridgeSyncer_GetExitRootByHash_Call
- func (_c *L2BridgeSyncer_GetExitRootByHash_Call) Run(run func(ctx context.Context, root common.Hash)) *L2BridgeSyncer_GetExitRootByHash_Call
- func (_c *L2BridgeSyncer_GetExitRootByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*treetypes.Root, error)) *L2BridgeSyncer_GetExitRootByHash_Call
- type L2BridgeSyncer_GetExitRootByIndex_Call
- func (_c *L2BridgeSyncer_GetExitRootByIndex_Call) Return(_a0 treetypes.Root, _a1 error) *L2BridgeSyncer_GetExitRootByIndex_Call
- func (_c *L2BridgeSyncer_GetExitRootByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L2BridgeSyncer_GetExitRootByIndex_Call
- func (_c *L2BridgeSyncer_GetExitRootByIndex_Call) RunAndReturn(run func(context.Context, uint32) (treetypes.Root, error)) *L2BridgeSyncer_GetExitRootByIndex_Call
- type L2BridgeSyncer_GetLastProcessedBlock_Call
- func (_c *L2BridgeSyncer_GetLastProcessedBlock_Call) Return(_a0 uint64, _a1 error) *L2BridgeSyncer_GetLastProcessedBlock_Call
- func (_c *L2BridgeSyncer_GetLastProcessedBlock_Call) Run(run func(ctx context.Context)) *L2BridgeSyncer_GetLastProcessedBlock_Call
- func (_c *L2BridgeSyncer_GetLastProcessedBlock_Call) RunAndReturn(run func(context.Context) (uint64, error)) *L2BridgeSyncer_GetLastProcessedBlock_Call
- type L2BridgeSyncer_OriginNetwork_Call
- func (_c *L2BridgeSyncer_OriginNetwork_Call) Return(_a0 uint32) *L2BridgeSyncer_OriginNetwork_Call
- func (_c *L2BridgeSyncer_OriginNetwork_Call) Run(run func()) *L2BridgeSyncer_OriginNetwork_Call
- func (_c *L2BridgeSyncer_OriginNetwork_Call) RunAndReturn(run func() uint32) *L2BridgeSyncer_OriginNetwork_Call
- type LERQuerier
- type LERQuerier_Expecter
- type LERQuerier_GetLastLocalExitRoot_Call
- func (_c *LERQuerier_GetLastLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *LERQuerier_GetLastLocalExitRoot_Call
- func (_c *LERQuerier_GetLastLocalExitRoot_Call) Run(run func()) *LERQuerier_GetLastLocalExitRoot_Call
- func (_c *LERQuerier_GetLastLocalExitRoot_Call) RunAndReturn(run func() (common.Hash, error)) *LERQuerier_GetLastLocalExitRoot_Call
- type LocalExitRootQuery
- type LocalExitRootQuery_Expecter
- type LocalExitRootQuery_GetNewLocalExitRoot_Call
- func (_c *LocalExitRootQuery_GetNewLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *LocalExitRootQuery_GetNewLocalExitRoot_Call
- func (_c *LocalExitRootQuery_GetNewLocalExitRoot_Call) Run(run func(ctx context.Context, certParams *types.CertificateBuildParams)) *LocalExitRootQuery_GetNewLocalExitRoot_Call
- func (_c *LocalExitRootQuery_GetNewLocalExitRoot_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) (common.Hash, error)) *LocalExitRootQuery_GetNewLocalExitRoot_Call
- type Logger
- func (_m *Logger) Debug(args ...interface{})
- func (_m *Logger) Debugf(format string, args ...interface{})
- func (_m *Logger) EXPECT() *Logger_Expecter
- func (_m *Logger) Error(args ...interface{})
- func (_m *Logger) Errorf(format string, args ...interface{})
- func (_m *Logger) Fatalf(format string, args ...interface{})
- func (_m *Logger) Info(args ...interface{})
- func (_m *Logger) Infof(format string, args ...interface{})
- func (_m *Logger) Panicf(format string, args ...interface{})
- func (_m *Logger) Warn(args ...interface{})
- func (_m *Logger) Warnf(format string, args ...interface{})
- type Logger_Debug_Call
- type Logger_Debugf_Call
- type Logger_Error_Call
- type Logger_Errorf_Call
- type Logger_Expecter
- func (_e *Logger_Expecter) Debug(args ...interface{}) *Logger_Debug_Call
- func (_e *Logger_Expecter) Debugf(format interface{}, args ...interface{}) *Logger_Debugf_Call
- func (_e *Logger_Expecter) Error(args ...interface{}) *Logger_Error_Call
- func (_e *Logger_Expecter) Errorf(format interface{}, args ...interface{}) *Logger_Errorf_Call
- func (_e *Logger_Expecter) Fatalf(format interface{}, args ...interface{}) *Logger_Fatalf_Call
- func (_e *Logger_Expecter) Info(args ...interface{}) *Logger_Info_Call
- func (_e *Logger_Expecter) Infof(format interface{}, args ...interface{}) *Logger_Infof_Call
- func (_e *Logger_Expecter) Panicf(format interface{}, args ...interface{}) *Logger_Panicf_Call
- func (_e *Logger_Expecter) Warn(args ...interface{}) *Logger_Warn_Call
- func (_e *Logger_Expecter) Warnf(format interface{}, args ...interface{}) *Logger_Warnf_Call
- type Logger_Fatalf_Call
- type Logger_Info_Call
- type Logger_Infof_Call
- type Logger_Panicf_Call
- type Logger_Warn_Call
- type Logger_Warnf_Call
- type MaxL2BlockNumberLimiterInterface
- type MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call
- func (_c *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call
- func (_c *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call) Run(run func(buildParams *types.CertificateBuildParams)) *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call
- func (_c *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call) RunAndReturn(run func(*types.CertificateBuildParams) (*types.CertificateBuildParams, error)) *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call
- type MaxL2BlockNumberLimiterInterface_Expecter
- type MultisigContract
- func (_m *MultisigContract) AGGCHAINTYPE(opts *bind.CallOpts) ([2]byte, error)
- func (_m *MultisigContract) CONSENSUSTYPE(opts *bind.CallOpts) (uint32, error)
- func (_m *MultisigContract) EXPECT() *MultisigContract_Expecter
- func (_m *MultisigContract) GetAggchainSignerInfos(opts *bind.CallOpts) ([]aggchainbase.IAggchainSignersSignerInfo, error)
- func (_m *MultisigContract) Threshold(opts *bind.CallOpts) (*big.Int, error)
- type MultisigContract_AGGCHAINTYPE_Call
- func (_c *MultisigContract_AGGCHAINTYPE_Call) Return(_a0 [2]byte, _a1 error) *MultisigContract_AGGCHAINTYPE_Call
- func (_c *MultisigContract_AGGCHAINTYPE_Call) Run(run func(opts *bind.CallOpts)) *MultisigContract_AGGCHAINTYPE_Call
- func (_c *MultisigContract_AGGCHAINTYPE_Call) RunAndReturn(run func(*bind.CallOpts) ([2]byte, error)) *MultisigContract_AGGCHAINTYPE_Call
- type MultisigContract_CONSENSUSTYPE_Call
- func (_c *MultisigContract_CONSENSUSTYPE_Call) Return(_a0 uint32, _a1 error) *MultisigContract_CONSENSUSTYPE_Call
- func (_c *MultisigContract_CONSENSUSTYPE_Call) Run(run func(opts *bind.CallOpts)) *MultisigContract_CONSENSUSTYPE_Call
- func (_c *MultisigContract_CONSENSUSTYPE_Call) RunAndReturn(run func(*bind.CallOpts) (uint32, error)) *MultisigContract_CONSENSUSTYPE_Call
- type MultisigContract_Expecter
- func (_e *MultisigContract_Expecter) AGGCHAINTYPE(opts interface{}) *MultisigContract_AGGCHAINTYPE_Call
- func (_e *MultisigContract_Expecter) CONSENSUSTYPE(opts interface{}) *MultisigContract_CONSENSUSTYPE_Call
- func (_e *MultisigContract_Expecter) GetAggchainSignerInfos(opts interface{}) *MultisigContract_GetAggchainSignerInfos_Call
- func (_e *MultisigContract_Expecter) Threshold(opts interface{}) *MultisigContract_Threshold_Call
- type MultisigContract_GetAggchainSignerInfos_Call
- func (_c *MultisigContract_GetAggchainSignerInfos_Call) Return(_a0 []aggchainbase.IAggchainSignersSignerInfo, _a1 error) *MultisigContract_GetAggchainSignerInfos_Call
- func (_c *MultisigContract_GetAggchainSignerInfos_Call) Run(run func(opts *bind.CallOpts)) *MultisigContract_GetAggchainSignerInfos_Call
- func (_c *MultisigContract_GetAggchainSignerInfos_Call) RunAndReturn(run func(*bind.CallOpts) ([]aggchainbase.IAggchainSignersSignerInfo, error)) *MultisigContract_GetAggchainSignerInfos_Call
- type MultisigContract_Threshold_Call
- func (_c *MultisigContract_Threshold_Call) Return(_a0 *big.Int, _a1 error) *MultisigContract_Threshold_Call
- func (_c *MultisigContract_Threshold_Call) Run(run func(opts *bind.CallOpts)) *MultisigContract_Threshold_Call
- func (_c *MultisigContract_Threshold_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *MultisigContract_Threshold_Call
- type MultisigQuerier
- func (_m *MultisigQuerier) ContractMode() (types.AggsenderMode, error)
- func (_m *MultisigQuerier) EXPECT() *MultisigQuerier_Expecter
- func (_m *MultisigQuerier) GetMultisigCommittee(ctx context.Context, blockNum *big.Int) (*types.MultisigCommittee, error)
- func (_m *MultisigQuerier) ResolveAutoMode(cfgMode types.AggsenderMode) (types.AggsenderMode, error)
- type MultisigQuerier_ContractMode_Call
- func (_c *MultisigQuerier_ContractMode_Call) Return(_a0 types.AggsenderMode, _a1 error) *MultisigQuerier_ContractMode_Call
- func (_c *MultisigQuerier_ContractMode_Call) Run(run func()) *MultisigQuerier_ContractMode_Call
- func (_c *MultisigQuerier_ContractMode_Call) RunAndReturn(run func() (types.AggsenderMode, error)) *MultisigQuerier_ContractMode_Call
- type MultisigQuerier_Expecter
- func (_e *MultisigQuerier_Expecter) ContractMode() *MultisigQuerier_ContractMode_Call
- func (_e *MultisigQuerier_Expecter) GetMultisigCommittee(ctx interface{}, blockNum interface{}) *MultisigQuerier_GetMultisigCommittee_Call
- func (_e *MultisigQuerier_Expecter) ResolveAutoMode(cfgMode interface{}) *MultisigQuerier_ResolveAutoMode_Call
- type MultisigQuerier_GetMultisigCommittee_Call
- func (_c *MultisigQuerier_GetMultisigCommittee_Call) Return(_a0 *types.MultisigCommittee, _a1 error) *MultisigQuerier_GetMultisigCommittee_Call
- func (_c *MultisigQuerier_GetMultisigCommittee_Call) Run(run func(ctx context.Context, blockNum *big.Int)) *MultisigQuerier_GetMultisigCommittee_Call
- func (_c *MultisigQuerier_GetMultisigCommittee_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.MultisigCommittee, error)) *MultisigQuerier_GetMultisigCommittee_Call
- type MultisigQuerier_ResolveAutoMode_Call
- func (_c *MultisigQuerier_ResolveAutoMode_Call) Return(_a0 types.AggsenderMode, _a1 error) *MultisigQuerier_ResolveAutoMode_Call
- func (_c *MultisigQuerier_ResolveAutoMode_Call) Run(run func(cfgMode types.AggsenderMode)) *MultisigQuerier_ResolveAutoMode_Call
- func (_c *MultisigQuerier_ResolveAutoMode_Call) RunAndReturn(run func(types.AggsenderMode) (types.AggsenderMode, error)) *MultisigQuerier_ResolveAutoMode_Call
- type OpNodeClienter
- type OpNodeClienter_Expecter
- type OpNodeClienter_OutputAtBlockRoot_Call
- func (_c *OpNodeClienter_OutputAtBlockRoot_Call) Return(_a0 common.Hash, _a1 error) *OpNodeClienter_OutputAtBlockRoot_Call
- func (_c *OpNodeClienter_OutputAtBlockRoot_Call) Run(run func(blockNum uint64)) *OpNodeClienter_OutputAtBlockRoot_Call
- func (_c *OpNodeClienter_OutputAtBlockRoot_Call) RunAndReturn(run func(uint64) (common.Hash, error)) *OpNodeClienter_OutputAtBlockRoot_Call
- type OptimisticModeQuerier
- type OptimisticModeQuerier_Expecter
- type OptimisticModeQuerier_IsOptimisticModeOn_Call
- func (_c *OptimisticModeQuerier_IsOptimisticModeOn_Call) Return(_a0 bool, _a1 error) *OptimisticModeQuerier_IsOptimisticModeOn_Call
- func (_c *OptimisticModeQuerier_IsOptimisticModeOn_Call) Run(run func()) *OptimisticModeQuerier_IsOptimisticModeOn_Call
- func (_c *OptimisticModeQuerier_IsOptimisticModeOn_Call) RunAndReturn(run func() (bool, error)) *OptimisticModeQuerier_IsOptimisticModeOn_Call
- type OptimisticSigner
- type OptimisticSigner_Expecter
- type OptimisticSigner_Sign_Call
- func (_c *OptimisticSigner_Sign_Call) Return(_a0 []byte, _a1 string, _a2 error) *OptimisticSigner_Sign_Call
- func (_c *OptimisticSigner_Sign_Call) Run(run func(ctx context.Context, aggchainReq types.AggchainProofRequest, ...)) *OptimisticSigner_Sign_Call
- func (_c *OptimisticSigner_Sign_Call) RunAndReturn(...) *OptimisticSigner_Sign_Call
- type RollupDataQuerier
- type RollupDataQuerier_Expecter
- type RollupDataQuerier_GetRollupChainID_Call
- func (_c *RollupDataQuerier_GetRollupChainID_Call) Return(_a0 uint64, _a1 error) *RollupDataQuerier_GetRollupChainID_Call
- func (_c *RollupDataQuerier_GetRollupChainID_Call) Run(run func()) *RollupDataQuerier_GetRollupChainID_Call
- func (_c *RollupDataQuerier_GetRollupChainID_Call) RunAndReturn(run func() (uint64, error)) *RollupDataQuerier_GetRollupChainID_Call
- type RollupDataQuerier_GetRollupData_Call
- func (_c *RollupDataQuerier_GetRollupData_Call) Return(_a0 polygonrollupmanager.PolygonRollupManagerRollupDataReturn, _a1 error) *RollupDataQuerier_GetRollupData_Call
- func (_c *RollupDataQuerier_GetRollupData_Call) Run(run func(blockNumber *big.Int)) *RollupDataQuerier_GetRollupData_Call
- func (_c *RollupDataQuerier_GetRollupData_Call) RunAndReturn(...) *RollupDataQuerier_GetRollupData_Call
- type Signer
- func (_m *Signer) EXPECT() *Signer_Expecter
- func (_m *Signer) Initialize(_a0 context.Context) error
- func (_m *Signer) PublicAddress() common.Address
- func (_m *Signer) SignHash(_a0 context.Context, _a1 common.Hash) ([]byte, error)
- func (_m *Signer) SignTx(ctx context.Context, tx *coretypes.Transaction) (*coretypes.Transaction, error)
- func (_m *Signer) String() string
- type Signer_Expecter
- func (_e *Signer_Expecter) Initialize(_a0 interface{}) *Signer_Initialize_Call
- func (_e *Signer_Expecter) PublicAddress() *Signer_PublicAddress_Call
- func (_e *Signer_Expecter) SignHash(_a0 interface{}, _a1 interface{}) *Signer_SignHash_Call
- func (_e *Signer_Expecter) SignTx(ctx interface{}, tx interface{}) *Signer_SignTx_Call
- func (_e *Signer_Expecter) String() *Signer_String_Call
- type Signer_Initialize_Call
- type Signer_PublicAddress_Call
- type Signer_SignHash_Call
- func (_c *Signer_SignHash_Call) Return(_a0 []byte, _a1 error) *Signer_SignHash_Call
- func (_c *Signer_SignHash_Call) Run(run func(_a0 context.Context, _a1 common.Hash)) *Signer_SignHash_Call
- func (_c *Signer_SignHash_Call) RunAndReturn(run func(context.Context, common.Hash) ([]byte, error)) *Signer_SignHash_Call
- type Signer_SignTx_Call
- type Signer_String_Call
- type StorageRetainCertificatesPolicier
- type StorageRetainCertificatesPolicier_Expecter
- type StorageRetainCertificatesPolicier_OnNewCert_Call
- func (_c *StorageRetainCertificatesPolicier_OnNewCert_Call) Return(_a0 error) *StorageRetainCertificatesPolicier_OnNewCert_Call
- func (_c *StorageRetainCertificatesPolicier_OnNewCert_Call) Run(run func(tx types.Querier, storage db.AggSenderStorageMaintainer, ...)) *StorageRetainCertificatesPolicier_OnNewCert_Call
- func (_c *StorageRetainCertificatesPolicier_OnNewCert_Call) RunAndReturn(...) *StorageRetainCertificatesPolicier_OnNewCert_Call
- type UnsafeAggchainProofServiceServer
- type UnsafeAggchainProofServiceServer_Expecter
- type UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call
- func (_c *UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) Return() ...
- func (_c *UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) Run(run func()) ...
- func (_c *UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) RunAndReturn(run func()) ...
- type ValidatorClient
- type ValidatorClient_Expecter
- type ValidatorClient_HealthCheck_Call
- func (_c *ValidatorClient_HealthCheck_Call) Return(_a0 *types.HealthCheckResponse, _a1 error) *ValidatorClient_HealthCheck_Call
- func (_c *ValidatorClient_HealthCheck_Call) Run(run func(ctx context.Context)) *ValidatorClient_HealthCheck_Call
- func (_c *ValidatorClient_HealthCheck_Call) RunAndReturn(run func(context.Context) (*types.HealthCheckResponse, error)) *ValidatorClient_HealthCheck_Call
- type ValidatorClient_ValidateCertificate_Call
- func (_c *ValidatorClient_ValidateCertificate_Call) Return(_a0 []byte, _a1 error) *ValidatorClient_ValidateCertificate_Call
- func (_c *ValidatorClient_ValidateCertificate_Call) Run(run func(ctx context.Context, previousCertificateID *common.Hash, ...)) *ValidatorClient_ValidateCertificate_Call
- func (_c *ValidatorClient_ValidateCertificate_Call) RunAndReturn(...) *ValidatorClient_ValidateCertificate_Call
- type ValidatorPoller
- type ValidatorPoller_Expecter
- type ValidatorPoller_PollValidators_Call
- func (_c *ValidatorPoller_PollValidators_Call) Return(_a0 *agglayertypes.Multisig, _a1 error) *ValidatorPoller_PollValidators_Call
- func (_c *ValidatorPoller_PollValidators_Call) Run(run func(ctx context.Context, req *types.ValidationRequest)) *ValidatorPoller_PollValidators_Call
- func (_c *ValidatorPoller_PollValidators_Call) RunAndReturn(...) *ValidatorPoller_PollValidators_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AggProofPublicValuesQuerier ¶ added in v0.7.0
AggProofPublicValuesQuerier is an autogenerated mock type for the AggProofPublicValuesQuerier type
func NewAggProofPublicValuesQuerier ¶ added in v0.7.0
func NewAggProofPublicValuesQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *AggProofPublicValuesQuerier
NewAggProofPublicValuesQuerier creates a new instance of AggProofPublicValuesQuerier. 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 (*AggProofPublicValuesQuerier) EXPECT ¶ added in v0.7.0
func (_m *AggProofPublicValuesQuerier) EXPECT() *AggProofPublicValuesQuerier_Expecter
func (*AggProofPublicValuesQuerier) GetAggregationProofPublicValuesData ¶ added in v0.7.0
func (_m *AggProofPublicValuesQuerier) GetAggregationProofPublicValuesData(lastProvenBlock uint64, requestedEndBlock uint64, l1InfoTreeLeafHash common.Hash) (*types.AggregationProofPublicValues, error)
GetAggregationProofPublicValuesData provides a mock function with given fields: lastProvenBlock, requestedEndBlock, l1InfoTreeLeafHash
type AggProofPublicValuesQuerier_Expecter ¶ added in v0.7.0
type AggProofPublicValuesQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*AggProofPublicValuesQuerier_Expecter) GetAggregationProofPublicValuesData ¶ added in v0.7.0
func (_e *AggProofPublicValuesQuerier_Expecter) GetAggregationProofPublicValuesData(lastProvenBlock interface{}, requestedEndBlock interface{}, l1InfoTreeLeafHash interface{}) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call
GetAggregationProofPublicValuesData is a helper method to define mock.On call
- lastProvenBlock uint64
- requestedEndBlock uint64
- l1InfoTreeLeafHash common.Hash
type AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call ¶ added in v0.7.0
AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAggregationProofPublicValuesData'
func (*AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) Return ¶ added in v0.7.0
func (*AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) Run ¶ added in v0.7.0
func (_c *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) Run(run func(lastProvenBlock uint64, requestedEndBlock uint64, l1InfoTreeLeafHash common.Hash)) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call
func (*AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) RunAndReturn(run func(uint64, uint64, common.Hash) (*types.AggregationProofPublicValues, error)) *AggProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call
type AggSenderStorage ¶
AggSenderStorage is an autogenerated mock type for the AggSenderStorage type
func NewAggSenderStorage ¶
func NewAggSenderStorage(t interface {
mock.TestingT
Cleanup(func())
}) *AggSenderStorage
NewAggSenderStorage creates a new instance of AggSenderStorage. 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 (*AggSenderStorage) DeleteCertificate ¶
func (_m *AggSenderStorage) DeleteCertificate(tx types.Querier, height uint64, mustDelete db.DeleteFlag) error
DeleteCertificate provides a mock function with given fields: tx, height, mustDelete
func (*AggSenderStorage) DeleteOldCertificates ¶ added in v0.7.0
func (_m *AggSenderStorage) DeleteOldCertificates(tx types.Querier, olderThanHeight uint64) error
DeleteOldCertificates provides a mock function with given fields: tx, olderThanHeight
func (*AggSenderStorage) EXPECT ¶
func (_m *AggSenderStorage) EXPECT() *AggSenderStorage_Expecter
func (*AggSenderStorage) GetCertificateByHeight ¶
func (_m *AggSenderStorage) GetCertificateByHeight(height uint64) (*aggsendertypes.Certificate, error)
GetCertificateByHeight provides a mock function with given fields: height
func (*AggSenderStorage) GetCertificateHeaderByHeight ¶ added in v0.4.0
func (_m *AggSenderStorage) GetCertificateHeaderByHeight(height uint64) (*aggsendertypes.CertificateHeader, error)
GetCertificateHeaderByHeight provides a mock function with given fields: height
func (*AggSenderStorage) GetCertificateHeadersByStatus ¶ added in v0.4.0
func (_m *AggSenderStorage) GetCertificateHeadersByStatus(status []agglayertypes.CertificateStatus) ([]*aggsendertypes.CertificateHeader, error)
GetCertificateHeadersByStatus provides a mock function with given fields: status
func (*AggSenderStorage) GetLastSentCertificate ¶
func (_m *AggSenderStorage) GetLastSentCertificate() (*aggsendertypes.Certificate, error)
GetLastSentCertificate provides a mock function with no fields
func (*AggSenderStorage) GetLastSentCertificateHeader ¶ added in v0.4.0
func (_m *AggSenderStorage) GetLastSentCertificateHeader() (*aggsendertypes.CertificateHeader, error)
GetLastSentCertificateHeader provides a mock function with no fields
func (*AggSenderStorage) GetLastSentCertificateHeaderWithProofIfInError ¶ added in v0.4.0
func (_m *AggSenderStorage) GetLastSentCertificateHeaderWithProofIfInError(ctx context.Context) (*aggsendertypes.CertificateHeader, *aggsendertypes.AggchainProof, error)
GetLastSentCertificateHeaderWithProofIfInError provides a mock function with given fields: ctx
func (*AggSenderStorage) GetLastSettledCertificate ¶ added in v0.7.0
func (_m *AggSenderStorage) GetLastSettledCertificate() (*aggsendertypes.CertificateHeader, error)
GetLastSettledCertificate provides a mock function with no fields
func (*AggSenderStorage) GetNonAcceptedCertificate ¶ added in v0.4.0
func (_m *AggSenderStorage) GetNonAcceptedCertificate() (*db.NonAcceptedCertificate, error)
GetNonAcceptedCertificate provides a mock function with no fields
func (*AggSenderStorage) MoveCertificateToHistory ¶ added in v0.7.0
func (_m *AggSenderStorage) MoveCertificateToHistory(tx types.Querier, height uint64) error
MoveCertificateToHistory provides a mock function with given fields: tx, height
func (*AggSenderStorage) SaveLastSentCertificate ¶
func (_m *AggSenderStorage) SaveLastSentCertificate(ctx context.Context, certificate aggsendertypes.Certificate) error
SaveLastSentCertificate provides a mock function with given fields: ctx, certificate
func (*AggSenderStorage) SaveNonAcceptedCertificate ¶ added in v0.4.0
func (_m *AggSenderStorage) SaveNonAcceptedCertificate(ctx context.Context, nonAcceptedCert *db.NonAcceptedCertificate) error
SaveNonAcceptedCertificate provides a mock function with given fields: ctx, nonAcceptedCert
func (*AggSenderStorage) SaveOrUpdateCertificate ¶ added in v0.7.0
func (_m *AggSenderStorage) SaveOrUpdateCertificate(ctx context.Context, certificate aggsendertypes.Certificate) error
SaveOrUpdateCertificate provides a mock function with given fields: ctx, certificate
func (*AggSenderStorage) UpdateCertificateStatus ¶ added in v0.4.0
func (_m *AggSenderStorage) UpdateCertificateStatus(ctx context.Context, certificateID common.Hash, newStatus agglayertypes.CertificateStatus, updatedAt uint32) error
UpdateCertificateStatus provides a mock function with given fields: ctx, certificateID, newStatus, updatedAt
type AggSenderStorageMaintainer ¶ added in v0.7.0
AggSenderStorageMaintainer is an autogenerated mock type for the AggSenderStorageMaintainer type
func NewAggSenderStorageMaintainer ¶ added in v0.7.0
func NewAggSenderStorageMaintainer(t interface {
mock.TestingT
Cleanup(func())
}) *AggSenderStorageMaintainer
NewAggSenderStorageMaintainer creates a new instance of AggSenderStorageMaintainer. 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 (*AggSenderStorageMaintainer) DeleteCertificate ¶ added in v0.7.0
func (_m *AggSenderStorageMaintainer) DeleteCertificate(tx types.Querier, height uint64, mustDelete db.DeleteFlag) error
DeleteCertificate provides a mock function with given fields: tx, height, mustDelete
func (*AggSenderStorageMaintainer) DeleteOldCertificates ¶ added in v0.7.0
func (_m *AggSenderStorageMaintainer) DeleteOldCertificates(tx types.Querier, olderThanHeight uint64) error
DeleteOldCertificates provides a mock function with given fields: tx, olderThanHeight
func (*AggSenderStorageMaintainer) EXPECT ¶ added in v0.7.0
func (_m *AggSenderStorageMaintainer) EXPECT() *AggSenderStorageMaintainer_Expecter
func (*AggSenderStorageMaintainer) MoveCertificateToHistory ¶ added in v0.7.0
func (_m *AggSenderStorageMaintainer) MoveCertificateToHistory(tx types.Querier, height uint64) error
MoveCertificateToHistory provides a mock function with given fields: tx, height
type AggSenderStorageMaintainer_DeleteCertificate_Call ¶ added in v0.7.0
AggSenderStorageMaintainer_DeleteCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCertificate'
func (*AggSenderStorageMaintainer_DeleteCertificate_Call) Return ¶ added in v0.7.0
func (_c *AggSenderStorageMaintainer_DeleteCertificate_Call) Return(_a0 error) *AggSenderStorageMaintainer_DeleteCertificate_Call
func (*AggSenderStorageMaintainer_DeleteCertificate_Call) Run ¶ added in v0.7.0
func (_c *AggSenderStorageMaintainer_DeleteCertificate_Call) Run(run func(tx types.Querier, height uint64, mustDelete db.DeleteFlag)) *AggSenderStorageMaintainer_DeleteCertificate_Call
func (*AggSenderStorageMaintainer_DeleteCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggSenderStorageMaintainer_DeleteCertificate_Call) RunAndReturn(run func(types.Querier, uint64, db.DeleteFlag) error) *AggSenderStorageMaintainer_DeleteCertificate_Call
type AggSenderStorageMaintainer_DeleteOldCertificates_Call ¶ added in v0.7.0
AggSenderStorageMaintainer_DeleteOldCertificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteOldCertificates'
func (*AggSenderStorageMaintainer_DeleteOldCertificates_Call) Run ¶ added in v0.7.0
func (_c *AggSenderStorageMaintainer_DeleteOldCertificates_Call) Run(run func(tx types.Querier, olderThanHeight uint64)) *AggSenderStorageMaintainer_DeleteOldCertificates_Call
func (*AggSenderStorageMaintainer_DeleteOldCertificates_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggSenderStorageMaintainer_DeleteOldCertificates_Call) RunAndReturn(run func(types.Querier, uint64) error) *AggSenderStorageMaintainer_DeleteOldCertificates_Call
type AggSenderStorageMaintainer_Expecter ¶ added in v0.7.0
type AggSenderStorageMaintainer_Expecter struct {
// contains filtered or unexported fields
}
func (*AggSenderStorageMaintainer_Expecter) DeleteCertificate ¶ added in v0.7.0
func (_e *AggSenderStorageMaintainer_Expecter) DeleteCertificate(tx interface{}, height interface{}, mustDelete interface{}) *AggSenderStorageMaintainer_DeleteCertificate_Call
DeleteCertificate is a helper method to define mock.On call
- tx types.Querier
- height uint64
- mustDelete db.DeleteFlag
func (*AggSenderStorageMaintainer_Expecter) DeleteOldCertificates ¶ added in v0.7.0
func (_e *AggSenderStorageMaintainer_Expecter) DeleteOldCertificates(tx interface{}, olderThanHeight interface{}) *AggSenderStorageMaintainer_DeleteOldCertificates_Call
DeleteOldCertificates is a helper method to define mock.On call
- tx types.Querier
- olderThanHeight uint64
func (*AggSenderStorageMaintainer_Expecter) MoveCertificateToHistory ¶ added in v0.7.0
func (_e *AggSenderStorageMaintainer_Expecter) MoveCertificateToHistory(tx interface{}, height interface{}) *AggSenderStorageMaintainer_MoveCertificateToHistory_Call
MoveCertificateToHistory is a helper method to define mock.On call
- tx types.Querier
- height uint64
type AggSenderStorageMaintainer_MoveCertificateToHistory_Call ¶ added in v0.7.0
AggSenderStorageMaintainer_MoveCertificateToHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MoveCertificateToHistory'
func (*AggSenderStorageMaintainer_MoveCertificateToHistory_Call) Run ¶ added in v0.7.0
func (_c *AggSenderStorageMaintainer_MoveCertificateToHistory_Call) Run(run func(tx types.Querier, height uint64)) *AggSenderStorageMaintainer_MoveCertificateToHistory_Call
func (*AggSenderStorageMaintainer_MoveCertificateToHistory_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggSenderStorageMaintainer_MoveCertificateToHistory_Call) RunAndReturn(run func(types.Querier, uint64) error) *AggSenderStorageMaintainer_MoveCertificateToHistory_Call
type AggSenderStorage_DeleteCertificate_Call ¶
AggSenderStorage_DeleteCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteCertificate'
func (*AggSenderStorage_DeleteCertificate_Call) Return ¶
func (_c *AggSenderStorage_DeleteCertificate_Call) Return(_a0 error) *AggSenderStorage_DeleteCertificate_Call
func (*AggSenderStorage_DeleteCertificate_Call) Run ¶
func (_c *AggSenderStorage_DeleteCertificate_Call) Run(run func(tx types.Querier, height uint64, mustDelete db.DeleteFlag)) *AggSenderStorage_DeleteCertificate_Call
func (*AggSenderStorage_DeleteCertificate_Call) RunAndReturn ¶
func (_c *AggSenderStorage_DeleteCertificate_Call) RunAndReturn(run func(types.Querier, uint64, db.DeleteFlag) error) *AggSenderStorage_DeleteCertificate_Call
type AggSenderStorage_DeleteOldCertificates_Call ¶ added in v0.7.0
AggSenderStorage_DeleteOldCertificates_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteOldCertificates'
func (*AggSenderStorage_DeleteOldCertificates_Call) Return ¶ added in v0.7.0
func (_c *AggSenderStorage_DeleteOldCertificates_Call) Return(_a0 error) *AggSenderStorage_DeleteOldCertificates_Call
func (*AggSenderStorage_DeleteOldCertificates_Call) Run ¶ added in v0.7.0
func (_c *AggSenderStorage_DeleteOldCertificates_Call) Run(run func(tx types.Querier, olderThanHeight uint64)) *AggSenderStorage_DeleteOldCertificates_Call
func (*AggSenderStorage_DeleteOldCertificates_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggSenderStorage_DeleteOldCertificates_Call) RunAndReturn(run func(types.Querier, uint64) error) *AggSenderStorage_DeleteOldCertificates_Call
type AggSenderStorage_Expecter ¶
type AggSenderStorage_Expecter struct {
// contains filtered or unexported fields
}
func (*AggSenderStorage_Expecter) DeleteCertificate ¶
func (_e *AggSenderStorage_Expecter) DeleteCertificate(tx interface{}, height interface{}, mustDelete interface{}) *AggSenderStorage_DeleteCertificate_Call
DeleteCertificate is a helper method to define mock.On call
- tx types.Querier
- height uint64
- mustDelete db.DeleteFlag
func (*AggSenderStorage_Expecter) DeleteOldCertificates ¶ added in v0.7.0
func (_e *AggSenderStorage_Expecter) DeleteOldCertificates(tx interface{}, olderThanHeight interface{}) *AggSenderStorage_DeleteOldCertificates_Call
DeleteOldCertificates is a helper method to define mock.On call
- tx types.Querier
- olderThanHeight uint64
func (*AggSenderStorage_Expecter) GetCertificateByHeight ¶
func (_e *AggSenderStorage_Expecter) GetCertificateByHeight(height interface{}) *AggSenderStorage_GetCertificateByHeight_Call
GetCertificateByHeight is a helper method to define mock.On call
- height uint64
func (*AggSenderStorage_Expecter) GetCertificateHeaderByHeight ¶ added in v0.4.0
func (_e *AggSenderStorage_Expecter) GetCertificateHeaderByHeight(height interface{}) *AggSenderStorage_GetCertificateHeaderByHeight_Call
GetCertificateHeaderByHeight is a helper method to define mock.On call
- height uint64
func (*AggSenderStorage_Expecter) GetCertificateHeadersByStatus ¶ added in v0.4.0
func (_e *AggSenderStorage_Expecter) GetCertificateHeadersByStatus(status interface{}) *AggSenderStorage_GetCertificateHeadersByStatus_Call
GetCertificateHeadersByStatus is a helper method to define mock.On call
- status []agglayertypes.CertificateStatus
func (*AggSenderStorage_Expecter) GetLastSentCertificate ¶
func (_e *AggSenderStorage_Expecter) GetLastSentCertificate() *AggSenderStorage_GetLastSentCertificate_Call
GetLastSentCertificate is a helper method to define mock.On call
func (*AggSenderStorage_Expecter) GetLastSentCertificateHeader ¶ added in v0.4.0
func (_e *AggSenderStorage_Expecter) GetLastSentCertificateHeader() *AggSenderStorage_GetLastSentCertificateHeader_Call
GetLastSentCertificateHeader is a helper method to define mock.On call
func (*AggSenderStorage_Expecter) GetLastSentCertificateHeaderWithProofIfInError ¶ added in v0.4.0
func (_e *AggSenderStorage_Expecter) GetLastSentCertificateHeaderWithProofIfInError(ctx interface{}) *AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call
GetLastSentCertificateHeaderWithProofIfInError is a helper method to define mock.On call
- ctx context.Context
func (*AggSenderStorage_Expecter) GetLastSettledCertificate ¶ added in v0.7.0
func (_e *AggSenderStorage_Expecter) GetLastSettledCertificate() *AggSenderStorage_GetLastSettledCertificate_Call
GetLastSettledCertificate is a helper method to define mock.On call
func (*AggSenderStorage_Expecter) GetNonAcceptedCertificate ¶ added in v0.4.0
func (_e *AggSenderStorage_Expecter) GetNonAcceptedCertificate() *AggSenderStorage_GetNonAcceptedCertificate_Call
GetNonAcceptedCertificate is a helper method to define mock.On call
func (*AggSenderStorage_Expecter) MoveCertificateToHistory ¶ added in v0.7.0
func (_e *AggSenderStorage_Expecter) MoveCertificateToHistory(tx interface{}, height interface{}) *AggSenderStorage_MoveCertificateToHistory_Call
MoveCertificateToHistory is a helper method to define mock.On call
- tx types.Querier
- height uint64
func (*AggSenderStorage_Expecter) SaveLastSentCertificate ¶
func (_e *AggSenderStorage_Expecter) SaveLastSentCertificate(ctx interface{}, certificate interface{}) *AggSenderStorage_SaveLastSentCertificate_Call
SaveLastSentCertificate is a helper method to define mock.On call
- ctx context.Context
- certificate aggsendertypes.Certificate
func (*AggSenderStorage_Expecter) SaveNonAcceptedCertificate ¶ added in v0.4.0
func (_e *AggSenderStorage_Expecter) SaveNonAcceptedCertificate(ctx interface{}, nonAcceptedCert interface{}) *AggSenderStorage_SaveNonAcceptedCertificate_Call
SaveNonAcceptedCertificate is a helper method to define mock.On call
- ctx context.Context
- nonAcceptedCert *db.NonAcceptedCertificate
func (*AggSenderStorage_Expecter) SaveOrUpdateCertificate ¶ added in v0.7.0
func (_e *AggSenderStorage_Expecter) SaveOrUpdateCertificate(ctx interface{}, certificate interface{}) *AggSenderStorage_SaveOrUpdateCertificate_Call
SaveOrUpdateCertificate is a helper method to define mock.On call
- ctx context.Context
- certificate aggsendertypes.Certificate
func (*AggSenderStorage_Expecter) UpdateCertificateStatus ¶ added in v0.4.0
func (_e *AggSenderStorage_Expecter) UpdateCertificateStatus(ctx interface{}, certificateID interface{}, newStatus interface{}, updatedAt interface{}) *AggSenderStorage_UpdateCertificateStatus_Call
UpdateCertificateStatus is a helper method to define mock.On call
- ctx context.Context
- certificateID common.Hash
- newStatus agglayertypes.CertificateStatus
- updatedAt uint32
type AggSenderStorage_GetCertificateByHeight_Call ¶
AggSenderStorage_GetCertificateByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificateByHeight'
func (*AggSenderStorage_GetCertificateByHeight_Call) Return ¶
func (_c *AggSenderStorage_GetCertificateByHeight_Call) Return(_a0 *aggsendertypes.Certificate, _a1 error) *AggSenderStorage_GetCertificateByHeight_Call
func (*AggSenderStorage_GetCertificateByHeight_Call) Run ¶
func (_c *AggSenderStorage_GetCertificateByHeight_Call) Run(run func(height uint64)) *AggSenderStorage_GetCertificateByHeight_Call
func (*AggSenderStorage_GetCertificateByHeight_Call) RunAndReturn ¶
func (_c *AggSenderStorage_GetCertificateByHeight_Call) RunAndReturn(run func(uint64) (*aggsendertypes.Certificate, error)) *AggSenderStorage_GetCertificateByHeight_Call
type AggSenderStorage_GetCertificateHeaderByHeight_Call ¶ added in v0.4.0
AggSenderStorage_GetCertificateHeaderByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificateHeaderByHeight'
func (*AggSenderStorage_GetCertificateHeaderByHeight_Call) Return ¶ added in v0.4.0
func (_c *AggSenderStorage_GetCertificateHeaderByHeight_Call) Return(_a0 *aggsendertypes.CertificateHeader, _a1 error) *AggSenderStorage_GetCertificateHeaderByHeight_Call
func (*AggSenderStorage_GetCertificateHeaderByHeight_Call) Run ¶ added in v0.4.0
func (_c *AggSenderStorage_GetCertificateHeaderByHeight_Call) Run(run func(height uint64)) *AggSenderStorage_GetCertificateHeaderByHeight_Call
func (*AggSenderStorage_GetCertificateHeaderByHeight_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggSenderStorage_GetCertificateHeaderByHeight_Call) RunAndReturn(run func(uint64) (*aggsendertypes.CertificateHeader, error)) *AggSenderStorage_GetCertificateHeaderByHeight_Call
type AggSenderStorage_GetCertificateHeadersByStatus_Call ¶ added in v0.4.0
AggSenderStorage_GetCertificateHeadersByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificateHeadersByStatus'
func (*AggSenderStorage_GetCertificateHeadersByStatus_Call) Return ¶ added in v0.4.0
func (_c *AggSenderStorage_GetCertificateHeadersByStatus_Call) Return(_a0 []*aggsendertypes.CertificateHeader, _a1 error) *AggSenderStorage_GetCertificateHeadersByStatus_Call
func (*AggSenderStorage_GetCertificateHeadersByStatus_Call) Run ¶ added in v0.4.0
func (_c *AggSenderStorage_GetCertificateHeadersByStatus_Call) Run(run func(status []agglayertypes.CertificateStatus)) *AggSenderStorage_GetCertificateHeadersByStatus_Call
func (*AggSenderStorage_GetCertificateHeadersByStatus_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggSenderStorage_GetCertificateHeadersByStatus_Call) RunAndReturn(run func([]agglayertypes.CertificateStatus) ([]*aggsendertypes.CertificateHeader, error)) *AggSenderStorage_GetCertificateHeadersByStatus_Call
type AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call ¶ added in v0.4.0
AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastSentCertificateHeaderWithProofIfInError'
func (*AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call) Return ¶ added in v0.4.0
func (*AggSenderStorage_GetLastSentCertificateHeaderWithProofIfInError_Call) RunAndReturn ¶ added in v0.4.0
type AggSenderStorage_GetLastSentCertificateHeader_Call ¶ added in v0.4.0
AggSenderStorage_GetLastSentCertificateHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastSentCertificateHeader'
func (*AggSenderStorage_GetLastSentCertificateHeader_Call) Return ¶ added in v0.4.0
func (_c *AggSenderStorage_GetLastSentCertificateHeader_Call) Return(_a0 *aggsendertypes.CertificateHeader, _a1 error) *AggSenderStorage_GetLastSentCertificateHeader_Call
func (*AggSenderStorage_GetLastSentCertificateHeader_Call) Run ¶ added in v0.4.0
func (_c *AggSenderStorage_GetLastSentCertificateHeader_Call) Run(run func()) *AggSenderStorage_GetLastSentCertificateHeader_Call
func (*AggSenderStorage_GetLastSentCertificateHeader_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggSenderStorage_GetLastSentCertificateHeader_Call) RunAndReturn(run func() (*aggsendertypes.CertificateHeader, error)) *AggSenderStorage_GetLastSentCertificateHeader_Call
type AggSenderStorage_GetLastSentCertificate_Call ¶
AggSenderStorage_GetLastSentCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastSentCertificate'
func (*AggSenderStorage_GetLastSentCertificate_Call) Return ¶
func (_c *AggSenderStorage_GetLastSentCertificate_Call) Return(_a0 *aggsendertypes.Certificate, _a1 error) *AggSenderStorage_GetLastSentCertificate_Call
func (*AggSenderStorage_GetLastSentCertificate_Call) Run ¶
func (_c *AggSenderStorage_GetLastSentCertificate_Call) Run(run func()) *AggSenderStorage_GetLastSentCertificate_Call
func (*AggSenderStorage_GetLastSentCertificate_Call) RunAndReturn ¶
func (_c *AggSenderStorage_GetLastSentCertificate_Call) RunAndReturn(run func() (*aggsendertypes.Certificate, error)) *AggSenderStorage_GetLastSentCertificate_Call
type AggSenderStorage_GetLastSettledCertificate_Call ¶ added in v0.7.0
AggSenderStorage_GetLastSettledCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastSettledCertificate'
func (*AggSenderStorage_GetLastSettledCertificate_Call) Return ¶ added in v0.7.0
func (_c *AggSenderStorage_GetLastSettledCertificate_Call) Return(_a0 *aggsendertypes.CertificateHeader, _a1 error) *AggSenderStorage_GetLastSettledCertificate_Call
func (*AggSenderStorage_GetLastSettledCertificate_Call) Run ¶ added in v0.7.0
func (_c *AggSenderStorage_GetLastSettledCertificate_Call) Run(run func()) *AggSenderStorage_GetLastSettledCertificate_Call
func (*AggSenderStorage_GetLastSettledCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggSenderStorage_GetLastSettledCertificate_Call) RunAndReturn(run func() (*aggsendertypes.CertificateHeader, error)) *AggSenderStorage_GetLastSettledCertificate_Call
type AggSenderStorage_GetNonAcceptedCertificate_Call ¶ added in v0.4.0
AggSenderStorage_GetNonAcceptedCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNonAcceptedCertificate'
func (*AggSenderStorage_GetNonAcceptedCertificate_Call) Return ¶ added in v0.4.0
func (_c *AggSenderStorage_GetNonAcceptedCertificate_Call) Return(_a0 *db.NonAcceptedCertificate, _a1 error) *AggSenderStorage_GetNonAcceptedCertificate_Call
func (*AggSenderStorage_GetNonAcceptedCertificate_Call) Run ¶ added in v0.4.0
func (_c *AggSenderStorage_GetNonAcceptedCertificate_Call) Run(run func()) *AggSenderStorage_GetNonAcceptedCertificate_Call
func (*AggSenderStorage_GetNonAcceptedCertificate_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggSenderStorage_GetNonAcceptedCertificate_Call) RunAndReturn(run func() (*db.NonAcceptedCertificate, error)) *AggSenderStorage_GetNonAcceptedCertificate_Call
type AggSenderStorage_MoveCertificateToHistory_Call ¶ added in v0.7.0
AggSenderStorage_MoveCertificateToHistory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'MoveCertificateToHistory'
func (*AggSenderStorage_MoveCertificateToHistory_Call) Return ¶ added in v0.7.0
func (_c *AggSenderStorage_MoveCertificateToHistory_Call) Return(_a0 error) *AggSenderStorage_MoveCertificateToHistory_Call
func (*AggSenderStorage_MoveCertificateToHistory_Call) Run ¶ added in v0.7.0
func (_c *AggSenderStorage_MoveCertificateToHistory_Call) Run(run func(tx types.Querier, height uint64)) *AggSenderStorage_MoveCertificateToHistory_Call
func (*AggSenderStorage_MoveCertificateToHistory_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggSenderStorage_MoveCertificateToHistory_Call) RunAndReturn(run func(types.Querier, uint64) error) *AggSenderStorage_MoveCertificateToHistory_Call
type AggSenderStorage_SaveLastSentCertificate_Call ¶
AggSenderStorage_SaveLastSentCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveLastSentCertificate'
func (*AggSenderStorage_SaveLastSentCertificate_Call) Return ¶
func (_c *AggSenderStorage_SaveLastSentCertificate_Call) Return(_a0 error) *AggSenderStorage_SaveLastSentCertificate_Call
func (*AggSenderStorage_SaveLastSentCertificate_Call) Run ¶
func (_c *AggSenderStorage_SaveLastSentCertificate_Call) Run(run func(ctx context.Context, certificate aggsendertypes.Certificate)) *AggSenderStorage_SaveLastSentCertificate_Call
func (*AggSenderStorage_SaveLastSentCertificate_Call) RunAndReturn ¶
func (_c *AggSenderStorage_SaveLastSentCertificate_Call) RunAndReturn(run func(context.Context, aggsendertypes.Certificate) error) *AggSenderStorage_SaveLastSentCertificate_Call
type AggSenderStorage_SaveNonAcceptedCertificate_Call ¶ added in v0.4.0
AggSenderStorage_SaveNonAcceptedCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveNonAcceptedCertificate'
func (*AggSenderStorage_SaveNonAcceptedCertificate_Call) Return ¶ added in v0.4.0
func (_c *AggSenderStorage_SaveNonAcceptedCertificate_Call) Return(_a0 error) *AggSenderStorage_SaveNonAcceptedCertificate_Call
func (*AggSenderStorage_SaveNonAcceptedCertificate_Call) Run ¶ added in v0.4.0
func (_c *AggSenderStorage_SaveNonAcceptedCertificate_Call) Run(run func(ctx context.Context, nonAcceptedCert *db.NonAcceptedCertificate)) *AggSenderStorage_SaveNonAcceptedCertificate_Call
func (*AggSenderStorage_SaveNonAcceptedCertificate_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggSenderStorage_SaveNonAcceptedCertificate_Call) RunAndReturn(run func(context.Context, *db.NonAcceptedCertificate) error) *AggSenderStorage_SaveNonAcceptedCertificate_Call
type AggSenderStorage_SaveOrUpdateCertificate_Call ¶ added in v0.7.0
AggSenderStorage_SaveOrUpdateCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SaveOrUpdateCertificate'
func (*AggSenderStorage_SaveOrUpdateCertificate_Call) Return ¶ added in v0.7.0
func (_c *AggSenderStorage_SaveOrUpdateCertificate_Call) Return(_a0 error) *AggSenderStorage_SaveOrUpdateCertificate_Call
func (*AggSenderStorage_SaveOrUpdateCertificate_Call) Run ¶ added in v0.7.0
func (_c *AggSenderStorage_SaveOrUpdateCertificate_Call) Run(run func(ctx context.Context, certificate aggsendertypes.Certificate)) *AggSenderStorage_SaveOrUpdateCertificate_Call
func (*AggSenderStorage_SaveOrUpdateCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggSenderStorage_SaveOrUpdateCertificate_Call) RunAndReturn(run func(context.Context, aggsendertypes.Certificate) error) *AggSenderStorage_SaveOrUpdateCertificate_Call
type AggSenderStorage_UpdateCertificateStatus_Call ¶ added in v0.4.0
AggSenderStorage_UpdateCertificateStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCertificateStatus'
func (*AggSenderStorage_UpdateCertificateStatus_Call) Return ¶ added in v0.4.0
func (_c *AggSenderStorage_UpdateCertificateStatus_Call) Return(_a0 error) *AggSenderStorage_UpdateCertificateStatus_Call
func (*AggSenderStorage_UpdateCertificateStatus_Call) Run ¶ added in v0.4.0
func (_c *AggSenderStorage_UpdateCertificateStatus_Call) Run(run func(ctx context.Context, certificateID common.Hash, newStatus agglayertypes.CertificateStatus, updatedAt uint32)) *AggSenderStorage_UpdateCertificateStatus_Call
func (*AggSenderStorage_UpdateCertificateStatus_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggSenderStorage_UpdateCertificateStatus_Call) RunAndReturn(run func(context.Context, common.Hash, agglayertypes.CertificateStatus, uint32) error) *AggSenderStorage_UpdateCertificateStatus_Call
type AggchainFEPCaller ¶ added in v0.7.0
AggchainFEPCaller is an autogenerated mock type for the AggchainFEPCaller type
func NewAggchainFEPCaller ¶ added in v0.7.0
func NewAggchainFEPCaller(t interface {
mock.TestingT
Cleanup(func())
}) *AggchainFEPCaller
NewAggchainFEPCaller creates a new instance of AggchainFEPCaller. 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 (*AggchainFEPCaller) EXPECT ¶ added in v0.7.0
func (_m *AggchainFEPCaller) EXPECT() *AggchainFEPCaller_Expecter
func (*AggchainFEPCaller) GetAggchainSigners ¶ added in v0.7.0
GetAggchainSigners provides a mock function with given fields: opts
func (*AggchainFEPCaller) LatestBlockNumber ¶ added in v0.7.0
LatestBlockNumber provides a mock function with given fields: opts
func (*AggchainFEPCaller) OptimisticMode ¶ added in v0.7.0
func (_m *AggchainFEPCaller) OptimisticMode(opts *bind.CallOpts) (bool, error)
OptimisticMode provides a mock function with given fields: opts
func (*AggchainFEPCaller) RangeVkeyCommitment ¶ added in v0.7.0
func (_m *AggchainFEPCaller) RangeVkeyCommitment(opts *bind.CallOpts) ([32]byte, error)
RangeVkeyCommitment provides a mock function with given fields: opts
func (*AggchainFEPCaller) RollupConfigHash ¶ added in v0.7.0
func (_m *AggchainFEPCaller) RollupConfigHash(opts *bind.CallOpts) ([32]byte, error)
RollupConfigHash provides a mock function with given fields: opts
func (*AggchainFEPCaller) StartingBlockNumber ¶ added in v0.7.0
StartingBlockNumber provides a mock function with given fields: opts
type AggchainFEPCaller_Expecter ¶ added in v0.7.0
type AggchainFEPCaller_Expecter struct {
// contains filtered or unexported fields
}
func (*AggchainFEPCaller_Expecter) GetAggchainSigners ¶ added in v0.7.0
func (_e *AggchainFEPCaller_Expecter) GetAggchainSigners(opts interface{}) *AggchainFEPCaller_GetAggchainSigners_Call
GetAggchainSigners is a helper method to define mock.On call
- opts *bind.CallOpts
func (*AggchainFEPCaller_Expecter) LatestBlockNumber ¶ added in v0.7.0
func (_e *AggchainFEPCaller_Expecter) LatestBlockNumber(opts interface{}) *AggchainFEPCaller_LatestBlockNumber_Call
LatestBlockNumber is a helper method to define mock.On call
- opts *bind.CallOpts
func (*AggchainFEPCaller_Expecter) OptimisticMode ¶ added in v0.7.0
func (_e *AggchainFEPCaller_Expecter) OptimisticMode(opts interface{}) *AggchainFEPCaller_OptimisticMode_Call
OptimisticMode is a helper method to define mock.On call
- opts *bind.CallOpts
func (*AggchainFEPCaller_Expecter) RangeVkeyCommitment ¶ added in v0.7.0
func (_e *AggchainFEPCaller_Expecter) RangeVkeyCommitment(opts interface{}) *AggchainFEPCaller_RangeVkeyCommitment_Call
RangeVkeyCommitment is a helper method to define mock.On call
- opts *bind.CallOpts
func (*AggchainFEPCaller_Expecter) RollupConfigHash ¶ added in v0.7.0
func (_e *AggchainFEPCaller_Expecter) RollupConfigHash(opts interface{}) *AggchainFEPCaller_RollupConfigHash_Call
RollupConfigHash is a helper method to define mock.On call
- opts *bind.CallOpts
func (*AggchainFEPCaller_Expecter) StartingBlockNumber ¶ added in v0.7.0
func (_e *AggchainFEPCaller_Expecter) StartingBlockNumber(opts interface{}) *AggchainFEPCaller_StartingBlockNumber_Call
StartingBlockNumber is a helper method to define mock.On call
- opts *bind.CallOpts
type AggchainFEPCaller_GetAggchainSigners_Call ¶ added in v0.7.0
AggchainFEPCaller_GetAggchainSigners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAggchainSigners'
func (*AggchainFEPCaller_GetAggchainSigners_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPCaller_GetAggchainSigners_Call) Return(_a0 []common.Address, _a1 error) *AggchainFEPCaller_GetAggchainSigners_Call
func (*AggchainFEPCaller_GetAggchainSigners_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPCaller_GetAggchainSigners_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_GetAggchainSigners_Call
func (*AggchainFEPCaller_GetAggchainSigners_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPCaller_GetAggchainSigners_Call) RunAndReturn(run func(*bind.CallOpts) ([]common.Address, error)) *AggchainFEPCaller_GetAggchainSigners_Call
type AggchainFEPCaller_LatestBlockNumber_Call ¶ added in v0.7.0
AggchainFEPCaller_LatestBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestBlockNumber'
func (*AggchainFEPCaller_LatestBlockNumber_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPCaller_LatestBlockNumber_Call) Return(_a0 *big.Int, _a1 error) *AggchainFEPCaller_LatestBlockNumber_Call
func (*AggchainFEPCaller_LatestBlockNumber_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPCaller_LatestBlockNumber_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_LatestBlockNumber_Call
func (*AggchainFEPCaller_LatestBlockNumber_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPCaller_LatestBlockNumber_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *AggchainFEPCaller_LatestBlockNumber_Call
type AggchainFEPCaller_OptimisticMode_Call ¶ added in v0.7.0
AggchainFEPCaller_OptimisticMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptimisticMode'
func (*AggchainFEPCaller_OptimisticMode_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPCaller_OptimisticMode_Call) Return(_a0 bool, _a1 error) *AggchainFEPCaller_OptimisticMode_Call
func (*AggchainFEPCaller_OptimisticMode_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPCaller_OptimisticMode_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_OptimisticMode_Call
func (*AggchainFEPCaller_OptimisticMode_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPCaller_OptimisticMode_Call) RunAndReturn(run func(*bind.CallOpts) (bool, error)) *AggchainFEPCaller_OptimisticMode_Call
type AggchainFEPCaller_RangeVkeyCommitment_Call ¶ added in v0.7.0
AggchainFEPCaller_RangeVkeyCommitment_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RangeVkeyCommitment'
func (*AggchainFEPCaller_RangeVkeyCommitment_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPCaller_RangeVkeyCommitment_Call) Return(_a0 [32]byte, _a1 error) *AggchainFEPCaller_RangeVkeyCommitment_Call
func (*AggchainFEPCaller_RangeVkeyCommitment_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPCaller_RangeVkeyCommitment_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_RangeVkeyCommitment_Call
func (*AggchainFEPCaller_RangeVkeyCommitment_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPCaller_RangeVkeyCommitment_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *AggchainFEPCaller_RangeVkeyCommitment_Call
type AggchainFEPCaller_RollupConfigHash_Call ¶ added in v0.7.0
AggchainFEPCaller_RollupConfigHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RollupConfigHash'
func (*AggchainFEPCaller_RollupConfigHash_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPCaller_RollupConfigHash_Call) Return(_a0 [32]byte, _a1 error) *AggchainFEPCaller_RollupConfigHash_Call
func (*AggchainFEPCaller_RollupConfigHash_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPCaller_RollupConfigHash_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_RollupConfigHash_Call
func (*AggchainFEPCaller_RollupConfigHash_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPCaller_RollupConfigHash_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *AggchainFEPCaller_RollupConfigHash_Call
type AggchainFEPCaller_StartingBlockNumber_Call ¶ added in v0.7.0
AggchainFEPCaller_StartingBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartingBlockNumber'
func (*AggchainFEPCaller_StartingBlockNumber_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPCaller_StartingBlockNumber_Call) Return(_a0 *big.Int, _a1 error) *AggchainFEPCaller_StartingBlockNumber_Call
func (*AggchainFEPCaller_StartingBlockNumber_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPCaller_StartingBlockNumber_Call) Run(run func(opts *bind.CallOpts)) *AggchainFEPCaller_StartingBlockNumber_Call
func (*AggchainFEPCaller_StartingBlockNumber_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPCaller_StartingBlockNumber_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *AggchainFEPCaller_StartingBlockNumber_Call
type AggchainFEPRollupQuerier ¶ added in v0.7.0
AggchainFEPRollupQuerier is an autogenerated mock type for the AggchainFEPRollupQuerier type
func NewAggchainFEPRollupQuerier ¶ added in v0.7.0
func NewAggchainFEPRollupQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *AggchainFEPRollupQuerier
NewAggchainFEPRollupQuerier creates a new instance of AggchainFEPRollupQuerier. 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 (*AggchainFEPRollupQuerier) EXPECT ¶ added in v0.7.0
func (_m *AggchainFEPRollupQuerier) EXPECT() *AggchainFEPRollupQuerier_Expecter
func (*AggchainFEPRollupQuerier) GetLastSettledL2Block ¶ added in v0.7.0
func (_m *AggchainFEPRollupQuerier) GetLastSettledL2Block() (uint64, error)
GetLastSettledL2Block provides a mock function with no fields
func (*AggchainFEPRollupQuerier) IsFEP ¶ added in v0.7.0
func (_m *AggchainFEPRollupQuerier) IsFEP() bool
IsFEP provides a mock function with no fields
func (*AggchainFEPRollupQuerier) StartL2Block ¶ added in v0.7.0
func (_m *AggchainFEPRollupQuerier) StartL2Block() uint64
StartL2Block provides a mock function with no fields
type AggchainFEPRollupQuerier_Expecter ¶ added in v0.7.0
type AggchainFEPRollupQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*AggchainFEPRollupQuerier_Expecter) GetLastSettledL2Block ¶ added in v0.7.0
func (_e *AggchainFEPRollupQuerier_Expecter) GetLastSettledL2Block() *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
GetLastSettledL2Block is a helper method to define mock.On call
func (*AggchainFEPRollupQuerier_Expecter) IsFEP ¶ added in v0.7.0
func (_e *AggchainFEPRollupQuerier_Expecter) IsFEP() *AggchainFEPRollupQuerier_IsFEP_Call
IsFEP is a helper method to define mock.On call
func (*AggchainFEPRollupQuerier_Expecter) StartL2Block ¶ added in v0.7.0
func (_e *AggchainFEPRollupQuerier_Expecter) StartL2Block() *AggchainFEPRollupQuerier_StartL2Block_Call
StartL2Block is a helper method to define mock.On call
type AggchainFEPRollupQuerier_GetLastSettledL2Block_Call ¶ added in v0.7.0
AggchainFEPRollupQuerier_GetLastSettledL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastSettledL2Block'
func (*AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) Return(_a0 uint64, _a1 error) *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
func (*AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) Run(run func()) *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
func (*AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call) RunAndReturn(run func() (uint64, error)) *AggchainFEPRollupQuerier_GetLastSettledL2Block_Call
type AggchainFEPRollupQuerier_IsFEP_Call ¶ added in v0.7.0
AggchainFEPRollupQuerier_IsFEP_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsFEP'
func (*AggchainFEPRollupQuerier_IsFEP_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_IsFEP_Call) Return(_a0 bool) *AggchainFEPRollupQuerier_IsFEP_Call
func (*AggchainFEPRollupQuerier_IsFEP_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_IsFEP_Call) Run(run func()) *AggchainFEPRollupQuerier_IsFEP_Call
func (*AggchainFEPRollupQuerier_IsFEP_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_IsFEP_Call) RunAndReturn(run func() bool) *AggchainFEPRollupQuerier_IsFEP_Call
type AggchainFEPRollupQuerier_StartL2Block_Call ¶ added in v0.7.0
AggchainFEPRollupQuerier_StartL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartL2Block'
func (*AggchainFEPRollupQuerier_StartL2Block_Call) Return ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_StartL2Block_Call) Return(_a0 uint64) *AggchainFEPRollupQuerier_StartL2Block_Call
func (*AggchainFEPRollupQuerier_StartL2Block_Call) Run ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_StartL2Block_Call) Run(run func()) *AggchainFEPRollupQuerier_StartL2Block_Call
func (*AggchainFEPRollupQuerier_StartL2Block_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainFEPRollupQuerier_StartL2Block_Call) RunAndReturn(run func() uint64) *AggchainFEPRollupQuerier_StartL2Block_Call
type AggchainProofClientInterface ¶ added in v0.3.0
AggchainProofClientInterface is an autogenerated mock type for the AggchainProofClientInterface type
func NewAggchainProofClientInterface ¶ added in v0.3.0
func NewAggchainProofClientInterface(t interface {
mock.TestingT
Cleanup(func())
}) *AggchainProofClientInterface
NewAggchainProofClientInterface creates a new instance of AggchainProofClientInterface. 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 (*AggchainProofClientInterface) EXPECT ¶ added in v0.3.0
func (_m *AggchainProofClientInterface) EXPECT() *AggchainProofClientInterface_Expecter
func (*AggchainProofClientInterface) GenerateAggchainProof ¶ added in v0.3.0
func (_m *AggchainProofClientInterface) GenerateAggchainProof(ctx context.Context, req *types.AggchainProofRequest) (*types.AggchainProof, error)
GenerateAggchainProof provides a mock function with given fields: ctx, req
func (*AggchainProofClientInterface) GenerateOptimisticAggchainProof ¶ added in v0.4.0
func (_m *AggchainProofClientInterface) GenerateOptimisticAggchainProof(req *types.AggchainProofRequest, signature []byte) (*types.AggchainProof, error)
GenerateOptimisticAggchainProof provides a mock function with given fields: req, signature
type AggchainProofClientInterface_Expecter ¶ added in v0.3.0
type AggchainProofClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*AggchainProofClientInterface_Expecter) GenerateAggchainProof ¶ added in v0.3.0
func (_e *AggchainProofClientInterface_Expecter) GenerateAggchainProof(ctx interface{}, req interface{}) *AggchainProofClientInterface_GenerateAggchainProof_Call
GenerateAggchainProof is a helper method to define mock.On call
- ctx context.Context
- req *types.AggchainProofRequest
func (*AggchainProofClientInterface_Expecter) GenerateOptimisticAggchainProof ¶ added in v0.4.0
func (_e *AggchainProofClientInterface_Expecter) GenerateOptimisticAggchainProof(req interface{}, signature interface{}) *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call
GenerateOptimisticAggchainProof is a helper method to define mock.On call
- req *types.AggchainProofRequest
- signature []byte
type AggchainProofClientInterface_GenerateAggchainProof_Call ¶ added in v0.3.0
AggchainProofClientInterface_GenerateAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAggchainProof'
func (*AggchainProofClientInterface_GenerateAggchainProof_Call) Return ¶ added in v0.3.0
func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) Return(_a0 *types.AggchainProof, _a1 error) *AggchainProofClientInterface_GenerateAggchainProof_Call
func (*AggchainProofClientInterface_GenerateAggchainProof_Call) Run ¶ added in v0.3.0
func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) Run(run func(ctx context.Context, req *types.AggchainProofRequest)) *AggchainProofClientInterface_GenerateAggchainProof_Call
func (*AggchainProofClientInterface_GenerateAggchainProof_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) RunAndReturn(run func(context.Context, *types.AggchainProofRequest) (*types.AggchainProof, error)) *AggchainProofClientInterface_GenerateAggchainProof_Call
type AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call ¶ added in v0.4.0
AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateOptimisticAggchainProof'
func (*AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call) Run ¶ added in v0.4.0
func (_c *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call) Run(run func(req *types.AggchainProofRequest, signature []byte)) *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call
func (*AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call) RunAndReturn(run func(*types.AggchainProofRequest, []byte) (*types.AggchainProof, error)) *AggchainProofClientInterface_GenerateOptimisticAggchainProof_Call
type AggchainProofFlow ¶ added in v0.3.0
AggchainProofFlow is an autogenerated mock type for the AggchainProofFlow type
func NewAggchainProofFlow ¶ added in v0.3.0
func NewAggchainProofFlow(t interface {
mock.TestingT
Cleanup(func())
}) *AggchainProofFlow
NewAggchainProofFlow creates a new instance of AggchainProofFlow. 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 (*AggchainProofFlow) EXPECT ¶ added in v0.3.0
func (_m *AggchainProofFlow) EXPECT() *AggchainProofFlow_Expecter
func (*AggchainProofFlow) GenerateAggchainProof ¶ added in v0.3.0
func (_m *AggchainProofFlow) GenerateAggchainProof(ctx context.Context, lastProvenBlock uint64, toBlock uint64, certBuildParams *types.CertificateBuildParams) (*types.AggchainProof, *treetypes.Root, error)
GenerateAggchainProof provides a mock function with given fields: ctx, lastProvenBlock, toBlock, certBuildParams
type AggchainProofFlow_Expecter ¶ added in v0.3.0
type AggchainProofFlow_Expecter struct {
// contains filtered or unexported fields
}
func (*AggchainProofFlow_Expecter) GenerateAggchainProof ¶ added in v0.3.0
func (_e *AggchainProofFlow_Expecter) GenerateAggchainProof(ctx interface{}, lastProvenBlock interface{}, toBlock interface{}, certBuildParams interface{}) *AggchainProofFlow_GenerateAggchainProof_Call
GenerateAggchainProof is a helper method to define mock.On call
- ctx context.Context
- lastProvenBlock uint64
- toBlock uint64
- certBuildParams *types.CertificateBuildParams
type AggchainProofFlow_GenerateAggchainProof_Call ¶ added in v0.3.0
AggchainProofFlow_GenerateAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAggchainProof'
func (*AggchainProofFlow_GenerateAggchainProof_Call) Return ¶ added in v0.3.0
func (_c *AggchainProofFlow_GenerateAggchainProof_Call) Return(_a0 *types.AggchainProof, _a1 *treetypes.Root, _a2 error) *AggchainProofFlow_GenerateAggchainProof_Call
func (*AggchainProofFlow_GenerateAggchainProof_Call) Run ¶ added in v0.3.0
func (_c *AggchainProofFlow_GenerateAggchainProof_Call) Run(run func(ctx context.Context, lastProvenBlock uint64, toBlock uint64, certBuildParams *types.CertificateBuildParams)) *AggchainProofFlow_GenerateAggchainProof_Call
func (*AggchainProofFlow_GenerateAggchainProof_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggchainProofFlow_GenerateAggchainProof_Call) RunAndReturn(run func(context.Context, uint64, uint64, *types.CertificateBuildParams) (*types.AggchainProof, *treetypes.Root, error)) *AggchainProofFlow_GenerateAggchainProof_Call
type AggchainProofGeneration ¶ added in v0.3.0
AggchainProofGeneration is an autogenerated mock type for the AggchainProofGeneration type
func NewAggchainProofGeneration ¶ added in v0.3.0
func NewAggchainProofGeneration(t interface {
mock.TestingT
Cleanup(func())
}) *AggchainProofGeneration
NewAggchainProofGeneration creates a new instance of AggchainProofGeneration. 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 (*AggchainProofGeneration) EXPECT ¶ added in v0.3.0
func (_m *AggchainProofGeneration) EXPECT() *AggchainProofGeneration_Expecter
func (*AggchainProofGeneration) GenerateAggchainProof ¶ added in v0.3.0
func (_m *AggchainProofGeneration) GenerateAggchainProof(ctx context.Context, fromBlock uint64, toBlock uint64) (*types.SP1StarkProof, error)
GenerateAggchainProof provides a mock function with given fields: ctx, fromBlock, toBlock
type AggchainProofGeneration_Expecter ¶ added in v0.3.0
type AggchainProofGeneration_Expecter struct {
// contains filtered or unexported fields
}
func (*AggchainProofGeneration_Expecter) GenerateAggchainProof ¶ added in v0.3.0
func (_e *AggchainProofGeneration_Expecter) GenerateAggchainProof(ctx interface{}, fromBlock interface{}, toBlock interface{}) *AggchainProofGeneration_GenerateAggchainProof_Call
GenerateAggchainProof is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock uint64
type AggchainProofGeneration_GenerateAggchainProof_Call ¶ added in v0.3.0
AggchainProofGeneration_GenerateAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAggchainProof'
func (*AggchainProofGeneration_GenerateAggchainProof_Call) Return ¶ added in v0.3.0
func (_c *AggchainProofGeneration_GenerateAggchainProof_Call) Return(_a0 *types.SP1StarkProof, _a1 error) *AggchainProofGeneration_GenerateAggchainProof_Call
func (*AggchainProofGeneration_GenerateAggchainProof_Call) Run ¶ added in v0.3.0
func (_c *AggchainProofGeneration_GenerateAggchainProof_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *AggchainProofGeneration_GenerateAggchainProof_Call
func (*AggchainProofGeneration_GenerateAggchainProof_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggchainProofGeneration_GenerateAggchainProof_Call) RunAndReturn(run func(context.Context, uint64, uint64) (*types.SP1StarkProof, error)) *AggchainProofGeneration_GenerateAggchainProof_Call
type AggchainProofQuerier ¶ added in v0.7.0
AggchainProofQuerier is an autogenerated mock type for the AggchainProofQuerier type
func NewAggchainProofQuerier ¶ added in v0.7.0
func NewAggchainProofQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *AggchainProofQuerier
NewAggchainProofQuerier creates a new instance of AggchainProofQuerier. 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 (*AggchainProofQuerier) EXPECT ¶ added in v0.7.0
func (_m *AggchainProofQuerier) EXPECT() *AggchainProofQuerier_Expecter
func (*AggchainProofQuerier) GenerateAggchainProof ¶ added in v0.7.0
func (_m *AggchainProofQuerier) GenerateAggchainProof(ctx context.Context, lastProvenBlock uint64, toBlock uint64, certBuildParams *types.CertificateBuildParams) (*types.AggchainProof, *treetypes.Root, error)
GenerateAggchainProof provides a mock function with given fields: ctx, lastProvenBlock, toBlock, certBuildParams
type AggchainProofQuerier_Expecter ¶ added in v0.7.0
type AggchainProofQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*AggchainProofQuerier_Expecter) GenerateAggchainProof ¶ added in v0.7.0
func (_e *AggchainProofQuerier_Expecter) GenerateAggchainProof(ctx interface{}, lastProvenBlock interface{}, toBlock interface{}, certBuildParams interface{}) *AggchainProofQuerier_GenerateAggchainProof_Call
GenerateAggchainProof is a helper method to define mock.On call
- ctx context.Context
- lastProvenBlock uint64
- toBlock uint64
- certBuildParams *types.CertificateBuildParams
type AggchainProofQuerier_GenerateAggchainProof_Call ¶ added in v0.7.0
AggchainProofQuerier_GenerateAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAggchainProof'
func (*AggchainProofQuerier_GenerateAggchainProof_Call) Return ¶ added in v0.7.0
func (_c *AggchainProofQuerier_GenerateAggchainProof_Call) Return(_a0 *types.AggchainProof, _a1 *treetypes.Root, _a2 error) *AggchainProofQuerier_GenerateAggchainProof_Call
func (*AggchainProofQuerier_GenerateAggchainProof_Call) Run ¶ added in v0.7.0
func (_c *AggchainProofQuerier_GenerateAggchainProof_Call) Run(run func(ctx context.Context, lastProvenBlock uint64, toBlock uint64, certBuildParams *types.CertificateBuildParams)) *AggchainProofQuerier_GenerateAggchainProof_Call
func (*AggchainProofQuerier_GenerateAggchainProof_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggchainProofQuerier_GenerateAggchainProof_Call) RunAndReturn(run func(context.Context, uint64, uint64, *types.CertificateBuildParams) (*types.AggchainProof, *treetypes.Root, error)) *AggchainProofQuerier_GenerateAggchainProof_Call
type AggchainProofServiceClient ¶ added in v0.3.0
AggchainProofServiceClient is an autogenerated mock type for the AggchainProofServiceClient type
func NewAggchainProofServiceClient ¶ added in v0.3.0
func NewAggchainProofServiceClient(t interface {
mock.TestingT
Cleanup(func())
}) *AggchainProofServiceClient
NewAggchainProofServiceClient creates a new instance of AggchainProofServiceClient. 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 (*AggchainProofServiceClient) EXPECT ¶ added in v0.3.0
func (_m *AggchainProofServiceClient) EXPECT() *AggchainProofServiceClient_Expecter
func (*AggchainProofServiceClient) GenerateAggchainProof ¶ added in v0.3.0
func (_m *AggchainProofServiceClient) GenerateAggchainProof(ctx context.Context, in *proverv1.GenerateAggchainProofRequest, opts ...grpc.CallOption) (*proverv1.GenerateAggchainProofResponse, error)
GenerateAggchainProof provides a mock function with given fields: ctx, in, opts
func (*AggchainProofServiceClient) GenerateOptimisticAggchainProof ¶ added in v0.3.0
func (_m *AggchainProofServiceClient) GenerateOptimisticAggchainProof(ctx context.Context, in *proverv1.GenerateOptimisticAggchainProofRequest, opts ...grpc.CallOption) (*proverv1.GenerateOptimisticAggchainProofResponse, error)
GenerateOptimisticAggchainProof provides a mock function with given fields: ctx, in, opts
type AggchainProofServiceClient_Expecter ¶ added in v0.3.0
type AggchainProofServiceClient_Expecter struct {
// contains filtered or unexported fields
}
func (*AggchainProofServiceClient_Expecter) GenerateAggchainProof ¶ added in v0.3.0
func (_e *AggchainProofServiceClient_Expecter) GenerateAggchainProof(ctx interface{}, in interface{}, opts ...interface{}) *AggchainProofServiceClient_GenerateAggchainProof_Call
GenerateAggchainProof is a helper method to define mock.On call
- ctx context.Context
- in *proverv1.GenerateAggchainProofRequest
- opts ...grpc.CallOption
func (*AggchainProofServiceClient_Expecter) GenerateOptimisticAggchainProof ¶ added in v0.3.0
func (_e *AggchainProofServiceClient_Expecter) GenerateOptimisticAggchainProof(ctx interface{}, in interface{}, opts ...interface{}) *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call
GenerateOptimisticAggchainProof is a helper method to define mock.On call
- ctx context.Context
- in *proverv1.GenerateOptimisticAggchainProofRequest
- opts ...grpc.CallOption
type AggchainProofServiceClient_GenerateAggchainProof_Call ¶ added in v0.3.0
AggchainProofServiceClient_GenerateAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAggchainProof'
func (*AggchainProofServiceClient_GenerateAggchainProof_Call) Run ¶ added in v0.3.0
func (_c *AggchainProofServiceClient_GenerateAggchainProof_Call) Run(run func(ctx context.Context, in *proverv1.GenerateAggchainProofRequest, opts ...grpc.CallOption)) *AggchainProofServiceClient_GenerateAggchainProof_Call
func (*AggchainProofServiceClient_GenerateAggchainProof_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggchainProofServiceClient_GenerateAggchainProof_Call) RunAndReturn(run func(context.Context, *proverv1.GenerateAggchainProofRequest, ...grpc.CallOption) (*proverv1.GenerateAggchainProofResponse, error)) *AggchainProofServiceClient_GenerateAggchainProof_Call
type AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call ¶ added in v0.3.0
AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateOptimisticAggchainProof'
func (*AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call) Run ¶ added in v0.3.0
func (_c *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call) Run(run func(ctx context.Context, in *proverv1.GenerateOptimisticAggchainProofRequest, opts ...grpc.CallOption)) *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call
func (*AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call) RunAndReturn(run func(context.Context, *proverv1.GenerateOptimisticAggchainProofRequest, ...grpc.CallOption) (*proverv1.GenerateOptimisticAggchainProofResponse, error)) *AggchainProofServiceClient_GenerateOptimisticAggchainProof_Call
type AggchainProofServiceServer ¶ added in v0.3.0
AggchainProofServiceServer is an autogenerated mock type for the AggchainProofServiceServer type
func NewAggchainProofServiceServer ¶ added in v0.3.0
func NewAggchainProofServiceServer(t interface {
mock.TestingT
Cleanup(func())
}) *AggchainProofServiceServer
NewAggchainProofServiceServer creates a new instance of AggchainProofServiceServer. 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 (*AggchainProofServiceServer) EXPECT ¶ added in v0.3.0
func (_m *AggchainProofServiceServer) EXPECT() *AggchainProofServiceServer_Expecter
func (*AggchainProofServiceServer) GenerateAggchainProof ¶ added in v0.3.0
func (_m *AggchainProofServiceServer) GenerateAggchainProof(_a0 context.Context, _a1 *proverv1.GenerateAggchainProofRequest) (*proverv1.GenerateAggchainProofResponse, error)
GenerateAggchainProof provides a mock function with given fields: _a0, _a1
func (*AggchainProofServiceServer) GenerateOptimisticAggchainProof ¶ added in v0.3.0
func (_m *AggchainProofServiceServer) GenerateOptimisticAggchainProof(_a0 context.Context, _a1 *proverv1.GenerateOptimisticAggchainProofRequest) (*proverv1.GenerateOptimisticAggchainProofResponse, error)
GenerateOptimisticAggchainProof provides a mock function with given fields: _a0, _a1
type AggchainProofServiceServer_Expecter ¶ added in v0.3.0
type AggchainProofServiceServer_Expecter struct {
// contains filtered or unexported fields
}
func (*AggchainProofServiceServer_Expecter) GenerateAggchainProof ¶ added in v0.3.0
func (_e *AggchainProofServiceServer_Expecter) GenerateAggchainProof(_a0 interface{}, _a1 interface{}) *AggchainProofServiceServer_GenerateAggchainProof_Call
GenerateAggchainProof is a helper method to define mock.On call
- _a0 context.Context
- _a1 *proverv1.GenerateAggchainProofRequest
func (*AggchainProofServiceServer_Expecter) GenerateOptimisticAggchainProof ¶ added in v0.3.0
func (_e *AggchainProofServiceServer_Expecter) GenerateOptimisticAggchainProof(_a0 interface{}, _a1 interface{}) *AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call
GenerateOptimisticAggchainProof is a helper method to define mock.On call
- _a0 context.Context
- _a1 *proverv1.GenerateOptimisticAggchainProofRequest
type AggchainProofServiceServer_GenerateAggchainProof_Call ¶ added in v0.3.0
AggchainProofServiceServer_GenerateAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateAggchainProof'
func (*AggchainProofServiceServer_GenerateAggchainProof_Call) Run ¶ added in v0.3.0
func (_c *AggchainProofServiceServer_GenerateAggchainProof_Call) Run(run func(_a0 context.Context, _a1 *proverv1.GenerateAggchainProofRequest)) *AggchainProofServiceServer_GenerateAggchainProof_Call
func (*AggchainProofServiceServer_GenerateAggchainProof_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggchainProofServiceServer_GenerateAggchainProof_Call) RunAndReturn(run func(context.Context, *proverv1.GenerateAggchainProofRequest) (*proverv1.GenerateAggchainProofResponse, error)) *AggchainProofServiceServer_GenerateAggchainProof_Call
type AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call ¶ added in v0.3.0
AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateOptimisticAggchainProof'
func (*AggchainProofServiceServer_GenerateOptimisticAggchainProof_Call) RunAndReturn ¶ added in v0.3.0
type AggsenderBuilderFlow ¶ added in v0.7.0
AggsenderBuilderFlow is an autogenerated mock type for the AggsenderBuilderFlow type
func NewAggsenderBuilderFlow ¶ added in v0.7.0
func NewAggsenderBuilderFlow(t interface {
mock.TestingT
Cleanup(func())
}) *AggsenderBuilderFlow
NewAggsenderBuilderFlow creates a new instance of AggsenderBuilderFlow. 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 (*AggsenderBuilderFlow) BuildCertificate ¶ added in v0.7.0
func (_m *AggsenderBuilderFlow) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)
BuildCertificate provides a mock function with given fields: ctx, buildParams
func (*AggsenderBuilderFlow) CheckInitialStatus ¶ added in v0.7.0
func (_m *AggsenderBuilderFlow) CheckInitialStatus(ctx context.Context) error
CheckInitialStatus provides a mock function with given fields: ctx
func (*AggsenderBuilderFlow) EXPECT ¶ added in v0.7.0
func (_m *AggsenderBuilderFlow) EXPECT() *AggsenderBuilderFlow_Expecter
func (*AggsenderBuilderFlow) GenerateBuildParams ¶ added in v0.7.0
func (_m *AggsenderBuilderFlow) GenerateBuildParams(ctx context.Context, preParams *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)
GenerateBuildParams provides a mock function with given fields: ctx, preParams
func (*AggsenderBuilderFlow) GetCertificateBuildParams ¶ added in v0.7.0
func (_m *AggsenderBuilderFlow) GetCertificateBuildParams(ctx context.Context) (*types.CertificateBuildParams, error)
GetCertificateBuildParams provides a mock function with given fields: ctx
func (*AggsenderBuilderFlow) Signer ¶ added in v0.7.0
func (_m *AggsenderBuilderFlow) Signer() signertypes.Signer
Signer provides a mock function with no fields
func (*AggsenderBuilderFlow) UpdateAggchainData ¶ added in v0.7.0
func (_m *AggsenderBuilderFlow) UpdateAggchainData(cert *agglayertypes.Certificate, multisig *agglayertypes.Multisig) error
UpdateAggchainData provides a mock function with given fields: cert, multisig
type AggsenderBuilderFlow_BuildCertificate_Call ¶ added in v0.7.0
AggsenderBuilderFlow_BuildCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildCertificate'
func (*AggsenderBuilderFlow_BuildCertificate_Call) Return ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *AggsenderBuilderFlow_BuildCertificate_Call
func (*AggsenderBuilderFlow_BuildCertificate_Call) Run ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_BuildCertificate_Call) Run(run func(ctx context.Context, buildParams *types.CertificateBuildParams)) *AggsenderBuilderFlow_BuildCertificate_Call
func (*AggsenderBuilderFlow_BuildCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_BuildCertificate_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) (*agglayertypes.Certificate, error)) *AggsenderBuilderFlow_BuildCertificate_Call
type AggsenderBuilderFlow_CheckInitialStatus_Call ¶ added in v0.7.0
AggsenderBuilderFlow_CheckInitialStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckInitialStatus'
func (*AggsenderBuilderFlow_CheckInitialStatus_Call) Return ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_CheckInitialStatus_Call) Return(_a0 error) *AggsenderBuilderFlow_CheckInitialStatus_Call
func (*AggsenderBuilderFlow_CheckInitialStatus_Call) Run ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_CheckInitialStatus_Call) Run(run func(ctx context.Context)) *AggsenderBuilderFlow_CheckInitialStatus_Call
func (*AggsenderBuilderFlow_CheckInitialStatus_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_CheckInitialStatus_Call) RunAndReturn(run func(context.Context) error) *AggsenderBuilderFlow_CheckInitialStatus_Call
type AggsenderBuilderFlow_Expecter ¶ added in v0.7.0
type AggsenderBuilderFlow_Expecter struct {
// contains filtered or unexported fields
}
func (*AggsenderBuilderFlow_Expecter) BuildCertificate ¶ added in v0.7.0
func (_e *AggsenderBuilderFlow_Expecter) BuildCertificate(ctx interface{}, buildParams interface{}) *AggsenderBuilderFlow_BuildCertificate_Call
BuildCertificate is a helper method to define mock.On call
- ctx context.Context
- buildParams *types.CertificateBuildParams
func (*AggsenderBuilderFlow_Expecter) CheckInitialStatus ¶ added in v0.7.0
func (_e *AggsenderBuilderFlow_Expecter) CheckInitialStatus(ctx interface{}) *AggsenderBuilderFlow_CheckInitialStatus_Call
CheckInitialStatus is a helper method to define mock.On call
- ctx context.Context
func (*AggsenderBuilderFlow_Expecter) GenerateBuildParams ¶ added in v0.7.0
func (_e *AggsenderBuilderFlow_Expecter) GenerateBuildParams(ctx interface{}, preParams interface{}) *AggsenderBuilderFlow_GenerateBuildParams_Call
GenerateBuildParams is a helper method to define mock.On call
- ctx context.Context
- preParams *types.CertificatePreBuildParams
func (*AggsenderBuilderFlow_Expecter) GetCertificateBuildParams ¶ added in v0.7.0
func (_e *AggsenderBuilderFlow_Expecter) GetCertificateBuildParams(ctx interface{}) *AggsenderBuilderFlow_GetCertificateBuildParams_Call
GetCertificateBuildParams is a helper method to define mock.On call
- ctx context.Context
func (*AggsenderBuilderFlow_Expecter) Signer ¶ added in v0.7.0
func (_e *AggsenderBuilderFlow_Expecter) Signer() *AggsenderBuilderFlow_Signer_Call
Signer is a helper method to define mock.On call
func (*AggsenderBuilderFlow_Expecter) UpdateAggchainData ¶ added in v0.7.0
func (_e *AggsenderBuilderFlow_Expecter) UpdateAggchainData(cert interface{}, multisig interface{}) *AggsenderBuilderFlow_UpdateAggchainData_Call
UpdateAggchainData is a helper method to define mock.On call
- cert *agglayertypes.Certificate
- multisig *agglayertypes.Multisig
type AggsenderBuilderFlow_GenerateBuildParams_Call ¶ added in v0.7.0
AggsenderBuilderFlow_GenerateBuildParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateBuildParams'
func (*AggsenderBuilderFlow_GenerateBuildParams_Call) Return ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_GenerateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderBuilderFlow_GenerateBuildParams_Call
func (*AggsenderBuilderFlow_GenerateBuildParams_Call) Run ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_GenerateBuildParams_Call) Run(run func(ctx context.Context, preParams *types.CertificatePreBuildParams)) *AggsenderBuilderFlow_GenerateBuildParams_Call
func (*AggsenderBuilderFlow_GenerateBuildParams_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_GenerateBuildParams_Call) RunAndReturn(run func(context.Context, *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)) *AggsenderBuilderFlow_GenerateBuildParams_Call
type AggsenderBuilderFlow_GetCertificateBuildParams_Call ¶ added in v0.7.0
AggsenderBuilderFlow_GetCertificateBuildParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificateBuildParams'
func (*AggsenderBuilderFlow_GetCertificateBuildParams_Call) Return ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_GetCertificateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderBuilderFlow_GetCertificateBuildParams_Call
func (*AggsenderBuilderFlow_GetCertificateBuildParams_Call) Run ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_GetCertificateBuildParams_Call) Run(run func(ctx context.Context)) *AggsenderBuilderFlow_GetCertificateBuildParams_Call
func (*AggsenderBuilderFlow_GetCertificateBuildParams_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_GetCertificateBuildParams_Call) RunAndReturn(run func(context.Context) (*types.CertificateBuildParams, error)) *AggsenderBuilderFlow_GetCertificateBuildParams_Call
type AggsenderBuilderFlow_Signer_Call ¶ added in v0.7.0
AggsenderBuilderFlow_Signer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Signer'
func (*AggsenderBuilderFlow_Signer_Call) Return ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_Signer_Call) Return(_a0 signertypes.Signer) *AggsenderBuilderFlow_Signer_Call
func (*AggsenderBuilderFlow_Signer_Call) Run ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_Signer_Call) Run(run func()) *AggsenderBuilderFlow_Signer_Call
func (*AggsenderBuilderFlow_Signer_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_Signer_Call) RunAndReturn(run func() signertypes.Signer) *AggsenderBuilderFlow_Signer_Call
type AggsenderBuilderFlow_UpdateAggchainData_Call ¶ added in v0.7.0
AggsenderBuilderFlow_UpdateAggchainData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateAggchainData'
func (*AggsenderBuilderFlow_UpdateAggchainData_Call) Return ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_UpdateAggchainData_Call) Return(_a0 error) *AggsenderBuilderFlow_UpdateAggchainData_Call
func (*AggsenderBuilderFlow_UpdateAggchainData_Call) Run ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_UpdateAggchainData_Call) Run(run func(cert *agglayertypes.Certificate, multisig *agglayertypes.Multisig)) *AggsenderBuilderFlow_UpdateAggchainData_Call
func (*AggsenderBuilderFlow_UpdateAggchainData_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderBuilderFlow_UpdateAggchainData_Call) RunAndReturn(run func(*agglayertypes.Certificate, *agglayertypes.Multisig) error) *AggsenderBuilderFlow_UpdateAggchainData_Call
type AggsenderFlowBaser ¶ added in v0.4.0
AggsenderFlowBaser is an autogenerated mock type for the AggsenderFlowBaser type
func NewAggsenderFlowBaser ¶ added in v0.4.0
func NewAggsenderFlowBaser(t interface {
mock.TestingT
Cleanup(func())
}) *AggsenderFlowBaser
NewAggsenderFlowBaser creates a new instance of AggsenderFlowBaser. 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 (*AggsenderFlowBaser) BuildCertificate ¶ added in v0.4.0
func (_m *AggsenderFlowBaser) BuildCertificate(ctx context.Context, certParams *types.CertificateBuildParams, lastSentCertificate *types.CertificateHeader, allowEmptyCert bool) (*agglayertypes.Certificate, error)
BuildCertificate provides a mock function with given fields: ctx, certParams, lastSentCertificate, allowEmptyCert
func (*AggsenderFlowBaser) ConvertClaimToImportedBridgeExit ¶ added in v0.4.0
func (_m *AggsenderFlowBaser) ConvertClaimToImportedBridgeExit(claim bridgesync.Claim) (*agglayertypes.ImportedBridgeExit, error)
ConvertClaimToImportedBridgeExit provides a mock function with given fields: claim
func (*AggsenderFlowBaser) EXPECT ¶ added in v0.4.0
func (_m *AggsenderFlowBaser) EXPECT() *AggsenderFlowBaser_Expecter
func (*AggsenderFlowBaser) GenerateBuildParams ¶ added in v0.7.0
func (_m *AggsenderFlowBaser) GenerateBuildParams(ctx context.Context, preParams types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)
GenerateBuildParams provides a mock function with given fields: ctx, preParams
func (*AggsenderFlowBaser) GeneratePreBuildParams ¶ added in v0.7.0
func (_m *AggsenderFlowBaser) GeneratePreBuildParams(ctx context.Context, certType types.CertificateType) (*types.CertificatePreBuildParams, error)
GeneratePreBuildParams provides a mock function with given fields: ctx, certType
func (*AggsenderFlowBaser) GetCertificateBuildParamsInternal ¶ added in v0.4.0
func (_m *AggsenderFlowBaser) GetCertificateBuildParamsInternal(ctx context.Context, certType types.CertificateType) (*types.CertificateBuildParams, error)
GetCertificateBuildParamsInternal provides a mock function with given fields: ctx, certType
func (*AggsenderFlowBaser) GetNewLocalExitRoot ¶ added in v0.4.0
func (_m *AggsenderFlowBaser) GetNewLocalExitRoot(ctx context.Context, certParams *types.CertificateBuildParams) (common.Hash, error)
GetNewLocalExitRoot provides a mock function with given fields: ctx, certParams
func (*AggsenderFlowBaser) LimitCertSize ¶ added in v0.7.0
func (_m *AggsenderFlowBaser) LimitCertSize(certParams *types.CertificateBuildParams) (*types.CertificateBuildParams, error)
LimitCertSize provides a mock function with given fields: certParams
func (*AggsenderFlowBaser) StartL2Block ¶ added in v0.4.0
func (_m *AggsenderFlowBaser) StartL2Block() uint64
StartL2Block provides a mock function with no fields
func (*AggsenderFlowBaser) VerifyBlockRangeGaps ¶ added in v0.5.0
func (_m *AggsenderFlowBaser) VerifyBlockRangeGaps(ctx context.Context, lastSentCertificate *types.CertificateHeader, newFromBlock uint64, newToBlock uint64) error
VerifyBlockRangeGaps provides a mock function with given fields: ctx, lastSentCertificate, newFromBlock, newToBlock
func (*AggsenderFlowBaser) VerifyBuildParams ¶ added in v0.4.0
func (_m *AggsenderFlowBaser) VerifyBuildParams(ctx context.Context, fullCert *types.CertificateBuildParams) error
VerifyBuildParams provides a mock function with given fields: ctx, fullCert
type AggsenderFlowBaser_BuildCertificate_Call ¶ added in v0.4.0
AggsenderFlowBaser_BuildCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildCertificate'
func (*AggsenderFlowBaser_BuildCertificate_Call) Return ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *AggsenderFlowBaser_BuildCertificate_Call
func (*AggsenderFlowBaser_BuildCertificate_Call) Run ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_BuildCertificate_Call) Run(run func(ctx context.Context, certParams *types.CertificateBuildParams, lastSentCertificate *types.CertificateHeader, allowEmptyCert bool)) *AggsenderFlowBaser_BuildCertificate_Call
func (*AggsenderFlowBaser_BuildCertificate_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_BuildCertificate_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams, *types.CertificateHeader, bool) (*agglayertypes.Certificate, error)) *AggsenderFlowBaser_BuildCertificate_Call
type AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call ¶ added in v0.4.0
AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ConvertClaimToImportedBridgeExit'
func (*AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call) Run ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call) Run(run func(claim bridgesync.Claim)) *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call
func (*AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call) RunAndReturn(run func(bridgesync.Claim) (*agglayertypes.ImportedBridgeExit, error)) *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call
type AggsenderFlowBaser_Expecter ¶ added in v0.4.0
type AggsenderFlowBaser_Expecter struct {
// contains filtered or unexported fields
}
func (*AggsenderFlowBaser_Expecter) BuildCertificate ¶ added in v0.4.0
func (_e *AggsenderFlowBaser_Expecter) BuildCertificate(ctx interface{}, certParams interface{}, lastSentCertificate interface{}, allowEmptyCert interface{}) *AggsenderFlowBaser_BuildCertificate_Call
BuildCertificate is a helper method to define mock.On call
- ctx context.Context
- certParams *types.CertificateBuildParams
- lastSentCertificate *types.CertificateHeader
- allowEmptyCert bool
func (*AggsenderFlowBaser_Expecter) ConvertClaimToImportedBridgeExit ¶ added in v0.4.0
func (_e *AggsenderFlowBaser_Expecter) ConvertClaimToImportedBridgeExit(claim interface{}) *AggsenderFlowBaser_ConvertClaimToImportedBridgeExit_Call
ConvertClaimToImportedBridgeExit is a helper method to define mock.On call
- claim bridgesync.Claim
func (*AggsenderFlowBaser_Expecter) GenerateBuildParams ¶ added in v0.7.0
func (_e *AggsenderFlowBaser_Expecter) GenerateBuildParams(ctx interface{}, preParams interface{}) *AggsenderFlowBaser_GenerateBuildParams_Call
GenerateBuildParams is a helper method to define mock.On call
- ctx context.Context
- preParams types.CertificatePreBuildParams
func (*AggsenderFlowBaser_Expecter) GeneratePreBuildParams ¶ added in v0.7.0
func (_e *AggsenderFlowBaser_Expecter) GeneratePreBuildParams(ctx interface{}, certType interface{}) *AggsenderFlowBaser_GeneratePreBuildParams_Call
GeneratePreBuildParams is a helper method to define mock.On call
- ctx context.Context
- certType types.CertificateType
func (*AggsenderFlowBaser_Expecter) GetCertificateBuildParamsInternal ¶ added in v0.4.0
func (_e *AggsenderFlowBaser_Expecter) GetCertificateBuildParamsInternal(ctx interface{}, certType interface{}) *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call
GetCertificateBuildParamsInternal is a helper method to define mock.On call
- ctx context.Context
- certType types.CertificateType
func (*AggsenderFlowBaser_Expecter) GetNewLocalExitRoot ¶ added in v0.4.0
func (_e *AggsenderFlowBaser_Expecter) GetNewLocalExitRoot(ctx interface{}, certParams interface{}) *AggsenderFlowBaser_GetNewLocalExitRoot_Call
GetNewLocalExitRoot is a helper method to define mock.On call
- ctx context.Context
- certParams *types.CertificateBuildParams
func (*AggsenderFlowBaser_Expecter) LimitCertSize ¶ added in v0.7.0
func (_e *AggsenderFlowBaser_Expecter) LimitCertSize(certParams interface{}) *AggsenderFlowBaser_LimitCertSize_Call
LimitCertSize is a helper method to define mock.On call
- certParams *types.CertificateBuildParams
func (*AggsenderFlowBaser_Expecter) StartL2Block ¶ added in v0.4.0
func (_e *AggsenderFlowBaser_Expecter) StartL2Block() *AggsenderFlowBaser_StartL2Block_Call
StartL2Block is a helper method to define mock.On call
func (*AggsenderFlowBaser_Expecter) VerifyBlockRangeGaps ¶ added in v0.5.0
func (_e *AggsenderFlowBaser_Expecter) VerifyBlockRangeGaps(ctx interface{}, lastSentCertificate interface{}, newFromBlock interface{}, newToBlock interface{}) *AggsenderFlowBaser_VerifyBlockRangeGaps_Call
VerifyBlockRangeGaps is a helper method to define mock.On call
- ctx context.Context
- lastSentCertificate *types.CertificateHeader
- newFromBlock uint64
- newToBlock uint64
func (*AggsenderFlowBaser_Expecter) VerifyBuildParams ¶ added in v0.4.0
func (_e *AggsenderFlowBaser_Expecter) VerifyBuildParams(ctx interface{}, fullCert interface{}) *AggsenderFlowBaser_VerifyBuildParams_Call
VerifyBuildParams is a helper method to define mock.On call
- ctx context.Context
- fullCert *types.CertificateBuildParams
type AggsenderFlowBaser_GenerateBuildParams_Call ¶ added in v0.7.0
AggsenderFlowBaser_GenerateBuildParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateBuildParams'
func (*AggsenderFlowBaser_GenerateBuildParams_Call) Return ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_GenerateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderFlowBaser_GenerateBuildParams_Call
func (*AggsenderFlowBaser_GenerateBuildParams_Call) Run ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_GenerateBuildParams_Call) Run(run func(ctx context.Context, preParams types.CertificatePreBuildParams)) *AggsenderFlowBaser_GenerateBuildParams_Call
func (*AggsenderFlowBaser_GenerateBuildParams_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_GenerateBuildParams_Call) RunAndReturn(run func(context.Context, types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)) *AggsenderFlowBaser_GenerateBuildParams_Call
type AggsenderFlowBaser_GeneratePreBuildParams_Call ¶ added in v0.7.0
AggsenderFlowBaser_GeneratePreBuildParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GeneratePreBuildParams'
func (*AggsenderFlowBaser_GeneratePreBuildParams_Call) Return ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_GeneratePreBuildParams_Call) Return(_a0 *types.CertificatePreBuildParams, _a1 error) *AggsenderFlowBaser_GeneratePreBuildParams_Call
func (*AggsenderFlowBaser_GeneratePreBuildParams_Call) Run ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_GeneratePreBuildParams_Call) Run(run func(ctx context.Context, certType types.CertificateType)) *AggsenderFlowBaser_GeneratePreBuildParams_Call
func (*AggsenderFlowBaser_GeneratePreBuildParams_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_GeneratePreBuildParams_Call) RunAndReturn(run func(context.Context, types.CertificateType) (*types.CertificatePreBuildParams, error)) *AggsenderFlowBaser_GeneratePreBuildParams_Call
type AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call ¶ added in v0.4.0
AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificateBuildParamsInternal'
func (*AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call) Run ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call) Run(run func(ctx context.Context, certType types.CertificateType)) *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call
func (*AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call) RunAndReturn(run func(context.Context, types.CertificateType) (*types.CertificateBuildParams, error)) *AggsenderFlowBaser_GetCertificateBuildParamsInternal_Call
type AggsenderFlowBaser_GetNewLocalExitRoot_Call ¶ added in v0.4.0
AggsenderFlowBaser_GetNewLocalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNewLocalExitRoot'
func (*AggsenderFlowBaser_GetNewLocalExitRoot_Call) Return ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_GetNewLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *AggsenderFlowBaser_GetNewLocalExitRoot_Call
func (*AggsenderFlowBaser_GetNewLocalExitRoot_Call) Run ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_GetNewLocalExitRoot_Call) Run(run func(ctx context.Context, certParams *types.CertificateBuildParams)) *AggsenderFlowBaser_GetNewLocalExitRoot_Call
func (*AggsenderFlowBaser_GetNewLocalExitRoot_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_GetNewLocalExitRoot_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) (common.Hash, error)) *AggsenderFlowBaser_GetNewLocalExitRoot_Call
type AggsenderFlowBaser_LimitCertSize_Call ¶ added in v0.7.0
AggsenderFlowBaser_LimitCertSize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LimitCertSize'
func (*AggsenderFlowBaser_LimitCertSize_Call) Return ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_LimitCertSize_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderFlowBaser_LimitCertSize_Call
func (*AggsenderFlowBaser_LimitCertSize_Call) Run ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_LimitCertSize_Call) Run(run func(certParams *types.CertificateBuildParams)) *AggsenderFlowBaser_LimitCertSize_Call
func (*AggsenderFlowBaser_LimitCertSize_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderFlowBaser_LimitCertSize_Call) RunAndReturn(run func(*types.CertificateBuildParams) (*types.CertificateBuildParams, error)) *AggsenderFlowBaser_LimitCertSize_Call
type AggsenderFlowBaser_StartL2Block_Call ¶ added in v0.4.0
AggsenderFlowBaser_StartL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartL2Block'
func (*AggsenderFlowBaser_StartL2Block_Call) Return ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_StartL2Block_Call) Return(_a0 uint64) *AggsenderFlowBaser_StartL2Block_Call
func (*AggsenderFlowBaser_StartL2Block_Call) Run ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_StartL2Block_Call) Run(run func()) *AggsenderFlowBaser_StartL2Block_Call
func (*AggsenderFlowBaser_StartL2Block_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_StartL2Block_Call) RunAndReturn(run func() uint64) *AggsenderFlowBaser_StartL2Block_Call
type AggsenderFlowBaser_VerifyBlockRangeGaps_Call ¶ added in v0.5.0
AggsenderFlowBaser_VerifyBlockRangeGaps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyBlockRangeGaps'
func (*AggsenderFlowBaser_VerifyBlockRangeGaps_Call) Return ¶ added in v0.5.0
func (_c *AggsenderFlowBaser_VerifyBlockRangeGaps_Call) Return(_a0 error) *AggsenderFlowBaser_VerifyBlockRangeGaps_Call
func (*AggsenderFlowBaser_VerifyBlockRangeGaps_Call) Run ¶ added in v0.5.0
func (_c *AggsenderFlowBaser_VerifyBlockRangeGaps_Call) Run(run func(ctx context.Context, lastSentCertificate *types.CertificateHeader, newFromBlock uint64, newToBlock uint64)) *AggsenderFlowBaser_VerifyBlockRangeGaps_Call
func (*AggsenderFlowBaser_VerifyBlockRangeGaps_Call) RunAndReturn ¶ added in v0.5.0
func (_c *AggsenderFlowBaser_VerifyBlockRangeGaps_Call) RunAndReturn(run func(context.Context, *types.CertificateHeader, uint64, uint64) error) *AggsenderFlowBaser_VerifyBlockRangeGaps_Call
type AggsenderFlowBaser_VerifyBuildParams_Call ¶ added in v0.4.0
AggsenderFlowBaser_VerifyBuildParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyBuildParams'
func (*AggsenderFlowBaser_VerifyBuildParams_Call) Return ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_VerifyBuildParams_Call) Return(_a0 error) *AggsenderFlowBaser_VerifyBuildParams_Call
func (*AggsenderFlowBaser_VerifyBuildParams_Call) Run ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_VerifyBuildParams_Call) Run(run func(ctx context.Context, fullCert *types.CertificateBuildParams)) *AggsenderFlowBaser_VerifyBuildParams_Call
func (*AggsenderFlowBaser_VerifyBuildParams_Call) RunAndReturn ¶ added in v0.4.0
func (_c *AggsenderFlowBaser_VerifyBuildParams_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) error) *AggsenderFlowBaser_VerifyBuildParams_Call
type AggsenderInterface ¶
AggsenderInterface is an autogenerated mock type for the AggsenderInterface type
func NewAggsenderInterface ¶
func NewAggsenderInterface(t interface {
mock.TestingT
Cleanup(func())
}) *AggsenderInterface
NewAggsenderInterface creates a new instance of AggsenderInterface. 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 (*AggsenderInterface) EXPECT ¶
func (_m *AggsenderInterface) EXPECT() *AggsenderInterface_Expecter
func (*AggsenderInterface) ForceTriggerCertitificate ¶ added in v0.7.2
func (_m *AggsenderInterface) ForceTriggerCertitificate()
ForceTriggerCertitificate provides a mock function with no fields
func (*AggsenderInterface) Info ¶
func (_m *AggsenderInterface) Info() types.AggsenderInfo
Info provides a mock function with no fields
type AggsenderInterface_Expecter ¶
type AggsenderInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*AggsenderInterface_Expecter) ForceTriggerCertitificate ¶ added in v0.7.2
func (_e *AggsenderInterface_Expecter) ForceTriggerCertitificate() *AggsenderInterface_ForceTriggerCertitificate_Call
ForceTriggerCertitificate is a helper method to define mock.On call
func (*AggsenderInterface_Expecter) Info ¶
func (_e *AggsenderInterface_Expecter) Info() *AggsenderInterface_Info_Call
Info is a helper method to define mock.On call
type AggsenderInterface_ForceTriggerCertitificate_Call ¶ added in v0.7.2
AggsenderInterface_ForceTriggerCertitificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForceTriggerCertitificate'
func (*AggsenderInterface_ForceTriggerCertitificate_Call) Run ¶ added in v0.7.2
func (_c *AggsenderInterface_ForceTriggerCertitificate_Call) Run(run func()) *AggsenderInterface_ForceTriggerCertitificate_Call
func (*AggsenderInterface_ForceTriggerCertitificate_Call) RunAndReturn ¶ added in v0.7.2
func (_c *AggsenderInterface_ForceTriggerCertitificate_Call) RunAndReturn(run func()) *AggsenderInterface_ForceTriggerCertitificate_Call
type AggsenderInterface_Info_Call ¶
AggsenderInterface_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*AggsenderInterface_Info_Call) Return ¶
func (_c *AggsenderInterface_Info_Call) Return(_a0 types.AggsenderInfo) *AggsenderInterface_Info_Call
func (*AggsenderInterface_Info_Call) Run ¶
func (_c *AggsenderInterface_Info_Call) Run(run func()) *AggsenderInterface_Info_Call
func (*AggsenderInterface_Info_Call) RunAndReturn ¶
func (_c *AggsenderInterface_Info_Call) RunAndReturn(run func() types.AggsenderInfo) *AggsenderInterface_Info_Call
type AggsenderStorer ¶
AggsenderStorer is an autogenerated mock type for the AggsenderStorer type
func NewAggsenderStorer ¶
func NewAggsenderStorer(t interface {
mock.TestingT
Cleanup(func())
}) *AggsenderStorer
NewAggsenderStorer creates a new instance of AggsenderStorer. 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 (*AggsenderStorer) EXPECT ¶
func (_m *AggsenderStorer) EXPECT() *AggsenderStorer_Expecter
func (*AggsenderStorer) GetCertificateByHeight ¶
func (_m *AggsenderStorer) GetCertificateByHeight(height uint64) (*types.Certificate, error)
GetCertificateByHeight provides a mock function with given fields: height
func (*AggsenderStorer) GetLastSentCertificate ¶
func (_m *AggsenderStorer) GetLastSentCertificate() (*types.Certificate, error)
GetLastSentCertificate provides a mock function with no fields
type AggsenderStorer_Expecter ¶
type AggsenderStorer_Expecter struct {
// contains filtered or unexported fields
}
func (*AggsenderStorer_Expecter) GetCertificateByHeight ¶
func (_e *AggsenderStorer_Expecter) GetCertificateByHeight(height interface{}) *AggsenderStorer_GetCertificateByHeight_Call
GetCertificateByHeight is a helper method to define mock.On call
- height uint64
func (*AggsenderStorer_Expecter) GetLastSentCertificate ¶
func (_e *AggsenderStorer_Expecter) GetLastSentCertificate() *AggsenderStorer_GetLastSentCertificate_Call
GetLastSentCertificate is a helper method to define mock.On call
type AggsenderStorer_GetCertificateByHeight_Call ¶
AggsenderStorer_GetCertificateByHeight_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificateByHeight'
func (*AggsenderStorer_GetCertificateByHeight_Call) Return ¶
func (_c *AggsenderStorer_GetCertificateByHeight_Call) Return(_a0 *types.Certificate, _a1 error) *AggsenderStorer_GetCertificateByHeight_Call
func (*AggsenderStorer_GetCertificateByHeight_Call) Run ¶
func (_c *AggsenderStorer_GetCertificateByHeight_Call) Run(run func(height uint64)) *AggsenderStorer_GetCertificateByHeight_Call
func (*AggsenderStorer_GetCertificateByHeight_Call) RunAndReturn ¶
func (_c *AggsenderStorer_GetCertificateByHeight_Call) RunAndReturn(run func(uint64) (*types.Certificate, error)) *AggsenderStorer_GetCertificateByHeight_Call
type AggsenderStorer_GetLastSentCertificate_Call ¶
AggsenderStorer_GetLastSentCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastSentCertificate'
func (*AggsenderStorer_GetLastSentCertificate_Call) Return ¶
func (_c *AggsenderStorer_GetLastSentCertificate_Call) Return(_a0 *types.Certificate, _a1 error) *AggsenderStorer_GetLastSentCertificate_Call
func (*AggsenderStorer_GetLastSentCertificate_Call) Run ¶
func (_c *AggsenderStorer_GetLastSentCertificate_Call) Run(run func()) *AggsenderStorer_GetLastSentCertificate_Call
func (*AggsenderStorer_GetLastSentCertificate_Call) RunAndReturn ¶
func (_c *AggsenderStorer_GetLastSentCertificate_Call) RunAndReturn(run func() (*types.Certificate, error)) *AggsenderStorer_GetLastSentCertificate_Call
type AggsenderValidatorClient ¶ added in v0.7.0
AggsenderValidatorClient is an autogenerated mock type for the AggsenderValidatorClient type
func NewAggsenderValidatorClient ¶ added in v0.7.0
func NewAggsenderValidatorClient(t interface {
mock.TestingT
Cleanup(func())
}) *AggsenderValidatorClient
NewAggsenderValidatorClient creates a new instance of AggsenderValidatorClient. 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 (*AggsenderValidatorClient) EXPECT ¶ added in v0.7.0
func (_m *AggsenderValidatorClient) EXPECT() *AggsenderValidatorClient_Expecter
func (*AggsenderValidatorClient) HealthCheck ¶ added in v0.7.0
func (_m *AggsenderValidatorClient) HealthCheck(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*v1.HealthCheckResponse, error)
HealthCheck provides a mock function with given fields: ctx, in, opts
func (*AggsenderValidatorClient) ValidateCertificate ¶ added in v0.7.0
func (_m *AggsenderValidatorClient) ValidateCertificate(ctx context.Context, in *v1.ValidateCertificateRequest, opts ...grpc.CallOption) (*v1.ValidateCertificateResponse, error)
ValidateCertificate provides a mock function with given fields: ctx, in, opts
type AggsenderValidatorClient_Expecter ¶ added in v0.7.0
type AggsenderValidatorClient_Expecter struct {
// contains filtered or unexported fields
}
func (*AggsenderValidatorClient_Expecter) HealthCheck ¶ added in v0.7.0
func (_e *AggsenderValidatorClient_Expecter) HealthCheck(ctx interface{}, in interface{}, opts ...interface{}) *AggsenderValidatorClient_HealthCheck_Call
HealthCheck is a helper method to define mock.On call
- ctx context.Context
- in *emptypb.Empty
- opts ...grpc.CallOption
func (*AggsenderValidatorClient_Expecter) ValidateCertificate ¶ added in v0.7.0
func (_e *AggsenderValidatorClient_Expecter) ValidateCertificate(ctx interface{}, in interface{}, opts ...interface{}) *AggsenderValidatorClient_ValidateCertificate_Call
ValidateCertificate is a helper method to define mock.On call
- ctx context.Context
- in *v1.ValidateCertificateRequest
- opts ...grpc.CallOption
type AggsenderValidatorClient_HealthCheck_Call ¶ added in v0.7.0
AggsenderValidatorClient_HealthCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthCheck'
func (*AggsenderValidatorClient_HealthCheck_Call) Return ¶ added in v0.7.0
func (_c *AggsenderValidatorClient_HealthCheck_Call) Return(_a0 *v1.HealthCheckResponse, _a1 error) *AggsenderValidatorClient_HealthCheck_Call
func (*AggsenderValidatorClient_HealthCheck_Call) Run ¶ added in v0.7.0
func (_c *AggsenderValidatorClient_HealthCheck_Call) Run(run func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)) *AggsenderValidatorClient_HealthCheck_Call
func (*AggsenderValidatorClient_HealthCheck_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderValidatorClient_HealthCheck_Call) RunAndReturn(run func(context.Context, *emptypb.Empty, ...grpc.CallOption) (*v1.HealthCheckResponse, error)) *AggsenderValidatorClient_HealthCheck_Call
type AggsenderValidatorClient_ValidateCertificate_Call ¶ added in v0.7.0
AggsenderValidatorClient_ValidateCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateCertificate'
func (*AggsenderValidatorClient_ValidateCertificate_Call) Return ¶ added in v0.7.0
func (_c *AggsenderValidatorClient_ValidateCertificate_Call) Return(_a0 *v1.ValidateCertificateResponse, _a1 error) *AggsenderValidatorClient_ValidateCertificate_Call
func (*AggsenderValidatorClient_ValidateCertificate_Call) Run ¶ added in v0.7.0
func (_c *AggsenderValidatorClient_ValidateCertificate_Call) Run(run func(ctx context.Context, in *v1.ValidateCertificateRequest, opts ...grpc.CallOption)) *AggsenderValidatorClient_ValidateCertificate_Call
func (*AggsenderValidatorClient_ValidateCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderValidatorClient_ValidateCertificate_Call) RunAndReturn(run func(context.Context, *v1.ValidateCertificateRequest, ...grpc.CallOption) (*v1.ValidateCertificateResponse, error)) *AggsenderValidatorClient_ValidateCertificate_Call
type AggsenderVerifierFlow ¶ added in v0.7.0
AggsenderVerifierFlow is an autogenerated mock type for the AggsenderVerifierFlow type
func NewAggsenderVerifierFlow ¶ added in v0.7.0
func NewAggsenderVerifierFlow(t interface {
mock.TestingT
Cleanup(func())
}) *AggsenderVerifierFlow
NewAggsenderVerifierFlow creates a new instance of AggsenderVerifierFlow. 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 (*AggsenderVerifierFlow) BuildCertificate ¶ added in v0.7.0
func (_m *AggsenderVerifierFlow) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)
BuildCertificate provides a mock function with given fields: ctx, buildParams
func (*AggsenderVerifierFlow) EXPECT ¶ added in v0.7.0
func (_m *AggsenderVerifierFlow) EXPECT() *AggsenderVerifierFlow_Expecter
func (*AggsenderVerifierFlow) GenerateBuildParams ¶ added in v0.7.0
func (_m *AggsenderVerifierFlow) GenerateBuildParams(ctx context.Context, preParams *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)
GenerateBuildParams provides a mock function with given fields: ctx, preParams
func (*AggsenderVerifierFlow) VerifyCertificate ¶ added in v0.7.0
func (_m *AggsenderVerifierFlow) VerifyCertificate(ctx context.Context, cert *agglayertypes.Certificate, lastBlockInCert uint64, lastSettledBlock uint64) error
VerifyCertificate provides a mock function with given fields: ctx, cert, lastBlockInCert, lastSettledBlock
type AggsenderVerifierFlow_BuildCertificate_Call ¶ added in v0.7.0
AggsenderVerifierFlow_BuildCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildCertificate'
func (*AggsenderVerifierFlow_BuildCertificate_Call) Return ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *AggsenderVerifierFlow_BuildCertificate_Call
func (*AggsenderVerifierFlow_BuildCertificate_Call) Run ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_BuildCertificate_Call) Run(run func(ctx context.Context, buildParams *types.CertificateBuildParams)) *AggsenderVerifierFlow_BuildCertificate_Call
func (*AggsenderVerifierFlow_BuildCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_BuildCertificate_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) (*agglayertypes.Certificate, error)) *AggsenderVerifierFlow_BuildCertificate_Call
type AggsenderVerifierFlow_Expecter ¶ added in v0.7.0
type AggsenderVerifierFlow_Expecter struct {
// contains filtered or unexported fields
}
func (*AggsenderVerifierFlow_Expecter) BuildCertificate ¶ added in v0.7.0
func (_e *AggsenderVerifierFlow_Expecter) BuildCertificate(ctx interface{}, buildParams interface{}) *AggsenderVerifierFlow_BuildCertificate_Call
BuildCertificate is a helper method to define mock.On call
- ctx context.Context
- buildParams *types.CertificateBuildParams
func (*AggsenderVerifierFlow_Expecter) GenerateBuildParams ¶ added in v0.7.0
func (_e *AggsenderVerifierFlow_Expecter) GenerateBuildParams(ctx interface{}, preParams interface{}) *AggsenderVerifierFlow_GenerateBuildParams_Call
GenerateBuildParams is a helper method to define mock.On call
- ctx context.Context
- preParams *types.CertificatePreBuildParams
func (*AggsenderVerifierFlow_Expecter) VerifyCertificate ¶ added in v0.7.0
func (_e *AggsenderVerifierFlow_Expecter) VerifyCertificate(ctx interface{}, cert interface{}, lastBlockInCert interface{}, lastSettledBlock interface{}) *AggsenderVerifierFlow_VerifyCertificate_Call
VerifyCertificate is a helper method to define mock.On call
- ctx context.Context
- cert *agglayertypes.Certificate
- lastBlockInCert uint64
- lastSettledBlock uint64
type AggsenderVerifierFlow_GenerateBuildParams_Call ¶ added in v0.7.0
AggsenderVerifierFlow_GenerateBuildParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GenerateBuildParams'
func (*AggsenderVerifierFlow_GenerateBuildParams_Call) Return ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_GenerateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderVerifierFlow_GenerateBuildParams_Call
func (*AggsenderVerifierFlow_GenerateBuildParams_Call) Run ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_GenerateBuildParams_Call) Run(run func(ctx context.Context, preParams *types.CertificatePreBuildParams)) *AggsenderVerifierFlow_GenerateBuildParams_Call
func (*AggsenderVerifierFlow_GenerateBuildParams_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_GenerateBuildParams_Call) RunAndReturn(run func(context.Context, *types.CertificatePreBuildParams) (*types.CertificateBuildParams, error)) *AggsenderVerifierFlow_GenerateBuildParams_Call
type AggsenderVerifierFlow_VerifyCertificate_Call ¶ added in v0.7.0
AggsenderVerifierFlow_VerifyCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyCertificate'
func (*AggsenderVerifierFlow_VerifyCertificate_Call) Return ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_VerifyCertificate_Call) Return(_a0 error) *AggsenderVerifierFlow_VerifyCertificate_Call
func (*AggsenderVerifierFlow_VerifyCertificate_Call) Run ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_VerifyCertificate_Call) Run(run func(ctx context.Context, cert *agglayertypes.Certificate, lastBlockInCert uint64, lastSettledBlock uint64)) *AggsenderVerifierFlow_VerifyCertificate_Call
func (*AggsenderVerifierFlow_VerifyCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *AggsenderVerifierFlow_VerifyCertificate_Call) RunAndReturn(run func(context.Context, *agglayertypes.Certificate, uint64, uint64) error) *AggsenderVerifierFlow_VerifyCertificate_Call
type BlockNotifier ¶
BlockNotifier is an autogenerated mock type for the BlockNotifier type
func NewBlockNotifier ¶
func NewBlockNotifier(t interface {
mock.TestingT
Cleanup(func())
}) *BlockNotifier
NewBlockNotifier creates a new instance of BlockNotifier. 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 (*BlockNotifier) EXPECT ¶
func (_m *BlockNotifier) EXPECT() *BlockNotifier_Expecter
func (*BlockNotifier) GetCurrentBlockNumber ¶ added in v0.0.2
func (_m *BlockNotifier) GetCurrentBlockNumber() uint64
GetCurrentBlockNumber provides a mock function with no fields
func (*BlockNotifier) String ¶
func (_m *BlockNotifier) String() string
String provides a mock function with no fields
func (*BlockNotifier) Subscribe ¶
func (_m *BlockNotifier) Subscribe(id string) <-chan types.EventNewBlock
Subscribe provides a mock function with given fields: id
type BlockNotifier_Expecter ¶
type BlockNotifier_Expecter struct {
// contains filtered or unexported fields
}
func (*BlockNotifier_Expecter) GetCurrentBlockNumber ¶ added in v0.0.2
func (_e *BlockNotifier_Expecter) GetCurrentBlockNumber() *BlockNotifier_GetCurrentBlockNumber_Call
GetCurrentBlockNumber is a helper method to define mock.On call
func (*BlockNotifier_Expecter) String ¶
func (_e *BlockNotifier_Expecter) String() *BlockNotifier_String_Call
String is a helper method to define mock.On call
func (*BlockNotifier_Expecter) Subscribe ¶
func (_e *BlockNotifier_Expecter) Subscribe(id interface{}) *BlockNotifier_Subscribe_Call
Subscribe is a helper method to define mock.On call
- id string
type BlockNotifier_GetCurrentBlockNumber_Call ¶ added in v0.0.2
BlockNotifier_GetCurrentBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCurrentBlockNumber'
func (*BlockNotifier_GetCurrentBlockNumber_Call) Return ¶ added in v0.0.2
func (_c *BlockNotifier_GetCurrentBlockNumber_Call) Return(_a0 uint64) *BlockNotifier_GetCurrentBlockNumber_Call
func (*BlockNotifier_GetCurrentBlockNumber_Call) Run ¶ added in v0.0.2
func (_c *BlockNotifier_GetCurrentBlockNumber_Call) Run(run func()) *BlockNotifier_GetCurrentBlockNumber_Call
func (*BlockNotifier_GetCurrentBlockNumber_Call) RunAndReturn ¶ added in v0.0.2
func (_c *BlockNotifier_GetCurrentBlockNumber_Call) RunAndReturn(run func() uint64) *BlockNotifier_GetCurrentBlockNumber_Call
type BlockNotifier_String_Call ¶
BlockNotifier_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*BlockNotifier_String_Call) Return ¶
func (_c *BlockNotifier_String_Call) Return(_a0 string) *BlockNotifier_String_Call
func (*BlockNotifier_String_Call) Run ¶
func (_c *BlockNotifier_String_Call) Run(run func()) *BlockNotifier_String_Call
func (*BlockNotifier_String_Call) RunAndReturn ¶
func (_c *BlockNotifier_String_Call) RunAndReturn(run func() string) *BlockNotifier_String_Call
type BlockNotifier_Subscribe_Call ¶
BlockNotifier_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*BlockNotifier_Subscribe_Call) Return ¶
func (_c *BlockNotifier_Subscribe_Call) Return(_a0 <-chan types.EventNewBlock) *BlockNotifier_Subscribe_Call
func (*BlockNotifier_Subscribe_Call) Run ¶
func (_c *BlockNotifier_Subscribe_Call) Run(run func(id string)) *BlockNotifier_Subscribe_Call
func (*BlockNotifier_Subscribe_Call) RunAndReturn ¶
func (_c *BlockNotifier_Subscribe_Call) RunAndReturn(run func(string) <-chan types.EventNewBlock) *BlockNotifier_Subscribe_Call
type BridgeQuerier ¶ added in v0.4.0
BridgeQuerier is an autogenerated mock type for the BridgeQuerier type
func NewBridgeQuerier ¶ added in v0.4.0
func NewBridgeQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *BridgeQuerier
NewBridgeQuerier creates a new instance of BridgeQuerier. 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 (*BridgeQuerier) EXPECT ¶ added in v0.4.0
func (_m *BridgeQuerier) EXPECT() *BridgeQuerier_Expecter
func (*BridgeQuerier) GetBridgesAndClaims ¶ added in v0.4.0
func (_m *BridgeQuerier) GetBridgesAndClaims(ctx context.Context, fromBlock uint64, toBlock uint64) ([]bridgesync.Bridge, []bridgesync.Claim, error)
GetBridgesAndClaims provides a mock function with given fields: ctx, fromBlock, toBlock
func (*BridgeQuerier) GetExitRootByIndex ¶ added in v0.4.0
GetExitRootByIndex provides a mock function with given fields: ctx, index
func (*BridgeQuerier) GetLastProcessedBlock ¶ added in v0.4.0
func (_m *BridgeQuerier) GetLastProcessedBlock(ctx context.Context) (uint64, error)
GetLastProcessedBlock provides a mock function with given fields: ctx
func (*BridgeQuerier) OriginNetwork ¶ added in v0.4.0
func (_m *BridgeQuerier) OriginNetwork() uint32
OriginNetwork provides a mock function with no fields
func (*BridgeQuerier) WaitForSyncerToCatchUp ¶ added in v0.5.0
func (_m *BridgeQuerier) WaitForSyncerToCatchUp(ctx context.Context, block uint64) error
WaitForSyncerToCatchUp provides a mock function with given fields: ctx, block
type BridgeQuerier_Expecter ¶ added in v0.4.0
type BridgeQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*BridgeQuerier_Expecter) GetBridgesAndClaims ¶ added in v0.4.0
func (_e *BridgeQuerier_Expecter) GetBridgesAndClaims(ctx interface{}, fromBlock interface{}, toBlock interface{}) *BridgeQuerier_GetBridgesAndClaims_Call
GetBridgesAndClaims is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock uint64
func (*BridgeQuerier_Expecter) GetExitRootByIndex ¶ added in v0.4.0
func (_e *BridgeQuerier_Expecter) GetExitRootByIndex(ctx interface{}, index interface{}) *BridgeQuerier_GetExitRootByIndex_Call
GetExitRootByIndex is a helper method to define mock.On call
- ctx context.Context
- index uint32
func (*BridgeQuerier_Expecter) GetLastProcessedBlock ¶ added in v0.4.0
func (_e *BridgeQuerier_Expecter) GetLastProcessedBlock(ctx interface{}) *BridgeQuerier_GetLastProcessedBlock_Call
GetLastProcessedBlock is a helper method to define mock.On call
- ctx context.Context
func (*BridgeQuerier_Expecter) OriginNetwork ¶ added in v0.4.0
func (_e *BridgeQuerier_Expecter) OriginNetwork() *BridgeQuerier_OriginNetwork_Call
OriginNetwork is a helper method to define mock.On call
func (*BridgeQuerier_Expecter) WaitForSyncerToCatchUp ¶ added in v0.5.0
func (_e *BridgeQuerier_Expecter) WaitForSyncerToCatchUp(ctx interface{}, block interface{}) *BridgeQuerier_WaitForSyncerToCatchUp_Call
WaitForSyncerToCatchUp is a helper method to define mock.On call
- ctx context.Context
- block uint64
type BridgeQuerier_GetBridgesAndClaims_Call ¶ added in v0.4.0
BridgeQuerier_GetBridgesAndClaims_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBridgesAndClaims'
func (*BridgeQuerier_GetBridgesAndClaims_Call) Return ¶ added in v0.4.0
func (_c *BridgeQuerier_GetBridgesAndClaims_Call) Return(_a0 []bridgesync.Bridge, _a1 []bridgesync.Claim, _a2 error) *BridgeQuerier_GetBridgesAndClaims_Call
func (*BridgeQuerier_GetBridgesAndClaims_Call) Run ¶ added in v0.4.0
func (_c *BridgeQuerier_GetBridgesAndClaims_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *BridgeQuerier_GetBridgesAndClaims_Call
func (*BridgeQuerier_GetBridgesAndClaims_Call) RunAndReturn ¶ added in v0.4.0
func (_c *BridgeQuerier_GetBridgesAndClaims_Call) RunAndReturn(run func(context.Context, uint64, uint64) ([]bridgesync.Bridge, []bridgesync.Claim, error)) *BridgeQuerier_GetBridgesAndClaims_Call
type BridgeQuerier_GetExitRootByIndex_Call ¶ added in v0.4.0
BridgeQuerier_GetExitRootByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExitRootByIndex'
func (*BridgeQuerier_GetExitRootByIndex_Call) Return ¶ added in v0.4.0
func (_c *BridgeQuerier_GetExitRootByIndex_Call) Return(_a0 common.Hash, _a1 error) *BridgeQuerier_GetExitRootByIndex_Call
func (*BridgeQuerier_GetExitRootByIndex_Call) Run ¶ added in v0.4.0
func (_c *BridgeQuerier_GetExitRootByIndex_Call) Run(run func(ctx context.Context, index uint32)) *BridgeQuerier_GetExitRootByIndex_Call
func (*BridgeQuerier_GetExitRootByIndex_Call) RunAndReturn ¶ added in v0.4.0
func (_c *BridgeQuerier_GetExitRootByIndex_Call) RunAndReturn(run func(context.Context, uint32) (common.Hash, error)) *BridgeQuerier_GetExitRootByIndex_Call
type BridgeQuerier_GetLastProcessedBlock_Call ¶ added in v0.4.0
BridgeQuerier_GetLastProcessedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastProcessedBlock'
func (*BridgeQuerier_GetLastProcessedBlock_Call) Return ¶ added in v0.4.0
func (_c *BridgeQuerier_GetLastProcessedBlock_Call) Return(_a0 uint64, _a1 error) *BridgeQuerier_GetLastProcessedBlock_Call
func (*BridgeQuerier_GetLastProcessedBlock_Call) Run ¶ added in v0.4.0
func (_c *BridgeQuerier_GetLastProcessedBlock_Call) Run(run func(ctx context.Context)) *BridgeQuerier_GetLastProcessedBlock_Call
func (*BridgeQuerier_GetLastProcessedBlock_Call) RunAndReturn ¶ added in v0.4.0
func (_c *BridgeQuerier_GetLastProcessedBlock_Call) RunAndReturn(run func(context.Context) (uint64, error)) *BridgeQuerier_GetLastProcessedBlock_Call
type BridgeQuerier_OriginNetwork_Call ¶ added in v0.4.0
BridgeQuerier_OriginNetwork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OriginNetwork'
func (*BridgeQuerier_OriginNetwork_Call) Return ¶ added in v0.4.0
func (_c *BridgeQuerier_OriginNetwork_Call) Return(_a0 uint32) *BridgeQuerier_OriginNetwork_Call
func (*BridgeQuerier_OriginNetwork_Call) Run ¶ added in v0.4.0
func (_c *BridgeQuerier_OriginNetwork_Call) Run(run func()) *BridgeQuerier_OriginNetwork_Call
func (*BridgeQuerier_OriginNetwork_Call) RunAndReturn ¶ added in v0.4.0
func (_c *BridgeQuerier_OriginNetwork_Call) RunAndReturn(run func() uint32) *BridgeQuerier_OriginNetwork_Call
type BridgeQuerier_WaitForSyncerToCatchUp_Call ¶ added in v0.5.0
BridgeQuerier_WaitForSyncerToCatchUp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'WaitForSyncerToCatchUp'
func (*BridgeQuerier_WaitForSyncerToCatchUp_Call) Return ¶ added in v0.5.0
func (_c *BridgeQuerier_WaitForSyncerToCatchUp_Call) Return(_a0 error) *BridgeQuerier_WaitForSyncerToCatchUp_Call
func (*BridgeQuerier_WaitForSyncerToCatchUp_Call) Run ¶ added in v0.5.0
func (_c *BridgeQuerier_WaitForSyncerToCatchUp_Call) Run(run func(ctx context.Context, block uint64)) *BridgeQuerier_WaitForSyncerToCatchUp_Call
func (*BridgeQuerier_WaitForSyncerToCatchUp_Call) RunAndReturn ¶ added in v0.5.0
func (_c *BridgeQuerier_WaitForSyncerToCatchUp_Call) RunAndReturn(run func(context.Context, uint64) error) *BridgeQuerier_WaitForSyncerToCatchUp_Call
type CertificateQuerier ¶ added in v0.7.0
CertificateQuerier is an autogenerated mock type for the CertificateQuerier type
func NewCertificateQuerier ¶ added in v0.7.0
func NewCertificateQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *CertificateQuerier
NewCertificateQuerier creates a new instance of CertificateQuerier. 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 (*CertificateQuerier) CalculateCertificateType ¶ added in v0.7.0
func (_m *CertificateQuerier) CalculateCertificateType(cert *types.Certificate, certToBlock uint64) aggsendertypes.CertificateType
CalculateCertificateType provides a mock function with given fields: cert, certToBlock
func (*CertificateQuerier) CalculateCertificateTypeFromToBlock ¶ added in v0.7.0
func (_m *CertificateQuerier) CalculateCertificateTypeFromToBlock(certToBlock uint64) aggsendertypes.CertificateType
CalculateCertificateTypeFromToBlock provides a mock function with given fields: certToBlock
func (*CertificateQuerier) EXPECT ¶ added in v0.7.0
func (_m *CertificateQuerier) EXPECT() *CertificateQuerier_Expecter
func (*CertificateQuerier) GetLastSettledCertificateToBlock ¶ added in v0.7.0
func (_m *CertificateQuerier) GetLastSettledCertificateToBlock(ctx context.Context, cert *types.CertificateHeader) (uint64, error)
GetLastSettledCertificateToBlock provides a mock function with given fields: ctx, cert
func (*CertificateQuerier) GetNewCertificateToBlock ¶ added in v0.7.0
func (_m *CertificateQuerier) GetNewCertificateToBlock(ctx context.Context, cert *types.Certificate) (uint64, error)
GetNewCertificateToBlock provides a mock function with given fields: ctx, cert
type CertificateQuerier_CalculateCertificateTypeFromToBlock_Call ¶ added in v0.7.0
CertificateQuerier_CalculateCertificateTypeFromToBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CalculateCertificateTypeFromToBlock'
func (*CertificateQuerier_CalculateCertificateTypeFromToBlock_Call) Run ¶ added in v0.7.0
func (_c *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call) Run(run func(certToBlock uint64)) *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call
func (*CertificateQuerier_CalculateCertificateTypeFromToBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call) RunAndReturn(run func(uint64) aggsendertypes.CertificateType) *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call
type CertificateQuerier_CalculateCertificateType_Call ¶ added in v0.7.0
CertificateQuerier_CalculateCertificateType_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CalculateCertificateType'
func (*CertificateQuerier_CalculateCertificateType_Call) Run ¶ added in v0.7.0
func (_c *CertificateQuerier_CalculateCertificateType_Call) Run(run func(cert *types.Certificate, certToBlock uint64)) *CertificateQuerier_CalculateCertificateType_Call
func (*CertificateQuerier_CalculateCertificateType_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateQuerier_CalculateCertificateType_Call) RunAndReturn(run func(*types.Certificate, uint64) aggsendertypes.CertificateType) *CertificateQuerier_CalculateCertificateType_Call
type CertificateQuerier_Expecter ¶ added in v0.7.0
type CertificateQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*CertificateQuerier_Expecter) CalculateCertificateType ¶ added in v0.7.0
func (_e *CertificateQuerier_Expecter) CalculateCertificateType(cert interface{}, certToBlock interface{}) *CertificateQuerier_CalculateCertificateType_Call
CalculateCertificateType is a helper method to define mock.On call
- cert *types.Certificate
- certToBlock uint64
func (*CertificateQuerier_Expecter) CalculateCertificateTypeFromToBlock ¶ added in v0.7.0
func (_e *CertificateQuerier_Expecter) CalculateCertificateTypeFromToBlock(certToBlock interface{}) *CertificateQuerier_CalculateCertificateTypeFromToBlock_Call
CalculateCertificateTypeFromToBlock is a helper method to define mock.On call
- certToBlock uint64
func (*CertificateQuerier_Expecter) GetLastSettledCertificateToBlock ¶ added in v0.7.0
func (_e *CertificateQuerier_Expecter) GetLastSettledCertificateToBlock(ctx interface{}, cert interface{}) *CertificateQuerier_GetLastSettledCertificateToBlock_Call
GetLastSettledCertificateToBlock is a helper method to define mock.On call
- ctx context.Context
- cert *types.CertificateHeader
func (*CertificateQuerier_Expecter) GetNewCertificateToBlock ¶ added in v0.7.0
func (_e *CertificateQuerier_Expecter) GetNewCertificateToBlock(ctx interface{}, cert interface{}) *CertificateQuerier_GetNewCertificateToBlock_Call
GetNewCertificateToBlock is a helper method to define mock.On call
- ctx context.Context
- cert *types.Certificate
type CertificateQuerier_GetLastSettledCertificateToBlock_Call ¶ added in v0.7.0
CertificateQuerier_GetLastSettledCertificateToBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastSettledCertificateToBlock'
func (*CertificateQuerier_GetLastSettledCertificateToBlock_Call) Return ¶ added in v0.7.0
func (_c *CertificateQuerier_GetLastSettledCertificateToBlock_Call) Return(_a0 uint64, _a1 error) *CertificateQuerier_GetLastSettledCertificateToBlock_Call
func (*CertificateQuerier_GetLastSettledCertificateToBlock_Call) Run ¶ added in v0.7.0
func (_c *CertificateQuerier_GetLastSettledCertificateToBlock_Call) Run(run func(ctx context.Context, cert *types.CertificateHeader)) *CertificateQuerier_GetLastSettledCertificateToBlock_Call
func (*CertificateQuerier_GetLastSettledCertificateToBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateQuerier_GetLastSettledCertificateToBlock_Call) RunAndReturn(run func(context.Context, *types.CertificateHeader) (uint64, error)) *CertificateQuerier_GetLastSettledCertificateToBlock_Call
type CertificateQuerier_GetNewCertificateToBlock_Call ¶ added in v0.7.0
CertificateQuerier_GetNewCertificateToBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNewCertificateToBlock'
func (*CertificateQuerier_GetNewCertificateToBlock_Call) Return ¶ added in v0.7.0
func (_c *CertificateQuerier_GetNewCertificateToBlock_Call) Return(_a0 uint64, _a1 error) *CertificateQuerier_GetNewCertificateToBlock_Call
func (*CertificateQuerier_GetNewCertificateToBlock_Call) Run ¶ added in v0.7.0
func (_c *CertificateQuerier_GetNewCertificateToBlock_Call) Run(run func(ctx context.Context, cert *types.Certificate)) *CertificateQuerier_GetNewCertificateToBlock_Call
func (*CertificateQuerier_GetNewCertificateToBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateQuerier_GetNewCertificateToBlock_Call) RunAndReturn(run func(context.Context, *types.Certificate) (uint64, error)) *CertificateQuerier_GetNewCertificateToBlock_Call
type CertificateStatusChecker ¶ added in v0.4.0
CertificateStatusChecker is an autogenerated mock type for the CertificateStatusChecker type
func NewCertificateStatusChecker ¶ added in v0.4.0
func NewCertificateStatusChecker(t interface {
mock.TestingT
Cleanup(func())
}) *CertificateStatusChecker
NewCertificateStatusChecker creates a new instance of CertificateStatusChecker. 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 (*CertificateStatusChecker) CheckInitialStatus ¶ added in v0.4.0
func (_m *CertificateStatusChecker) CheckInitialStatus(ctx context.Context, delayBetweenRetries time.Duration, aggsenderStatus *types.AggsenderStatus)
CheckInitialStatus provides a mock function with given fields: ctx, delayBetweenRetries, aggsenderStatus
func (*CertificateStatusChecker) CheckPeriodicallyStatus ¶ added in v0.7.2
func (_m *CertificateStatusChecker) CheckPeriodicallyStatus(ctx context.Context) (types.CertStatus, error)
CheckPeriodicallyStatus provides a mock function with given fields: ctx
func (*CertificateStatusChecker) EXPECT ¶ added in v0.4.0
func (_m *CertificateStatusChecker) EXPECT() *CertificateStatusChecker_Expecter
type CertificateStatusChecker_CheckInitialStatus_Call ¶ added in v0.4.0
CertificateStatusChecker_CheckInitialStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckInitialStatus'
func (*CertificateStatusChecker_CheckInitialStatus_Call) Run ¶ added in v0.4.0
func (_c *CertificateStatusChecker_CheckInitialStatus_Call) Run(run func(ctx context.Context, delayBetweenRetries time.Duration, aggsenderStatus *types.AggsenderStatus)) *CertificateStatusChecker_CheckInitialStatus_Call
func (*CertificateStatusChecker_CheckInitialStatus_Call) RunAndReturn ¶ added in v0.4.0
func (_c *CertificateStatusChecker_CheckInitialStatus_Call) RunAndReturn(run func(context.Context, time.Duration, *types.AggsenderStatus)) *CertificateStatusChecker_CheckInitialStatus_Call
type CertificateStatusChecker_CheckPeriodicallyStatus_Call ¶ added in v0.7.2
CertificateStatusChecker_CheckPeriodicallyStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckPeriodicallyStatus'
func (*CertificateStatusChecker_CheckPeriodicallyStatus_Call) Return ¶ added in v0.7.2
func (_c *CertificateStatusChecker_CheckPeriodicallyStatus_Call) Return(_a0 types.CertStatus, _a1 error) *CertificateStatusChecker_CheckPeriodicallyStatus_Call
func (*CertificateStatusChecker_CheckPeriodicallyStatus_Call) Run ¶ added in v0.7.2
func (_c *CertificateStatusChecker_CheckPeriodicallyStatus_Call) Run(run func(ctx context.Context)) *CertificateStatusChecker_CheckPeriodicallyStatus_Call
func (*CertificateStatusChecker_CheckPeriodicallyStatus_Call) RunAndReturn ¶ added in v0.7.2
func (_c *CertificateStatusChecker_CheckPeriodicallyStatus_Call) RunAndReturn(run func(context.Context) (types.CertStatus, error)) *CertificateStatusChecker_CheckPeriodicallyStatus_Call
type CertificateStatusChecker_Expecter ¶ added in v0.4.0
type CertificateStatusChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*CertificateStatusChecker_Expecter) CheckInitialStatus ¶ added in v0.4.0
func (_e *CertificateStatusChecker_Expecter) CheckInitialStatus(ctx interface{}, delayBetweenRetries interface{}, aggsenderStatus interface{}) *CertificateStatusChecker_CheckInitialStatus_Call
CheckInitialStatus is a helper method to define mock.On call
- ctx context.Context
- delayBetweenRetries time.Duration
- aggsenderStatus *types.AggsenderStatus
func (*CertificateStatusChecker_Expecter) CheckPeriodicallyStatus ¶ added in v0.7.2
func (_e *CertificateStatusChecker_Expecter) CheckPeriodicallyStatus(ctx interface{}) *CertificateStatusChecker_CheckPeriodicallyStatus_Call
CheckPeriodicallyStatus is a helper method to define mock.On call
- ctx context.Context
type CertificateValidateAndSigner ¶ added in v0.7.0
CertificateValidateAndSigner is an autogenerated mock type for the CertificateValidateAndSigner type
func NewCertificateValidateAndSigner ¶ added in v0.7.0
func NewCertificateValidateAndSigner(t interface {
mock.TestingT
Cleanup(func())
}) *CertificateValidateAndSigner
NewCertificateValidateAndSigner creates a new instance of CertificateValidateAndSigner. 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 (*CertificateValidateAndSigner) Address ¶ added in v0.7.0
func (_m *CertificateValidateAndSigner) Address() common.Address
Address provides a mock function with no fields
func (*CertificateValidateAndSigner) EXPECT ¶ added in v0.7.0
func (_m *CertificateValidateAndSigner) EXPECT() *CertificateValidateAndSigner_Expecter
func (*CertificateValidateAndSigner) HealthCheck ¶ added in v0.7.0
func (_m *CertificateValidateAndSigner) HealthCheck(ctx context.Context) (*types.HealthCheckResponse, error)
HealthCheck provides a mock function with given fields: ctx
func (*CertificateValidateAndSigner) Index ¶ added in v0.7.0
func (_m *CertificateValidateAndSigner) Index() uint32
Index provides a mock function with no fields
func (*CertificateValidateAndSigner) String ¶ added in v0.7.0
func (_m *CertificateValidateAndSigner) String() string
String provides a mock function with no fields
func (*CertificateValidateAndSigner) URL ¶ added in v0.7.0
func (_m *CertificateValidateAndSigner) URL() string
URL provides a mock function with no fields
func (*CertificateValidateAndSigner) ValidateAndSignCertificate ¶ added in v0.7.0
func (_m *CertificateValidateAndSigner) ValidateAndSignCertificate(ctx context.Context, certificate *agglayertypes.Certificate, lastL2BlockInCert uint64) ([]byte, error)
ValidateAndSignCertificate provides a mock function with given fields: ctx, certificate, lastL2BlockInCert
type CertificateValidateAndSigner_Address_Call ¶ added in v0.7.0
CertificateValidateAndSigner_Address_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Address'
func (*CertificateValidateAndSigner_Address_Call) Return ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_Address_Call) Return(_a0 common.Address) *CertificateValidateAndSigner_Address_Call
func (*CertificateValidateAndSigner_Address_Call) Run ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_Address_Call) Run(run func()) *CertificateValidateAndSigner_Address_Call
func (*CertificateValidateAndSigner_Address_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_Address_Call) RunAndReturn(run func() common.Address) *CertificateValidateAndSigner_Address_Call
type CertificateValidateAndSigner_Expecter ¶ added in v0.7.0
type CertificateValidateAndSigner_Expecter struct {
// contains filtered or unexported fields
}
func (*CertificateValidateAndSigner_Expecter) Address ¶ added in v0.7.0
func (_e *CertificateValidateAndSigner_Expecter) Address() *CertificateValidateAndSigner_Address_Call
Address is a helper method to define mock.On call
func (*CertificateValidateAndSigner_Expecter) HealthCheck ¶ added in v0.7.0
func (_e *CertificateValidateAndSigner_Expecter) HealthCheck(ctx interface{}) *CertificateValidateAndSigner_HealthCheck_Call
HealthCheck is a helper method to define mock.On call
- ctx context.Context
func (*CertificateValidateAndSigner_Expecter) Index ¶ added in v0.7.0
func (_e *CertificateValidateAndSigner_Expecter) Index() *CertificateValidateAndSigner_Index_Call
Index is a helper method to define mock.On call
func (*CertificateValidateAndSigner_Expecter) String ¶ added in v0.7.0
func (_e *CertificateValidateAndSigner_Expecter) String() *CertificateValidateAndSigner_String_Call
String is a helper method to define mock.On call
func (*CertificateValidateAndSigner_Expecter) URL ¶ added in v0.7.0
func (_e *CertificateValidateAndSigner_Expecter) URL() *CertificateValidateAndSigner_URL_Call
URL is a helper method to define mock.On call
func (*CertificateValidateAndSigner_Expecter) ValidateAndSignCertificate ¶ added in v0.7.0
func (_e *CertificateValidateAndSigner_Expecter) ValidateAndSignCertificate(ctx interface{}, certificate interface{}, lastL2BlockInCert interface{}) *CertificateValidateAndSigner_ValidateAndSignCertificate_Call
ValidateAndSignCertificate is a helper method to define mock.On call
- ctx context.Context
- certificate *agglayertypes.Certificate
- lastL2BlockInCert uint64
type CertificateValidateAndSigner_HealthCheck_Call ¶ added in v0.7.0
CertificateValidateAndSigner_HealthCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthCheck'
func (*CertificateValidateAndSigner_HealthCheck_Call) Return ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_HealthCheck_Call) Return(_a0 *types.HealthCheckResponse, _a1 error) *CertificateValidateAndSigner_HealthCheck_Call
func (*CertificateValidateAndSigner_HealthCheck_Call) Run ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_HealthCheck_Call) Run(run func(ctx context.Context)) *CertificateValidateAndSigner_HealthCheck_Call
func (*CertificateValidateAndSigner_HealthCheck_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_HealthCheck_Call) RunAndReturn(run func(context.Context) (*types.HealthCheckResponse, error)) *CertificateValidateAndSigner_HealthCheck_Call
type CertificateValidateAndSigner_Index_Call ¶ added in v0.7.0
CertificateValidateAndSigner_Index_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Index'
func (*CertificateValidateAndSigner_Index_Call) Return ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_Index_Call) Return(_a0 uint32) *CertificateValidateAndSigner_Index_Call
func (*CertificateValidateAndSigner_Index_Call) Run ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_Index_Call) Run(run func()) *CertificateValidateAndSigner_Index_Call
func (*CertificateValidateAndSigner_Index_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_Index_Call) RunAndReturn(run func() uint32) *CertificateValidateAndSigner_Index_Call
type CertificateValidateAndSigner_String_Call ¶ added in v0.7.0
CertificateValidateAndSigner_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*CertificateValidateAndSigner_String_Call) Return ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_String_Call) Return(_a0 string) *CertificateValidateAndSigner_String_Call
func (*CertificateValidateAndSigner_String_Call) Run ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_String_Call) Run(run func()) *CertificateValidateAndSigner_String_Call
func (*CertificateValidateAndSigner_String_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_String_Call) RunAndReturn(run func() string) *CertificateValidateAndSigner_String_Call
type CertificateValidateAndSigner_URL_Call ¶ added in v0.7.0
CertificateValidateAndSigner_URL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'URL'
func (*CertificateValidateAndSigner_URL_Call) Return ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_URL_Call) Return(_a0 string) *CertificateValidateAndSigner_URL_Call
func (*CertificateValidateAndSigner_URL_Call) Run ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_URL_Call) Run(run func()) *CertificateValidateAndSigner_URL_Call
func (*CertificateValidateAndSigner_URL_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_URL_Call) RunAndReturn(run func() string) *CertificateValidateAndSigner_URL_Call
type CertificateValidateAndSigner_ValidateAndSignCertificate_Call ¶ added in v0.7.0
CertificateValidateAndSigner_ValidateAndSignCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateAndSignCertificate'
func (*CertificateValidateAndSigner_ValidateAndSignCertificate_Call) Return ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_ValidateAndSignCertificate_Call) Return(_a0 []byte, _a1 error) *CertificateValidateAndSigner_ValidateAndSignCertificate_Call
func (*CertificateValidateAndSigner_ValidateAndSignCertificate_Call) Run ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_ValidateAndSignCertificate_Call) Run(run func(ctx context.Context, certificate *agglayertypes.Certificate, lastL2BlockInCert uint64)) *CertificateValidateAndSigner_ValidateAndSignCertificate_Call
func (*CertificateValidateAndSigner_ValidateAndSignCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateValidateAndSigner_ValidateAndSignCertificate_Call) RunAndReturn(run func(context.Context, *agglayertypes.Certificate, uint64) ([]byte, error)) *CertificateValidateAndSigner_ValidateAndSignCertificate_Call
type CertificateValidator ¶ added in v0.7.0
CertificateValidator is an autogenerated mock type for the CertificateValidator type
func NewCertificateValidator ¶ added in v0.7.0
func NewCertificateValidator(t interface {
mock.TestingT
Cleanup(func())
}) *CertificateValidator
NewCertificateValidator creates a new instance of CertificateValidator. 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 (*CertificateValidator) EXPECT ¶ added in v0.7.0
func (_m *CertificateValidator) EXPECT() *CertificateValidator_Expecter
func (*CertificateValidator) ValidateCertificate ¶ added in v0.7.0
func (_m *CertificateValidator) ValidateCertificate(ctx context.Context, params types.VerifyIncomingRequest) error
ValidateCertificate provides a mock function with given fields: ctx, params
type CertificateValidator_Expecter ¶ added in v0.7.0
type CertificateValidator_Expecter struct {
// contains filtered or unexported fields
}
func (*CertificateValidator_Expecter) ValidateCertificate ¶ added in v0.7.0
func (_e *CertificateValidator_Expecter) ValidateCertificate(ctx interface{}, params interface{}) *CertificateValidator_ValidateCertificate_Call
ValidateCertificate is a helper method to define mock.On call
- ctx context.Context
- params types.VerifyIncomingRequest
type CertificateValidator_ValidateCertificate_Call ¶ added in v0.7.0
CertificateValidator_ValidateCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateCertificate'
func (*CertificateValidator_ValidateCertificate_Call) Return ¶ added in v0.7.0
func (_c *CertificateValidator_ValidateCertificate_Call) Return(_a0 error) *CertificateValidator_ValidateCertificate_Call
func (*CertificateValidator_ValidateCertificate_Call) Run ¶ added in v0.7.0
func (_c *CertificateValidator_ValidateCertificate_Call) Run(run func(ctx context.Context, params types.VerifyIncomingRequest)) *CertificateValidator_ValidateCertificate_Call
func (*CertificateValidator_ValidateCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *CertificateValidator_ValidateCertificate_Call) RunAndReturn(run func(context.Context, types.VerifyIncomingRequest) error) *CertificateValidator_ValidateCertificate_Call
type ChainGERReader ¶ added in v0.3.0
ChainGERReader is an autogenerated mock type for the ChainGERReader type
func NewChainGERReader ¶ added in v0.3.0
func NewChainGERReader(t interface {
mock.TestingT
Cleanup(func())
}) *ChainGERReader
NewChainGERReader creates a new instance of ChainGERReader. 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 (*ChainGERReader) EXPECT ¶ added in v0.3.0
func (_m *ChainGERReader) EXPECT() *ChainGERReader_Expecter
func (*ChainGERReader) GetInjectedGERsForRange ¶ added in v0.3.0
func (_m *ChainGERReader) GetInjectedGERsForRange(ctx context.Context, fromBlock uint64, toBlock uint64) (map[common.Hash]l2gersync.GlobalExitRootInfo, error)
GetInjectedGERsForRange provides a mock function with given fields: ctx, fromBlock, toBlock
type ChainGERReader_Expecter ¶ added in v0.3.0
type ChainGERReader_Expecter struct {
// contains filtered or unexported fields
}
func (*ChainGERReader_Expecter) GetInjectedGERsForRange ¶ added in v0.3.0
func (_e *ChainGERReader_Expecter) GetInjectedGERsForRange(ctx interface{}, fromBlock interface{}, toBlock interface{}) *ChainGERReader_GetInjectedGERsForRange_Call
GetInjectedGERsForRange is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock uint64
type ChainGERReader_GetInjectedGERsForRange_Call ¶ added in v0.3.0
ChainGERReader_GetInjectedGERsForRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInjectedGERsForRange'
func (*ChainGERReader_GetInjectedGERsForRange_Call) Return ¶ added in v0.3.0
func (_c *ChainGERReader_GetInjectedGERsForRange_Call) Return(_a0 map[common.Hash]l2gersync.GlobalExitRootInfo, _a1 error) *ChainGERReader_GetInjectedGERsForRange_Call
func (*ChainGERReader_GetInjectedGERsForRange_Call) Run ¶ added in v0.3.0
func (_c *ChainGERReader_GetInjectedGERsForRange_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *ChainGERReader_GetInjectedGERsForRange_Call
func (*ChainGERReader_GetInjectedGERsForRange_Call) RunAndReturn ¶ added in v0.3.0
func (_c *ChainGERReader_GetInjectedGERsForRange_Call) RunAndReturn(run func(context.Context, uint64, uint64) (map[common.Hash]l2gersync.GlobalExitRootInfo, error)) *ChainGERReader_GetInjectedGERsForRange_Call
type EpochNotifier ¶
EpochNotifier is an autogenerated mock type for the EpochNotifier type
func NewEpochNotifier ¶
func NewEpochNotifier(t interface {
mock.TestingT
Cleanup(func())
}) *EpochNotifier
NewEpochNotifier creates a new instance of EpochNotifier. 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 (*EpochNotifier) EXPECT ¶
func (_m *EpochNotifier) EXPECT() *EpochNotifier_Expecter
func (*EpochNotifier) ForcePublishEpochEvent ¶ added in v0.7.2
func (_m *EpochNotifier) ForcePublishEpochEvent()
ForcePublishEpochEvent provides a mock function with no fields
func (*EpochNotifier) GetEpochStatus ¶ added in v0.0.2
func (_m *EpochNotifier) GetEpochStatus() types.EpochStatus
GetEpochStatus provides a mock function with no fields
func (*EpochNotifier) Start ¶
func (_m *EpochNotifier) Start(ctx context.Context)
Start provides a mock function with given fields: ctx
func (*EpochNotifier) String ¶
func (_m *EpochNotifier) String() string
String provides a mock function with no fields
func (*EpochNotifier) Subscribe ¶
func (_m *EpochNotifier) Subscribe(id string) <-chan types.EpochEvent
Subscribe provides a mock function with given fields: id
type EpochNotifier_Expecter ¶
type EpochNotifier_Expecter struct {
// contains filtered or unexported fields
}
func (*EpochNotifier_Expecter) ForcePublishEpochEvent ¶ added in v0.7.2
func (_e *EpochNotifier_Expecter) ForcePublishEpochEvent() *EpochNotifier_ForcePublishEpochEvent_Call
ForcePublishEpochEvent is a helper method to define mock.On call
func (*EpochNotifier_Expecter) GetEpochStatus ¶ added in v0.0.2
func (_e *EpochNotifier_Expecter) GetEpochStatus() *EpochNotifier_GetEpochStatus_Call
GetEpochStatus is a helper method to define mock.On call
func (*EpochNotifier_Expecter) Start ¶
func (_e *EpochNotifier_Expecter) Start(ctx interface{}) *EpochNotifier_Start_Call
Start is a helper method to define mock.On call
- ctx context.Context
func (*EpochNotifier_Expecter) String ¶
func (_e *EpochNotifier_Expecter) String() *EpochNotifier_String_Call
String is a helper method to define mock.On call
func (*EpochNotifier_Expecter) Subscribe ¶
func (_e *EpochNotifier_Expecter) Subscribe(id interface{}) *EpochNotifier_Subscribe_Call
Subscribe is a helper method to define mock.On call
- id string
type EpochNotifier_ForcePublishEpochEvent_Call ¶ added in v0.7.2
EpochNotifier_ForcePublishEpochEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ForcePublishEpochEvent'
func (*EpochNotifier_ForcePublishEpochEvent_Call) Return ¶ added in v0.7.2
func (_c *EpochNotifier_ForcePublishEpochEvent_Call) Return() *EpochNotifier_ForcePublishEpochEvent_Call
func (*EpochNotifier_ForcePublishEpochEvent_Call) Run ¶ added in v0.7.2
func (_c *EpochNotifier_ForcePublishEpochEvent_Call) Run(run func()) *EpochNotifier_ForcePublishEpochEvent_Call
func (*EpochNotifier_ForcePublishEpochEvent_Call) RunAndReturn ¶ added in v0.7.2
func (_c *EpochNotifier_ForcePublishEpochEvent_Call) RunAndReturn(run func()) *EpochNotifier_ForcePublishEpochEvent_Call
type EpochNotifier_GetEpochStatus_Call ¶ added in v0.0.2
EpochNotifier_GetEpochStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEpochStatus'
func (*EpochNotifier_GetEpochStatus_Call) Return ¶ added in v0.0.2
func (_c *EpochNotifier_GetEpochStatus_Call) Return(_a0 types.EpochStatus) *EpochNotifier_GetEpochStatus_Call
func (*EpochNotifier_GetEpochStatus_Call) Run ¶ added in v0.0.2
func (_c *EpochNotifier_GetEpochStatus_Call) Run(run func()) *EpochNotifier_GetEpochStatus_Call
func (*EpochNotifier_GetEpochStatus_Call) RunAndReturn ¶ added in v0.0.2
func (_c *EpochNotifier_GetEpochStatus_Call) RunAndReturn(run func() types.EpochStatus) *EpochNotifier_GetEpochStatus_Call
type EpochNotifier_Start_Call ¶
EpochNotifier_Start_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Start'
func (*EpochNotifier_Start_Call) Return ¶
func (_c *EpochNotifier_Start_Call) Return() *EpochNotifier_Start_Call
func (*EpochNotifier_Start_Call) Run ¶
func (_c *EpochNotifier_Start_Call) Run(run func(ctx context.Context)) *EpochNotifier_Start_Call
func (*EpochNotifier_Start_Call) RunAndReturn ¶
func (_c *EpochNotifier_Start_Call) RunAndReturn(run func(context.Context)) *EpochNotifier_Start_Call
type EpochNotifier_String_Call ¶
EpochNotifier_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*EpochNotifier_String_Call) Return ¶
func (_c *EpochNotifier_String_Call) Return(_a0 string) *EpochNotifier_String_Call
func (*EpochNotifier_String_Call) Run ¶
func (_c *EpochNotifier_String_Call) Run(run func()) *EpochNotifier_String_Call
func (*EpochNotifier_String_Call) RunAndReturn ¶
func (_c *EpochNotifier_String_Call) RunAndReturn(run func() string) *EpochNotifier_String_Call
type EpochNotifier_Subscribe_Call ¶
EpochNotifier_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*EpochNotifier_Subscribe_Call) Return ¶
func (_c *EpochNotifier_Subscribe_Call) Return(_a0 <-chan types.EpochEvent) *EpochNotifier_Subscribe_Call
func (*EpochNotifier_Subscribe_Call) Run ¶
func (_c *EpochNotifier_Subscribe_Call) Run(run func(id string)) *EpochNotifier_Subscribe_Call
func (*EpochNotifier_Subscribe_Call) RunAndReturn ¶
func (_c *EpochNotifier_Subscribe_Call) RunAndReturn(run func(string) <-chan types.EpochEvent) *EpochNotifier_Subscribe_Call
type FEPContractQuerier ¶ added in v0.7.0
FEPContractQuerier is an autogenerated mock type for the FEPContractQuerier type
func NewFEPContractQuerier ¶ added in v0.7.0
func NewFEPContractQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *FEPContractQuerier
NewFEPContractQuerier creates a new instance of FEPContractQuerier. 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 (*FEPContractQuerier) EXPECT ¶ added in v0.7.0
func (_m *FEPContractQuerier) EXPECT() *FEPContractQuerier_Expecter
func (*FEPContractQuerier) GetAggchainSigners ¶ added in v0.7.0
GetAggchainSigners provides a mock function with given fields: opts
func (*FEPContractQuerier) LatestBlockNumber ¶ added in v0.7.0
LatestBlockNumber provides a mock function with given fields: opts
func (*FEPContractQuerier) OpSuccinctConfigs ¶ added in v0.7.0
func (_m *FEPContractQuerier) OpSuccinctConfigs(opts *bind.CallOpts, arg0 [32]byte) (struct { AggregationVkey [32]byte RangeVkeyCommitment [32]byte RollupConfigHash [32]byte }, error)
OpSuccinctConfigs provides a mock function with given fields: opts, arg0
func (*FEPContractQuerier) OptimisticMode ¶ added in v0.7.0
func (_m *FEPContractQuerier) OptimisticMode(opts *bind.CallOpts) (bool, error)
OptimisticMode provides a mock function with given fields: opts
func (*FEPContractQuerier) SelectedOpSuccinctConfigName ¶ added in v0.7.0
func (_m *FEPContractQuerier) SelectedOpSuccinctConfigName(opts *bind.CallOpts) ([32]byte, error)
SelectedOpSuccinctConfigName provides a mock function with given fields: opts
func (*FEPContractQuerier) StartingBlockNumber ¶ added in v0.7.0
StartingBlockNumber provides a mock function with given fields: opts
type FEPContractQuerier_Expecter ¶ added in v0.7.0
type FEPContractQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*FEPContractQuerier_Expecter) GetAggchainSigners ¶ added in v0.7.0
func (_e *FEPContractQuerier_Expecter) GetAggchainSigners(opts interface{}) *FEPContractQuerier_GetAggchainSigners_Call
GetAggchainSigners is a helper method to define mock.On call
- opts *bind.CallOpts
func (*FEPContractQuerier_Expecter) LatestBlockNumber ¶ added in v0.7.0
func (_e *FEPContractQuerier_Expecter) LatestBlockNumber(opts interface{}) *FEPContractQuerier_LatestBlockNumber_Call
LatestBlockNumber is a helper method to define mock.On call
- opts *bind.CallOpts
func (*FEPContractQuerier_Expecter) OpSuccinctConfigs ¶ added in v0.7.0
func (_e *FEPContractQuerier_Expecter) OpSuccinctConfigs(opts interface{}, arg0 interface{}) *FEPContractQuerier_OpSuccinctConfigs_Call
OpSuccinctConfigs is a helper method to define mock.On call
- opts *bind.CallOpts
- arg0 [32]byte
func (*FEPContractQuerier_Expecter) OptimisticMode ¶ added in v0.7.0
func (_e *FEPContractQuerier_Expecter) OptimisticMode(opts interface{}) *FEPContractQuerier_OptimisticMode_Call
OptimisticMode is a helper method to define mock.On call
- opts *bind.CallOpts
func (*FEPContractQuerier_Expecter) SelectedOpSuccinctConfigName ¶ added in v0.7.0
func (_e *FEPContractQuerier_Expecter) SelectedOpSuccinctConfigName(opts interface{}) *FEPContractQuerier_SelectedOpSuccinctConfigName_Call
SelectedOpSuccinctConfigName is a helper method to define mock.On call
- opts *bind.CallOpts
func (*FEPContractQuerier_Expecter) StartingBlockNumber ¶ added in v0.7.0
func (_e *FEPContractQuerier_Expecter) StartingBlockNumber(opts interface{}) *FEPContractQuerier_StartingBlockNumber_Call
StartingBlockNumber is a helper method to define mock.On call
- opts *bind.CallOpts
type FEPContractQuerier_GetAggchainSigners_Call ¶ added in v0.7.0
FEPContractQuerier_GetAggchainSigners_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAggchainSigners'
func (*FEPContractQuerier_GetAggchainSigners_Call) Return ¶ added in v0.7.0
func (_c *FEPContractQuerier_GetAggchainSigners_Call) Return(_a0 []common.Address, _a1 error) *FEPContractQuerier_GetAggchainSigners_Call
func (*FEPContractQuerier_GetAggchainSigners_Call) Run ¶ added in v0.7.0
func (_c *FEPContractQuerier_GetAggchainSigners_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_GetAggchainSigners_Call
func (*FEPContractQuerier_GetAggchainSigners_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FEPContractQuerier_GetAggchainSigners_Call) RunAndReturn(run func(*bind.CallOpts) ([]common.Address, error)) *FEPContractQuerier_GetAggchainSigners_Call
type FEPContractQuerier_LatestBlockNumber_Call ¶ added in v0.7.0
FEPContractQuerier_LatestBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LatestBlockNumber'
func (*FEPContractQuerier_LatestBlockNumber_Call) Return ¶ added in v0.7.0
func (_c *FEPContractQuerier_LatestBlockNumber_Call) Return(_a0 *big.Int, _a1 error) *FEPContractQuerier_LatestBlockNumber_Call
func (*FEPContractQuerier_LatestBlockNumber_Call) Run ¶ added in v0.7.0
func (_c *FEPContractQuerier_LatestBlockNumber_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_LatestBlockNumber_Call
func (*FEPContractQuerier_LatestBlockNumber_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FEPContractQuerier_LatestBlockNumber_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *FEPContractQuerier_LatestBlockNumber_Call
type FEPContractQuerier_OpSuccinctConfigs_Call ¶ added in v0.7.0
FEPContractQuerier_OpSuccinctConfigs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpSuccinctConfigs'
func (*FEPContractQuerier_OpSuccinctConfigs_Call) Return ¶ added in v0.7.0
func (_c *FEPContractQuerier_OpSuccinctConfigs_Call) Return(_a0 struct { AggregationVkey [32]byte RangeVkeyCommitment [32]byte RollupConfigHash [32]byte }, _a1 error) *FEPContractQuerier_OpSuccinctConfigs_Call
func (*FEPContractQuerier_OpSuccinctConfigs_Call) Run ¶ added in v0.7.0
func (_c *FEPContractQuerier_OpSuccinctConfigs_Call) Run(run func(opts *bind.CallOpts, arg0 [32]byte)) *FEPContractQuerier_OpSuccinctConfigs_Call
func (*FEPContractQuerier_OpSuccinctConfigs_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FEPContractQuerier_OpSuccinctConfigs_Call) RunAndReturn(run func(*bind.CallOpts, [32]byte) (struct { AggregationVkey [32]byte RangeVkeyCommitment [32]byte RollupConfigHash [32]byte }, error)) *FEPContractQuerier_OpSuccinctConfigs_Call
type FEPContractQuerier_OptimisticMode_Call ¶ added in v0.7.0
FEPContractQuerier_OptimisticMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OptimisticMode'
func (*FEPContractQuerier_OptimisticMode_Call) Return ¶ added in v0.7.0
func (_c *FEPContractQuerier_OptimisticMode_Call) Return(_a0 bool, _a1 error) *FEPContractQuerier_OptimisticMode_Call
func (*FEPContractQuerier_OptimisticMode_Call) Run ¶ added in v0.7.0
func (_c *FEPContractQuerier_OptimisticMode_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_OptimisticMode_Call
func (*FEPContractQuerier_OptimisticMode_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FEPContractQuerier_OptimisticMode_Call) RunAndReturn(run func(*bind.CallOpts) (bool, error)) *FEPContractQuerier_OptimisticMode_Call
type FEPContractQuerier_SelectedOpSuccinctConfigName_Call ¶ added in v0.7.0
FEPContractQuerier_SelectedOpSuccinctConfigName_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SelectedOpSuccinctConfigName'
func (*FEPContractQuerier_SelectedOpSuccinctConfigName_Call) Return ¶ added in v0.7.0
func (_c *FEPContractQuerier_SelectedOpSuccinctConfigName_Call) Return(_a0 [32]byte, _a1 error) *FEPContractQuerier_SelectedOpSuccinctConfigName_Call
func (*FEPContractQuerier_SelectedOpSuccinctConfigName_Call) Run ¶ added in v0.7.0
func (_c *FEPContractQuerier_SelectedOpSuccinctConfigName_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_SelectedOpSuccinctConfigName_Call
func (*FEPContractQuerier_SelectedOpSuccinctConfigName_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FEPContractQuerier_SelectedOpSuccinctConfigName_Call) RunAndReturn(run func(*bind.CallOpts) ([32]byte, error)) *FEPContractQuerier_SelectedOpSuccinctConfigName_Call
type FEPContractQuerier_StartingBlockNumber_Call ¶ added in v0.7.0
FEPContractQuerier_StartingBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StartingBlockNumber'
func (*FEPContractQuerier_StartingBlockNumber_Call) Return ¶ added in v0.7.0
func (_c *FEPContractQuerier_StartingBlockNumber_Call) Return(_a0 *big.Int, _a1 error) *FEPContractQuerier_StartingBlockNumber_Call
func (*FEPContractQuerier_StartingBlockNumber_Call) Run ¶ added in v0.7.0
func (_c *FEPContractQuerier_StartingBlockNumber_Call) Run(run func(opts *bind.CallOpts)) *FEPContractQuerier_StartingBlockNumber_Call
func (*FEPContractQuerier_StartingBlockNumber_Call) RunAndReturn ¶ added in v0.7.0
func (_c *FEPContractQuerier_StartingBlockNumber_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *FEPContractQuerier_StartingBlockNumber_Call
type GERQuerier ¶ added in v0.4.0
GERQuerier is an autogenerated mock type for the GERQuerier type
func NewGERQuerier ¶ added in v0.4.0
func NewGERQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *GERQuerier
NewGERQuerier creates a new instance of GERQuerier. 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 (*GERQuerier) EXPECT ¶ added in v0.4.0
func (_m *GERQuerier) EXPECT() *GERQuerier_Expecter
func (*GERQuerier) GetInjectedGERsProofs ¶ added in v0.4.0
func (_m *GERQuerier) GetInjectedGERsProofs(ctx context.Context, finalizedL1InfoTreeRoot *types.Root, fromBlock uint64, toBlock uint64) (map[common.Hash]*agglayertypes.ProvenInsertedGERWithBlockNumber, error)
GetInjectedGERsProofs provides a mock function with given fields: ctx, finalizedL1InfoTreeRoot, fromBlock, toBlock
type GERQuerier_Expecter ¶ added in v0.4.0
type GERQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*GERQuerier_Expecter) GetInjectedGERsProofs ¶ added in v0.4.0
func (_e *GERQuerier_Expecter) GetInjectedGERsProofs(ctx interface{}, finalizedL1InfoTreeRoot interface{}, fromBlock interface{}, toBlock interface{}) *GERQuerier_GetInjectedGERsProofs_Call
GetInjectedGERsProofs is a helper method to define mock.On call
- ctx context.Context
- finalizedL1InfoTreeRoot *types.Root
- fromBlock uint64
- toBlock uint64
type GERQuerier_GetInjectedGERsProofs_Call ¶ added in v0.4.0
GERQuerier_GetInjectedGERsProofs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInjectedGERsProofs'
func (*GERQuerier_GetInjectedGERsProofs_Call) Return ¶ added in v0.4.0
func (_c *GERQuerier_GetInjectedGERsProofs_Call) Return(_a0 map[common.Hash]*agglayertypes.ProvenInsertedGERWithBlockNumber, _a1 error) *GERQuerier_GetInjectedGERsProofs_Call
func (*GERQuerier_GetInjectedGERsProofs_Call) Run ¶ added in v0.4.0
func (_c *GERQuerier_GetInjectedGERsProofs_Call) Run(run func(ctx context.Context, finalizedL1InfoTreeRoot *types.Root, fromBlock uint64, toBlock uint64)) *GERQuerier_GetInjectedGERsProofs_Call
func (*GERQuerier_GetInjectedGERsProofs_Call) RunAndReturn ¶ added in v0.4.0
func (_c *GERQuerier_GetInjectedGERsProofs_Call) RunAndReturn(run func(context.Context, *types.Root, uint64, uint64) (map[common.Hash]*agglayertypes.ProvenInsertedGERWithBlockNumber, error)) *GERQuerier_GetInjectedGERsProofs_Call
type GenericSubscriber ¶
GenericSubscriber is an autogenerated mock type for the GenericSubscriber type
func NewGenericSubscriber ¶
func NewGenericSubscriber[T any](t interface { mock.TestingT Cleanup(func()) }) *GenericSubscriber[T]
NewGenericSubscriber creates a new instance of GenericSubscriber. 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 (*GenericSubscriber[T]) EXPECT ¶
func (_m *GenericSubscriber[T]) EXPECT() *GenericSubscriber_Expecter[T]
func (*GenericSubscriber[T]) Publish ¶
func (_m *GenericSubscriber[T]) Publish(data T)
Publish provides a mock function with given fields: data
func (*GenericSubscriber[T]) Subscribe ¶
func (_m *GenericSubscriber[T]) Subscribe(subscriberName string) <-chan T
Subscribe provides a mock function with given fields: subscriberName
type GenericSubscriber_Expecter ¶
type GenericSubscriber_Expecter[T any] struct { // contains filtered or unexported fields }
func (*GenericSubscriber_Expecter[T]) Publish ¶
func (_e *GenericSubscriber_Expecter[T]) Publish(data interface{}) *GenericSubscriber_Publish_Call[T]
Publish is a helper method to define mock.On call
- data T
func (*GenericSubscriber_Expecter[T]) Subscribe ¶
func (_e *GenericSubscriber_Expecter[T]) Subscribe(subscriberName interface{}) *GenericSubscriber_Subscribe_Call[T]
Subscribe is a helper method to define mock.On call
- subscriberName string
type GenericSubscriber_Publish_Call ¶
GenericSubscriber_Publish_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Publish'
func (*GenericSubscriber_Publish_Call[T]) Return ¶
func (_c *GenericSubscriber_Publish_Call[T]) Return() *GenericSubscriber_Publish_Call[T]
func (*GenericSubscriber_Publish_Call[T]) Run ¶
func (_c *GenericSubscriber_Publish_Call[T]) Run(run func(data T)) *GenericSubscriber_Publish_Call[T]
func (*GenericSubscriber_Publish_Call[T]) RunAndReturn ¶
func (_c *GenericSubscriber_Publish_Call[T]) RunAndReturn(run func(T)) *GenericSubscriber_Publish_Call[T]
type GenericSubscriber_Subscribe_Call ¶
GenericSubscriber_Subscribe_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Subscribe'
func (*GenericSubscriber_Subscribe_Call[T]) Return ¶
func (_c *GenericSubscriber_Subscribe_Call[T]) Return(_a0 <-chan T) *GenericSubscriber_Subscribe_Call[T]
func (*GenericSubscriber_Subscribe_Call[T]) Run ¶
func (_c *GenericSubscriber_Subscribe_Call[T]) Run(run func(subscriberName string)) *GenericSubscriber_Subscribe_Call[T]
func (*GenericSubscriber_Subscribe_Call[T]) RunAndReturn ¶
func (_c *GenericSubscriber_Subscribe_Call[T]) RunAndReturn(run func(string) <-chan T) *GenericSubscriber_Subscribe_Call[T]
type L1InfoTreeDataQuerier ¶ added in v0.3.0
L1InfoTreeDataQuerier is an autogenerated mock type for the L1InfoTreeDataQuerier type
func NewL1InfoTreeDataQuerier ¶ added in v0.3.0
func NewL1InfoTreeDataQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *L1InfoTreeDataQuerier
NewL1InfoTreeDataQuerier creates a new instance of L1InfoTreeDataQuerier. 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 (*L1InfoTreeDataQuerier) CheckIfClaimsArePartOfFinalizedL1InfoTree ¶ added in v0.3.0
func (_m *L1InfoTreeDataQuerier) CheckIfClaimsArePartOfFinalizedL1InfoTree(finalizedL1InfoTreeRoot *types.Root, claims []bridgesync.Claim) error
CheckIfClaimsArePartOfFinalizedL1InfoTree provides a mock function with given fields: finalizedL1InfoTreeRoot, claims
func (*L1InfoTreeDataQuerier) EXPECT ¶ added in v0.3.0
func (_m *L1InfoTreeDataQuerier) EXPECT() *L1InfoTreeDataQuerier_Expecter
func (*L1InfoTreeDataQuerier) GetFinalizedL1InfoTreeData ¶ added in v0.3.0
func (_m *L1InfoTreeDataQuerier) GetFinalizedL1InfoTreeData(ctx context.Context) (types.Proof, *l1infotreesync.L1InfoTreeLeaf, *types.Root, error)
GetFinalizedL1InfoTreeData provides a mock function with given fields: ctx
func (*L1InfoTreeDataQuerier) GetInfoByIndex ¶ added in v0.7.0
func (_m *L1InfoTreeDataQuerier) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
GetInfoByIndex provides a mock function with given fields: ctx, index
func (*L1InfoTreeDataQuerier) GetL1InfoRootByLeafIndex ¶ added in v0.7.0
func (_m *L1InfoTreeDataQuerier) GetL1InfoRootByLeafIndex(ctx context.Context, leafCount uint32) (*types.Root, error)
GetL1InfoRootByLeafIndex provides a mock function with given fields: ctx, leafCount
func (*L1InfoTreeDataQuerier) GetLatestFinalizedL1InfoRoot ¶ added in v0.3.0
func (_m *L1InfoTreeDataQuerier) GetLatestFinalizedL1InfoRoot(ctx context.Context) (*types.Root, *l1infotreesync.L1InfoTreeLeaf, error)
GetLatestFinalizedL1InfoRoot provides a mock function with given fields: ctx
func (*L1InfoTreeDataQuerier) GetProofForGER ¶ added in v0.3.0
func (_m *L1InfoTreeDataQuerier) GetProofForGER(ctx context.Context, ger common.Hash, rootFromWhichToProve common.Hash) (*l1infotreesync.L1InfoTreeLeaf, types.Proof, error)
GetProofForGER provides a mock function with given fields: ctx, ger, rootFromWhichToProve
type L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call ¶ added in v0.3.0
L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckIfClaimsArePartOfFinalizedL1InfoTree'
func (*L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call) Return ¶ added in v0.3.0
func (*L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call) Run ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call) Run(run func(finalizedL1InfoTreeRoot *types.Root, claims []bridgesync.Claim)) *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call
func (*L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call) RunAndReturn ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call) RunAndReturn(run func(*types.Root, []bridgesync.Claim) error) *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call
type L1InfoTreeDataQuerier_Expecter ¶ added in v0.3.0
type L1InfoTreeDataQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*L1InfoTreeDataQuerier_Expecter) CheckIfClaimsArePartOfFinalizedL1InfoTree ¶ added in v0.3.0
func (_e *L1InfoTreeDataQuerier_Expecter) CheckIfClaimsArePartOfFinalizedL1InfoTree(finalizedL1InfoTreeRoot interface{}, claims interface{}) *L1InfoTreeDataQuerier_CheckIfClaimsArePartOfFinalizedL1InfoTree_Call
CheckIfClaimsArePartOfFinalizedL1InfoTree is a helper method to define mock.On call
- finalizedL1InfoTreeRoot *types.Root
- claims []bridgesync.Claim
func (*L1InfoTreeDataQuerier_Expecter) GetFinalizedL1InfoTreeData ¶ added in v0.3.0
func (_e *L1InfoTreeDataQuerier_Expecter) GetFinalizedL1InfoTreeData(ctx interface{}) *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
GetFinalizedL1InfoTreeData is a helper method to define mock.On call
- ctx context.Context
func (*L1InfoTreeDataQuerier_Expecter) GetInfoByIndex ¶ added in v0.7.0
func (_e *L1InfoTreeDataQuerier_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreeDataQuerier_GetInfoByIndex_Call
GetInfoByIndex is a helper method to define mock.On call
- ctx context.Context
- index uint32
func (*L1InfoTreeDataQuerier_Expecter) GetL1InfoRootByLeafIndex ¶ added in v0.7.0
func (_e *L1InfoTreeDataQuerier_Expecter) GetL1InfoRootByLeafIndex(ctx interface{}, leafCount interface{}) *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
GetL1InfoRootByLeafIndex is a helper method to define mock.On call
- ctx context.Context
- leafCount uint32
func (*L1InfoTreeDataQuerier_Expecter) GetLatestFinalizedL1InfoRoot ¶ added in v0.3.0
func (_e *L1InfoTreeDataQuerier_Expecter) GetLatestFinalizedL1InfoRoot(ctx interface{}) *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
GetLatestFinalizedL1InfoRoot is a helper method to define mock.On call
- ctx context.Context
func (*L1InfoTreeDataQuerier_Expecter) GetProofForGER ¶ added in v0.3.0
func (_e *L1InfoTreeDataQuerier_Expecter) GetProofForGER(ctx interface{}, ger interface{}, rootFromWhichToProve interface{}) *L1InfoTreeDataQuerier_GetProofForGER_Call
GetProofForGER is a helper method to define mock.On call
- ctx context.Context
- ger common.Hash
- rootFromWhichToProve common.Hash
type L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call ¶ added in v0.3.0
L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFinalizedL1InfoTreeData'
func (*L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) Return ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) Return(_a0 types.Proof, _a1 *l1infotreesync.L1InfoTreeLeaf, _a2 *types.Root, _a3 error) *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
func (*L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) Run ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) Run(run func(ctx context.Context)) *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
func (*L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) RunAndReturn ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call) RunAndReturn(run func(context.Context) (types.Proof, *l1infotreesync.L1InfoTreeLeaf, *types.Root, error)) *L1InfoTreeDataQuerier_GetFinalizedL1InfoTreeData_Call
type L1InfoTreeDataQuerier_GetInfoByIndex_Call ¶ added in v0.7.0
L1InfoTreeDataQuerier_GetInfoByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInfoByIndex'
func (*L1InfoTreeDataQuerier_GetInfoByIndex_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeDataQuerier_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeDataQuerier_GetInfoByIndex_Call
func (*L1InfoTreeDataQuerier_GetInfoByIndex_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeDataQuerier_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeDataQuerier_GetInfoByIndex_Call
func (*L1InfoTreeDataQuerier_GetInfoByIndex_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeDataQuerier_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeDataQuerier_GetInfoByIndex_Call
type L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call ¶ added in v0.7.0
L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoRootByLeafIndex'
func (*L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) Return(_a0 *types.Root, _a1 error) *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
func (*L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) Run(run func(ctx context.Context, leafCount uint32)) *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
func (*L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call) RunAndReturn(run func(context.Context, uint32) (*types.Root, error)) *L1InfoTreeDataQuerier_GetL1InfoRootByLeafIndex_Call
type L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call ¶ added in v0.3.0
L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestFinalizedL1InfoRoot'
func (*L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) Return ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) Return(_a0 *types.Root, _a1 *l1infotreesync.L1InfoTreeLeaf, _a2 error) *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
func (*L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) Run ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) Run(run func(ctx context.Context)) *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
func (*L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) RunAndReturn ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call) RunAndReturn(run func(context.Context) (*types.Root, *l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeDataQuerier_GetLatestFinalizedL1InfoRoot_Call
type L1InfoTreeDataQuerier_GetProofForGER_Call ¶ added in v0.3.0
L1InfoTreeDataQuerier_GetProofForGER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProofForGER'
func (*L1InfoTreeDataQuerier_GetProofForGER_Call) Return ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetProofForGER_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 types.Proof, _a2 error) *L1InfoTreeDataQuerier_GetProofForGER_Call
func (*L1InfoTreeDataQuerier_GetProofForGER_Call) Run ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetProofForGER_Call) Run(run func(ctx context.Context, ger common.Hash, rootFromWhichToProve common.Hash)) *L1InfoTreeDataQuerier_GetProofForGER_Call
func (*L1InfoTreeDataQuerier_GetProofForGER_Call) RunAndReturn ¶ added in v0.3.0
func (_c *L1InfoTreeDataQuerier_GetProofForGER_Call) RunAndReturn(run func(context.Context, common.Hash, common.Hash) (*l1infotreesync.L1InfoTreeLeaf, types.Proof, error)) *L1InfoTreeDataQuerier_GetProofForGER_Call
type L1InfoTreeSyncer ¶
L1InfoTreeSyncer is an autogenerated mock type for the L1InfoTreeSyncer type
func NewL1InfoTreeSyncer ¶
func NewL1InfoTreeSyncer(t interface {
mock.TestingT
Cleanup(func())
}) *L1InfoTreeSyncer
NewL1InfoTreeSyncer creates a new instance of L1InfoTreeSyncer. 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 (*L1InfoTreeSyncer) EXPECT ¶
func (_m *L1InfoTreeSyncer) EXPECT() *L1InfoTreeSyncer_Expecter
func (*L1InfoTreeSyncer) GetInfoByGlobalExitRoot ¶
func (_m *L1InfoTreeSyncer) GetInfoByGlobalExitRoot(globalExitRoot common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)
GetInfoByGlobalExitRoot provides a mock function with given fields: globalExitRoot
func (*L1InfoTreeSyncer) GetInfoByIndex ¶ added in v0.3.0
func (_m *L1InfoTreeSyncer) GetInfoByIndex(ctx context.Context, index uint32) (*l1infotreesync.L1InfoTreeLeaf, error)
GetInfoByIndex provides a mock function with given fields: ctx, index
func (*L1InfoTreeSyncer) GetL1InfoTreeMerkleProofFromIndexToRoot ¶
func (_m *L1InfoTreeSyncer) GetL1InfoTreeMerkleProofFromIndexToRoot(ctx context.Context, index uint32, root common.Hash) (treetypes.Proof, error)
GetL1InfoTreeMerkleProofFromIndexToRoot provides a mock function with given fields: ctx, index, root
func (*L1InfoTreeSyncer) GetL1InfoTreeRootByIndex ¶
func (_m *L1InfoTreeSyncer) GetL1InfoTreeRootByIndex(ctx context.Context, index uint32) (treetypes.Root, error)
GetL1InfoTreeRootByIndex provides a mock function with given fields: ctx, index
func (*L1InfoTreeSyncer) GetLastL1InfoTreeRoot ¶ added in v0.7.0
GetLastL1InfoTreeRoot provides a mock function with given fields: ctx
func (*L1InfoTreeSyncer) GetLatestL1InfoLeafUntilBlock ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) GetLatestL1InfoLeafUntilBlock(ctx context.Context, blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
GetLatestL1InfoLeafUntilBlock provides a mock function with given fields: ctx, blockNum
func (*L1InfoTreeSyncer) GetProcessedBlockUntil ¶ added in v0.3.0
func (_m *L1InfoTreeSyncer) GetProcessedBlockUntil(ctx context.Context, blockNumber uint64) (uint64, common.Hash, error)
GetProcessedBlockUntil provides a mock function with given fields: ctx, blockNumber
func (*L1InfoTreeSyncer) IsUpToDate ¶ added in v0.7.0
func (_m *L1InfoTreeSyncer) IsUpToDate(ctx context.Context, l1Client aggkittypes.BaseEthereumClienter) (bool, error)
IsUpToDate provides a mock function with given fields: ctx, l1Client
type L1InfoTreeSyncer_Expecter ¶
type L1InfoTreeSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*L1InfoTreeSyncer_Expecter) GetInfoByGlobalExitRoot ¶
func (_e *L1InfoTreeSyncer_Expecter) GetInfoByGlobalExitRoot(globalExitRoot interface{}) *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
GetInfoByGlobalExitRoot is a helper method to define mock.On call
- globalExitRoot common.Hash
func (*L1InfoTreeSyncer_Expecter) GetInfoByIndex ¶ added in v0.3.0
func (_e *L1InfoTreeSyncer_Expecter) GetInfoByIndex(ctx interface{}, index interface{}) *L1InfoTreeSyncer_GetInfoByIndex_Call
GetInfoByIndex is a helper method to define mock.On call
- ctx context.Context
- index uint32
func (*L1InfoTreeSyncer_Expecter) GetL1InfoTreeMerkleProofFromIndexToRoot ¶
func (_e *L1InfoTreeSyncer_Expecter) GetL1InfoTreeMerkleProofFromIndexToRoot(ctx interface{}, index interface{}, root interface{}) *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call
GetL1InfoTreeMerkleProofFromIndexToRoot is a helper method to define mock.On call
- ctx context.Context
- index uint32
- root common.Hash
func (*L1InfoTreeSyncer_Expecter) GetL1InfoTreeRootByIndex ¶
func (_e *L1InfoTreeSyncer_Expecter) GetL1InfoTreeRootByIndex(ctx interface{}, index interface{}) *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
GetL1InfoTreeRootByIndex is a helper method to define mock.On call
- ctx context.Context
- index uint32
func (*L1InfoTreeSyncer_Expecter) GetLastL1InfoTreeRoot ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetLastL1InfoTreeRoot(ctx interface{}) *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
GetLastL1InfoTreeRoot is a helper method to define mock.On call
- ctx context.Context
func (*L1InfoTreeSyncer_Expecter) GetLatestL1InfoLeafUntilBlock ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) GetLatestL1InfoLeafUntilBlock(ctx interface{}, blockNum interface{}) *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
GetLatestL1InfoLeafUntilBlock is a helper method to define mock.On call
- ctx context.Context
- blockNum uint64
func (*L1InfoTreeSyncer_Expecter) GetProcessedBlockUntil ¶ added in v0.3.0
func (_e *L1InfoTreeSyncer_Expecter) GetProcessedBlockUntil(ctx interface{}, blockNumber interface{}) *L1InfoTreeSyncer_GetProcessedBlockUntil_Call
GetProcessedBlockUntil is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
func (*L1InfoTreeSyncer_Expecter) IsUpToDate ¶ added in v0.7.0
func (_e *L1InfoTreeSyncer_Expecter) IsUpToDate(ctx interface{}, l1Client interface{}) *L1InfoTreeSyncer_IsUpToDate_Call
IsUpToDate is a helper method to define mock.On call
- ctx context.Context
- l1Client aggkittypes.BaseEthereumClienter
type L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call ¶
L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInfoByGlobalExitRoot'
func (*L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) Return ¶
func (_c *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
func (*L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) Run ¶
func (_c *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) Run(run func(globalExitRoot common.Hash)) *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
func (*L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) RunAndReturn ¶
func (_c *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call) RunAndReturn(run func(common.Hash) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetInfoByGlobalExitRoot_Call
type L1InfoTreeSyncer_GetInfoByIndex_Call ¶ added in v0.3.0
L1InfoTreeSyncer_GetInfoByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetInfoByIndex'
func (*L1InfoTreeSyncer_GetInfoByIndex_Call) Return ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetInfoByIndex_Call
func (*L1InfoTreeSyncer_GetInfoByIndex_Call) Run ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeSyncer_GetInfoByIndex_Call
func (*L1InfoTreeSyncer_GetInfoByIndex_Call) RunAndReturn ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetInfoByIndex_Call) RunAndReturn(run func(context.Context, uint32) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetInfoByIndex_Call
type L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call ¶
L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoTreeMerkleProofFromIndexToRoot'
func (*L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call) Run ¶
func (_c *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call) Run(run func(ctx context.Context, index uint32, root common.Hash)) *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call
func (*L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call) RunAndReturn ¶
func (_c *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call) RunAndReturn(run func(context.Context, uint32, common.Hash) (treetypes.Proof, error)) *L1InfoTreeSyncer_GetL1InfoTreeMerkleProofFromIndexToRoot_Call
type L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call ¶
L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoTreeRootByIndex'
func (*L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) Return ¶
func (_c *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) Return(_a0 treetypes.Root, _a1 error) *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
func (*L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) Run ¶
func (_c *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
func (*L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) RunAndReturn ¶
func (_c *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call) RunAndReturn(run func(context.Context, uint32) (treetypes.Root, error)) *L1InfoTreeSyncer_GetL1InfoTreeRootByIndex_Call
type L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL1InfoTreeRoot'
func (*L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) Return(_a0 treetypes.Root, _a1 error) *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
func (*L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) Run(run func(ctx context.Context)) *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
func (*L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call) RunAndReturn(run func(context.Context) (treetypes.Root, error)) *L1InfoTreeSyncer_GetLastL1InfoTreeRoot_Call
type L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call ¶ added in v0.7.0
L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestL1InfoLeafUntilBlock'
func (*L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
func (*L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) Run(run func(ctx context.Context, blockNum uint64)) *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
func (*L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call) RunAndReturn(run func(context.Context, uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetLatestL1InfoLeafUntilBlock_Call
type L1InfoTreeSyncer_GetProcessedBlockUntil_Call ¶ added in v0.3.0
L1InfoTreeSyncer_GetProcessedBlockUntil_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProcessedBlockUntil'
func (*L1InfoTreeSyncer_GetProcessedBlockUntil_Call) Return ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetProcessedBlockUntil_Call) Return(_a0 uint64, _a1 common.Hash, _a2 error) *L1InfoTreeSyncer_GetProcessedBlockUntil_Call
func (*L1InfoTreeSyncer_GetProcessedBlockUntil_Call) Run ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetProcessedBlockUntil_Call) Run(run func(ctx context.Context, blockNumber uint64)) *L1InfoTreeSyncer_GetProcessedBlockUntil_Call
func (*L1InfoTreeSyncer_GetProcessedBlockUntil_Call) RunAndReturn ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetProcessedBlockUntil_Call) RunAndReturn(run func(context.Context, uint64) (uint64, common.Hash, error)) *L1InfoTreeSyncer_GetProcessedBlockUntil_Call
type L1InfoTreeSyncer_IsUpToDate_Call ¶ added in v0.7.0
L1InfoTreeSyncer_IsUpToDate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsUpToDate'
func (*L1InfoTreeSyncer_IsUpToDate_Call) Return ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_IsUpToDate_Call) Return(_a0 bool, _a1 error) *L1InfoTreeSyncer_IsUpToDate_Call
func (*L1InfoTreeSyncer_IsUpToDate_Call) Run ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_IsUpToDate_Call) Run(run func(ctx context.Context, l1Client aggkittypes.BaseEthereumClienter)) *L1InfoTreeSyncer_IsUpToDate_Call
func (*L1InfoTreeSyncer_IsUpToDate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L1InfoTreeSyncer_IsUpToDate_Call) RunAndReturn(run func(context.Context, aggkittypes.BaseEthereumClienter) (bool, error)) *L1InfoTreeSyncer_IsUpToDate_Call
type L2BridgeSyncer ¶
L2BridgeSyncer is an autogenerated mock type for the L2BridgeSyncer type
func NewL2BridgeSyncer ¶
func NewL2BridgeSyncer(t interface {
mock.TestingT
Cleanup(func())
}) *L2BridgeSyncer
NewL2BridgeSyncer creates a new instance of L2BridgeSyncer. 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 (*L2BridgeSyncer) EXPECT ¶
func (_m *L2BridgeSyncer) EXPECT() *L2BridgeSyncer_Expecter
func (*L2BridgeSyncer) GetBlockByLER ¶
GetBlockByLER provides a mock function with given fields: ctx, ler
func (*L2BridgeSyncer) GetBridges ¶ added in v0.3.0
func (_m *L2BridgeSyncer) GetBridges(ctx context.Context, fromBlock uint64, toBlock uint64) ([]bridgesync.Bridge, error)
GetBridges provides a mock function with given fields: ctx, fromBlock, toBlock
func (*L2BridgeSyncer) GetClaims ¶
func (_m *L2BridgeSyncer) GetClaims(ctx context.Context, fromBlock uint64, toBlock uint64) ([]bridgesync.Claim, error)
GetClaims provides a mock function with given fields: ctx, fromBlock, toBlock
func (*L2BridgeSyncer) GetClaimsByGlobalIndex ¶ added in v0.7.0
func (_m *L2BridgeSyncer) GetClaimsByGlobalIndex(ctx context.Context, globalIndex *big.Int) ([]bridgesync.Claim, error)
GetClaimsByGlobalIndex provides a mock function with given fields: ctx, globalIndex
func (*L2BridgeSyncer) GetExitRootByHash ¶ added in v0.7.0
func (_m *L2BridgeSyncer) GetExitRootByHash(ctx context.Context, root common.Hash) (*treetypes.Root, error)
GetExitRootByHash provides a mock function with given fields: ctx, root
func (*L2BridgeSyncer) GetExitRootByIndex ¶
func (_m *L2BridgeSyncer) GetExitRootByIndex(ctx context.Context, index uint32) (treetypes.Root, error)
GetExitRootByIndex provides a mock function with given fields: ctx, index
func (*L2BridgeSyncer) GetLastProcessedBlock ¶
func (_m *L2BridgeSyncer) GetLastProcessedBlock(ctx context.Context) (uint64, error)
GetLastProcessedBlock provides a mock function with given fields: ctx
func (*L2BridgeSyncer) OriginNetwork ¶
func (_m *L2BridgeSyncer) OriginNetwork() uint32
OriginNetwork provides a mock function with no fields
type L2BridgeSyncer_Expecter ¶
type L2BridgeSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*L2BridgeSyncer_Expecter) GetBlockByLER ¶
func (_e *L2BridgeSyncer_Expecter) GetBlockByLER(ctx interface{}, ler interface{}) *L2BridgeSyncer_GetBlockByLER_Call
GetBlockByLER is a helper method to define mock.On call
- ctx context.Context
- ler common.Hash
func (*L2BridgeSyncer_Expecter) GetBridges ¶ added in v0.3.0
func (_e *L2BridgeSyncer_Expecter) GetBridges(ctx interface{}, fromBlock interface{}, toBlock interface{}) *L2BridgeSyncer_GetBridges_Call
GetBridges is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock uint64
func (*L2BridgeSyncer_Expecter) GetClaims ¶
func (_e *L2BridgeSyncer_Expecter) GetClaims(ctx interface{}, fromBlock interface{}, toBlock interface{}) *L2BridgeSyncer_GetClaims_Call
GetClaims is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock uint64
func (*L2BridgeSyncer_Expecter) GetClaimsByGlobalIndex ¶ added in v0.7.0
func (_e *L2BridgeSyncer_Expecter) GetClaimsByGlobalIndex(ctx interface{}, globalIndex interface{}) *L2BridgeSyncer_GetClaimsByGlobalIndex_Call
GetClaimsByGlobalIndex is a helper method to define mock.On call
- ctx context.Context
- globalIndex *big.Int
func (*L2BridgeSyncer_Expecter) GetExitRootByHash ¶ added in v0.7.0
func (_e *L2BridgeSyncer_Expecter) GetExitRootByHash(ctx interface{}, root interface{}) *L2BridgeSyncer_GetExitRootByHash_Call
GetExitRootByHash is a helper method to define mock.On call
- ctx context.Context
- root common.Hash
func (*L2BridgeSyncer_Expecter) GetExitRootByIndex ¶
func (_e *L2BridgeSyncer_Expecter) GetExitRootByIndex(ctx interface{}, index interface{}) *L2BridgeSyncer_GetExitRootByIndex_Call
GetExitRootByIndex is a helper method to define mock.On call
- ctx context.Context
- index uint32
func (*L2BridgeSyncer_Expecter) GetLastProcessedBlock ¶
func (_e *L2BridgeSyncer_Expecter) GetLastProcessedBlock(ctx interface{}) *L2BridgeSyncer_GetLastProcessedBlock_Call
GetLastProcessedBlock is a helper method to define mock.On call
- ctx context.Context
func (*L2BridgeSyncer_Expecter) OriginNetwork ¶
func (_e *L2BridgeSyncer_Expecter) OriginNetwork() *L2BridgeSyncer_OriginNetwork_Call
OriginNetwork is a helper method to define mock.On call
type L2BridgeSyncer_GetBlockByLER_Call ¶
L2BridgeSyncer_GetBlockByLER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockByLER'
func (*L2BridgeSyncer_GetBlockByLER_Call) Return ¶
func (_c *L2BridgeSyncer_GetBlockByLER_Call) Return(_a0 uint64, _a1 error) *L2BridgeSyncer_GetBlockByLER_Call
func (*L2BridgeSyncer_GetBlockByLER_Call) Run ¶
func (_c *L2BridgeSyncer_GetBlockByLER_Call) Run(run func(ctx context.Context, ler common.Hash)) *L2BridgeSyncer_GetBlockByLER_Call
func (*L2BridgeSyncer_GetBlockByLER_Call) RunAndReturn ¶
func (_c *L2BridgeSyncer_GetBlockByLER_Call) RunAndReturn(run func(context.Context, common.Hash) (uint64, error)) *L2BridgeSyncer_GetBlockByLER_Call
type L2BridgeSyncer_GetBridges_Call ¶ added in v0.3.0
L2BridgeSyncer_GetBridges_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBridges'
func (*L2BridgeSyncer_GetBridges_Call) Return ¶ added in v0.3.0
func (_c *L2BridgeSyncer_GetBridges_Call) Return(_a0 []bridgesync.Bridge, _a1 error) *L2BridgeSyncer_GetBridges_Call
func (*L2BridgeSyncer_GetBridges_Call) Run ¶ added in v0.3.0
func (_c *L2BridgeSyncer_GetBridges_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *L2BridgeSyncer_GetBridges_Call
func (*L2BridgeSyncer_GetBridges_Call) RunAndReturn ¶ added in v0.3.0
func (_c *L2BridgeSyncer_GetBridges_Call) RunAndReturn(run func(context.Context, uint64, uint64) ([]bridgesync.Bridge, error)) *L2BridgeSyncer_GetBridges_Call
type L2BridgeSyncer_GetClaimsByGlobalIndex_Call ¶ added in v0.7.0
L2BridgeSyncer_GetClaimsByGlobalIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClaimsByGlobalIndex'
func (*L2BridgeSyncer_GetClaimsByGlobalIndex_Call) Return ¶ added in v0.7.0
func (_c *L2BridgeSyncer_GetClaimsByGlobalIndex_Call) Return(_a0 []bridgesync.Claim, _a1 error) *L2BridgeSyncer_GetClaimsByGlobalIndex_Call
func (*L2BridgeSyncer_GetClaimsByGlobalIndex_Call) Run ¶ added in v0.7.0
func (_c *L2BridgeSyncer_GetClaimsByGlobalIndex_Call) Run(run func(ctx context.Context, globalIndex *big.Int)) *L2BridgeSyncer_GetClaimsByGlobalIndex_Call
func (*L2BridgeSyncer_GetClaimsByGlobalIndex_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L2BridgeSyncer_GetClaimsByGlobalIndex_Call) RunAndReturn(run func(context.Context, *big.Int) ([]bridgesync.Claim, error)) *L2BridgeSyncer_GetClaimsByGlobalIndex_Call
type L2BridgeSyncer_GetClaims_Call ¶
L2BridgeSyncer_GetClaims_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetClaims'
func (*L2BridgeSyncer_GetClaims_Call) Return ¶
func (_c *L2BridgeSyncer_GetClaims_Call) Return(_a0 []bridgesync.Claim, _a1 error) *L2BridgeSyncer_GetClaims_Call
func (*L2BridgeSyncer_GetClaims_Call) Run ¶
func (_c *L2BridgeSyncer_GetClaims_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *L2BridgeSyncer_GetClaims_Call
func (*L2BridgeSyncer_GetClaims_Call) RunAndReturn ¶
func (_c *L2BridgeSyncer_GetClaims_Call) RunAndReturn(run func(context.Context, uint64, uint64) ([]bridgesync.Claim, error)) *L2BridgeSyncer_GetClaims_Call
type L2BridgeSyncer_GetExitRootByHash_Call ¶ added in v0.7.0
L2BridgeSyncer_GetExitRootByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExitRootByHash'
func (*L2BridgeSyncer_GetExitRootByHash_Call) Return ¶ added in v0.7.0
func (_c *L2BridgeSyncer_GetExitRootByHash_Call) Return(_a0 *treetypes.Root, _a1 error) *L2BridgeSyncer_GetExitRootByHash_Call
func (*L2BridgeSyncer_GetExitRootByHash_Call) Run ¶ added in v0.7.0
func (_c *L2BridgeSyncer_GetExitRootByHash_Call) Run(run func(ctx context.Context, root common.Hash)) *L2BridgeSyncer_GetExitRootByHash_Call
func (*L2BridgeSyncer_GetExitRootByHash_Call) RunAndReturn ¶ added in v0.7.0
func (_c *L2BridgeSyncer_GetExitRootByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*treetypes.Root, error)) *L2BridgeSyncer_GetExitRootByHash_Call
type L2BridgeSyncer_GetExitRootByIndex_Call ¶
L2BridgeSyncer_GetExitRootByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExitRootByIndex'
func (*L2BridgeSyncer_GetExitRootByIndex_Call) Return ¶
func (_c *L2BridgeSyncer_GetExitRootByIndex_Call) Return(_a0 treetypes.Root, _a1 error) *L2BridgeSyncer_GetExitRootByIndex_Call
func (*L2BridgeSyncer_GetExitRootByIndex_Call) Run ¶
func (_c *L2BridgeSyncer_GetExitRootByIndex_Call) Run(run func(ctx context.Context, index uint32)) *L2BridgeSyncer_GetExitRootByIndex_Call
func (*L2BridgeSyncer_GetExitRootByIndex_Call) RunAndReturn ¶
func (_c *L2BridgeSyncer_GetExitRootByIndex_Call) RunAndReturn(run func(context.Context, uint32) (treetypes.Root, error)) *L2BridgeSyncer_GetExitRootByIndex_Call
type L2BridgeSyncer_GetLastProcessedBlock_Call ¶
L2BridgeSyncer_GetLastProcessedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastProcessedBlock'
func (*L2BridgeSyncer_GetLastProcessedBlock_Call) Return ¶
func (_c *L2BridgeSyncer_GetLastProcessedBlock_Call) Return(_a0 uint64, _a1 error) *L2BridgeSyncer_GetLastProcessedBlock_Call
func (*L2BridgeSyncer_GetLastProcessedBlock_Call) Run ¶
func (_c *L2BridgeSyncer_GetLastProcessedBlock_Call) Run(run func(ctx context.Context)) *L2BridgeSyncer_GetLastProcessedBlock_Call
func (*L2BridgeSyncer_GetLastProcessedBlock_Call) RunAndReturn ¶
func (_c *L2BridgeSyncer_GetLastProcessedBlock_Call) RunAndReturn(run func(context.Context) (uint64, error)) *L2BridgeSyncer_GetLastProcessedBlock_Call
type L2BridgeSyncer_OriginNetwork_Call ¶
L2BridgeSyncer_OriginNetwork_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OriginNetwork'
func (*L2BridgeSyncer_OriginNetwork_Call) Return ¶
func (_c *L2BridgeSyncer_OriginNetwork_Call) Return(_a0 uint32) *L2BridgeSyncer_OriginNetwork_Call
func (*L2BridgeSyncer_OriginNetwork_Call) Run ¶
func (_c *L2BridgeSyncer_OriginNetwork_Call) Run(run func()) *L2BridgeSyncer_OriginNetwork_Call
func (*L2BridgeSyncer_OriginNetwork_Call) RunAndReturn ¶
func (_c *L2BridgeSyncer_OriginNetwork_Call) RunAndReturn(run func() uint32) *L2BridgeSyncer_OriginNetwork_Call
type LERQuerier ¶ added in v0.5.0
LERQuerier is an autogenerated mock type for the LERQuerier type
func NewLERQuerier ¶ added in v0.5.0
func NewLERQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *LERQuerier
NewLERQuerier creates a new instance of LERQuerier. 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 (*LERQuerier) EXPECT ¶ added in v0.5.0
func (_m *LERQuerier) EXPECT() *LERQuerier_Expecter
func (*LERQuerier) GetLastLocalExitRoot ¶ added in v0.5.0
func (_m *LERQuerier) GetLastLocalExitRoot() (common.Hash, error)
GetLastLocalExitRoot provides a mock function with no fields
type LERQuerier_Expecter ¶ added in v0.5.0
type LERQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*LERQuerier_Expecter) GetLastLocalExitRoot ¶ added in v0.5.0
func (_e *LERQuerier_Expecter) GetLastLocalExitRoot() *LERQuerier_GetLastLocalExitRoot_Call
GetLastLocalExitRoot is a helper method to define mock.On call
type LERQuerier_GetLastLocalExitRoot_Call ¶ added in v0.5.0
LERQuerier_GetLastLocalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastLocalExitRoot'
func (*LERQuerier_GetLastLocalExitRoot_Call) Return ¶ added in v0.5.0
func (_c *LERQuerier_GetLastLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *LERQuerier_GetLastLocalExitRoot_Call
func (*LERQuerier_GetLastLocalExitRoot_Call) Run ¶ added in v0.5.0
func (_c *LERQuerier_GetLastLocalExitRoot_Call) Run(run func()) *LERQuerier_GetLastLocalExitRoot_Call
func (*LERQuerier_GetLastLocalExitRoot_Call) RunAndReturn ¶ added in v0.5.0
func (_c *LERQuerier_GetLastLocalExitRoot_Call) RunAndReturn(run func() (common.Hash, error)) *LERQuerier_GetLastLocalExitRoot_Call
type LocalExitRootQuery ¶ added in v0.7.0
LocalExitRootQuery is an autogenerated mock type for the LocalExitRootQuery type
func NewLocalExitRootQuery ¶ added in v0.7.0
func NewLocalExitRootQuery(t interface {
mock.TestingT
Cleanup(func())
}) *LocalExitRootQuery
NewLocalExitRootQuery creates a new instance of LocalExitRootQuery. 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 (*LocalExitRootQuery) EXPECT ¶ added in v0.7.0
func (_m *LocalExitRootQuery) EXPECT() *LocalExitRootQuery_Expecter
func (*LocalExitRootQuery) GetNewLocalExitRoot ¶ added in v0.7.0
func (_m *LocalExitRootQuery) GetNewLocalExitRoot(ctx context.Context, certParams *types.CertificateBuildParams) (common.Hash, error)
GetNewLocalExitRoot provides a mock function with given fields: ctx, certParams
type LocalExitRootQuery_Expecter ¶ added in v0.7.0
type LocalExitRootQuery_Expecter struct {
// contains filtered or unexported fields
}
func (*LocalExitRootQuery_Expecter) GetNewLocalExitRoot ¶ added in v0.7.0
func (_e *LocalExitRootQuery_Expecter) GetNewLocalExitRoot(ctx interface{}, certParams interface{}) *LocalExitRootQuery_GetNewLocalExitRoot_Call
GetNewLocalExitRoot is a helper method to define mock.On call
- ctx context.Context
- certParams *types.CertificateBuildParams
type LocalExitRootQuery_GetNewLocalExitRoot_Call ¶ added in v0.7.0
LocalExitRootQuery_GetNewLocalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNewLocalExitRoot'
func (*LocalExitRootQuery_GetNewLocalExitRoot_Call) Return ¶ added in v0.7.0
func (_c *LocalExitRootQuery_GetNewLocalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *LocalExitRootQuery_GetNewLocalExitRoot_Call
func (*LocalExitRootQuery_GetNewLocalExitRoot_Call) Run ¶ added in v0.7.0
func (_c *LocalExitRootQuery_GetNewLocalExitRoot_Call) Run(run func(ctx context.Context, certParams *types.CertificateBuildParams)) *LocalExitRootQuery_GetNewLocalExitRoot_Call
func (*LocalExitRootQuery_GetNewLocalExitRoot_Call) RunAndReturn ¶ added in v0.7.0
func (_c *LocalExitRootQuery_GetNewLocalExitRoot_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) (common.Hash, error)) *LocalExitRootQuery_GetNewLocalExitRoot_Call
type Logger ¶
Logger is an autogenerated mock type for the Logger type
func NewLogger ¶
NewLogger creates a new instance of Logger. 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 (*Logger) Debug ¶
func (_m *Logger) Debug(args ...interface{})
Debug provides a mock function with given fields: args
func (*Logger) EXPECT ¶
func (_m *Logger) EXPECT() *Logger_Expecter
func (*Logger) Error ¶
func (_m *Logger) Error(args ...interface{})
Error provides a mock function with given fields: args
func (*Logger) Info ¶
func (_m *Logger) Info(args ...interface{})
Info provides a mock function with given fields: args
func (*Logger) Panicf ¶ added in v0.3.0
Panicf provides a mock function with given fields: format, args
type Logger_Debug_Call ¶
Logger_Debug_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debug'
func (*Logger_Debug_Call) Return ¶
func (_c *Logger_Debug_Call) Return() *Logger_Debug_Call
func (*Logger_Debug_Call) Run ¶
func (_c *Logger_Debug_Call) Run(run func(args ...interface{})) *Logger_Debug_Call
func (*Logger_Debug_Call) RunAndReturn ¶
func (_c *Logger_Debug_Call) RunAndReturn(run func(...interface{})) *Logger_Debug_Call
type Logger_Debugf_Call ¶
Logger_Debugf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Debugf'
func (*Logger_Debugf_Call) Return ¶
func (_c *Logger_Debugf_Call) Return() *Logger_Debugf_Call
func (*Logger_Debugf_Call) Run ¶
func (_c *Logger_Debugf_Call) Run(run func(format string, args ...interface{})) *Logger_Debugf_Call
func (*Logger_Debugf_Call) RunAndReturn ¶
func (_c *Logger_Debugf_Call) RunAndReturn(run func(string, ...interface{})) *Logger_Debugf_Call
type Logger_Error_Call ¶
Logger_Error_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Error'
func (*Logger_Error_Call) Return ¶
func (_c *Logger_Error_Call) Return() *Logger_Error_Call
func (*Logger_Error_Call) Run ¶
func (_c *Logger_Error_Call) Run(run func(args ...interface{})) *Logger_Error_Call
func (*Logger_Error_Call) RunAndReturn ¶
func (_c *Logger_Error_Call) RunAndReturn(run func(...interface{})) *Logger_Error_Call
type Logger_Errorf_Call ¶
Logger_Errorf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Errorf'
func (*Logger_Errorf_Call) Return ¶
func (_c *Logger_Errorf_Call) Return() *Logger_Errorf_Call
func (*Logger_Errorf_Call) Run ¶
func (_c *Logger_Errorf_Call) Run(run func(format string, args ...interface{})) *Logger_Errorf_Call
func (*Logger_Errorf_Call) RunAndReturn ¶
func (_c *Logger_Errorf_Call) RunAndReturn(run func(string, ...interface{})) *Logger_Errorf_Call
type Logger_Expecter ¶
type Logger_Expecter struct {
// contains filtered or unexported fields
}
func (*Logger_Expecter) Debug ¶
func (_e *Logger_Expecter) Debug(args ...interface{}) *Logger_Debug_Call
Debug is a helper method to define mock.On call
- args ...interface{}
func (*Logger_Expecter) Debugf ¶
func (_e *Logger_Expecter) Debugf(format interface{}, args ...interface{}) *Logger_Debugf_Call
Debugf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Logger_Expecter) Error ¶
func (_e *Logger_Expecter) Error(args ...interface{}) *Logger_Error_Call
Error is a helper method to define mock.On call
- args ...interface{}
func (*Logger_Expecter) Errorf ¶
func (_e *Logger_Expecter) Errorf(format interface{}, args ...interface{}) *Logger_Errorf_Call
Errorf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Logger_Expecter) Fatalf ¶
func (_e *Logger_Expecter) Fatalf(format interface{}, args ...interface{}) *Logger_Fatalf_Call
Fatalf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Logger_Expecter) Info ¶
func (_e *Logger_Expecter) Info(args ...interface{}) *Logger_Info_Call
Info is a helper method to define mock.On call
- args ...interface{}
func (*Logger_Expecter) Infof ¶
func (_e *Logger_Expecter) Infof(format interface{}, args ...interface{}) *Logger_Infof_Call
Infof is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Logger_Expecter) Panicf ¶ added in v0.3.0
func (_e *Logger_Expecter) Panicf(format interface{}, args ...interface{}) *Logger_Panicf_Call
Panicf is a helper method to define mock.On call
- format string
- args ...interface{}
func (*Logger_Expecter) Warn ¶
func (_e *Logger_Expecter) Warn(args ...interface{}) *Logger_Warn_Call
Warn is a helper method to define mock.On call
- args ...interface{}
func (*Logger_Expecter) Warnf ¶
func (_e *Logger_Expecter) Warnf(format interface{}, args ...interface{}) *Logger_Warnf_Call
Warnf is a helper method to define mock.On call
- format string
- args ...interface{}
type Logger_Fatalf_Call ¶
Logger_Fatalf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Fatalf'
func (*Logger_Fatalf_Call) Return ¶
func (_c *Logger_Fatalf_Call) Return() *Logger_Fatalf_Call
func (*Logger_Fatalf_Call) Run ¶
func (_c *Logger_Fatalf_Call) Run(run func(format string, args ...interface{})) *Logger_Fatalf_Call
func (*Logger_Fatalf_Call) RunAndReturn ¶
func (_c *Logger_Fatalf_Call) RunAndReturn(run func(string, ...interface{})) *Logger_Fatalf_Call
type Logger_Info_Call ¶
Logger_Info_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Info'
func (*Logger_Info_Call) Return ¶
func (_c *Logger_Info_Call) Return() *Logger_Info_Call
func (*Logger_Info_Call) Run ¶
func (_c *Logger_Info_Call) Run(run func(args ...interface{})) *Logger_Info_Call
func (*Logger_Info_Call) RunAndReturn ¶
func (_c *Logger_Info_Call) RunAndReturn(run func(...interface{})) *Logger_Info_Call
type Logger_Infof_Call ¶
Logger_Infof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Infof'
func (*Logger_Infof_Call) Return ¶
func (_c *Logger_Infof_Call) Return() *Logger_Infof_Call
func (*Logger_Infof_Call) Run ¶
func (_c *Logger_Infof_Call) Run(run func(format string, args ...interface{})) *Logger_Infof_Call
func (*Logger_Infof_Call) RunAndReturn ¶
func (_c *Logger_Infof_Call) RunAndReturn(run func(string, ...interface{})) *Logger_Infof_Call
type Logger_Panicf_Call ¶ added in v0.3.0
Logger_Panicf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Panicf'
func (*Logger_Panicf_Call) Return ¶ added in v0.3.0
func (_c *Logger_Panicf_Call) Return() *Logger_Panicf_Call
func (*Logger_Panicf_Call) Run ¶ added in v0.3.0
func (_c *Logger_Panicf_Call) Run(run func(format string, args ...interface{})) *Logger_Panicf_Call
func (*Logger_Panicf_Call) RunAndReturn ¶ added in v0.3.0
func (_c *Logger_Panicf_Call) RunAndReturn(run func(string, ...interface{})) *Logger_Panicf_Call
type Logger_Warn_Call ¶
Logger_Warn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warn'
func (*Logger_Warn_Call) Return ¶
func (_c *Logger_Warn_Call) Return() *Logger_Warn_Call
func (*Logger_Warn_Call) Run ¶
func (_c *Logger_Warn_Call) Run(run func(args ...interface{})) *Logger_Warn_Call
func (*Logger_Warn_Call) RunAndReturn ¶
func (_c *Logger_Warn_Call) RunAndReturn(run func(...interface{})) *Logger_Warn_Call
type Logger_Warnf_Call ¶
Logger_Warnf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Warnf'
func (*Logger_Warnf_Call) Return ¶
func (_c *Logger_Warnf_Call) Return() *Logger_Warnf_Call
func (*Logger_Warnf_Call) Run ¶
func (_c *Logger_Warnf_Call) Run(run func(format string, args ...interface{})) *Logger_Warnf_Call
func (*Logger_Warnf_Call) RunAndReturn ¶
func (_c *Logger_Warnf_Call) RunAndReturn(run func(string, ...interface{})) *Logger_Warnf_Call
type MaxL2BlockNumberLimiterInterface ¶ added in v0.5.0
MaxL2BlockNumberLimiterInterface is an autogenerated mock type for the MaxL2BlockNumberLimiterInterface type
func NewMaxL2BlockNumberLimiterInterface ¶ added in v0.5.0
func NewMaxL2BlockNumberLimiterInterface(t interface {
mock.TestingT
Cleanup(func())
}) *MaxL2BlockNumberLimiterInterface
NewMaxL2BlockNumberLimiterInterface creates a new instance of MaxL2BlockNumberLimiterInterface. 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 (*MaxL2BlockNumberLimiterInterface) AdaptCertificate ¶ added in v0.5.0
func (_m *MaxL2BlockNumberLimiterInterface) AdaptCertificate(buildParams *types.CertificateBuildParams) (*types.CertificateBuildParams, error)
AdaptCertificate provides a mock function with given fields: buildParams
func (*MaxL2BlockNumberLimiterInterface) EXPECT ¶ added in v0.5.0
func (_m *MaxL2BlockNumberLimiterInterface) EXPECT() *MaxL2BlockNumberLimiterInterface_Expecter
type MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call ¶ added in v0.5.0
MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AdaptCertificate'
func (*MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call) Run ¶ added in v0.5.0
func (_c *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call) Run(run func(buildParams *types.CertificateBuildParams)) *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call
func (*MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call) RunAndReturn ¶ added in v0.5.0
func (_c *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call) RunAndReturn(run func(*types.CertificateBuildParams) (*types.CertificateBuildParams, error)) *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call
type MaxL2BlockNumberLimiterInterface_Expecter ¶ added in v0.5.0
type MaxL2BlockNumberLimiterInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*MaxL2BlockNumberLimiterInterface_Expecter) AdaptCertificate ¶ added in v0.5.0
func (_e *MaxL2BlockNumberLimiterInterface_Expecter) AdaptCertificate(buildParams interface{}) *MaxL2BlockNumberLimiterInterface_AdaptCertificate_Call
AdaptCertificate is a helper method to define mock.On call
- buildParams *types.CertificateBuildParams
type MultisigContract ¶ added in v0.7.0
MultisigContract is an autogenerated mock type for the MultisigContract type
func NewMultisigContract ¶ added in v0.7.0
func NewMultisigContract(t interface {
mock.TestingT
Cleanup(func())
}) *MultisigContract
NewMultisigContract creates a new instance of MultisigContract. 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 (*MultisigContract) AGGCHAINTYPE ¶ added in v0.7.0
func (_m *MultisigContract) AGGCHAINTYPE(opts *bind.CallOpts) ([2]byte, error)
AGGCHAINTYPE provides a mock function with given fields: opts
func (*MultisigContract) CONSENSUSTYPE ¶ added in v0.7.0
func (_m *MultisigContract) CONSENSUSTYPE(opts *bind.CallOpts) (uint32, error)
CONSENSUSTYPE provides a mock function with given fields: opts
func (*MultisigContract) EXPECT ¶ added in v0.7.0
func (_m *MultisigContract) EXPECT() *MultisigContract_Expecter
func (*MultisigContract) GetAggchainSignerInfos ¶ added in v0.7.0
func (_m *MultisigContract) GetAggchainSignerInfos(opts *bind.CallOpts) ([]aggchainbase.IAggchainSignersSignerInfo, error)
GetAggchainSignerInfos provides a mock function with given fields: opts
type MultisigContract_AGGCHAINTYPE_Call ¶ added in v0.7.0
MultisigContract_AGGCHAINTYPE_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AGGCHAINTYPE'
func (*MultisigContract_AGGCHAINTYPE_Call) Return ¶ added in v0.7.0
func (_c *MultisigContract_AGGCHAINTYPE_Call) Return(_a0 [2]byte, _a1 error) *MultisigContract_AGGCHAINTYPE_Call
func (*MultisigContract_AGGCHAINTYPE_Call) Run ¶ added in v0.7.0
func (_c *MultisigContract_AGGCHAINTYPE_Call) Run(run func(opts *bind.CallOpts)) *MultisigContract_AGGCHAINTYPE_Call
func (*MultisigContract_AGGCHAINTYPE_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MultisigContract_AGGCHAINTYPE_Call) RunAndReturn(run func(*bind.CallOpts) ([2]byte, error)) *MultisigContract_AGGCHAINTYPE_Call
type MultisigContract_CONSENSUSTYPE_Call ¶ added in v0.7.0
MultisigContract_CONSENSUSTYPE_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CONSENSUSTYPE'
func (*MultisigContract_CONSENSUSTYPE_Call) Return ¶ added in v0.7.0
func (_c *MultisigContract_CONSENSUSTYPE_Call) Return(_a0 uint32, _a1 error) *MultisigContract_CONSENSUSTYPE_Call
func (*MultisigContract_CONSENSUSTYPE_Call) Run ¶ added in v0.7.0
func (_c *MultisigContract_CONSENSUSTYPE_Call) Run(run func(opts *bind.CallOpts)) *MultisigContract_CONSENSUSTYPE_Call
func (*MultisigContract_CONSENSUSTYPE_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MultisigContract_CONSENSUSTYPE_Call) RunAndReturn(run func(*bind.CallOpts) (uint32, error)) *MultisigContract_CONSENSUSTYPE_Call
type MultisigContract_Expecter ¶ added in v0.7.0
type MultisigContract_Expecter struct {
// contains filtered or unexported fields
}
func (*MultisigContract_Expecter) AGGCHAINTYPE ¶ added in v0.7.0
func (_e *MultisigContract_Expecter) AGGCHAINTYPE(opts interface{}) *MultisigContract_AGGCHAINTYPE_Call
AGGCHAINTYPE is a helper method to define mock.On call
- opts *bind.CallOpts
func (*MultisigContract_Expecter) CONSENSUSTYPE ¶ added in v0.7.0
func (_e *MultisigContract_Expecter) CONSENSUSTYPE(opts interface{}) *MultisigContract_CONSENSUSTYPE_Call
CONSENSUSTYPE is a helper method to define mock.On call
- opts *bind.CallOpts
func (*MultisigContract_Expecter) GetAggchainSignerInfos ¶ added in v0.7.0
func (_e *MultisigContract_Expecter) GetAggchainSignerInfos(opts interface{}) *MultisigContract_GetAggchainSignerInfos_Call
GetAggchainSignerInfos is a helper method to define mock.On call
- opts *bind.CallOpts
func (*MultisigContract_Expecter) Threshold ¶ added in v0.7.0
func (_e *MultisigContract_Expecter) Threshold(opts interface{}) *MultisigContract_Threshold_Call
Threshold is a helper method to define mock.On call
- opts *bind.CallOpts
type MultisigContract_GetAggchainSignerInfos_Call ¶ added in v0.7.0
MultisigContract_GetAggchainSignerInfos_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAggchainSignerInfos'
func (*MultisigContract_GetAggchainSignerInfos_Call) Return ¶ added in v0.7.0
func (_c *MultisigContract_GetAggchainSignerInfos_Call) Return(_a0 []aggchainbase.IAggchainSignersSignerInfo, _a1 error) *MultisigContract_GetAggchainSignerInfos_Call
func (*MultisigContract_GetAggchainSignerInfos_Call) Run ¶ added in v0.7.0
func (_c *MultisigContract_GetAggchainSignerInfos_Call) Run(run func(opts *bind.CallOpts)) *MultisigContract_GetAggchainSignerInfos_Call
func (*MultisigContract_GetAggchainSignerInfos_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MultisigContract_GetAggchainSignerInfos_Call) RunAndReturn(run func(*bind.CallOpts) ([]aggchainbase.IAggchainSignersSignerInfo, error)) *MultisigContract_GetAggchainSignerInfos_Call
type MultisigContract_Threshold_Call ¶ added in v0.7.0
MultisigContract_Threshold_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Threshold'
func (*MultisigContract_Threshold_Call) Return ¶ added in v0.7.0
func (_c *MultisigContract_Threshold_Call) Return(_a0 *big.Int, _a1 error) *MultisigContract_Threshold_Call
func (*MultisigContract_Threshold_Call) Run ¶ added in v0.7.0
func (_c *MultisigContract_Threshold_Call) Run(run func(opts *bind.CallOpts)) *MultisigContract_Threshold_Call
func (*MultisigContract_Threshold_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MultisigContract_Threshold_Call) RunAndReturn(run func(*bind.CallOpts) (*big.Int, error)) *MultisigContract_Threshold_Call
type MultisigQuerier ¶ added in v0.7.0
MultisigQuerier is an autogenerated mock type for the MultisigQuerier type
func NewMultisigQuerier ¶ added in v0.7.0
func NewMultisigQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *MultisigQuerier
NewMultisigQuerier creates a new instance of MultisigQuerier. 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 (*MultisigQuerier) ContractMode ¶ added in v0.7.0
func (_m *MultisigQuerier) ContractMode() (types.AggsenderMode, error)
ContractMode provides a mock function with no fields
func (*MultisigQuerier) EXPECT ¶ added in v0.7.0
func (_m *MultisigQuerier) EXPECT() *MultisigQuerier_Expecter
func (*MultisigQuerier) GetMultisigCommittee ¶ added in v0.7.0
func (_m *MultisigQuerier) GetMultisigCommittee(ctx context.Context, blockNum *big.Int) (*types.MultisigCommittee, error)
GetMultisigCommittee provides a mock function with given fields: ctx, blockNum
func (*MultisigQuerier) ResolveAutoMode ¶ added in v0.7.0
func (_m *MultisigQuerier) ResolveAutoMode(cfgMode types.AggsenderMode) (types.AggsenderMode, error)
ResolveAutoMode provides a mock function with given fields: cfgMode
type MultisigQuerier_ContractMode_Call ¶ added in v0.7.0
MultisigQuerier_ContractMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ContractMode'
func (*MultisigQuerier_ContractMode_Call) Return ¶ added in v0.7.0
func (_c *MultisigQuerier_ContractMode_Call) Return(_a0 types.AggsenderMode, _a1 error) *MultisigQuerier_ContractMode_Call
func (*MultisigQuerier_ContractMode_Call) Run ¶ added in v0.7.0
func (_c *MultisigQuerier_ContractMode_Call) Run(run func()) *MultisigQuerier_ContractMode_Call
func (*MultisigQuerier_ContractMode_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MultisigQuerier_ContractMode_Call) RunAndReturn(run func() (types.AggsenderMode, error)) *MultisigQuerier_ContractMode_Call
type MultisigQuerier_Expecter ¶ added in v0.7.0
type MultisigQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*MultisigQuerier_Expecter) ContractMode ¶ added in v0.7.0
func (_e *MultisigQuerier_Expecter) ContractMode() *MultisigQuerier_ContractMode_Call
ContractMode is a helper method to define mock.On call
func (*MultisigQuerier_Expecter) GetMultisigCommittee ¶ added in v0.7.0
func (_e *MultisigQuerier_Expecter) GetMultisigCommittee(ctx interface{}, blockNum interface{}) *MultisigQuerier_GetMultisigCommittee_Call
GetMultisigCommittee is a helper method to define mock.On call
- ctx context.Context
- blockNum *big.Int
func (*MultisigQuerier_Expecter) ResolveAutoMode ¶ added in v0.7.0
func (_e *MultisigQuerier_Expecter) ResolveAutoMode(cfgMode interface{}) *MultisigQuerier_ResolveAutoMode_Call
ResolveAutoMode is a helper method to define mock.On call
- cfgMode types.AggsenderMode
type MultisigQuerier_GetMultisigCommittee_Call ¶ added in v0.7.0
MultisigQuerier_GetMultisigCommittee_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetMultisigCommittee'
func (*MultisigQuerier_GetMultisigCommittee_Call) Return ¶ added in v0.7.0
func (_c *MultisigQuerier_GetMultisigCommittee_Call) Return(_a0 *types.MultisigCommittee, _a1 error) *MultisigQuerier_GetMultisigCommittee_Call
func (*MultisigQuerier_GetMultisigCommittee_Call) Run ¶ added in v0.7.0
func (_c *MultisigQuerier_GetMultisigCommittee_Call) Run(run func(ctx context.Context, blockNum *big.Int)) *MultisigQuerier_GetMultisigCommittee_Call
func (*MultisigQuerier_GetMultisigCommittee_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MultisigQuerier_GetMultisigCommittee_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.MultisigCommittee, error)) *MultisigQuerier_GetMultisigCommittee_Call
type MultisigQuerier_ResolveAutoMode_Call ¶ added in v0.7.0
MultisigQuerier_ResolveAutoMode_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResolveAutoMode'
func (*MultisigQuerier_ResolveAutoMode_Call) Return ¶ added in v0.7.0
func (_c *MultisigQuerier_ResolveAutoMode_Call) Return(_a0 types.AggsenderMode, _a1 error) *MultisigQuerier_ResolveAutoMode_Call
func (*MultisigQuerier_ResolveAutoMode_Call) Run ¶ added in v0.7.0
func (_c *MultisigQuerier_ResolveAutoMode_Call) Run(run func(cfgMode types.AggsenderMode)) *MultisigQuerier_ResolveAutoMode_Call
func (*MultisigQuerier_ResolveAutoMode_Call) RunAndReturn ¶ added in v0.7.0
func (_c *MultisigQuerier_ResolveAutoMode_Call) RunAndReturn(run func(types.AggsenderMode) (types.AggsenderMode, error)) *MultisigQuerier_ResolveAutoMode_Call
type OpNodeClienter ¶ added in v0.7.0
OpNodeClienter is an autogenerated mock type for the OpNodeClienter type
func NewOpNodeClienter ¶ added in v0.7.0
func NewOpNodeClienter(t interface {
mock.TestingT
Cleanup(func())
}) *OpNodeClienter
NewOpNodeClienter creates a new instance of OpNodeClienter. 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 (*OpNodeClienter) EXPECT ¶ added in v0.7.0
func (_m *OpNodeClienter) EXPECT() *OpNodeClienter_Expecter
func (*OpNodeClienter) OutputAtBlockRoot ¶ added in v0.7.0
func (_m *OpNodeClienter) OutputAtBlockRoot(blockNum uint64) (common.Hash, error)
OutputAtBlockRoot provides a mock function with given fields: blockNum
type OpNodeClienter_Expecter ¶ added in v0.7.0
type OpNodeClienter_Expecter struct {
// contains filtered or unexported fields
}
func (*OpNodeClienter_Expecter) OutputAtBlockRoot ¶ added in v0.7.0
func (_e *OpNodeClienter_Expecter) OutputAtBlockRoot(blockNum interface{}) *OpNodeClienter_OutputAtBlockRoot_Call
OutputAtBlockRoot is a helper method to define mock.On call
- blockNum uint64
type OpNodeClienter_OutputAtBlockRoot_Call ¶ added in v0.7.0
OpNodeClienter_OutputAtBlockRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OutputAtBlockRoot'
func (*OpNodeClienter_OutputAtBlockRoot_Call) Return ¶ added in v0.7.0
func (_c *OpNodeClienter_OutputAtBlockRoot_Call) Return(_a0 common.Hash, _a1 error) *OpNodeClienter_OutputAtBlockRoot_Call
func (*OpNodeClienter_OutputAtBlockRoot_Call) Run ¶ added in v0.7.0
func (_c *OpNodeClienter_OutputAtBlockRoot_Call) Run(run func(blockNum uint64)) *OpNodeClienter_OutputAtBlockRoot_Call
func (*OpNodeClienter_OutputAtBlockRoot_Call) RunAndReturn ¶ added in v0.7.0
func (_c *OpNodeClienter_OutputAtBlockRoot_Call) RunAndReturn(run func(uint64) (common.Hash, error)) *OpNodeClienter_OutputAtBlockRoot_Call
type OptimisticModeQuerier ¶ added in v0.4.0
OptimisticModeQuerier is an autogenerated mock type for the OptimisticModeQuerier type
func NewOptimisticModeQuerier ¶ added in v0.4.0
func NewOptimisticModeQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *OptimisticModeQuerier
NewOptimisticModeQuerier creates a new instance of OptimisticModeQuerier. 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 (*OptimisticModeQuerier) EXPECT ¶ added in v0.4.0
func (_m *OptimisticModeQuerier) EXPECT() *OptimisticModeQuerier_Expecter
func (*OptimisticModeQuerier) IsOptimisticModeOn ¶ added in v0.4.0
func (_m *OptimisticModeQuerier) IsOptimisticModeOn() (bool, error)
IsOptimisticModeOn provides a mock function with no fields
type OptimisticModeQuerier_Expecter ¶ added in v0.4.0
type OptimisticModeQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*OptimisticModeQuerier_Expecter) IsOptimisticModeOn ¶ added in v0.4.0
func (_e *OptimisticModeQuerier_Expecter) IsOptimisticModeOn() *OptimisticModeQuerier_IsOptimisticModeOn_Call
IsOptimisticModeOn is a helper method to define mock.On call
type OptimisticModeQuerier_IsOptimisticModeOn_Call ¶ added in v0.4.0
OptimisticModeQuerier_IsOptimisticModeOn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsOptimisticModeOn'
func (*OptimisticModeQuerier_IsOptimisticModeOn_Call) Return ¶ added in v0.4.0
func (_c *OptimisticModeQuerier_IsOptimisticModeOn_Call) Return(_a0 bool, _a1 error) *OptimisticModeQuerier_IsOptimisticModeOn_Call
func (*OptimisticModeQuerier_IsOptimisticModeOn_Call) Run ¶ added in v0.4.0
func (_c *OptimisticModeQuerier_IsOptimisticModeOn_Call) Run(run func()) *OptimisticModeQuerier_IsOptimisticModeOn_Call
func (*OptimisticModeQuerier_IsOptimisticModeOn_Call) RunAndReturn ¶ added in v0.4.0
func (_c *OptimisticModeQuerier_IsOptimisticModeOn_Call) RunAndReturn(run func() (bool, error)) *OptimisticModeQuerier_IsOptimisticModeOn_Call
type OptimisticSigner ¶ added in v0.4.0
OptimisticSigner is an autogenerated mock type for the OptimisticSigner type
func NewOptimisticSigner ¶ added in v0.4.0
func NewOptimisticSigner(t interface {
mock.TestingT
Cleanup(func())
}) *OptimisticSigner
NewOptimisticSigner creates a new instance of OptimisticSigner. 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 (*OptimisticSigner) EXPECT ¶ added in v0.4.0
func (_m *OptimisticSigner) EXPECT() *OptimisticSigner_Expecter
func (*OptimisticSigner) Sign ¶ added in v0.4.0
func (_m *OptimisticSigner) Sign(ctx context.Context, aggchainReq types.AggchainProofRequest, newLocalExitRoot common.Hash, claims []bridgesync.Claim) ([]byte, string, error)
Sign provides a mock function with given fields: ctx, aggchainReq, newLocalExitRoot, claims
type OptimisticSigner_Expecter ¶ added in v0.4.0
type OptimisticSigner_Expecter struct {
// contains filtered or unexported fields
}
func (*OptimisticSigner_Expecter) Sign ¶ added in v0.4.0
func (_e *OptimisticSigner_Expecter) Sign(ctx interface{}, aggchainReq interface{}, newLocalExitRoot interface{}, claims interface{}) *OptimisticSigner_Sign_Call
Sign is a helper method to define mock.On call
- ctx context.Context
- aggchainReq types.AggchainProofRequest
- newLocalExitRoot common.Hash
- claims []bridgesync.Claim
type OptimisticSigner_Sign_Call ¶ added in v0.4.0
OptimisticSigner_Sign_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Sign'
func (*OptimisticSigner_Sign_Call) Return ¶ added in v0.4.0
func (_c *OptimisticSigner_Sign_Call) Return(_a0 []byte, _a1 string, _a2 error) *OptimisticSigner_Sign_Call
func (*OptimisticSigner_Sign_Call) Run ¶ added in v0.4.0
func (_c *OptimisticSigner_Sign_Call) Run(run func(ctx context.Context, aggchainReq types.AggchainProofRequest, newLocalExitRoot common.Hash, claims []bridgesync.Claim)) *OptimisticSigner_Sign_Call
func (*OptimisticSigner_Sign_Call) RunAndReturn ¶ added in v0.4.0
func (_c *OptimisticSigner_Sign_Call) RunAndReturn(run func(context.Context, types.AggchainProofRequest, common.Hash, []bridgesync.Claim) ([]byte, string, error)) *OptimisticSigner_Sign_Call
type RollupDataQuerier ¶ added in v0.5.0
RollupDataQuerier is an autogenerated mock type for the RollupDataQuerier type
func NewRollupDataQuerier ¶ added in v0.5.0
func NewRollupDataQuerier(t interface {
mock.TestingT
Cleanup(func())
}) *RollupDataQuerier
NewRollupDataQuerier creates a new instance of RollupDataQuerier. 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 (*RollupDataQuerier) EXPECT ¶ added in v0.5.0
func (_m *RollupDataQuerier) EXPECT() *RollupDataQuerier_Expecter
func (*RollupDataQuerier) GetRollupChainID ¶ added in v0.7.0
func (_m *RollupDataQuerier) GetRollupChainID() (uint64, error)
GetRollupChainID provides a mock function with no fields
func (*RollupDataQuerier) GetRollupData ¶ added in v0.5.0
func (_m *RollupDataQuerier) GetRollupData(blockNumber *big.Int) (polygonrollupmanager.PolygonRollupManagerRollupDataReturn, error)
GetRollupData provides a mock function with given fields: blockNumber
type RollupDataQuerier_Expecter ¶ added in v0.5.0
type RollupDataQuerier_Expecter struct {
// contains filtered or unexported fields
}
func (*RollupDataQuerier_Expecter) GetRollupChainID ¶ added in v0.7.0
func (_e *RollupDataQuerier_Expecter) GetRollupChainID() *RollupDataQuerier_GetRollupChainID_Call
GetRollupChainID is a helper method to define mock.On call
func (*RollupDataQuerier_Expecter) GetRollupData ¶ added in v0.5.0
func (_e *RollupDataQuerier_Expecter) GetRollupData(blockNumber interface{}) *RollupDataQuerier_GetRollupData_Call
GetRollupData is a helper method to define mock.On call
- blockNumber *big.Int
type RollupDataQuerier_GetRollupChainID_Call ¶ added in v0.7.0
RollupDataQuerier_GetRollupChainID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRollupChainID'
func (*RollupDataQuerier_GetRollupChainID_Call) Return ¶ added in v0.7.0
func (_c *RollupDataQuerier_GetRollupChainID_Call) Return(_a0 uint64, _a1 error) *RollupDataQuerier_GetRollupChainID_Call
func (*RollupDataQuerier_GetRollupChainID_Call) Run ¶ added in v0.7.0
func (_c *RollupDataQuerier_GetRollupChainID_Call) Run(run func()) *RollupDataQuerier_GetRollupChainID_Call
func (*RollupDataQuerier_GetRollupChainID_Call) RunAndReturn ¶ added in v0.7.0
func (_c *RollupDataQuerier_GetRollupChainID_Call) RunAndReturn(run func() (uint64, error)) *RollupDataQuerier_GetRollupChainID_Call
type RollupDataQuerier_GetRollupData_Call ¶ added in v0.5.0
RollupDataQuerier_GetRollupData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRollupData'
func (*RollupDataQuerier_GetRollupData_Call) Run ¶ added in v0.5.0
func (_c *RollupDataQuerier_GetRollupData_Call) Run(run func(blockNumber *big.Int)) *RollupDataQuerier_GetRollupData_Call
func (*RollupDataQuerier_GetRollupData_Call) RunAndReturn ¶ added in v0.5.0
func (_c *RollupDataQuerier_GetRollupData_Call) RunAndReturn(run func(*big.Int) (polygonrollupmanager.PolygonRollupManagerRollupDataReturn, error)) *RollupDataQuerier_GetRollupData_Call
type Signer ¶ added in v0.4.0
Signer is an autogenerated mock type for the Signer type
func NewSigner ¶ added in v0.4.0
NewSigner creates a new instance of Signer. 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 (*Signer) EXPECT ¶ added in v0.4.0
func (_m *Signer) EXPECT() *Signer_Expecter
func (*Signer) Initialize ¶ added in v0.4.0
Initialize provides a mock function with given fields: _a0
func (*Signer) PublicAddress ¶ added in v0.4.0
PublicAddress provides a mock function with no fields
func (*Signer) SignHash ¶ added in v0.4.0
SignHash provides a mock function with given fields: _a0, _a1
func (*Signer) SignTx ¶ added in v0.4.0
func (_m *Signer) SignTx(ctx context.Context, tx *coretypes.Transaction) (*coretypes.Transaction, error)
SignTx provides a mock function with given fields: ctx, tx
type Signer_Expecter ¶ added in v0.4.0
type Signer_Expecter struct {
// contains filtered or unexported fields
}
func (*Signer_Expecter) Initialize ¶ added in v0.4.0
func (_e *Signer_Expecter) Initialize(_a0 interface{}) *Signer_Initialize_Call
Initialize is a helper method to define mock.On call
- _a0 context.Context
func (*Signer_Expecter) PublicAddress ¶ added in v0.4.0
func (_e *Signer_Expecter) PublicAddress() *Signer_PublicAddress_Call
PublicAddress is a helper method to define mock.On call
func (*Signer_Expecter) SignHash ¶ added in v0.4.0
func (_e *Signer_Expecter) SignHash(_a0 interface{}, _a1 interface{}) *Signer_SignHash_Call
SignHash is a helper method to define mock.On call
- _a0 context.Context
- _a1 common.Hash
func (*Signer_Expecter) SignTx ¶ added in v0.4.0
func (_e *Signer_Expecter) SignTx(ctx interface{}, tx interface{}) *Signer_SignTx_Call
SignTx is a helper method to define mock.On call
- ctx context.Context
- tx *coretypes.Transaction
func (*Signer_Expecter) String ¶ added in v0.4.0
func (_e *Signer_Expecter) String() *Signer_String_Call
String is a helper method to define mock.On call
type Signer_Initialize_Call ¶ added in v0.4.0
Signer_Initialize_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Initialize'
func (*Signer_Initialize_Call) Return ¶ added in v0.4.0
func (_c *Signer_Initialize_Call) Return(_a0 error) *Signer_Initialize_Call
func (*Signer_Initialize_Call) Run ¶ added in v0.4.0
func (_c *Signer_Initialize_Call) Run(run func(_a0 context.Context)) *Signer_Initialize_Call
func (*Signer_Initialize_Call) RunAndReturn ¶ added in v0.4.0
func (_c *Signer_Initialize_Call) RunAndReturn(run func(context.Context) error) *Signer_Initialize_Call
type Signer_PublicAddress_Call ¶ added in v0.4.0
Signer_PublicAddress_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PublicAddress'
func (*Signer_PublicAddress_Call) Return ¶ added in v0.4.0
func (_c *Signer_PublicAddress_Call) Return(_a0 common.Address) *Signer_PublicAddress_Call
func (*Signer_PublicAddress_Call) Run ¶ added in v0.4.0
func (_c *Signer_PublicAddress_Call) Run(run func()) *Signer_PublicAddress_Call
func (*Signer_PublicAddress_Call) RunAndReturn ¶ added in v0.4.0
func (_c *Signer_PublicAddress_Call) RunAndReturn(run func() common.Address) *Signer_PublicAddress_Call
type Signer_SignHash_Call ¶ added in v0.4.0
Signer_SignHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignHash'
func (*Signer_SignHash_Call) Return ¶ added in v0.4.0
func (_c *Signer_SignHash_Call) Return(_a0 []byte, _a1 error) *Signer_SignHash_Call
func (*Signer_SignHash_Call) Run ¶ added in v0.4.0
func (_c *Signer_SignHash_Call) Run(run func(_a0 context.Context, _a1 common.Hash)) *Signer_SignHash_Call
func (*Signer_SignHash_Call) RunAndReturn ¶ added in v0.4.0
func (_c *Signer_SignHash_Call) RunAndReturn(run func(context.Context, common.Hash) ([]byte, error)) *Signer_SignHash_Call
type Signer_SignTx_Call ¶ added in v0.4.0
Signer_SignTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SignTx'
func (*Signer_SignTx_Call) Return ¶ added in v0.4.0
func (_c *Signer_SignTx_Call) Return(_a0 *coretypes.Transaction, _a1 error) *Signer_SignTx_Call
func (*Signer_SignTx_Call) Run ¶ added in v0.4.0
func (_c *Signer_SignTx_Call) Run(run func(ctx context.Context, tx *coretypes.Transaction)) *Signer_SignTx_Call
func (*Signer_SignTx_Call) RunAndReturn ¶ added in v0.4.0
func (_c *Signer_SignTx_Call) RunAndReturn(run func(context.Context, *coretypes.Transaction) (*coretypes.Transaction, error)) *Signer_SignTx_Call
type Signer_String_Call ¶ added in v0.4.0
Signer_String_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'String'
func (*Signer_String_Call) Return ¶ added in v0.4.0
func (_c *Signer_String_Call) Return(_a0 string) *Signer_String_Call
func (*Signer_String_Call) Run ¶ added in v0.4.0
func (_c *Signer_String_Call) Run(run func()) *Signer_String_Call
func (*Signer_String_Call) RunAndReturn ¶ added in v0.4.0
func (_c *Signer_String_Call) RunAndReturn(run func() string) *Signer_String_Call
type StorageRetainCertificatesPolicier ¶ added in v0.7.0
StorageRetainCertificatesPolicier is an autogenerated mock type for the StorageRetainCertificatesPolicier type
func NewStorageRetainCertificatesPolicier ¶ added in v0.7.0
func NewStorageRetainCertificatesPolicier(t interface {
mock.TestingT
Cleanup(func())
}) *StorageRetainCertificatesPolicier
NewStorageRetainCertificatesPolicier creates a new instance of StorageRetainCertificatesPolicier. 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 (*StorageRetainCertificatesPolicier) EXPECT ¶ added in v0.7.0
func (_m *StorageRetainCertificatesPolicier) EXPECT() *StorageRetainCertificatesPolicier_Expecter
func (*StorageRetainCertificatesPolicier) OnNewCert ¶ added in v0.7.0
func (_m *StorageRetainCertificatesPolicier) OnNewCert(tx types.Querier, storage db.AggSenderStorageMaintainer, certKey db.CertificateKey) error
OnNewCert provides a mock function with given fields: tx, storage, certKey
type StorageRetainCertificatesPolicier_Expecter ¶ added in v0.7.0
type StorageRetainCertificatesPolicier_Expecter struct {
// contains filtered or unexported fields
}
func (*StorageRetainCertificatesPolicier_Expecter) OnNewCert ¶ added in v0.7.0
func (_e *StorageRetainCertificatesPolicier_Expecter) OnNewCert(tx interface{}, storage interface{}, certKey interface{}) *StorageRetainCertificatesPolicier_OnNewCert_Call
OnNewCert is a helper method to define mock.On call
- tx types.Querier
- storage db.AggSenderStorageMaintainer
- certKey db.CertificateKey
type StorageRetainCertificatesPolicier_OnNewCert_Call ¶ added in v0.7.0
StorageRetainCertificatesPolicier_OnNewCert_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnNewCert'
func (*StorageRetainCertificatesPolicier_OnNewCert_Call) Return ¶ added in v0.7.0
func (_c *StorageRetainCertificatesPolicier_OnNewCert_Call) Return(_a0 error) *StorageRetainCertificatesPolicier_OnNewCert_Call
func (*StorageRetainCertificatesPolicier_OnNewCert_Call) Run ¶ added in v0.7.0
func (_c *StorageRetainCertificatesPolicier_OnNewCert_Call) Run(run func(tx types.Querier, storage db.AggSenderStorageMaintainer, certKey db.CertificateKey)) *StorageRetainCertificatesPolicier_OnNewCert_Call
func (*StorageRetainCertificatesPolicier_OnNewCert_Call) RunAndReturn ¶ added in v0.7.0
func (_c *StorageRetainCertificatesPolicier_OnNewCert_Call) RunAndReturn(run func(types.Querier, db.AggSenderStorageMaintainer, db.CertificateKey) error) *StorageRetainCertificatesPolicier_OnNewCert_Call
type UnsafeAggchainProofServiceServer ¶ added in v0.3.0
UnsafeAggchainProofServiceServer is an autogenerated mock type for the UnsafeAggchainProofServiceServer type
func NewUnsafeAggchainProofServiceServer ¶ added in v0.3.0
func NewUnsafeAggchainProofServiceServer(t interface {
mock.TestingT
Cleanup(func())
}) *UnsafeAggchainProofServiceServer
NewUnsafeAggchainProofServiceServer creates a new instance of UnsafeAggchainProofServiceServer. 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 (*UnsafeAggchainProofServiceServer) EXPECT ¶ added in v0.3.0
func (_m *UnsafeAggchainProofServiceServer) EXPECT() *UnsafeAggchainProofServiceServer_Expecter
type UnsafeAggchainProofServiceServer_Expecter ¶ added in v0.3.0
type UnsafeAggchainProofServiceServer_Expecter struct {
// contains filtered or unexported fields
}
type UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call ¶ added in v0.3.0
type UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call struct {
*mock.Call
}
UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'mustEmbedUnimplementedAggchainProofServiceServer'
func (*UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) Return ¶ added in v0.3.0
func (*UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) Run ¶ added in v0.3.0
func (*UnsafeAggchainProofServiceServer_mustEmbedUnimplementedAggchainProofServiceServer_Call) RunAndReturn ¶ added in v0.3.0
type ValidatorClient ¶ added in v0.7.0
ValidatorClient is an autogenerated mock type for the ValidatorClient type
func NewValidatorClient ¶ added in v0.7.0
func NewValidatorClient(t interface {
mock.TestingT
Cleanup(func())
}) *ValidatorClient
NewValidatorClient creates a new instance of ValidatorClient. 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 (*ValidatorClient) EXPECT ¶ added in v0.7.0
func (_m *ValidatorClient) EXPECT() *ValidatorClient_Expecter
func (*ValidatorClient) HealthCheck ¶ added in v0.7.0
func (_m *ValidatorClient) HealthCheck(ctx context.Context) (*types.HealthCheckResponse, error)
HealthCheck provides a mock function with given fields: ctx
func (*ValidatorClient) ValidateCertificate ¶ added in v0.7.0
func (_m *ValidatorClient) ValidateCertificate(ctx context.Context, previousCertificateID *common.Hash, certificate *agglayertypes.Certificate, lastL2BlockInCert uint64) ([]byte, error)
ValidateCertificate provides a mock function with given fields: ctx, previousCertificateID, certificate, lastL2BlockInCert
type ValidatorClient_Expecter ¶ added in v0.7.0
type ValidatorClient_Expecter struct {
// contains filtered or unexported fields
}
func (*ValidatorClient_Expecter) HealthCheck ¶ added in v0.7.0
func (_e *ValidatorClient_Expecter) HealthCheck(ctx interface{}) *ValidatorClient_HealthCheck_Call
HealthCheck is a helper method to define mock.On call
- ctx context.Context
func (*ValidatorClient_Expecter) ValidateCertificate ¶ added in v0.7.0
func (_e *ValidatorClient_Expecter) ValidateCertificate(ctx interface{}, previousCertificateID interface{}, certificate interface{}, lastL2BlockInCert interface{}) *ValidatorClient_ValidateCertificate_Call
ValidateCertificate is a helper method to define mock.On call
- ctx context.Context
- previousCertificateID *common.Hash
- certificate *agglayertypes.Certificate
- lastL2BlockInCert uint64
type ValidatorClient_HealthCheck_Call ¶ added in v0.7.0
ValidatorClient_HealthCheck_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HealthCheck'
func (*ValidatorClient_HealthCheck_Call) Return ¶ added in v0.7.0
func (_c *ValidatorClient_HealthCheck_Call) Return(_a0 *types.HealthCheckResponse, _a1 error) *ValidatorClient_HealthCheck_Call
func (*ValidatorClient_HealthCheck_Call) Run ¶ added in v0.7.0
func (_c *ValidatorClient_HealthCheck_Call) Run(run func(ctx context.Context)) *ValidatorClient_HealthCheck_Call
func (*ValidatorClient_HealthCheck_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ValidatorClient_HealthCheck_Call) RunAndReturn(run func(context.Context) (*types.HealthCheckResponse, error)) *ValidatorClient_HealthCheck_Call
type ValidatorClient_ValidateCertificate_Call ¶ added in v0.7.0
ValidatorClient_ValidateCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ValidateCertificate'
func (*ValidatorClient_ValidateCertificate_Call) Return ¶ added in v0.7.0
func (_c *ValidatorClient_ValidateCertificate_Call) Return(_a0 []byte, _a1 error) *ValidatorClient_ValidateCertificate_Call
func (*ValidatorClient_ValidateCertificate_Call) Run ¶ added in v0.7.0
func (_c *ValidatorClient_ValidateCertificate_Call) Run(run func(ctx context.Context, previousCertificateID *common.Hash, certificate *agglayertypes.Certificate, lastL2BlockInCert uint64)) *ValidatorClient_ValidateCertificate_Call
func (*ValidatorClient_ValidateCertificate_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ValidatorClient_ValidateCertificate_Call) RunAndReturn(run func(context.Context, *common.Hash, *agglayertypes.Certificate, uint64) ([]byte, error)) *ValidatorClient_ValidateCertificate_Call
type ValidatorPoller ¶ added in v0.7.0
ValidatorPoller is an autogenerated mock type for the ValidatorPoller type
func NewValidatorPoller ¶ added in v0.7.0
func NewValidatorPoller(t interface {
mock.TestingT
Cleanup(func())
}) *ValidatorPoller
NewValidatorPoller creates a new instance of ValidatorPoller. 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 (*ValidatorPoller) EXPECT ¶ added in v0.7.0
func (_m *ValidatorPoller) EXPECT() *ValidatorPoller_Expecter
func (*ValidatorPoller) PollValidators ¶ added in v0.7.0
func (_m *ValidatorPoller) PollValidators(ctx context.Context, req *types.ValidationRequest) (*agglayertypes.Multisig, error)
PollValidators provides a mock function with given fields: ctx, req
type ValidatorPoller_Expecter ¶ added in v0.7.0
type ValidatorPoller_Expecter struct {
// contains filtered or unexported fields
}
func (*ValidatorPoller_Expecter) PollValidators ¶ added in v0.7.0
func (_e *ValidatorPoller_Expecter) PollValidators(ctx interface{}, req interface{}) *ValidatorPoller_PollValidators_Call
PollValidators is a helper method to define mock.On call
- ctx context.Context
- req *types.ValidationRequest
type ValidatorPoller_PollValidators_Call ¶ added in v0.7.0
ValidatorPoller_PollValidators_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PollValidators'
func (*ValidatorPoller_PollValidators_Call) Return ¶ added in v0.7.0
func (_c *ValidatorPoller_PollValidators_Call) Return(_a0 *agglayertypes.Multisig, _a1 error) *ValidatorPoller_PollValidators_Call
func (*ValidatorPoller_PollValidators_Call) Run ¶ added in v0.7.0
func (_c *ValidatorPoller_PollValidators_Call) Run(run func(ctx context.Context, req *types.ValidationRequest)) *ValidatorPoller_PollValidators_Call
func (*ValidatorPoller_PollValidators_Call) RunAndReturn ¶ added in v0.7.0
func (_c *ValidatorPoller_PollValidators_Call) RunAndReturn(run func(context.Context, *types.ValidationRequest) (*agglayertypes.Multisig, error)) *ValidatorPoller_PollValidators_Call
Source Files
¶
- mock_agg_proof_public_values_querier.go
- mock_agg_sender_storage.go
- mock_agg_sender_storage_maintainer.go
- mock_aggchain_fep_caller.go
- mock_aggchain_fep_rollup_querier.go
- mock_aggchain_proof_client_interface.go
- mock_aggchain_proof_flow.go
- mock_aggchain_proof_generation.go
- mock_aggchain_proof_querier.go
- mock_aggchain_proof_service_client.go
- mock_aggchain_proof_service_server.go
- mock_aggsender_builder_flow.go
- mock_aggsender_flow_baser.go
- mock_aggsender_interface.go
- mock_aggsender_storer.go
- mock_aggsender_validator_client.go
- mock_aggsender_verifier_flow.go
- mock_block_notifier.go
- mock_bridge_querier.go
- mock_certificate_querier.go
- mock_certificate_status_checker.go
- mock_certificate_validate_and_signer.go
- mock_certificate_validator.go
- mock_chain_ger_reader.go
- mock_epoch_notifier.go
- mock_fep_contract_querier.go
- mock_generic_subscriber.go
- mock_ger_querier.go
- mock_l1_info_tree_data_querier.go
- mock_l1_info_tree_syncer.go
- mock_l2_bridge_syncer.go
- mock_ler_querier.go
- mock_local_exit_root_query.go
- mock_logger.go
- mock_max_l2_block_number_limiter_interface.go
- mock_multisig_contract.go
- mock_multisig_querier.go
- mock_op_node_clienter.go
- mock_optimistic_mode_querier.go
- mock_optimistic_signer.go
- mock_rollup_data_querier.go
- mock_signer.go
- mock_storage_retain_certificates_policier.go
- mock_unsafe_aggchain_proof_service_server.go
- mock_validator_client.go
- mock_validator_poller.go