Documentation
¶
Index ¶
- type AggSenderStorage
- func (_m *AggSenderStorage) DeleteCertificate(ctx context.Context, certificateID common.Hash) error
- func (_m *AggSenderStorage) EXPECT() *AggSenderStorage_Expecter
- func (_m *AggSenderStorage) GetCertificateByHeight(height uint64) (*types.CertificateInfo, error)
- func (_m *AggSenderStorage) GetCertificatesByStatus(status []agglayertypes.CertificateStatus) ([]*types.CertificateInfo, error)
- func (_m *AggSenderStorage) GetLastSentCertificate() (*types.CertificateInfo, error)
- func (_m *AggSenderStorage) SaveLastSentCertificate(ctx context.Context, certificate types.CertificateInfo) error
- func (_m *AggSenderStorage) UpdateCertificate(ctx context.Context, certificate types.CertificateInfo) error
- type AggSenderStorage_DeleteCertificate_Call
- func (_c *AggSenderStorage_DeleteCertificate_Call) Return(_a0 error) *AggSenderStorage_DeleteCertificate_Call
- func (_c *AggSenderStorage_DeleteCertificate_Call) Run(run func(ctx context.Context, certificateID common.Hash)) *AggSenderStorage_DeleteCertificate_Call
- func (_c *AggSenderStorage_DeleteCertificate_Call) RunAndReturn(run func(context.Context, common.Hash) error) *AggSenderStorage_DeleteCertificate_Call
- type AggSenderStorage_Expecter
- func (_e *AggSenderStorage_Expecter) DeleteCertificate(ctx interface{}, certificateID interface{}) *AggSenderStorage_DeleteCertificate_Call
- func (_e *AggSenderStorage_Expecter) GetCertificateByHeight(height interface{}) *AggSenderStorage_GetCertificateByHeight_Call
- func (_e *AggSenderStorage_Expecter) GetCertificatesByStatus(status interface{}) *AggSenderStorage_GetCertificatesByStatus_Call
- func (_e *AggSenderStorage_Expecter) GetLastSentCertificate() *AggSenderStorage_GetLastSentCertificate_Call
- func (_e *AggSenderStorage_Expecter) SaveLastSentCertificate(ctx interface{}, certificate interface{}) *AggSenderStorage_SaveLastSentCertificate_Call
- func (_e *AggSenderStorage_Expecter) UpdateCertificate(ctx interface{}, certificate interface{}) *AggSenderStorage_UpdateCertificate_Call
- type AggSenderStorage_GetCertificateByHeight_Call
- func (_c *AggSenderStorage_GetCertificateByHeight_Call) Return(_a0 *types.CertificateInfo, _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) (*types.CertificateInfo, error)) *AggSenderStorage_GetCertificateByHeight_Call
- type AggSenderStorage_GetCertificatesByStatus_Call
- func (_c *AggSenderStorage_GetCertificatesByStatus_Call) Return(_a0 []*types.CertificateInfo, _a1 error) *AggSenderStorage_GetCertificatesByStatus_Call
- func (_c *AggSenderStorage_GetCertificatesByStatus_Call) Run(run func(status []agglayertypes.CertificateStatus)) *AggSenderStorage_GetCertificatesByStatus_Call
- func (_c *AggSenderStorage_GetCertificatesByStatus_Call) RunAndReturn(run func([]agglayertypes.CertificateStatus) ([]*types.CertificateInfo, error)) *AggSenderStorage_GetCertificatesByStatus_Call
- type AggSenderStorage_GetLastSentCertificate_Call
- func (_c *AggSenderStorage_GetLastSentCertificate_Call) Return(_a0 *types.CertificateInfo, _a1 error) *AggSenderStorage_GetLastSentCertificate_Call
- func (_c *AggSenderStorage_GetLastSentCertificate_Call) Run(run func()) *AggSenderStorage_GetLastSentCertificate_Call
- func (_c *AggSenderStorage_GetLastSentCertificate_Call) RunAndReturn(run func() (*types.CertificateInfo, error)) *AggSenderStorage_GetLastSentCertificate_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 types.CertificateInfo)) *AggSenderStorage_SaveLastSentCertificate_Call
- func (_c *AggSenderStorage_SaveLastSentCertificate_Call) RunAndReturn(run func(context.Context, types.CertificateInfo) error) *AggSenderStorage_SaveLastSentCertificate_Call
- type AggSenderStorage_UpdateCertificate_Call
- func (_c *AggSenderStorage_UpdateCertificate_Call) Return(_a0 error) *AggSenderStorage_UpdateCertificate_Call
- func (_c *AggSenderStorage_UpdateCertificate_Call) Run(run func(ctx context.Context, certificate types.CertificateInfo)) *AggSenderStorage_UpdateCertificate_Call
- func (_c *AggSenderStorage_UpdateCertificate_Call) RunAndReturn(run func(context.Context, types.CertificateInfo) error) *AggSenderStorage_UpdateCertificate_Call
- type AggchainProofClientInterface
- type AggchainProofClientInterface_Expecter
- type AggchainProofClientInterface_GenerateAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) Return(_a0 *aggsendertypes.AggchainProof, _a1 error) *AggchainProofClientInterface_GenerateAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) Run(run func(lastProvenBlock uint64, requestedEndBlock uint64, ...)) *AggchainProofClientInterface_GenerateAggchainProof_Call
- func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) RunAndReturn(...) *AggchainProofClientInterface_GenerateAggchainProof_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, fromBlock 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 AggchainProofServiceClient
- type AggchainProofServiceClient_Expecter
- 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 AggchainProofServiceServer
- type AggchainProofServiceServer_Expecter
- 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 AggsenderFlow
- func (_m *AggsenderFlow) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)
- func (_m *AggsenderFlow) EXPECT() *AggsenderFlow_Expecter
- func (_m *AggsenderFlow) GetCertificateBuildParams(ctx context.Context) (*types.CertificateBuildParams, error)
- type AggsenderFlow_BuildCertificate_Call
- func (_c *AggsenderFlow_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *AggsenderFlow_BuildCertificate_Call
- func (_c *AggsenderFlow_BuildCertificate_Call) Run(run func(ctx context.Context, buildParams *types.CertificateBuildParams)) *AggsenderFlow_BuildCertificate_Call
- func (_c *AggsenderFlow_BuildCertificate_Call) RunAndReturn(...) *AggsenderFlow_BuildCertificate_Call
- type AggsenderFlow_Expecter
- type AggsenderFlow_GetCertificateBuildParams_Call
- func (_c *AggsenderFlow_GetCertificateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderFlow_GetCertificateBuildParams_Call
- func (_c *AggsenderFlow_GetCertificateBuildParams_Call) Run(run func(ctx context.Context)) *AggsenderFlow_GetCertificateBuildParams_Call
- func (_c *AggsenderFlow_GetCertificateBuildParams_Call) RunAndReturn(run func(context.Context) (*types.CertificateBuildParams, error)) *AggsenderFlow_GetCertificateBuildParams_Call
- type AggsenderInterface
- type AggsenderInterface_Expecter
- 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.CertificateInfo, _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.CertificateInfo, error)) *AggsenderStorer_GetCertificateByHeight_Call
- type AggsenderStorer_GetLastSentCertificate_Call
- func (_c *AggsenderStorer_GetLastSentCertificate_Call) Return(_a0 *types.CertificateInfo, _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.CertificateInfo, error)) *AggsenderStorer_GetLastSentCertificate_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 ChainGERReader
- type ChainGERReader_Expecter
- type ChainGERReader_GetInjectedGERsForRange_Call
- func (_c *ChainGERReader_GetInjectedGERsForRange_Call) Return(_a0 map[common.Hash]chaingerreader.InjectedGER, _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
- type EpochNotifier_Expecter
- 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_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 EthClient
- func (_m *EthClient) BlockByHash(ctx context.Context, hash common.Hash) (*types.Block, error)
- func (_m *EthClient) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (_m *EthClient) BlockNumber(ctx context.Context) (uint64, error)
- func (_m *EthClient) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
- func (_m *EthClient) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
- func (_m *EthClient) EXPECT() *EthClient_Expecter
- func (_m *EthClient) EstimateGas(ctx context.Context, call ethereum.CallMsg) (uint64, error)
- func (_m *EthClient) FilterLogs(ctx context.Context, q ethereum.FilterQuery) ([]types.Log, error)
- func (_m *EthClient) HeaderByHash(ctx context.Context, hash common.Hash) (*types.Header, error)
- func (_m *EthClient) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (_m *EthClient) PendingCodeAt(ctx context.Context, account common.Address) ([]byte, error)
- func (_m *EthClient) PendingNonceAt(ctx context.Context, account common.Address) (uint64, error)
- func (_m *EthClient) SendTransaction(ctx context.Context, tx *types.Transaction) error
- func (_m *EthClient) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
- func (_m *EthClient) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error)
- func (_m *EthClient) SuggestGasPrice(ctx context.Context) (*big.Int, error)
- func (_m *EthClient) SuggestGasTipCap(ctx context.Context) (*big.Int, error)
- func (_m *EthClient) TransactionCount(ctx context.Context, blockHash common.Hash) (uint, error)
- func (_m *EthClient) TransactionInBlock(ctx context.Context, blockHash common.Hash, index uint) (*types.Transaction, error)
- type EthClient_BlockByHash_Call
- func (_c *EthClient_BlockByHash_Call) Return(_a0 *types.Block, _a1 error) *EthClient_BlockByHash_Call
- func (_c *EthClient_BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *EthClient_BlockByHash_Call
- func (_c *EthClient_BlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Block, error)) *EthClient_BlockByHash_Call
- type EthClient_BlockByNumber_Call
- func (_c *EthClient_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *EthClient_BlockByNumber_Call
- func (_c *EthClient_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthClient_BlockByNumber_Call
- func (_c *EthClient_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *EthClient_BlockByNumber_Call
- type EthClient_BlockNumber_Call
- func (_c *EthClient_BlockNumber_Call) Return(_a0 uint64, _a1 error) *EthClient_BlockNumber_Call
- func (_c *EthClient_BlockNumber_Call) Run(run func(ctx context.Context)) *EthClient_BlockNumber_Call
- func (_c *EthClient_BlockNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *EthClient_BlockNumber_Call
- type EthClient_CallContract_Call
- func (_c *EthClient_CallContract_Call) Return(_a0 []byte, _a1 error) *EthClient_CallContract_Call
- func (_c *EthClient_CallContract_Call) Run(run func(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int)) *EthClient_CallContract_Call
- func (_c *EthClient_CallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg, *big.Int) ([]byte, error)) *EthClient_CallContract_Call
- type EthClient_CodeAt_Call
- func (_c *EthClient_CodeAt_Call) Return(_a0 []byte, _a1 error) *EthClient_CodeAt_Call
- func (_c *EthClient_CodeAt_Call) Run(run func(ctx context.Context, contract common.Address, blockNumber *big.Int)) *EthClient_CodeAt_Call
- func (_c *EthClient_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *EthClient_CodeAt_Call
- type EthClient_EstimateGas_Call
- func (_c *EthClient_EstimateGas_Call) Return(_a0 uint64, _a1 error) *EthClient_EstimateGas_Call
- func (_c *EthClient_EstimateGas_Call) Run(run func(ctx context.Context, call ethereum.CallMsg)) *EthClient_EstimateGas_Call
- func (_c *EthClient_EstimateGas_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg) (uint64, error)) *EthClient_EstimateGas_Call
- type EthClient_Expecter
- func (_e *EthClient_Expecter) BlockByHash(ctx interface{}, hash interface{}) *EthClient_BlockByHash_Call
- func (_e *EthClient_Expecter) BlockByNumber(ctx interface{}, number interface{}) *EthClient_BlockByNumber_Call
- func (_e *EthClient_Expecter) BlockNumber(ctx interface{}) *EthClient_BlockNumber_Call
- func (_e *EthClient_Expecter) CallContract(ctx interface{}, call interface{}, blockNumber interface{}) *EthClient_CallContract_Call
- func (_e *EthClient_Expecter) CodeAt(ctx interface{}, contract interface{}, blockNumber interface{}) *EthClient_CodeAt_Call
- func (_e *EthClient_Expecter) EstimateGas(ctx interface{}, call interface{}) *EthClient_EstimateGas_Call
- func (_e *EthClient_Expecter) FilterLogs(ctx interface{}, q interface{}) *EthClient_FilterLogs_Call
- func (_e *EthClient_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *EthClient_HeaderByHash_Call
- func (_e *EthClient_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *EthClient_HeaderByNumber_Call
- func (_e *EthClient_Expecter) PendingCodeAt(ctx interface{}, account interface{}) *EthClient_PendingCodeAt_Call
- func (_e *EthClient_Expecter) PendingNonceAt(ctx interface{}, account interface{}) *EthClient_PendingNonceAt_Call
- func (_e *EthClient_Expecter) SendTransaction(ctx interface{}, tx interface{}) *EthClient_SendTransaction_Call
- func (_e *EthClient_Expecter) SubscribeFilterLogs(ctx interface{}, q interface{}, ch interface{}) *EthClient_SubscribeFilterLogs_Call
- func (_e *EthClient_Expecter) SubscribeNewHead(ctx interface{}, ch interface{}) *EthClient_SubscribeNewHead_Call
- func (_e *EthClient_Expecter) SuggestGasPrice(ctx interface{}) *EthClient_SuggestGasPrice_Call
- func (_e *EthClient_Expecter) SuggestGasTipCap(ctx interface{}) *EthClient_SuggestGasTipCap_Call
- func (_e *EthClient_Expecter) TransactionCount(ctx interface{}, blockHash interface{}) *EthClient_TransactionCount_Call
- func (_e *EthClient_Expecter) TransactionInBlock(ctx interface{}, blockHash interface{}, index interface{}) *EthClient_TransactionInBlock_Call
- type EthClient_FilterLogs_Call
- func (_c *EthClient_FilterLogs_Call) Return(_a0 []types.Log, _a1 error) *EthClient_FilterLogs_Call
- func (_c *EthClient_FilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery)) *EthClient_FilterLogs_Call
- func (_c *EthClient_FilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery) ([]types.Log, error)) *EthClient_FilterLogs_Call
- type EthClient_HeaderByHash_Call
- func (_c *EthClient_HeaderByHash_Call) Return(_a0 *types.Header, _a1 error) *EthClient_HeaderByHash_Call
- func (_c *EthClient_HeaderByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *EthClient_HeaderByHash_Call
- func (_c *EthClient_HeaderByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Header, error)) *EthClient_HeaderByHash_Call
- type EthClient_HeaderByNumber_Call
- func (_c *EthClient_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *EthClient_HeaderByNumber_Call
- func (_c *EthClient_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthClient_HeaderByNumber_Call
- func (_c *EthClient_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *EthClient_HeaderByNumber_Call
- type EthClient_PendingCodeAt_Call
- func (_c *EthClient_PendingCodeAt_Call) Return(_a0 []byte, _a1 error) *EthClient_PendingCodeAt_Call
- func (_c *EthClient_PendingCodeAt_Call) Run(run func(ctx context.Context, account common.Address)) *EthClient_PendingCodeAt_Call
- func (_c *EthClient_PendingCodeAt_Call) RunAndReturn(run func(context.Context, common.Address) ([]byte, error)) *EthClient_PendingCodeAt_Call
- type EthClient_PendingNonceAt_Call
- func (_c *EthClient_PendingNonceAt_Call) Return(_a0 uint64, _a1 error) *EthClient_PendingNonceAt_Call
- func (_c *EthClient_PendingNonceAt_Call) Run(run func(ctx context.Context, account common.Address)) *EthClient_PendingNonceAt_Call
- func (_c *EthClient_PendingNonceAt_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *EthClient_PendingNonceAt_Call
- type EthClient_SendTransaction_Call
- func (_c *EthClient_SendTransaction_Call) Return(_a0 error) *EthClient_SendTransaction_Call
- func (_c *EthClient_SendTransaction_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *EthClient_SendTransaction_Call
- func (_c *EthClient_SendTransaction_Call) RunAndReturn(run func(context.Context, *types.Transaction) error) *EthClient_SendTransaction_Call
- type EthClient_SubscribeFilterLogs_Call
- func (_c *EthClient_SubscribeFilterLogs_Call) Return(_a0 ethereum.Subscription, _a1 error) *EthClient_SubscribeFilterLogs_Call
- func (_c *EthClient_SubscribeFilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log)) *EthClient_SubscribeFilterLogs_Call
- func (_c *EthClient_SubscribeFilterLogs_Call) RunAndReturn(...) *EthClient_SubscribeFilterLogs_Call
- type EthClient_SubscribeNewHead_Call
- func (_c *EthClient_SubscribeNewHead_Call) Return(_a0 ethereum.Subscription, _a1 error) *EthClient_SubscribeNewHead_Call
- func (_c *EthClient_SubscribeNewHead_Call) Run(run func(ctx context.Context, ch chan<- *types.Header)) *EthClient_SubscribeNewHead_Call
- func (_c *EthClient_SubscribeNewHead_Call) RunAndReturn(run func(context.Context, chan<- *types.Header) (ethereum.Subscription, error)) *EthClient_SubscribeNewHead_Call
- type EthClient_SuggestGasPrice_Call
- func (_c *EthClient_SuggestGasPrice_Call) Return(_a0 *big.Int, _a1 error) *EthClient_SuggestGasPrice_Call
- func (_c *EthClient_SuggestGasPrice_Call) Run(run func(ctx context.Context)) *EthClient_SuggestGasPrice_Call
- func (_c *EthClient_SuggestGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *EthClient_SuggestGasPrice_Call
- type EthClient_SuggestGasTipCap_Call
- func (_c *EthClient_SuggestGasTipCap_Call) Return(_a0 *big.Int, _a1 error) *EthClient_SuggestGasTipCap_Call
- func (_c *EthClient_SuggestGasTipCap_Call) Run(run func(ctx context.Context)) *EthClient_SuggestGasTipCap_Call
- func (_c *EthClient_SuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *EthClient_SuggestGasTipCap_Call
- type EthClient_TransactionCount_Call
- func (_c *EthClient_TransactionCount_Call) Return(_a0 uint, _a1 error) *EthClient_TransactionCount_Call
- func (_c *EthClient_TransactionCount_Call) Run(run func(ctx context.Context, blockHash common.Hash)) *EthClient_TransactionCount_Call
- func (_c *EthClient_TransactionCount_Call) RunAndReturn(run func(context.Context, common.Hash) (uint, error)) *EthClient_TransactionCount_Call
- type EthClient_TransactionInBlock_Call
- func (_c *EthClient_TransactionInBlock_Call) Return(_a0 *types.Transaction, _a1 error) *EthClient_TransactionInBlock_Call
- func (_c *EthClient_TransactionInBlock_Call) Run(run func(ctx context.Context, blockHash common.Hash, index uint)) *EthClient_TransactionInBlock_Call
- func (_c *EthClient_TransactionInBlock_Call) RunAndReturn(run func(context.Context, common.Hash, uint) (*types.Transaction, error)) *EthClient_TransactionInBlock_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) 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) 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_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) GetLatestInfoUntilBlock(ctx context.Context, blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
- func (_m *L1InfoTreeSyncer) GetProcessedBlockUntil(ctx context.Context, blockNumber uint64) (uint64, common.Hash, 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) GetLatestInfoUntilBlock(ctx interface{}, blockNum interface{}) *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call
- func (_e *L1InfoTreeSyncer_Expecter) GetProcessedBlockUntil(ctx interface{}, blockNumber interface{}) *L1InfoTreeSyncer_GetProcessedBlockUntil_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_GetLatestInfoUntilBlock_Call
- func (_c *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call
- func (_c *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) Run(run func(ctx context.Context, blockNum uint64)) *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call
- func (_c *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) RunAndReturn(run func(context.Context, uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetLatestInfoUntilBlock_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 L2BridgeSyncer
- func (_m *L2BridgeSyncer) BlockFinality() etherman.BlockNumberFinality
- func (_m *L2BridgeSyncer) EXPECT() *L2BridgeSyncer_Expecter
- func (_m *L2BridgeSyncer) GetBlockByLER(ctx context.Context, ler common.Hash) (uint64, error)
- func (_m *L2BridgeSyncer) GetBridgesPublished(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) 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_BlockFinality_Call
- func (_c *L2BridgeSyncer_BlockFinality_Call) Return(_a0 etherman.BlockNumberFinality) *L2BridgeSyncer_BlockFinality_Call
- func (_c *L2BridgeSyncer_BlockFinality_Call) Run(run func()) *L2BridgeSyncer_BlockFinality_Call
- func (_c *L2BridgeSyncer_BlockFinality_Call) RunAndReturn(run func() etherman.BlockNumberFinality) *L2BridgeSyncer_BlockFinality_Call
- type L2BridgeSyncer_Expecter
- func (_e *L2BridgeSyncer_Expecter) BlockFinality() *L2BridgeSyncer_BlockFinality_Call
- func (_e *L2BridgeSyncer_Expecter) GetBlockByLER(ctx interface{}, ler interface{}) *L2BridgeSyncer_GetBlockByLER_Call
- func (_e *L2BridgeSyncer_Expecter) GetBridgesPublished(ctx interface{}, fromBlock interface{}, toBlock interface{}) *L2BridgeSyncer_GetBridgesPublished_Call
- func (_e *L2BridgeSyncer_Expecter) GetClaims(ctx interface{}, fromBlock interface{}, toBlock interface{}) *L2BridgeSyncer_GetClaims_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_GetBridgesPublished_Call
- func (_c *L2BridgeSyncer_GetBridgesPublished_Call) Return(_a0 []bridgesync.Bridge, _a1 error) *L2BridgeSyncer_GetBridgesPublished_Call
- func (_c *L2BridgeSyncer_GetBridgesPublished_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *L2BridgeSyncer_GetBridgesPublished_Call
- func (_c *L2BridgeSyncer_GetBridgesPublished_Call) RunAndReturn(run func(context.Context, uint64, uint64) ([]bridgesync.Bridge, error)) *L2BridgeSyncer_GetBridgesPublished_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_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 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) 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) 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_Warn_Call
- type Logger_Warnf_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()) ...
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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 ¶
DeleteCertificate provides a mock function with given fields: ctx, certificateID
func (*AggSenderStorage) EXPECT ¶
func (_m *AggSenderStorage) EXPECT() *AggSenderStorage_Expecter
func (*AggSenderStorage) GetCertificateByHeight ¶
func (_m *AggSenderStorage) GetCertificateByHeight(height uint64) (*types.CertificateInfo, error)
GetCertificateByHeight provides a mock function with given fields: height
func (*AggSenderStorage) GetCertificatesByStatus ¶
func (_m *AggSenderStorage) GetCertificatesByStatus(status []agglayertypes.CertificateStatus) ([]*types.CertificateInfo, error)
GetCertificatesByStatus provides a mock function with given fields: status
func (*AggSenderStorage) GetLastSentCertificate ¶
func (_m *AggSenderStorage) GetLastSentCertificate() (*types.CertificateInfo, error)
GetLastSentCertificate provides a mock function with no fields
func (*AggSenderStorage) SaveLastSentCertificate ¶
func (_m *AggSenderStorage) SaveLastSentCertificate(ctx context.Context, certificate types.CertificateInfo) error
SaveLastSentCertificate provides a mock function with given fields: ctx, certificate
func (*AggSenderStorage) UpdateCertificate ¶
func (_m *AggSenderStorage) UpdateCertificate(ctx context.Context, certificate types.CertificateInfo) error
UpdateCertificate provides a mock function with given fields: ctx, certificate
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(ctx context.Context, certificateID common.Hash)) *AggSenderStorage_DeleteCertificate_Call
func (*AggSenderStorage_DeleteCertificate_Call) RunAndReturn ¶
func (_c *AggSenderStorage_DeleteCertificate_Call) RunAndReturn(run func(context.Context, common.Hash) error) *AggSenderStorage_DeleteCertificate_Call
type AggSenderStorage_Expecter ¶
type AggSenderStorage_Expecter struct {
// contains filtered or unexported fields
}
func (*AggSenderStorage_Expecter) DeleteCertificate ¶
func (_e *AggSenderStorage_Expecter) DeleteCertificate(ctx interface{}, certificateID interface{}) *AggSenderStorage_DeleteCertificate_Call
DeleteCertificate is a helper method to define mock.On call
- ctx context.Context
- certificateID common.Hash
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) GetCertificatesByStatus ¶
func (_e *AggSenderStorage_Expecter) GetCertificatesByStatus(status interface{}) *AggSenderStorage_GetCertificatesByStatus_Call
GetCertificatesByStatus 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) 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 types.CertificateInfo
func (*AggSenderStorage_Expecter) UpdateCertificate ¶
func (_e *AggSenderStorage_Expecter) UpdateCertificate(ctx interface{}, certificate interface{}) *AggSenderStorage_UpdateCertificate_Call
UpdateCertificate is a helper method to define mock.On call
- ctx context.Context
- certificate types.CertificateInfo
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 *types.CertificateInfo, _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) (*types.CertificateInfo, error)) *AggSenderStorage_GetCertificateByHeight_Call
type AggSenderStorage_GetCertificatesByStatus_Call ¶
AggSenderStorage_GetCertificatesByStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificatesByStatus'
func (*AggSenderStorage_GetCertificatesByStatus_Call) Return ¶
func (_c *AggSenderStorage_GetCertificatesByStatus_Call) Return(_a0 []*types.CertificateInfo, _a1 error) *AggSenderStorage_GetCertificatesByStatus_Call
func (*AggSenderStorage_GetCertificatesByStatus_Call) Run ¶
func (_c *AggSenderStorage_GetCertificatesByStatus_Call) Run(run func(status []agglayertypes.CertificateStatus)) *AggSenderStorage_GetCertificatesByStatus_Call
func (*AggSenderStorage_GetCertificatesByStatus_Call) RunAndReturn ¶
func (_c *AggSenderStorage_GetCertificatesByStatus_Call) RunAndReturn(run func([]agglayertypes.CertificateStatus) ([]*types.CertificateInfo, error)) *AggSenderStorage_GetCertificatesByStatus_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 *types.CertificateInfo, _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() (*types.CertificateInfo, error)) *AggSenderStorage_GetLastSentCertificate_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 types.CertificateInfo)) *AggSenderStorage_SaveLastSentCertificate_Call
func (*AggSenderStorage_SaveLastSentCertificate_Call) RunAndReturn ¶
func (_c *AggSenderStorage_SaveLastSentCertificate_Call) RunAndReturn(run func(context.Context, types.CertificateInfo) error) *AggSenderStorage_SaveLastSentCertificate_Call
type AggSenderStorage_UpdateCertificate_Call ¶
AggSenderStorage_UpdateCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCertificate'
func (*AggSenderStorage_UpdateCertificate_Call) Return ¶
func (_c *AggSenderStorage_UpdateCertificate_Call) Return(_a0 error) *AggSenderStorage_UpdateCertificate_Call
func (*AggSenderStorage_UpdateCertificate_Call) Run ¶
func (_c *AggSenderStorage_UpdateCertificate_Call) Run(run func(ctx context.Context, certificate types.CertificateInfo)) *AggSenderStorage_UpdateCertificate_Call
func (*AggSenderStorage_UpdateCertificate_Call) RunAndReturn ¶
func (_c *AggSenderStorage_UpdateCertificate_Call) RunAndReturn(run func(context.Context, types.CertificateInfo) error) *AggSenderStorage_UpdateCertificate_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(lastProvenBlock uint64, requestedEndBlock uint64, l1InfoTreeRootHash common.Hash, l1InfoTreeLeaf l1infotreesync.L1InfoTreeLeaf, l1InfoTreeMerkleProof types.MerkleProof, gerLeavesWithBlockNumber map[common.Hash]*types.ProvenInsertedGERWithBlockNumber, importedBridgeExitsWithBlockNumber []*types.ImportedBridgeExitWithBlockNumber) (*aggsendertypes.AggchainProof, error)
GenerateAggchainProof provides a mock function with given fields: lastProvenBlock, requestedEndBlock, l1InfoTreeRootHash, l1InfoTreeLeaf, l1InfoTreeMerkleProof, gerLeavesWithBlockNumber, importedBridgeExitsWithBlockNumber
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(lastProvenBlock interface{}, requestedEndBlock interface{}, l1InfoTreeRootHash interface{}, l1InfoTreeLeaf interface{}, l1InfoTreeMerkleProof interface{}, gerLeavesWithBlockNumber interface{}, importedBridgeExitsWithBlockNumber interface{}) *AggchainProofClientInterface_GenerateAggchainProof_Call
GenerateAggchainProof is a helper method to define mock.On call
- lastProvenBlock uint64
- requestedEndBlock uint64
- l1InfoTreeRootHash common.Hash
- l1InfoTreeLeaf l1infotreesync.L1InfoTreeLeaf
- l1InfoTreeMerkleProof types.MerkleProof
- gerLeavesWithBlockNumber map[common.Hash]*types.ProvenInsertedGERWithBlockNumber
- importedBridgeExitsWithBlockNumber []*types.ImportedBridgeExitWithBlockNumber
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) Run ¶ added in v0.3.0
func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) Run(run func(lastProvenBlock uint64, requestedEndBlock uint64, l1InfoTreeRootHash common.Hash, l1InfoTreeLeaf l1infotreesync.L1InfoTreeLeaf, l1InfoTreeMerkleProof types.MerkleProof, gerLeavesWithBlockNumber map[common.Hash]*types.ProvenInsertedGERWithBlockNumber, importedBridgeExitsWithBlockNumber []*types.ImportedBridgeExitWithBlockNumber)) *AggchainProofClientInterface_GenerateAggchainProof_Call
func (*AggchainProofClientInterface_GenerateAggchainProof_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggchainProofClientInterface_GenerateAggchainProof_Call) RunAndReturn(run func(uint64, uint64, common.Hash, l1infotreesync.L1InfoTreeLeaf, types.MerkleProof, map[common.Hash]*types.ProvenInsertedGERWithBlockNumber, []*types.ImportedBridgeExitWithBlockNumber) (*aggsendertypes.AggchainProof, error)) *AggchainProofClientInterface_GenerateAggchainProof_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, fromBlock uint64, toBlock uint64, claims []bridgesync.Claim) (*types.AggchainProof, *treetypes.Root, error)
GenerateAggchainProof provides a mock function with given fields: ctx, fromBlock, toBlock, claims
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{}, fromBlock interface{}, toBlock interface{}, claims interface{}) *AggchainProofFlow_GenerateAggchainProof_Call
GenerateAggchainProof is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock uint64
- claims []bridgesync.Claim
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, fromBlock uint64, toBlock uint64, claims []bridgesync.Claim)) *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, []bridgesync.Claim) (*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 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
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
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 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
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
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 AggsenderFlow ¶ added in v0.3.0
AggsenderFlow is an autogenerated mock type for the AggsenderFlow type
func NewAggsenderFlow ¶ added in v0.3.0
func NewAggsenderFlow(t interface {
mock.TestingT
Cleanup(func())
}) *AggsenderFlow
NewAggsenderFlow creates a new instance of AggsenderFlow. 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 (*AggsenderFlow) BuildCertificate ¶ added in v0.3.0
func (_m *AggsenderFlow) BuildCertificate(ctx context.Context, buildParams *types.CertificateBuildParams) (*agglayertypes.Certificate, error)
BuildCertificate provides a mock function with given fields: ctx, buildParams
func (*AggsenderFlow) EXPECT ¶ added in v0.3.0
func (_m *AggsenderFlow) EXPECT() *AggsenderFlow_Expecter
func (*AggsenderFlow) GetCertificateBuildParams ¶ added in v0.3.0
func (_m *AggsenderFlow) GetCertificateBuildParams(ctx context.Context) (*types.CertificateBuildParams, error)
GetCertificateBuildParams provides a mock function with given fields: ctx
type AggsenderFlow_BuildCertificate_Call ¶ added in v0.3.0
AggsenderFlow_BuildCertificate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildCertificate'
func (*AggsenderFlow_BuildCertificate_Call) Return ¶ added in v0.3.0
func (_c *AggsenderFlow_BuildCertificate_Call) Return(_a0 *agglayertypes.Certificate, _a1 error) *AggsenderFlow_BuildCertificate_Call
func (*AggsenderFlow_BuildCertificate_Call) Run ¶ added in v0.3.0
func (_c *AggsenderFlow_BuildCertificate_Call) Run(run func(ctx context.Context, buildParams *types.CertificateBuildParams)) *AggsenderFlow_BuildCertificate_Call
func (*AggsenderFlow_BuildCertificate_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggsenderFlow_BuildCertificate_Call) RunAndReturn(run func(context.Context, *types.CertificateBuildParams) (*agglayertypes.Certificate, error)) *AggsenderFlow_BuildCertificate_Call
type AggsenderFlow_Expecter ¶ added in v0.3.0
type AggsenderFlow_Expecter struct {
// contains filtered or unexported fields
}
func (*AggsenderFlow_Expecter) BuildCertificate ¶ added in v0.3.0
func (_e *AggsenderFlow_Expecter) BuildCertificate(ctx interface{}, buildParams interface{}) *AggsenderFlow_BuildCertificate_Call
BuildCertificate is a helper method to define mock.On call
- ctx context.Context
- buildParams *types.CertificateBuildParams
func (*AggsenderFlow_Expecter) GetCertificateBuildParams ¶ added in v0.3.0
func (_e *AggsenderFlow_Expecter) GetCertificateBuildParams(ctx interface{}) *AggsenderFlow_GetCertificateBuildParams_Call
GetCertificateBuildParams is a helper method to define mock.On call
- ctx context.Context
type AggsenderFlow_GetCertificateBuildParams_Call ¶ added in v0.3.0
AggsenderFlow_GetCertificateBuildParams_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCertificateBuildParams'
func (*AggsenderFlow_GetCertificateBuildParams_Call) Return ¶ added in v0.3.0
func (_c *AggsenderFlow_GetCertificateBuildParams_Call) Return(_a0 *types.CertificateBuildParams, _a1 error) *AggsenderFlow_GetCertificateBuildParams_Call
func (*AggsenderFlow_GetCertificateBuildParams_Call) Run ¶ added in v0.3.0
func (_c *AggsenderFlow_GetCertificateBuildParams_Call) Run(run func(ctx context.Context)) *AggsenderFlow_GetCertificateBuildParams_Call
func (*AggsenderFlow_GetCertificateBuildParams_Call) RunAndReturn ¶ added in v0.3.0
func (_c *AggsenderFlow_GetCertificateBuildParams_Call) RunAndReturn(run func(context.Context) (*types.CertificateBuildParams, error)) *AggsenderFlow_GetCertificateBuildParams_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) 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) Info ¶
func (_e *AggsenderInterface_Expecter) Info() *AggsenderInterface_Info_Call
Info is a helper method to define mock.On 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.CertificateInfo, error)
GetCertificateByHeight provides a mock function with given fields: height
func (*AggsenderStorer) GetLastSentCertificate ¶
func (_m *AggsenderStorer) GetLastSentCertificate() (*types.CertificateInfo, 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.CertificateInfo, _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.CertificateInfo, 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.CertificateInfo, _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.CertificateInfo, error)) *AggsenderStorer_GetLastSentCertificate_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 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]chaingerreader.InjectedGER, 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]chaingerreader.InjectedGER, _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]chaingerreader.InjectedGER, 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) 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) 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_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 EthClient ¶
EthClient is an autogenerated mock type for the EthClient type
func NewEthClient ¶
NewEthClient creates a new instance of EthClient. 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 (*EthClient) BlockByHash ¶ added in v0.3.0
BlockByHash provides a mock function with given fields: ctx, hash
func (*EthClient) BlockByNumber ¶ added in v0.3.0
BlockByNumber provides a mock function with given fields: ctx, number
func (*EthClient) BlockNumber ¶
BlockNumber provides a mock function with given fields: ctx
func (*EthClient) CallContract ¶ added in v0.3.0
func (_m *EthClient) CallContract(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int) ([]byte, error)
CallContract provides a mock function with given fields: ctx, call, blockNumber
func (*EthClient) CodeAt ¶ added in v0.3.0
func (_m *EthClient) CodeAt(ctx context.Context, contract common.Address, blockNumber *big.Int) ([]byte, error)
CodeAt provides a mock function with given fields: ctx, contract, blockNumber
func (*EthClient) EXPECT ¶
func (_m *EthClient) EXPECT() *EthClient_Expecter
func (*EthClient) EstimateGas ¶ added in v0.3.0
EstimateGas provides a mock function with given fields: ctx, call
func (*EthClient) FilterLogs ¶ added in v0.3.0
FilterLogs provides a mock function with given fields: ctx, q
func (*EthClient) HeaderByHash ¶ added in v0.3.0
HeaderByHash provides a mock function with given fields: ctx, hash
func (*EthClient) HeaderByNumber ¶
HeaderByNumber provides a mock function with given fields: ctx, number
func (*EthClient) PendingCodeAt ¶ added in v0.3.0
PendingCodeAt provides a mock function with given fields: ctx, account
func (*EthClient) PendingNonceAt ¶ added in v0.3.0
PendingNonceAt provides a mock function with given fields: ctx, account
func (*EthClient) SendTransaction ¶ added in v0.3.0
SendTransaction provides a mock function with given fields: ctx, tx
func (*EthClient) SubscribeFilterLogs ¶ added in v0.3.0
func (_m *EthClient) SubscribeFilterLogs(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log) (ethereum.Subscription, error)
SubscribeFilterLogs provides a mock function with given fields: ctx, q, ch
func (*EthClient) SubscribeNewHead ¶ added in v0.3.0
func (_m *EthClient) SubscribeNewHead(ctx context.Context, ch chan<- *types.Header) (ethereum.Subscription, error)
SubscribeNewHead provides a mock function with given fields: ctx, ch
func (*EthClient) SuggestGasPrice ¶ added in v0.3.0
SuggestGasPrice provides a mock function with given fields: ctx
func (*EthClient) SuggestGasTipCap ¶ added in v0.3.0
SuggestGasTipCap provides a mock function with given fields: ctx
func (*EthClient) TransactionCount ¶ added in v0.3.0
TransactionCount provides a mock function with given fields: ctx, blockHash
type EthClient_BlockByHash_Call ¶ added in v0.3.0
EthClient_BlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByHash'
func (*EthClient_BlockByHash_Call) Return ¶ added in v0.3.0
func (_c *EthClient_BlockByHash_Call) Return(_a0 *types.Block, _a1 error) *EthClient_BlockByHash_Call
func (*EthClient_BlockByHash_Call) Run ¶ added in v0.3.0
func (_c *EthClient_BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *EthClient_BlockByHash_Call
func (*EthClient_BlockByHash_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_BlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Block, error)) *EthClient_BlockByHash_Call
type EthClient_BlockByNumber_Call ¶ added in v0.3.0
EthClient_BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByNumber'
func (*EthClient_BlockByNumber_Call) Return ¶ added in v0.3.0
func (_c *EthClient_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *EthClient_BlockByNumber_Call
func (*EthClient_BlockByNumber_Call) Run ¶ added in v0.3.0
func (_c *EthClient_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthClient_BlockByNumber_Call
func (*EthClient_BlockByNumber_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *EthClient_BlockByNumber_Call
type EthClient_BlockNumber_Call ¶
EthClient_BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockNumber'
func (*EthClient_BlockNumber_Call) Return ¶
func (_c *EthClient_BlockNumber_Call) Return(_a0 uint64, _a1 error) *EthClient_BlockNumber_Call
func (*EthClient_BlockNumber_Call) Run ¶
func (_c *EthClient_BlockNumber_Call) Run(run func(ctx context.Context)) *EthClient_BlockNumber_Call
func (*EthClient_BlockNumber_Call) RunAndReturn ¶
func (_c *EthClient_BlockNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *EthClient_BlockNumber_Call
type EthClient_CallContract_Call ¶ added in v0.3.0
EthClient_CallContract_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CallContract'
func (*EthClient_CallContract_Call) Return ¶ added in v0.3.0
func (_c *EthClient_CallContract_Call) Return(_a0 []byte, _a1 error) *EthClient_CallContract_Call
func (*EthClient_CallContract_Call) Run ¶ added in v0.3.0
func (_c *EthClient_CallContract_Call) Run(run func(ctx context.Context, call ethereum.CallMsg, blockNumber *big.Int)) *EthClient_CallContract_Call
func (*EthClient_CallContract_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_CallContract_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg, *big.Int) ([]byte, error)) *EthClient_CallContract_Call
type EthClient_CodeAt_Call ¶ added in v0.3.0
EthClient_CodeAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CodeAt'
func (*EthClient_CodeAt_Call) Return ¶ added in v0.3.0
func (_c *EthClient_CodeAt_Call) Return(_a0 []byte, _a1 error) *EthClient_CodeAt_Call
func (*EthClient_CodeAt_Call) Run ¶ added in v0.3.0
func (_c *EthClient_CodeAt_Call) Run(run func(ctx context.Context, contract common.Address, blockNumber *big.Int)) *EthClient_CodeAt_Call
func (*EthClient_CodeAt_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_CodeAt_Call) RunAndReturn(run func(context.Context, common.Address, *big.Int) ([]byte, error)) *EthClient_CodeAt_Call
type EthClient_EstimateGas_Call ¶ added in v0.3.0
EthClient_EstimateGas_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EstimateGas'
func (*EthClient_EstimateGas_Call) Return ¶ added in v0.3.0
func (_c *EthClient_EstimateGas_Call) Return(_a0 uint64, _a1 error) *EthClient_EstimateGas_Call
func (*EthClient_EstimateGas_Call) Run ¶ added in v0.3.0
func (_c *EthClient_EstimateGas_Call) Run(run func(ctx context.Context, call ethereum.CallMsg)) *EthClient_EstimateGas_Call
func (*EthClient_EstimateGas_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_EstimateGas_Call) RunAndReturn(run func(context.Context, ethereum.CallMsg) (uint64, error)) *EthClient_EstimateGas_Call
type EthClient_Expecter ¶
type EthClient_Expecter struct {
// contains filtered or unexported fields
}
func (*EthClient_Expecter) BlockByHash ¶ added in v0.3.0
func (_e *EthClient_Expecter) BlockByHash(ctx interface{}, hash interface{}) *EthClient_BlockByHash_Call
BlockByHash is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
func (*EthClient_Expecter) BlockByNumber ¶ added in v0.3.0
func (_e *EthClient_Expecter) BlockByNumber(ctx interface{}, number interface{}) *EthClient_BlockByNumber_Call
BlockByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*EthClient_Expecter) BlockNumber ¶
func (_e *EthClient_Expecter) BlockNumber(ctx interface{}) *EthClient_BlockNumber_Call
BlockNumber is a helper method to define mock.On call
- ctx context.Context
func (*EthClient_Expecter) CallContract ¶ added in v0.3.0
func (_e *EthClient_Expecter) CallContract(ctx interface{}, call interface{}, blockNumber interface{}) *EthClient_CallContract_Call
CallContract is a helper method to define mock.On call
- ctx context.Context
- call ethereum.CallMsg
- blockNumber *big.Int
func (*EthClient_Expecter) CodeAt ¶ added in v0.3.0
func (_e *EthClient_Expecter) CodeAt(ctx interface{}, contract interface{}, blockNumber interface{}) *EthClient_CodeAt_Call
CodeAt is a helper method to define mock.On call
- ctx context.Context
- contract common.Address
- blockNumber *big.Int
func (*EthClient_Expecter) EstimateGas ¶ added in v0.3.0
func (_e *EthClient_Expecter) EstimateGas(ctx interface{}, call interface{}) *EthClient_EstimateGas_Call
EstimateGas is a helper method to define mock.On call
- ctx context.Context
- call ethereum.CallMsg
func (*EthClient_Expecter) FilterLogs ¶ added in v0.3.0
func (_e *EthClient_Expecter) FilterLogs(ctx interface{}, q interface{}) *EthClient_FilterLogs_Call
FilterLogs is a helper method to define mock.On call
- ctx context.Context
- q ethereum.FilterQuery
func (*EthClient_Expecter) HeaderByHash ¶ added in v0.3.0
func (_e *EthClient_Expecter) HeaderByHash(ctx interface{}, hash interface{}) *EthClient_HeaderByHash_Call
HeaderByHash is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
func (*EthClient_Expecter) HeaderByNumber ¶
func (_e *EthClient_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *EthClient_HeaderByNumber_Call
HeaderByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*EthClient_Expecter) PendingCodeAt ¶ added in v0.3.0
func (_e *EthClient_Expecter) PendingCodeAt(ctx interface{}, account interface{}) *EthClient_PendingCodeAt_Call
PendingCodeAt is a helper method to define mock.On call
- ctx context.Context
- account common.Address
func (*EthClient_Expecter) PendingNonceAt ¶ added in v0.3.0
func (_e *EthClient_Expecter) PendingNonceAt(ctx interface{}, account interface{}) *EthClient_PendingNonceAt_Call
PendingNonceAt is a helper method to define mock.On call
- ctx context.Context
- account common.Address
func (*EthClient_Expecter) SendTransaction ¶ added in v0.3.0
func (_e *EthClient_Expecter) SendTransaction(ctx interface{}, tx interface{}) *EthClient_SendTransaction_Call
SendTransaction is a helper method to define mock.On call
- ctx context.Context
- tx *types.Transaction
func (*EthClient_Expecter) SubscribeFilterLogs ¶ added in v0.3.0
func (_e *EthClient_Expecter) SubscribeFilterLogs(ctx interface{}, q interface{}, ch interface{}) *EthClient_SubscribeFilterLogs_Call
SubscribeFilterLogs is a helper method to define mock.On call
- ctx context.Context
- q ethereum.FilterQuery
- ch chan<- types.Log
func (*EthClient_Expecter) SubscribeNewHead ¶ added in v0.3.0
func (_e *EthClient_Expecter) SubscribeNewHead(ctx interface{}, ch interface{}) *EthClient_SubscribeNewHead_Call
SubscribeNewHead is a helper method to define mock.On call
- ctx context.Context
- ch chan<- *types.Header
func (*EthClient_Expecter) SuggestGasPrice ¶ added in v0.3.0
func (_e *EthClient_Expecter) SuggestGasPrice(ctx interface{}) *EthClient_SuggestGasPrice_Call
SuggestGasPrice is a helper method to define mock.On call
- ctx context.Context
func (*EthClient_Expecter) SuggestGasTipCap ¶ added in v0.3.0
func (_e *EthClient_Expecter) SuggestGasTipCap(ctx interface{}) *EthClient_SuggestGasTipCap_Call
SuggestGasTipCap is a helper method to define mock.On call
- ctx context.Context
func (*EthClient_Expecter) TransactionCount ¶ added in v0.3.0
func (_e *EthClient_Expecter) TransactionCount(ctx interface{}, blockHash interface{}) *EthClient_TransactionCount_Call
TransactionCount is a helper method to define mock.On call
- ctx context.Context
- blockHash common.Hash
func (*EthClient_Expecter) TransactionInBlock ¶ added in v0.3.0
func (_e *EthClient_Expecter) TransactionInBlock(ctx interface{}, blockHash interface{}, index interface{}) *EthClient_TransactionInBlock_Call
TransactionInBlock is a helper method to define mock.On call
- ctx context.Context
- blockHash common.Hash
- index uint
type EthClient_FilterLogs_Call ¶ added in v0.3.0
EthClient_FilterLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'FilterLogs'
func (*EthClient_FilterLogs_Call) Return ¶ added in v0.3.0
func (_c *EthClient_FilterLogs_Call) Return(_a0 []types.Log, _a1 error) *EthClient_FilterLogs_Call
func (*EthClient_FilterLogs_Call) Run ¶ added in v0.3.0
func (_c *EthClient_FilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery)) *EthClient_FilterLogs_Call
func (*EthClient_FilterLogs_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_FilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery) ([]types.Log, error)) *EthClient_FilterLogs_Call
type EthClient_HeaderByHash_Call ¶ added in v0.3.0
EthClient_HeaderByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByHash'
func (*EthClient_HeaderByHash_Call) Return ¶ added in v0.3.0
func (_c *EthClient_HeaderByHash_Call) Return(_a0 *types.Header, _a1 error) *EthClient_HeaderByHash_Call
func (*EthClient_HeaderByHash_Call) Run ¶ added in v0.3.0
func (_c *EthClient_HeaderByHash_Call) Run(run func(ctx context.Context, hash common.Hash)) *EthClient_HeaderByHash_Call
func (*EthClient_HeaderByHash_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_HeaderByHash_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.Header, error)) *EthClient_HeaderByHash_Call
type EthClient_HeaderByNumber_Call ¶
EthClient_HeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByNumber'
func (*EthClient_HeaderByNumber_Call) Return ¶
func (_c *EthClient_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *EthClient_HeaderByNumber_Call
func (*EthClient_HeaderByNumber_Call) Run ¶
func (_c *EthClient_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthClient_HeaderByNumber_Call
func (*EthClient_HeaderByNumber_Call) RunAndReturn ¶
func (_c *EthClient_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *EthClient_HeaderByNumber_Call
type EthClient_PendingCodeAt_Call ¶ added in v0.3.0
EthClient_PendingCodeAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingCodeAt'
func (*EthClient_PendingCodeAt_Call) Return ¶ added in v0.3.0
func (_c *EthClient_PendingCodeAt_Call) Return(_a0 []byte, _a1 error) *EthClient_PendingCodeAt_Call
func (*EthClient_PendingCodeAt_Call) Run ¶ added in v0.3.0
func (_c *EthClient_PendingCodeAt_Call) Run(run func(ctx context.Context, account common.Address)) *EthClient_PendingCodeAt_Call
func (*EthClient_PendingCodeAt_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_PendingCodeAt_Call) RunAndReturn(run func(context.Context, common.Address) ([]byte, error)) *EthClient_PendingCodeAt_Call
type EthClient_PendingNonceAt_Call ¶ added in v0.3.0
EthClient_PendingNonceAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingNonceAt'
func (*EthClient_PendingNonceAt_Call) Return ¶ added in v0.3.0
func (_c *EthClient_PendingNonceAt_Call) Return(_a0 uint64, _a1 error) *EthClient_PendingNonceAt_Call
func (*EthClient_PendingNonceAt_Call) Run ¶ added in v0.3.0
func (_c *EthClient_PendingNonceAt_Call) Run(run func(ctx context.Context, account common.Address)) *EthClient_PendingNonceAt_Call
func (*EthClient_PendingNonceAt_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_PendingNonceAt_Call) RunAndReturn(run func(context.Context, common.Address) (uint64, error)) *EthClient_PendingNonceAt_Call
type EthClient_SendTransaction_Call ¶ added in v0.3.0
EthClient_SendTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendTransaction'
func (*EthClient_SendTransaction_Call) Return ¶ added in v0.3.0
func (_c *EthClient_SendTransaction_Call) Return(_a0 error) *EthClient_SendTransaction_Call
func (*EthClient_SendTransaction_Call) Run ¶ added in v0.3.0
func (_c *EthClient_SendTransaction_Call) Run(run func(ctx context.Context, tx *types.Transaction)) *EthClient_SendTransaction_Call
func (*EthClient_SendTransaction_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_SendTransaction_Call) RunAndReturn(run func(context.Context, *types.Transaction) error) *EthClient_SendTransaction_Call
type EthClient_SubscribeFilterLogs_Call ¶ added in v0.3.0
EthClient_SubscribeFilterLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeFilterLogs'
func (*EthClient_SubscribeFilterLogs_Call) Return ¶ added in v0.3.0
func (_c *EthClient_SubscribeFilterLogs_Call) Return(_a0 ethereum.Subscription, _a1 error) *EthClient_SubscribeFilterLogs_Call
func (*EthClient_SubscribeFilterLogs_Call) Run ¶ added in v0.3.0
func (_c *EthClient_SubscribeFilterLogs_Call) Run(run func(ctx context.Context, q ethereum.FilterQuery, ch chan<- types.Log)) *EthClient_SubscribeFilterLogs_Call
func (*EthClient_SubscribeFilterLogs_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_SubscribeFilterLogs_Call) RunAndReturn(run func(context.Context, ethereum.FilterQuery, chan<- types.Log) (ethereum.Subscription, error)) *EthClient_SubscribeFilterLogs_Call
type EthClient_SubscribeNewHead_Call ¶ added in v0.3.0
EthClient_SubscribeNewHead_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SubscribeNewHead'
func (*EthClient_SubscribeNewHead_Call) Return ¶ added in v0.3.0
func (_c *EthClient_SubscribeNewHead_Call) Return(_a0 ethereum.Subscription, _a1 error) *EthClient_SubscribeNewHead_Call
func (*EthClient_SubscribeNewHead_Call) Run ¶ added in v0.3.0
func (_c *EthClient_SubscribeNewHead_Call) Run(run func(ctx context.Context, ch chan<- *types.Header)) *EthClient_SubscribeNewHead_Call
func (*EthClient_SubscribeNewHead_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_SubscribeNewHead_Call) RunAndReturn(run func(context.Context, chan<- *types.Header) (ethereum.Subscription, error)) *EthClient_SubscribeNewHead_Call
type EthClient_SuggestGasPrice_Call ¶ added in v0.3.0
EthClient_SuggestGasPrice_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestGasPrice'
func (*EthClient_SuggestGasPrice_Call) Return ¶ added in v0.3.0
func (_c *EthClient_SuggestGasPrice_Call) Return(_a0 *big.Int, _a1 error) *EthClient_SuggestGasPrice_Call
func (*EthClient_SuggestGasPrice_Call) Run ¶ added in v0.3.0
func (_c *EthClient_SuggestGasPrice_Call) Run(run func(ctx context.Context)) *EthClient_SuggestGasPrice_Call
func (*EthClient_SuggestGasPrice_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_SuggestGasPrice_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *EthClient_SuggestGasPrice_Call
type EthClient_SuggestGasTipCap_Call ¶ added in v0.3.0
EthClient_SuggestGasTipCap_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SuggestGasTipCap'
func (*EthClient_SuggestGasTipCap_Call) Return ¶ added in v0.3.0
func (_c *EthClient_SuggestGasTipCap_Call) Return(_a0 *big.Int, _a1 error) *EthClient_SuggestGasTipCap_Call
func (*EthClient_SuggestGasTipCap_Call) Run ¶ added in v0.3.0
func (_c *EthClient_SuggestGasTipCap_Call) Run(run func(ctx context.Context)) *EthClient_SuggestGasTipCap_Call
func (*EthClient_SuggestGasTipCap_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_SuggestGasTipCap_Call) RunAndReturn(run func(context.Context) (*big.Int, error)) *EthClient_SuggestGasTipCap_Call
type EthClient_TransactionCount_Call ¶ added in v0.3.0
EthClient_TransactionCount_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionCount'
func (*EthClient_TransactionCount_Call) Return ¶ added in v0.3.0
func (_c *EthClient_TransactionCount_Call) Return(_a0 uint, _a1 error) *EthClient_TransactionCount_Call
func (*EthClient_TransactionCount_Call) Run ¶ added in v0.3.0
func (_c *EthClient_TransactionCount_Call) Run(run func(ctx context.Context, blockHash common.Hash)) *EthClient_TransactionCount_Call
func (*EthClient_TransactionCount_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_TransactionCount_Call) RunAndReturn(run func(context.Context, common.Hash) (uint, error)) *EthClient_TransactionCount_Call
type EthClient_TransactionInBlock_Call ¶ added in v0.3.0
EthClient_TransactionInBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'TransactionInBlock'
func (*EthClient_TransactionInBlock_Call) Return ¶ added in v0.3.0
func (_c *EthClient_TransactionInBlock_Call) Return(_a0 *types.Transaction, _a1 error) *EthClient_TransactionInBlock_Call
func (*EthClient_TransactionInBlock_Call) Run ¶ added in v0.3.0
func (_c *EthClient_TransactionInBlock_Call) Run(run func(ctx context.Context, blockHash common.Hash, index uint)) *EthClient_TransactionInBlock_Call
func (*EthClient_TransactionInBlock_Call) RunAndReturn ¶ added in v0.3.0
func (_c *EthClient_TransactionInBlock_Call) RunAndReturn(run func(context.Context, common.Hash, uint) (*types.Transaction, error)) *EthClient_TransactionInBlock_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) 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) 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_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) GetLatestInfoUntilBlock ¶ added in v0.3.0
func (_m *L1InfoTreeSyncer) GetLatestInfoUntilBlock(ctx context.Context, blockNum uint64) (*l1infotreesync.L1InfoTreeLeaf, error)
GetLatestInfoUntilBlock 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
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) GetLatestInfoUntilBlock ¶ added in v0.3.0
func (_e *L1InfoTreeSyncer_Expecter) GetLatestInfoUntilBlock(ctx interface{}, blockNum interface{}) *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call
GetLatestInfoUntilBlock 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
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_GetLatestInfoUntilBlock_Call ¶ added in v0.3.0
L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestInfoUntilBlock'
func (*L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) Return ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) Return(_a0 *l1infotreesync.L1InfoTreeLeaf, _a1 error) *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call
func (*L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) Run ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) Run(run func(ctx context.Context, blockNum uint64)) *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call
func (*L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) RunAndReturn ¶ added in v0.3.0
func (_c *L1InfoTreeSyncer_GetLatestInfoUntilBlock_Call) RunAndReturn(run func(context.Context, uint64) (*l1infotreesync.L1InfoTreeLeaf, error)) *L1InfoTreeSyncer_GetLatestInfoUntilBlock_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 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) BlockFinality ¶
func (_m *L2BridgeSyncer) BlockFinality() etherman.BlockNumberFinality
BlockFinality provides a mock function with no fields
func (*L2BridgeSyncer) EXPECT ¶
func (_m *L2BridgeSyncer) EXPECT() *L2BridgeSyncer_Expecter
func (*L2BridgeSyncer) GetBlockByLER ¶
GetBlockByLER provides a mock function with given fields: ctx, ler
func (*L2BridgeSyncer) GetBridgesPublished ¶
func (_m *L2BridgeSyncer) GetBridgesPublished(ctx context.Context, fromBlock uint64, toBlock uint64) ([]bridgesync.Bridge, error)
GetBridgesPublished 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) 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_BlockFinality_Call ¶
L2BridgeSyncer_BlockFinality_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockFinality'
func (*L2BridgeSyncer_BlockFinality_Call) Return ¶
func (_c *L2BridgeSyncer_BlockFinality_Call) Return(_a0 etherman.BlockNumberFinality) *L2BridgeSyncer_BlockFinality_Call
func (*L2BridgeSyncer_BlockFinality_Call) Run ¶
func (_c *L2BridgeSyncer_BlockFinality_Call) Run(run func()) *L2BridgeSyncer_BlockFinality_Call
func (*L2BridgeSyncer_BlockFinality_Call) RunAndReturn ¶
func (_c *L2BridgeSyncer_BlockFinality_Call) RunAndReturn(run func() etherman.BlockNumberFinality) *L2BridgeSyncer_BlockFinality_Call
type L2BridgeSyncer_Expecter ¶
type L2BridgeSyncer_Expecter struct {
// contains filtered or unexported fields
}
func (*L2BridgeSyncer_Expecter) BlockFinality ¶
func (_e *L2BridgeSyncer_Expecter) BlockFinality() *L2BridgeSyncer_BlockFinality_Call
BlockFinality is a helper method to define mock.On call
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) GetBridgesPublished ¶
func (_e *L2BridgeSyncer_Expecter) GetBridgesPublished(ctx interface{}, fromBlock interface{}, toBlock interface{}) *L2BridgeSyncer_GetBridgesPublished_Call
GetBridgesPublished 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) 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_GetBridgesPublished_Call ¶
L2BridgeSyncer_GetBridgesPublished_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBridgesPublished'
func (*L2BridgeSyncer_GetBridgesPublished_Call) Return ¶
func (_c *L2BridgeSyncer_GetBridgesPublished_Call) Return(_a0 []bridgesync.Bridge, _a1 error) *L2BridgeSyncer_GetBridgesPublished_Call
func (*L2BridgeSyncer_GetBridgesPublished_Call) Run ¶
func (_c *L2BridgeSyncer_GetBridgesPublished_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64)) *L2BridgeSyncer_GetBridgesPublished_Call
func (*L2BridgeSyncer_GetBridgesPublished_Call) RunAndReturn ¶
func (_c *L2BridgeSyncer_GetBridgesPublished_Call) RunAndReturn(run func(context.Context, uint64, uint64) ([]bridgesync.Bridge, error)) *L2BridgeSyncer_GetBridgesPublished_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_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 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
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) 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_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 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
Source Files
¶
- mock_agg_sender_storage.go
- mock_aggchain_proof_client_interface.go
- mock_aggchain_proof_flow.go
- mock_aggchain_proof_generation.go
- mock_aggchain_proof_service_client.go
- mock_aggchain_proof_service_server.go
- mock_aggsender_flow.go
- mock_aggsender_interface.go
- mock_aggsender_storer.go
- mock_block_notifier.go
- mock_chain_ger_reader.go
- mock_epoch_notifier.go
- mock_eth_client.go
- mock_generic_subscriber.go
- mock_l1_info_tree_data_querier.go
- mock_l1_info_tree_syncer.go
- mock_l2_bridge_syncer.go
- mock_logger.go
- mock_unsafe_aggchain_proof_service_server.go