Documentation ¶
Index ¶
- type AsyncL1BlockChecker
- func (_m *AsyncL1BlockChecker) EXPECT() *AsyncL1BlockChecker_Expecter
- func (_m *AsyncL1BlockChecker) GetResult() *syncinterfaces.IterationResult
- func (_m *AsyncL1BlockChecker) Run(ctx context.Context, onFinish func())
- func (_m *AsyncL1BlockChecker) RunSynchronous(ctx context.Context) syncinterfaces.IterationResult
- func (_m *AsyncL1BlockChecker) Stop()
- type AsyncL1BlockChecker_Expecter
- func (_e *AsyncL1BlockChecker_Expecter) GetResult() *AsyncL1BlockChecker_GetResult_Call
- func (_e *AsyncL1BlockChecker_Expecter) Run(ctx interface{}, onFinish interface{}) *AsyncL1BlockChecker_Run_Call
- func (_e *AsyncL1BlockChecker_Expecter) RunSynchronous(ctx interface{}) *AsyncL1BlockChecker_RunSynchronous_Call
- func (_e *AsyncL1BlockChecker_Expecter) Stop() *AsyncL1BlockChecker_Stop_Call
- type AsyncL1BlockChecker_GetResult_Call
- func (_c *AsyncL1BlockChecker_GetResult_Call) Return(_a0 *syncinterfaces.IterationResult) *AsyncL1BlockChecker_GetResult_Call
- func (_c *AsyncL1BlockChecker_GetResult_Call) Run(run func()) *AsyncL1BlockChecker_GetResult_Call
- func (_c *AsyncL1BlockChecker_GetResult_Call) RunAndReturn(run func() *syncinterfaces.IterationResult) *AsyncL1BlockChecker_GetResult_Call
- type AsyncL1BlockChecker_RunSynchronous_Call
- func (_c *AsyncL1BlockChecker_RunSynchronous_Call) Return(_a0 syncinterfaces.IterationResult) *AsyncL1BlockChecker_RunSynchronous_Call
- func (_c *AsyncL1BlockChecker_RunSynchronous_Call) Run(run func(ctx context.Context)) *AsyncL1BlockChecker_RunSynchronous_Call
- func (_c *AsyncL1BlockChecker_RunSynchronous_Call) RunAndReturn(run func(context.Context) syncinterfaces.IterationResult) *AsyncL1BlockChecker_RunSynchronous_Call
- type AsyncL1BlockChecker_Run_Call
- func (_c *AsyncL1BlockChecker_Run_Call) Return() *AsyncL1BlockChecker_Run_Call
- func (_c *AsyncL1BlockChecker_Run_Call) Run(run func(ctx context.Context, onFinish func())) *AsyncL1BlockChecker_Run_Call
- func (_c *AsyncL1BlockChecker_Run_Call) RunAndReturn(run func(context.Context, func())) *AsyncL1BlockChecker_Run_Call
- type AsyncL1BlockChecker_Stop_Call
- type CriticalErrorHandler
- type CriticalErrorHandler_CriticalError_Call
- func (_c *CriticalErrorHandler_CriticalError_Call) Return() *CriticalErrorHandler_CriticalError_Call
- func (_c *CriticalErrorHandler_CriticalError_Call) Run(run func(ctx context.Context, err error)) *CriticalErrorHandler_CriticalError_Call
- func (_c *CriticalErrorHandler_CriticalError_Call) RunAndReturn(run func(context.Context, error)) *CriticalErrorHandler_CriticalError_Call
- type CriticalErrorHandler_Expecter
- type EthTxManager
- type EthTxManager_Expecter
- type EthTxManager_Reorg_Call
- func (_c *EthTxManager_Reorg_Call) Return(_a0 error) *EthTxManager_Reorg_Call
- func (_c *EthTxManager_Reorg_Call) Run(run func(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx)) *EthTxManager_Reorg_Call
- func (_c *EthTxManager_Reorg_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *EthTxManager_Reorg_Call
- type EthermanFullInterface
- func (_m *EthermanFullInterface) EXPECT() *EthermanFullInterface_Expecter
- func (_m *EthermanFullInterface) EthBlockByNumber(ctx context.Context, blockNumber uint64) (*types.Block, error)
- func (_m *EthermanFullInterface) GetFinalizedBlockNumber(ctx context.Context) (uint64, error)
- func (_m *EthermanFullInterface) GetLatestBatchNumber() (uint64, error)
- func (_m *EthermanFullInterface) GetLatestVerifiedBatchNum() (uint64, error)
- func (_m *EthermanFullInterface) GetRollupInfoByBlockRange(ctx context.Context, fromBlock uint64, toBlock *uint64) ([]etherman.Block, map[common.Hash][]etherman.Order, error)
- func (_m *EthermanFullInterface) GetTrustedSequencerURL() (string, error)
- func (_m *EthermanFullInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- func (_m *EthermanFullInterface) VerifyGenBlockNumber(ctx context.Context, genBlockNumber uint64) (bool, error)
- type EthermanFullInterface_EthBlockByNumber_Call
- func (_c *EthermanFullInterface_EthBlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *EthermanFullInterface_EthBlockByNumber_Call
- func (_c *EthermanFullInterface_EthBlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64)) *EthermanFullInterface_EthBlockByNumber_Call
- func (_c *EthermanFullInterface_EthBlockByNumber_Call) RunAndReturn(run func(context.Context, uint64) (*types.Block, error)) *EthermanFullInterface_EthBlockByNumber_Call
- type EthermanFullInterface_Expecter
- func (_e *EthermanFullInterface_Expecter) EthBlockByNumber(ctx interface{}, blockNumber interface{}) *EthermanFullInterface_EthBlockByNumber_Call
- func (_e *EthermanFullInterface_Expecter) GetFinalizedBlockNumber(ctx interface{}) *EthermanFullInterface_GetFinalizedBlockNumber_Call
- func (_e *EthermanFullInterface_Expecter) GetLatestBatchNumber() *EthermanFullInterface_GetLatestBatchNumber_Call
- func (_e *EthermanFullInterface_Expecter) GetLatestVerifiedBatchNum() *EthermanFullInterface_GetLatestVerifiedBatchNum_Call
- func (_e *EthermanFullInterface_Expecter) GetRollupInfoByBlockRange(ctx interface{}, fromBlock interface{}, toBlock interface{}) *EthermanFullInterface_GetRollupInfoByBlockRange_Call
- func (_e *EthermanFullInterface_Expecter) GetTrustedSequencerURL() *EthermanFullInterface_GetTrustedSequencerURL_Call
- func (_e *EthermanFullInterface_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *EthermanFullInterface_HeaderByNumber_Call
- func (_e *EthermanFullInterface_Expecter) VerifyGenBlockNumber(ctx interface{}, genBlockNumber interface{}) *EthermanFullInterface_VerifyGenBlockNumber_Call
- type EthermanFullInterface_GetFinalizedBlockNumber_Call
- func (_c *EthermanFullInterface_GetFinalizedBlockNumber_Call) Return(_a0 uint64, _a1 error) *EthermanFullInterface_GetFinalizedBlockNumber_Call
- func (_c *EthermanFullInterface_GetFinalizedBlockNumber_Call) Run(run func(ctx context.Context)) *EthermanFullInterface_GetFinalizedBlockNumber_Call
- func (_c *EthermanFullInterface_GetFinalizedBlockNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *EthermanFullInterface_GetFinalizedBlockNumber_Call
- type EthermanFullInterface_GetLatestBatchNumber_Call
- func (_c *EthermanFullInterface_GetLatestBatchNumber_Call) Return(_a0 uint64, _a1 error) *EthermanFullInterface_GetLatestBatchNumber_Call
- func (_c *EthermanFullInterface_GetLatestBatchNumber_Call) Run(run func()) *EthermanFullInterface_GetLatestBatchNumber_Call
- func (_c *EthermanFullInterface_GetLatestBatchNumber_Call) RunAndReturn(run func() (uint64, error)) *EthermanFullInterface_GetLatestBatchNumber_Call
- type EthermanFullInterface_GetLatestVerifiedBatchNum_Call
- func (_c *EthermanFullInterface_GetLatestVerifiedBatchNum_Call) Return(_a0 uint64, _a1 error) *EthermanFullInterface_GetLatestVerifiedBatchNum_Call
- func (_c *EthermanFullInterface_GetLatestVerifiedBatchNum_Call) Run(run func()) *EthermanFullInterface_GetLatestVerifiedBatchNum_Call
- func (_c *EthermanFullInterface_GetLatestVerifiedBatchNum_Call) RunAndReturn(run func() (uint64, error)) *EthermanFullInterface_GetLatestVerifiedBatchNum_Call
- type EthermanFullInterface_GetRollupInfoByBlockRange_Call
- func (_c *EthermanFullInterface_GetRollupInfoByBlockRange_Call) Return(_a0 []etherman.Block, _a1 map[common.Hash][]etherman.Order, _a2 error) *EthermanFullInterface_GetRollupInfoByBlockRange_Call
- func (_c *EthermanFullInterface_GetRollupInfoByBlockRange_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock *uint64)) *EthermanFullInterface_GetRollupInfoByBlockRange_Call
- func (_c *EthermanFullInterface_GetRollupInfoByBlockRange_Call) RunAndReturn(...) *EthermanFullInterface_GetRollupInfoByBlockRange_Call
- type EthermanFullInterface_GetTrustedSequencerURL_Call
- func (_c *EthermanFullInterface_GetTrustedSequencerURL_Call) Return(_a0 string, _a1 error) *EthermanFullInterface_GetTrustedSequencerURL_Call
- func (_c *EthermanFullInterface_GetTrustedSequencerURL_Call) Run(run func()) *EthermanFullInterface_GetTrustedSequencerURL_Call
- func (_c *EthermanFullInterface_GetTrustedSequencerURL_Call) RunAndReturn(run func() (string, error)) *EthermanFullInterface_GetTrustedSequencerURL_Call
- type EthermanFullInterface_HeaderByNumber_Call
- func (_c *EthermanFullInterface_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *EthermanFullInterface_HeaderByNumber_Call
- func (_c *EthermanFullInterface_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthermanFullInterface_HeaderByNumber_Call
- func (_c *EthermanFullInterface_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *EthermanFullInterface_HeaderByNumber_Call
- type EthermanFullInterface_VerifyGenBlockNumber_Call
- func (_c *EthermanFullInterface_VerifyGenBlockNumber_Call) Return(_a0 bool, _a1 error) *EthermanFullInterface_VerifyGenBlockNumber_Call
- func (_c *EthermanFullInterface_VerifyGenBlockNumber_Call) Run(run func(ctx context.Context, genBlockNumber uint64)) *EthermanFullInterface_VerifyGenBlockNumber_Call
- func (_c *EthermanFullInterface_VerifyGenBlockNumber_Call) RunAndReturn(run func(context.Context, uint64) (bool, error)) *EthermanFullInterface_VerifyGenBlockNumber_Call
- type EthermanGetLatestBatchNumber
- type EthermanGetLatestBatchNumber_Expecter
- type EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call
- func (_c *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) Return(_a0 uint64, _a1 error) *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call
- func (_c *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) Run(run func()) *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call
- func (_c *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) RunAndReturn(run func() (uint64, error)) *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call
- type EventLogInterface
- type EventLogInterface_Expecter
- type EventLogInterface_LogEvent_Call
- func (_c *EventLogInterface_LogEvent_Call) Return(_a0 error) *EventLogInterface_LogEvent_Call
- func (_c *EventLogInterface_LogEvent_Call) Run(run func(ctx context.Context, _a1 *event.Event)) *EventLogInterface_LogEvent_Call
- func (_c *EventLogInterface_LogEvent_Call) RunAndReturn(run func(context.Context, *event.Event) error) *EventLogInterface_LogEvent_Call
- type L1BlockCheckerIntegrator
- func (_m *L1BlockCheckerIntegrator) CheckReorgWrapper(ctx context.Context, reorgFirstBlockOk *state.Block, ...) (*state.Block, error)
- func (_m *L1BlockCheckerIntegrator) EXPECT() *L1BlockCheckerIntegrator_Expecter
- func (_m *L1BlockCheckerIntegrator) OnResetState(ctx context.Context)
- func (_m *L1BlockCheckerIntegrator) OnStart(ctx context.Context) error
- type L1BlockCheckerIntegrator_CheckReorgWrapper_Call
- func (_c *L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Return(_a0 *state.Block, _a1 error) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call
- func (_c *L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Run(run func(ctx context.Context, reorgFirstBlockOk *state.Block, ...)) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call
- func (_c *L1BlockCheckerIntegrator_CheckReorgWrapper_Call) RunAndReturn(run func(context.Context, *state.Block, error) (*state.Block, error)) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call
- type L1BlockCheckerIntegrator_Expecter
- func (_e *L1BlockCheckerIntegrator_Expecter) CheckReorgWrapper(ctx interface{}, reorgFirstBlockOk interface{}, ...) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call
- func (_e *L1BlockCheckerIntegrator_Expecter) OnResetState(ctx interface{}) *L1BlockCheckerIntegrator_OnResetState_Call
- func (_e *L1BlockCheckerIntegrator_Expecter) OnStart(ctx interface{}) *L1BlockCheckerIntegrator_OnStart_Call
- type L1BlockCheckerIntegrator_OnResetState_Call
- func (_c *L1BlockCheckerIntegrator_OnResetState_Call) Return() *L1BlockCheckerIntegrator_OnResetState_Call
- func (_c *L1BlockCheckerIntegrator_OnResetState_Call) Run(run func(ctx context.Context)) *L1BlockCheckerIntegrator_OnResetState_Call
- func (_c *L1BlockCheckerIntegrator_OnResetState_Call) RunAndReturn(run func(context.Context)) *L1BlockCheckerIntegrator_OnResetState_Call
- type L1BlockCheckerIntegrator_OnStart_Call
- func (_c *L1BlockCheckerIntegrator_OnStart_Call) Return(_a0 error) *L1BlockCheckerIntegrator_OnStart_Call
- func (_c *L1BlockCheckerIntegrator_OnStart_Call) Run(run func(ctx context.Context)) *L1BlockCheckerIntegrator_OnStart_Call
- func (_c *L1BlockCheckerIntegrator_OnStart_Call) RunAndReturn(run func(context.Context) error) *L1BlockCheckerIntegrator_OnStart_Call
- type PoolInterface
- type PoolInterface_DeleteReorgedTransactions_Call
- func (_c *PoolInterface_DeleteReorgedTransactions_Call) Return(_a0 error) *PoolInterface_DeleteReorgedTransactions_Call
- func (_c *PoolInterface_DeleteReorgedTransactions_Call) Run(run func(ctx context.Context, txs []*types.Transaction)) *PoolInterface_DeleteReorgedTransactions_Call
- func (_c *PoolInterface_DeleteReorgedTransactions_Call) RunAndReturn(run func(context.Context, []*types.Transaction) error) *PoolInterface_DeleteReorgedTransactions_Call
- type PoolInterface_Expecter
- type PoolInterface_StoreTx_Call
- func (_c *PoolInterface_StoreTx_Call) Return(_a0 error) *PoolInterface_StoreTx_Call
- func (_c *PoolInterface_StoreTx_Call) Run(run func(ctx context.Context, tx types.Transaction, ip string, isWIP bool)) *PoolInterface_StoreTx_Call
- func (_c *PoolInterface_StoreTx_Call) RunAndReturn(run func(context.Context, types.Transaction, string, bool) error) *PoolInterface_StoreTx_Call
- type StateBeginTransactionInterface
- type StateBeginTransactionInterface_BeginStateTransaction_Call
- func (_c *StateBeginTransactionInterface_BeginStateTransaction_Call) Return(_a0 pgx.Tx, _a1 error) *StateBeginTransactionInterface_BeginStateTransaction_Call
- func (_c *StateBeginTransactionInterface_BeginStateTransaction_Call) Run(run func(ctx context.Context)) *StateBeginTransactionInterface_BeginStateTransaction_Call
- func (_c *StateBeginTransactionInterface_BeginStateTransaction_Call) RunAndReturn(run func(context.Context) (pgx.Tx, error)) *StateBeginTransactionInterface_BeginStateTransaction_Call
- type StateBeginTransactionInterface_Expecter
- type StateFullInterface
- func (_m *StateFullInterface) AddAccumulatedInputHash(ctx context.Context, batchNum uint64, accInputHash common.Hash, dbTx pgx.Tx) error
- func (_m *StateFullInterface) AddBlock(ctx context.Context, block *state.Block, dbTx pgx.Tx) error
- func (_m *StateFullInterface) AddForcedBatch(ctx context.Context, forcedBatch *state.ForcedBatch, dbTx pgx.Tx) error
- func (_m *StateFullInterface) AddForkIDInterval(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx) error
- func (_m *StateFullInterface) AddGlobalExitRoot(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx) error
- func (_m *StateFullInterface) AddL1InfoTreeLeaf(ctx context.Context, L1InfoTreeLeaf *state.L1InfoTreeLeaf, dbTx pgx.Tx) (*state.L1InfoTreeExitRootStorageEntry, error)
- func (_m *StateFullInterface) AddSequence(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx) error
- func (_m *StateFullInterface) AddTrustedReorg(ctx context.Context, trustedReorg *state.TrustedReorg, dbTx pgx.Tx) error
- func (_m *StateFullInterface) AddVerifiedBatch(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx) error
- func (_m *StateFullInterface) AddVirtualBatch(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx) error
- func (_m *StateFullInterface) BeginStateTransaction(ctx context.Context) (pgx.Tx, error)
- func (_m *StateFullInterface) CloseBatch(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
- func (_m *StateFullInterface) EXPECT() *StateFullInterface_Expecter
- func (_m *StateFullInterface) ExecuteBatch(ctx context.Context, batch state.Batch, updateMerkleTree bool, dbTx pgx.Tx) (*executor.ProcessBatchResponse, error)
- func (_m *StateFullInterface) ExecuteBatchV2(ctx context.Context, batch state.Batch, L1InfoTreeRoot common.Hash, ...) (*executor.ProcessBatchResponseV2, error)
- func (_m *StateFullInterface) GetBatchByNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
- func (_m *StateFullInterface) GetBlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.Block, error)
- func (_m *StateFullInterface) GetExitRootByGlobalExitRoot(ctx context.Context, ger common.Hash, dbTx pgx.Tx) (*state.GlobalExitRoot, error)
- func (_m *StateFullInterface) GetFirstUncheckedBlock(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx) (*state.Block, error)
- func (_m *StateFullInterface) GetForkIDByBatchNumber(batchNumber uint64) uint64
- func (_m *StateFullInterface) GetForkIDByBlockNumber(blockNumber uint64) uint64
- func (_m *StateFullInterface) GetForkIDInMemory(forkId uint64) *state.ForkIDInterval
- func (_m *StateFullInterface) GetForkIDs(ctx context.Context, dbTx pgx.Tx) ([]state.ForkIDInterval, error)
- func (_m *StateFullInterface) GetL1InfoRootLeafByL1InfoRoot(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)
- func (_m *StateFullInterface) GetL1InfoTreeDataFromBatchL2Data(ctx context.Context, batchL2Data []byte, dbTx pgx.Tx) (map[uint32]state.L1DataV2, common.Hash, common.Hash, error)
- func (_m *StateFullInterface) GetL2BlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)
- func (_m *StateFullInterface) GetLastBatchNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StateFullInterface) GetLastBlock(ctx context.Context, dbTx pgx.Tx) (*state.Block, error)
- func (_m *StateFullInterface) GetLastL2BlockByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)
- func (_m *StateFullInterface) GetLastL2BlockNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StateFullInterface) GetLastVerifiedBatch(ctx context.Context, dbTx pgx.Tx) (*state.VerifiedBatch, error)
- func (_m *StateFullInterface) GetLastVirtualBatchNum(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StateFullInterface) GetNextForcedBatches(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx) ([]state.ForcedBatch, error)
- func (_m *StateFullInterface) GetPreviousBlock(ctx context.Context, offset uint64, dbTx pgx.Tx) (*state.Block, error)
- func (_m *StateFullInterface) GetPreviousBlockToBlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.Block, error)
- func (_m *StateFullInterface) GetReorgedTransactions(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)
- func (_m *StateFullInterface) GetStateRootByBatchNumber(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (common.Hash, error)
- func (_m *StateFullInterface) GetStoredFlushID(ctx context.Context) (uint64, string, error)
- func (_m *StateFullInterface) GetUncheckedBlocks(ctx context.Context, fromBlockNumber uint64, toBlockNumber uint64, dbTx pgx.Tx) ([]*state.Block, error)
- func (_m *StateFullInterface) OpenBatch(ctx context.Context, processingContext state.ProcessingContext, dbTx pgx.Tx) error
- func (_m *StateFullInterface) ProcessAndStoreClosedBatch(ctx context.Context, processingCtx state.ProcessingContext, encodedTxs []byte, ...) (common.Hash, uint64, string, error)
- func (_m *StateFullInterface) ProcessAndStoreClosedBatchV2(ctx context.Context, processingCtx state.ProcessingContextV2, dbTx pgx.Tx, ...) (common.Hash, uint64, string, error)
- func (_m *StateFullInterface) ProcessBatch(ctx context.Context, request state.ProcessRequest, updateMerkleTree bool) (*state.ProcessBatchResponse, error)
- func (_m *StateFullInterface) ProcessBatchV2(ctx context.Context, request state.ProcessRequest, updateMerkleTree bool) (*state.ProcessBatchResponse, string, error)
- func (_m *StateFullInterface) Reset(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) error
- func (_m *StateFullInterface) ResetForkID(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StateFullInterface) ResetTrustedState(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StateFullInterface) SetGenesis(ctx context.Context, block state.Block, genesis state.Genesis, ...) (common.Hash, error)
- func (_m *StateFullInterface) SetInitSyncBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StateFullInterface) SetLastBatchInfoSeenOnEthereum(ctx context.Context, lastBatchNumberSeen uint64, ...) error
- func (_m *StateFullInterface) StoreL2Block(ctx context.Context, batchNumber uint64, l2Block *state.ProcessBlockResponse, ...) (common.Hash, error)
- func (_m *StateFullInterface) StoreTransaction(ctx context.Context, batchNumber uint64, ...) (*state.L2Header, error)
- func (_m *StateFullInterface) UpdateBatchL2Data(ctx context.Context, batchNumber uint64, batchL2Data []byte, dbTx pgx.Tx) error
- func (_m *StateFullInterface) UpdateBatchTimestamp(ctx context.Context, batchNumber uint64, timestamp time.Time, dbTx pgx.Tx) error
- func (_m *StateFullInterface) UpdateCheckedBlockByNumber(ctx context.Context, blockNumber uint64, newCheckedStatus bool, dbTx pgx.Tx) error
- func (_m *StateFullInterface) UpdateForkIDBlockNumber(ctx context.Context, forkdID uint64, newBlockNumber uint64, ...) error
- func (_m *StateFullInterface) UpdateWIPBatch(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
- type StateFullInterface_AddAccumulatedInputHash_Call
- func (_c *StateFullInterface_AddAccumulatedInputHash_Call) Return(_a0 error) *StateFullInterface_AddAccumulatedInputHash_Call
- func (_c *StateFullInterface_AddAccumulatedInputHash_Call) Run(...) *StateFullInterface_AddAccumulatedInputHash_Call
- func (_c *StateFullInterface_AddAccumulatedInputHash_Call) RunAndReturn(run func(context.Context, uint64, common.Hash, pgx.Tx) error) *StateFullInterface_AddAccumulatedInputHash_Call
- type StateFullInterface_AddBlock_Call
- func (_c *StateFullInterface_AddBlock_Call) Return(_a0 error) *StateFullInterface_AddBlock_Call
- func (_c *StateFullInterface_AddBlock_Call) Run(run func(ctx context.Context, block *state.Block, dbTx pgx.Tx)) *StateFullInterface_AddBlock_Call
- func (_c *StateFullInterface_AddBlock_Call) RunAndReturn(run func(context.Context, *state.Block, pgx.Tx) error) *StateFullInterface_AddBlock_Call
- type StateFullInterface_AddForcedBatch_Call
- func (_c *StateFullInterface_AddForcedBatch_Call) Return(_a0 error) *StateFullInterface_AddForcedBatch_Call
- func (_c *StateFullInterface_AddForcedBatch_Call) Run(run func(ctx context.Context, forcedBatch *state.ForcedBatch, dbTx pgx.Tx)) *StateFullInterface_AddForcedBatch_Call
- func (_c *StateFullInterface_AddForcedBatch_Call) RunAndReturn(run func(context.Context, *state.ForcedBatch, pgx.Tx) error) *StateFullInterface_AddForcedBatch_Call
- type StateFullInterface_AddForkIDInterval_Call
- func (_c *StateFullInterface_AddForkIDInterval_Call) Return(_a0 error) *StateFullInterface_AddForkIDInterval_Call
- func (_c *StateFullInterface_AddForkIDInterval_Call) Run(run func(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx)) *StateFullInterface_AddForkIDInterval_Call
- func (_c *StateFullInterface_AddForkIDInterval_Call) RunAndReturn(run func(context.Context, state.ForkIDInterval, pgx.Tx) error) *StateFullInterface_AddForkIDInterval_Call
- type StateFullInterface_AddGlobalExitRoot_Call
- func (_c *StateFullInterface_AddGlobalExitRoot_Call) Return(_a0 error) *StateFullInterface_AddGlobalExitRoot_Call
- func (_c *StateFullInterface_AddGlobalExitRoot_Call) Run(run func(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx)) *StateFullInterface_AddGlobalExitRoot_Call
- func (_c *StateFullInterface_AddGlobalExitRoot_Call) RunAndReturn(run func(context.Context, *state.GlobalExitRoot, pgx.Tx) error) *StateFullInterface_AddGlobalExitRoot_Call
- type StateFullInterface_AddL1InfoTreeLeaf_Call
- func (_c *StateFullInterface_AddL1InfoTreeLeaf_Call) Return(_a0 *state.L1InfoTreeExitRootStorageEntry, _a1 error) *StateFullInterface_AddL1InfoTreeLeaf_Call
- func (_c *StateFullInterface_AddL1InfoTreeLeaf_Call) Run(...) *StateFullInterface_AddL1InfoTreeLeaf_Call
- func (_c *StateFullInterface_AddL1InfoTreeLeaf_Call) RunAndReturn(...) *StateFullInterface_AddL1InfoTreeLeaf_Call
- type StateFullInterface_AddSequence_Call
- func (_c *StateFullInterface_AddSequence_Call) Return(_a0 error) *StateFullInterface_AddSequence_Call
- func (_c *StateFullInterface_AddSequence_Call) Run(run func(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx)) *StateFullInterface_AddSequence_Call
- func (_c *StateFullInterface_AddSequence_Call) RunAndReturn(run func(context.Context, state.Sequence, pgx.Tx) error) *StateFullInterface_AddSequence_Call
- type StateFullInterface_AddTrustedReorg_Call
- func (_c *StateFullInterface_AddTrustedReorg_Call) Return(_a0 error) *StateFullInterface_AddTrustedReorg_Call
- func (_c *StateFullInterface_AddTrustedReorg_Call) Run(run func(ctx context.Context, trustedReorg *state.TrustedReorg, dbTx pgx.Tx)) *StateFullInterface_AddTrustedReorg_Call
- func (_c *StateFullInterface_AddTrustedReorg_Call) RunAndReturn(run func(context.Context, *state.TrustedReorg, pgx.Tx) error) *StateFullInterface_AddTrustedReorg_Call
- type StateFullInterface_AddVerifiedBatch_Call
- func (_c *StateFullInterface_AddVerifiedBatch_Call) Return(_a0 error) *StateFullInterface_AddVerifiedBatch_Call
- func (_c *StateFullInterface_AddVerifiedBatch_Call) Run(run func(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx)) *StateFullInterface_AddVerifiedBatch_Call
- func (_c *StateFullInterface_AddVerifiedBatch_Call) RunAndReturn(run func(context.Context, *state.VerifiedBatch, pgx.Tx) error) *StateFullInterface_AddVerifiedBatch_Call
- type StateFullInterface_AddVirtualBatch_Call
- func (_c *StateFullInterface_AddVirtualBatch_Call) Return(_a0 error) *StateFullInterface_AddVirtualBatch_Call
- func (_c *StateFullInterface_AddVirtualBatch_Call) Run(run func(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx)) *StateFullInterface_AddVirtualBatch_Call
- func (_c *StateFullInterface_AddVirtualBatch_Call) RunAndReturn(run func(context.Context, *state.VirtualBatch, pgx.Tx) error) *StateFullInterface_AddVirtualBatch_Call
- type StateFullInterface_BeginStateTransaction_Call
- func (_c *StateFullInterface_BeginStateTransaction_Call) Return(_a0 pgx.Tx, _a1 error) *StateFullInterface_BeginStateTransaction_Call
- func (_c *StateFullInterface_BeginStateTransaction_Call) Run(run func(ctx context.Context)) *StateFullInterface_BeginStateTransaction_Call
- func (_c *StateFullInterface_BeginStateTransaction_Call) RunAndReturn(run func(context.Context) (pgx.Tx, error)) *StateFullInterface_BeginStateTransaction_Call
- type StateFullInterface_CloseBatch_Call
- func (_c *StateFullInterface_CloseBatch_Call) Return(_a0 error) *StateFullInterface_CloseBatch_Call
- func (_c *StateFullInterface_CloseBatch_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StateFullInterface_CloseBatch_Call
- func (_c *StateFullInterface_CloseBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StateFullInterface_CloseBatch_Call
- type StateFullInterface_ExecuteBatchV2_Call
- func (_c *StateFullInterface_ExecuteBatchV2_Call) Return(_a0 *executor.ProcessBatchResponseV2, _a1 error) *StateFullInterface_ExecuteBatchV2_Call
- func (_c *StateFullInterface_ExecuteBatchV2_Call) Run(...) *StateFullInterface_ExecuteBatchV2_Call
- func (_c *StateFullInterface_ExecuteBatchV2_Call) RunAndReturn(...) *StateFullInterface_ExecuteBatchV2_Call
- type StateFullInterface_ExecuteBatch_Call
- func (_c *StateFullInterface_ExecuteBatch_Call) Return(_a0 *executor.ProcessBatchResponse, _a1 error) *StateFullInterface_ExecuteBatch_Call
- func (_c *StateFullInterface_ExecuteBatch_Call) Run(...) *StateFullInterface_ExecuteBatch_Call
- func (_c *StateFullInterface_ExecuteBatch_Call) RunAndReturn(...) *StateFullInterface_ExecuteBatch_Call
- type StateFullInterface_Expecter
- func (_e *StateFullInterface_Expecter) AddAccumulatedInputHash(ctx interface{}, batchNum interface{}, accInputHash interface{}, ...) *StateFullInterface_AddAccumulatedInputHash_Call
- func (_e *StateFullInterface_Expecter) AddBlock(ctx interface{}, block interface{}, dbTx interface{}) *StateFullInterface_AddBlock_Call
- func (_e *StateFullInterface_Expecter) AddForcedBatch(ctx interface{}, forcedBatch interface{}, dbTx interface{}) *StateFullInterface_AddForcedBatch_Call
- func (_e *StateFullInterface_Expecter) AddForkIDInterval(ctx interface{}, newForkID interface{}, dbTx interface{}) *StateFullInterface_AddForkIDInterval_Call
- func (_e *StateFullInterface_Expecter) AddGlobalExitRoot(ctx interface{}, exitRoot interface{}, dbTx interface{}) *StateFullInterface_AddGlobalExitRoot_Call
- func (_e *StateFullInterface_Expecter) AddL1InfoTreeLeaf(ctx interface{}, L1InfoTreeLeaf interface{}, dbTx interface{}) *StateFullInterface_AddL1InfoTreeLeaf_Call
- func (_e *StateFullInterface_Expecter) AddSequence(ctx interface{}, sequence interface{}, dbTx interface{}) *StateFullInterface_AddSequence_Call
- func (_e *StateFullInterface_Expecter) AddTrustedReorg(ctx interface{}, trustedReorg interface{}, dbTx interface{}) *StateFullInterface_AddTrustedReorg_Call
- func (_e *StateFullInterface_Expecter) AddVerifiedBatch(ctx interface{}, verifiedBatch interface{}, dbTx interface{}) *StateFullInterface_AddVerifiedBatch_Call
- func (_e *StateFullInterface_Expecter) AddVirtualBatch(ctx interface{}, virtualBatch interface{}, dbTx interface{}) *StateFullInterface_AddVirtualBatch_Call
- func (_e *StateFullInterface_Expecter) BeginStateTransaction(ctx interface{}) *StateFullInterface_BeginStateTransaction_Call
- func (_e *StateFullInterface_Expecter) CloseBatch(ctx interface{}, receipt interface{}, dbTx interface{}) *StateFullInterface_CloseBatch_Call
- func (_e *StateFullInterface_Expecter) ExecuteBatch(ctx interface{}, batch interface{}, updateMerkleTree interface{}, ...) *StateFullInterface_ExecuteBatch_Call
- func (_e *StateFullInterface_Expecter) ExecuteBatchV2(ctx interface{}, batch interface{}, L1InfoTreeRoot interface{}, ...) *StateFullInterface_ExecuteBatchV2_Call
- func (_e *StateFullInterface_Expecter) GetBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetBatchByNumber_Call
- func (_e *StateFullInterface_Expecter) GetBlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetBlockByNumber_Call
- func (_e *StateFullInterface_Expecter) GetExitRootByGlobalExitRoot(ctx interface{}, ger interface{}, dbTx interface{}) *StateFullInterface_GetExitRootByGlobalExitRoot_Call
- func (_e *StateFullInterface_Expecter) GetFirstUncheckedBlock(ctx interface{}, fromBlockNumber interface{}, dbTx interface{}) *StateFullInterface_GetFirstUncheckedBlock_Call
- func (_e *StateFullInterface_Expecter) GetForkIDByBatchNumber(batchNumber interface{}) *StateFullInterface_GetForkIDByBatchNumber_Call
- func (_e *StateFullInterface_Expecter) GetForkIDByBlockNumber(blockNumber interface{}) *StateFullInterface_GetForkIDByBlockNumber_Call
- func (_e *StateFullInterface_Expecter) GetForkIDInMemory(forkId interface{}) *StateFullInterface_GetForkIDInMemory_Call
- func (_e *StateFullInterface_Expecter) GetForkIDs(ctx interface{}, dbTx interface{}) *StateFullInterface_GetForkIDs_Call
- func (_e *StateFullInterface_Expecter) GetL1InfoRootLeafByL1InfoRoot(ctx interface{}, l1InfoRoot interface{}, dbTx interface{}) *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call
- func (_e *StateFullInterface_Expecter) GetL1InfoTreeDataFromBatchL2Data(ctx interface{}, batchL2Data interface{}, dbTx interface{}) *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call
- func (_e *StateFullInterface_Expecter) GetL2BlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetL2BlockByNumber_Call
- func (_e *StateFullInterface_Expecter) GetLastBatchNumber(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastBatchNumber_Call
- func (_e *StateFullInterface_Expecter) GetLastBlock(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastBlock_Call
- func (_e *StateFullInterface_Expecter) GetLastL2BlockByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetLastL2BlockByBatchNumber_Call
- func (_e *StateFullInterface_Expecter) GetLastL2BlockNumber(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastL2BlockNumber_Call
- func (_e *StateFullInterface_Expecter) GetLastVerifiedBatch(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastVerifiedBatch_Call
- func (_e *StateFullInterface_Expecter) GetLastVirtualBatchNum(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastVirtualBatchNum_Call
- func (_e *StateFullInterface_Expecter) GetNextForcedBatches(ctx interface{}, nextForcedBatches interface{}, dbTx interface{}) *StateFullInterface_GetNextForcedBatches_Call
- func (_e *StateFullInterface_Expecter) GetPreviousBlock(ctx interface{}, offset interface{}, dbTx interface{}) *StateFullInterface_GetPreviousBlock_Call
- func (_e *StateFullInterface_Expecter) GetPreviousBlockToBlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetPreviousBlockToBlockNumber_Call
- func (_e *StateFullInterface_Expecter) GetReorgedTransactions(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetReorgedTransactions_Call
- func (_e *StateFullInterface_Expecter) GetStateRootByBatchNumber(ctx interface{}, batchNum interface{}, dbTx interface{}) *StateFullInterface_GetStateRootByBatchNumber_Call
- func (_e *StateFullInterface_Expecter) GetStoredFlushID(ctx interface{}) *StateFullInterface_GetStoredFlushID_Call
- func (_e *StateFullInterface_Expecter) GetUncheckedBlocks(ctx interface{}, fromBlockNumber interface{}, toBlockNumber interface{}, ...) *StateFullInterface_GetUncheckedBlocks_Call
- func (_e *StateFullInterface_Expecter) OpenBatch(ctx interface{}, processingContext interface{}, dbTx interface{}) *StateFullInterface_OpenBatch_Call
- func (_e *StateFullInterface_Expecter) ProcessAndStoreClosedBatch(ctx interface{}, processingCtx interface{}, encodedTxs interface{}, ...) *StateFullInterface_ProcessAndStoreClosedBatch_Call
- func (_e *StateFullInterface_Expecter) ProcessAndStoreClosedBatchV2(ctx interface{}, processingCtx interface{}, dbTx interface{}, ...) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call
- func (_e *StateFullInterface_Expecter) ProcessBatch(ctx interface{}, request interface{}, updateMerkleTree interface{}) *StateFullInterface_ProcessBatch_Call
- func (_e *StateFullInterface_Expecter) ProcessBatchV2(ctx interface{}, request interface{}, updateMerkleTree interface{}) *StateFullInterface_ProcessBatchV2_Call
- func (_e *StateFullInterface_Expecter) Reset(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_Reset_Call
- func (_e *StateFullInterface_Expecter) ResetForkID(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_ResetForkID_Call
- func (_e *StateFullInterface_Expecter) ResetTrustedState(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_ResetTrustedState_Call
- func (_e *StateFullInterface_Expecter) SetGenesis(ctx interface{}, block interface{}, genesis interface{}, m interface{}, ...) *StateFullInterface_SetGenesis_Call
- func (_e *StateFullInterface_Expecter) SetInitSyncBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_SetInitSyncBatch_Call
- func (_e *StateFullInterface_Expecter) SetLastBatchInfoSeenOnEthereum(ctx interface{}, lastBatchNumberSeen interface{}, ...) *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call
- func (_e *StateFullInterface_Expecter) StoreL2Block(ctx interface{}, batchNumber interface{}, l2Block interface{}, ...) *StateFullInterface_StoreL2Block_Call
- func (_e *StateFullInterface_Expecter) StoreTransaction(ctx interface{}, batchNumber interface{}, processedTx interface{}, ...) *StateFullInterface_StoreTransaction_Call
- func (_e *StateFullInterface_Expecter) UpdateBatchL2Data(ctx interface{}, batchNumber interface{}, batchL2Data interface{}, ...) *StateFullInterface_UpdateBatchL2Data_Call
- func (_e *StateFullInterface_Expecter) UpdateBatchTimestamp(ctx interface{}, batchNumber interface{}, timestamp interface{}, ...) *StateFullInterface_UpdateBatchTimestamp_Call
- func (_e *StateFullInterface_Expecter) UpdateCheckedBlockByNumber(ctx interface{}, blockNumber interface{}, newCheckedStatus interface{}, ...) *StateFullInterface_UpdateCheckedBlockByNumber_Call
- func (_e *StateFullInterface_Expecter) UpdateForkIDBlockNumber(ctx interface{}, forkdID interface{}, newBlockNumber interface{}, ...) *StateFullInterface_UpdateForkIDBlockNumber_Call
- func (_e *StateFullInterface_Expecter) UpdateWIPBatch(ctx interface{}, receipt interface{}, dbTx interface{}) *StateFullInterface_UpdateWIPBatch_Call
- type StateFullInterface_GetBatchByNumber_Call
- func (_c *StateFullInterface_GetBatchByNumber_Call) Return(_a0 *state.Batch, _a1 error) *StateFullInterface_GetBatchByNumber_Call
- func (_c *StateFullInterface_GetBatchByNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetBatchByNumber_Call
- func (_c *StateFullInterface_GetBatchByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StateFullInterface_GetBatchByNumber_Call
- type StateFullInterface_GetBlockByNumber_Call
- func (_c *StateFullInterface_GetBlockByNumber_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetBlockByNumber_Call
- func (_c *StateFullInterface_GetBlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetBlockByNumber_Call
- func (_c *StateFullInterface_GetBlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetBlockByNumber_Call
- type StateFullInterface_GetExitRootByGlobalExitRoot_Call
- func (_c *StateFullInterface_GetExitRootByGlobalExitRoot_Call) Return(_a0 *state.GlobalExitRoot, _a1 error) *StateFullInterface_GetExitRootByGlobalExitRoot_Call
- func (_c *StateFullInterface_GetExitRootByGlobalExitRoot_Call) Run(run func(ctx context.Context, ger common.Hash, dbTx pgx.Tx)) *StateFullInterface_GetExitRootByGlobalExitRoot_Call
- func (_c *StateFullInterface_GetExitRootByGlobalExitRoot_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*state.GlobalExitRoot, error)) *StateFullInterface_GetExitRootByGlobalExitRoot_Call
- type StateFullInterface_GetFirstUncheckedBlock_Call
- func (_c *StateFullInterface_GetFirstUncheckedBlock_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetFirstUncheckedBlock_Call
- func (_c *StateFullInterface_GetFirstUncheckedBlock_Call) Run(run func(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetFirstUncheckedBlock_Call
- func (_c *StateFullInterface_GetFirstUncheckedBlock_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetFirstUncheckedBlock_Call
- type StateFullInterface_GetForkIDByBatchNumber_Call
- func (_c *StateFullInterface_GetForkIDByBatchNumber_Call) Return(_a0 uint64) *StateFullInterface_GetForkIDByBatchNumber_Call
- func (_c *StateFullInterface_GetForkIDByBatchNumber_Call) Run(run func(batchNumber uint64)) *StateFullInterface_GetForkIDByBatchNumber_Call
- func (_c *StateFullInterface_GetForkIDByBatchNumber_Call) RunAndReturn(run func(uint64) uint64) *StateFullInterface_GetForkIDByBatchNumber_Call
- type StateFullInterface_GetForkIDByBlockNumber_Call
- func (_c *StateFullInterface_GetForkIDByBlockNumber_Call) Return(_a0 uint64) *StateFullInterface_GetForkIDByBlockNumber_Call
- func (_c *StateFullInterface_GetForkIDByBlockNumber_Call) Run(run func(blockNumber uint64)) *StateFullInterface_GetForkIDByBlockNumber_Call
- func (_c *StateFullInterface_GetForkIDByBlockNumber_Call) RunAndReturn(run func(uint64) uint64) *StateFullInterface_GetForkIDByBlockNumber_Call
- type StateFullInterface_GetForkIDInMemory_Call
- func (_c *StateFullInterface_GetForkIDInMemory_Call) Return(_a0 *state.ForkIDInterval) *StateFullInterface_GetForkIDInMemory_Call
- func (_c *StateFullInterface_GetForkIDInMemory_Call) Run(run func(forkId uint64)) *StateFullInterface_GetForkIDInMemory_Call
- func (_c *StateFullInterface_GetForkIDInMemory_Call) RunAndReturn(run func(uint64) *state.ForkIDInterval) *StateFullInterface_GetForkIDInMemory_Call
- type StateFullInterface_GetForkIDs_Call
- func (_c *StateFullInterface_GetForkIDs_Call) Return(_a0 []state.ForkIDInterval, _a1 error) *StateFullInterface_GetForkIDs_Call
- func (_c *StateFullInterface_GetForkIDs_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetForkIDs_Call
- func (_c *StateFullInterface_GetForkIDs_Call) RunAndReturn(run func(context.Context, pgx.Tx) ([]state.ForkIDInterval, error)) *StateFullInterface_GetForkIDs_Call
- type StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call
- func (_c *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call) Return(_a0 state.L1InfoTreeExitRootStorageEntry, _a1 error) *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call
- func (_c *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call) Run(run func(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx)) *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call
- func (_c *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call) RunAndReturn(...) *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call
- type StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call
- func (_c *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) Return(_a0 map[uint32]state.L1DataV2, _a1 common.Hash, _a2 common.Hash, _a3 error) *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call
- func (_c *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) Run(run func(ctx context.Context, batchL2Data []byte, dbTx pgx.Tx)) *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call
- func (_c *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) RunAndReturn(...) *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call
- type StateFullInterface_GetL2BlockByNumber_Call
- func (_c *StateFullInterface_GetL2BlockByNumber_Call) Return(_a0 *state.L2Block, _a1 error) *StateFullInterface_GetL2BlockByNumber_Call
- func (_c *StateFullInterface_GetL2BlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetL2BlockByNumber_Call
- func (_c *StateFullInterface_GetL2BlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Block, error)) *StateFullInterface_GetL2BlockByNumber_Call
- type StateFullInterface_GetLastBatchNumber_Call
- func (_c *StateFullInterface_GetLastBatchNumber_Call) Return(_a0 uint64, _a1 error) *StateFullInterface_GetLastBatchNumber_Call
- func (_c *StateFullInterface_GetLastBatchNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastBatchNumber_Call
- func (_c *StateFullInterface_GetLastBatchNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StateFullInterface_GetLastBatchNumber_Call
- type StateFullInterface_GetLastBlock_Call
- func (_c *StateFullInterface_GetLastBlock_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetLastBlock_Call
- func (_c *StateFullInterface_GetLastBlock_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastBlock_Call
- func (_c *StateFullInterface_GetLastBlock_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetLastBlock_Call
- type StateFullInterface_GetLastL2BlockByBatchNumber_Call
- func (_c *StateFullInterface_GetLastL2BlockByBatchNumber_Call) Return(_a0 *state.L2Block, _a1 error) *StateFullInterface_GetLastL2BlockByBatchNumber_Call
- func (_c *StateFullInterface_GetLastL2BlockByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetLastL2BlockByBatchNumber_Call
- func (_c *StateFullInterface_GetLastL2BlockByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Block, error)) *StateFullInterface_GetLastL2BlockByBatchNumber_Call
- type StateFullInterface_GetLastL2BlockNumber_Call
- func (_c *StateFullInterface_GetLastL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StateFullInterface_GetLastL2BlockNumber_Call
- func (_c *StateFullInterface_GetLastL2BlockNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastL2BlockNumber_Call
- func (_c *StateFullInterface_GetLastL2BlockNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StateFullInterface_GetLastL2BlockNumber_Call
- type StateFullInterface_GetLastVerifiedBatch_Call
- func (_c *StateFullInterface_GetLastVerifiedBatch_Call) Return(_a0 *state.VerifiedBatch, _a1 error) *StateFullInterface_GetLastVerifiedBatch_Call
- func (_c *StateFullInterface_GetLastVerifiedBatch_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastVerifiedBatch_Call
- func (_c *StateFullInterface_GetLastVerifiedBatch_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.VerifiedBatch, error)) *StateFullInterface_GetLastVerifiedBatch_Call
- type StateFullInterface_GetLastVirtualBatchNum_Call
- func (_c *StateFullInterface_GetLastVirtualBatchNum_Call) Return(_a0 uint64, _a1 error) *StateFullInterface_GetLastVirtualBatchNum_Call
- func (_c *StateFullInterface_GetLastVirtualBatchNum_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastVirtualBatchNum_Call
- func (_c *StateFullInterface_GetLastVirtualBatchNum_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StateFullInterface_GetLastVirtualBatchNum_Call
- type StateFullInterface_GetNextForcedBatches_Call
- func (_c *StateFullInterface_GetNextForcedBatches_Call) Return(_a0 []state.ForcedBatch, _a1 error) *StateFullInterface_GetNextForcedBatches_Call
- func (_c *StateFullInterface_GetNextForcedBatches_Call) Run(run func(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx)) *StateFullInterface_GetNextForcedBatches_Call
- func (_c *StateFullInterface_GetNextForcedBatches_Call) RunAndReturn(run func(context.Context, int, pgx.Tx) ([]state.ForcedBatch, error)) *StateFullInterface_GetNextForcedBatches_Call
- type StateFullInterface_GetPreviousBlockToBlockNumber_Call
- func (_c *StateFullInterface_GetPreviousBlockToBlockNumber_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetPreviousBlockToBlockNumber_Call
- func (_c *StateFullInterface_GetPreviousBlockToBlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetPreviousBlockToBlockNumber_Call
- func (_c *StateFullInterface_GetPreviousBlockToBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetPreviousBlockToBlockNumber_Call
- type StateFullInterface_GetPreviousBlock_Call
- func (_c *StateFullInterface_GetPreviousBlock_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetPreviousBlock_Call
- func (_c *StateFullInterface_GetPreviousBlock_Call) Run(run func(ctx context.Context, offset uint64, dbTx pgx.Tx)) *StateFullInterface_GetPreviousBlock_Call
- func (_c *StateFullInterface_GetPreviousBlock_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetPreviousBlock_Call
- type StateFullInterface_GetReorgedTransactions_Call
- func (_c *StateFullInterface_GetReorgedTransactions_Call) Return(_a0 []*types.Transaction, _a1 error) *StateFullInterface_GetReorgedTransactions_Call
- func (_c *StateFullInterface_GetReorgedTransactions_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetReorgedTransactions_Call
- func (_c *StateFullInterface_GetReorgedTransactions_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Transaction, error)) *StateFullInterface_GetReorgedTransactions_Call
- type StateFullInterface_GetStateRootByBatchNumber_Call
- func (_c *StateFullInterface_GetStateRootByBatchNumber_Call) Return(_a0 common.Hash, _a1 error) *StateFullInterface_GetStateRootByBatchNumber_Call
- func (_c *StateFullInterface_GetStateRootByBatchNumber_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StateFullInterface_GetStateRootByBatchNumber_Call
- func (_c *StateFullInterface_GetStateRootByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StateFullInterface_GetStateRootByBatchNumber_Call
- type StateFullInterface_GetStoredFlushID_Call
- func (_c *StateFullInterface_GetStoredFlushID_Call) Return(_a0 uint64, _a1 string, _a2 error) *StateFullInterface_GetStoredFlushID_Call
- func (_c *StateFullInterface_GetStoredFlushID_Call) Run(run func(ctx context.Context)) *StateFullInterface_GetStoredFlushID_Call
- func (_c *StateFullInterface_GetStoredFlushID_Call) RunAndReturn(run func(context.Context) (uint64, string, error)) *StateFullInterface_GetStoredFlushID_Call
- type StateFullInterface_GetUncheckedBlocks_Call
- func (_c *StateFullInterface_GetUncheckedBlocks_Call) Return(_a0 []*state.Block, _a1 error) *StateFullInterface_GetUncheckedBlocks_Call
- func (_c *StateFullInterface_GetUncheckedBlocks_Call) Run(...) *StateFullInterface_GetUncheckedBlocks_Call
- func (_c *StateFullInterface_GetUncheckedBlocks_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) ([]*state.Block, error)) *StateFullInterface_GetUncheckedBlocks_Call
- type StateFullInterface_OpenBatch_Call
- func (_c *StateFullInterface_OpenBatch_Call) Return(_a0 error) *StateFullInterface_OpenBatch_Call
- func (_c *StateFullInterface_OpenBatch_Call) Run(...) *StateFullInterface_OpenBatch_Call
- func (_c *StateFullInterface_OpenBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingContext, pgx.Tx) error) *StateFullInterface_OpenBatch_Call
- type StateFullInterface_ProcessAndStoreClosedBatchV2_Call
- func (_c *StateFullInterface_ProcessAndStoreClosedBatchV2_Call) Return(_a0 common.Hash, _a1 uint64, _a2 string, _a3 error) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call
- func (_c *StateFullInterface_ProcessAndStoreClosedBatchV2_Call) Run(...) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call
- func (_c *StateFullInterface_ProcessAndStoreClosedBatchV2_Call) RunAndReturn(...) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call
- type StateFullInterface_ProcessAndStoreClosedBatch_Call
- func (_c *StateFullInterface_ProcessAndStoreClosedBatch_Call) Return(_a0 common.Hash, _a1 uint64, _a2 string, _a3 error) *StateFullInterface_ProcessAndStoreClosedBatch_Call
- func (_c *StateFullInterface_ProcessAndStoreClosedBatch_Call) Run(...) *StateFullInterface_ProcessAndStoreClosedBatch_Call
- func (_c *StateFullInterface_ProcessAndStoreClosedBatch_Call) RunAndReturn(...) *StateFullInterface_ProcessAndStoreClosedBatch_Call
- type StateFullInterface_ProcessBatchV2_Call
- func (_c *StateFullInterface_ProcessBatchV2_Call) Return(_a0 *state.ProcessBatchResponse, _a1 string, _a2 error) *StateFullInterface_ProcessBatchV2_Call
- func (_c *StateFullInterface_ProcessBatchV2_Call) Run(...) *StateFullInterface_ProcessBatchV2_Call
- func (_c *StateFullInterface_ProcessBatchV2_Call) RunAndReturn(...) *StateFullInterface_ProcessBatchV2_Call
- type StateFullInterface_ProcessBatch_Call
- func (_c *StateFullInterface_ProcessBatch_Call) Return(_a0 *state.ProcessBatchResponse, _a1 error) *StateFullInterface_ProcessBatch_Call
- func (_c *StateFullInterface_ProcessBatch_Call) Run(...) *StateFullInterface_ProcessBatch_Call
- func (_c *StateFullInterface_ProcessBatch_Call) RunAndReturn(...) *StateFullInterface_ProcessBatch_Call
- type StateFullInterface_ResetForkID_Call
- func (_c *StateFullInterface_ResetForkID_Call) Return(_a0 error) *StateFullInterface_ResetForkID_Call
- func (_c *StateFullInterface_ResetForkID_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_ResetForkID_Call
- func (_c *StateFullInterface_ResetForkID_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StateFullInterface_ResetForkID_Call
- type StateFullInterface_ResetTrustedState_Call
- func (_c *StateFullInterface_ResetTrustedState_Call) Return(_a0 error) *StateFullInterface_ResetTrustedState_Call
- func (_c *StateFullInterface_ResetTrustedState_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_ResetTrustedState_Call
- func (_c *StateFullInterface_ResetTrustedState_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StateFullInterface_ResetTrustedState_Call
- type StateFullInterface_Reset_Call
- func (_c *StateFullInterface_Reset_Call) Return(_a0 error) *StateFullInterface_Reset_Call
- func (_c *StateFullInterface_Reset_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_Reset_Call
- func (_c *StateFullInterface_Reset_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StateFullInterface_Reset_Call
- type StateFullInterface_SetGenesis_Call
- func (_c *StateFullInterface_SetGenesis_Call) Return(_a0 common.Hash, _a1 error) *StateFullInterface_SetGenesis_Call
- func (_c *StateFullInterface_SetGenesis_Call) Run(run func(ctx context.Context, block state.Block, genesis state.Genesis, ...)) *StateFullInterface_SetGenesis_Call
- func (_c *StateFullInterface_SetGenesis_Call) RunAndReturn(...) *StateFullInterface_SetGenesis_Call
- type StateFullInterface_SetInitSyncBatch_Call
- func (_c *StateFullInterface_SetInitSyncBatch_Call) Return(_a0 error) *StateFullInterface_SetInitSyncBatch_Call
- func (_c *StateFullInterface_SetInitSyncBatch_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_SetInitSyncBatch_Call
- func (_c *StateFullInterface_SetInitSyncBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StateFullInterface_SetInitSyncBatch_Call
- type StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call
- func (_c *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) Return(_a0 error) *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call
- func (_c *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) Run(run func(ctx context.Context, lastBatchNumberSeen uint64, ...)) *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call
- func (_c *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) error) *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call
- type StateFullInterface_StoreL2Block_Call
- func (_c *StateFullInterface_StoreL2Block_Call) Return(_a0 common.Hash, _a1 error) *StateFullInterface_StoreL2Block_Call
- func (_c *StateFullInterface_StoreL2Block_Call) Run(...) *StateFullInterface_StoreL2Block_Call
- func (_c *StateFullInterface_StoreL2Block_Call) RunAndReturn(...) *StateFullInterface_StoreL2Block_Call
- type StateFullInterface_StoreTransaction_Call
- func (_c *StateFullInterface_StoreTransaction_Call) Return(_a0 *state.L2Header, _a1 error) *StateFullInterface_StoreTransaction_Call
- func (_c *StateFullInterface_StoreTransaction_Call) Run(run func(ctx context.Context, batchNumber uint64, ...)) *StateFullInterface_StoreTransaction_Call
- func (_c *StateFullInterface_StoreTransaction_Call) RunAndReturn(...) *StateFullInterface_StoreTransaction_Call
- type StateFullInterface_UpdateBatchL2Data_Call
- func (_c *StateFullInterface_UpdateBatchL2Data_Call) Return(_a0 error) *StateFullInterface_UpdateBatchL2Data_Call
- func (_c *StateFullInterface_UpdateBatchL2Data_Call) Run(...) *StateFullInterface_UpdateBatchL2Data_Call
- func (_c *StateFullInterface_UpdateBatchL2Data_Call) RunAndReturn(run func(context.Context, uint64, []byte, pgx.Tx) error) *StateFullInterface_UpdateBatchL2Data_Call
- type StateFullInterface_UpdateBatchTimestamp_Call
- func (_c *StateFullInterface_UpdateBatchTimestamp_Call) Return(_a0 error) *StateFullInterface_UpdateBatchTimestamp_Call
- func (_c *StateFullInterface_UpdateBatchTimestamp_Call) Run(...) *StateFullInterface_UpdateBatchTimestamp_Call
- func (_c *StateFullInterface_UpdateBatchTimestamp_Call) RunAndReturn(run func(context.Context, uint64, time.Time, pgx.Tx) error) *StateFullInterface_UpdateBatchTimestamp_Call
- type StateFullInterface_UpdateCheckedBlockByNumber_Call
- func (_c *StateFullInterface_UpdateCheckedBlockByNumber_Call) Return(_a0 error) *StateFullInterface_UpdateCheckedBlockByNumber_Call
- func (_c *StateFullInterface_UpdateCheckedBlockByNumber_Call) Run(...) *StateFullInterface_UpdateCheckedBlockByNumber_Call
- func (_c *StateFullInterface_UpdateCheckedBlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, bool, pgx.Tx) error) *StateFullInterface_UpdateCheckedBlockByNumber_Call
- type StateFullInterface_UpdateForkIDBlockNumber_Call
- func (_c *StateFullInterface_UpdateForkIDBlockNumber_Call) Return(_a0 error) *StateFullInterface_UpdateForkIDBlockNumber_Call
- func (_c *StateFullInterface_UpdateForkIDBlockNumber_Call) Run(run func(ctx context.Context, forkdID uint64, newBlockNumber uint64, ...)) *StateFullInterface_UpdateForkIDBlockNumber_Call
- func (_c *StateFullInterface_UpdateForkIDBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, uint64, bool, pgx.Tx) error) *StateFullInterface_UpdateForkIDBlockNumber_Call
- type StateFullInterface_UpdateWIPBatch_Call
- func (_c *StateFullInterface_UpdateWIPBatch_Call) Return(_a0 error) *StateFullInterface_UpdateWIPBatch_Call
- func (_c *StateFullInterface_UpdateWIPBatch_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StateFullInterface_UpdateWIPBatch_Call
- func (_c *StateFullInterface_UpdateWIPBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StateFullInterface_UpdateWIPBatch_Call
- type StateGetBatchByNumberInterface
- type StateGetBatchByNumberInterface_Expecter
- type StateGetBatchByNumberInterface_GetBatchByNumber_Call
- func (_c *StateGetBatchByNumberInterface_GetBatchByNumber_Call) Return(_a0 *state.Batch, _a1 error) *StateGetBatchByNumberInterface_GetBatchByNumber_Call
- func (_c *StateGetBatchByNumberInterface_GetBatchByNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateGetBatchByNumberInterface_GetBatchByNumber_Call
- func (_c *StateGetBatchByNumberInterface_GetBatchByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StateGetBatchByNumberInterface_GetBatchByNumber_Call
- type SyncTrustedStateExecutor
- func (_m *SyncTrustedStateExecutor) CleanTrustedState()
- func (_m *SyncTrustedStateExecutor) EXPECT() *SyncTrustedStateExecutor_Expecter
- func (_m *SyncTrustedStateExecutor) GetCachedBatch(batchNumber uint64) *state.Batch
- func (_m *SyncTrustedStateExecutor) SyncTrustedState(ctx context.Context, latestSyncedBatch uint64, ...) error
- type SyncTrustedStateExecutor_CleanTrustedState_Call
- func (_c *SyncTrustedStateExecutor_CleanTrustedState_Call) Return() *SyncTrustedStateExecutor_CleanTrustedState_Call
- func (_c *SyncTrustedStateExecutor_CleanTrustedState_Call) Run(run func()) *SyncTrustedStateExecutor_CleanTrustedState_Call
- func (_c *SyncTrustedStateExecutor_CleanTrustedState_Call) RunAndReturn(run func()) *SyncTrustedStateExecutor_CleanTrustedState_Call
- type SyncTrustedStateExecutor_Expecter
- func (_e *SyncTrustedStateExecutor_Expecter) CleanTrustedState() *SyncTrustedStateExecutor_CleanTrustedState_Call
- func (_e *SyncTrustedStateExecutor_Expecter) GetCachedBatch(batchNumber interface{}) *SyncTrustedStateExecutor_GetCachedBatch_Call
- func (_e *SyncTrustedStateExecutor_Expecter) SyncTrustedState(ctx interface{}, latestSyncedBatch interface{}, ...) *SyncTrustedStateExecutor_SyncTrustedState_Call
- type SyncTrustedStateExecutor_GetCachedBatch_Call
- func (_c *SyncTrustedStateExecutor_GetCachedBatch_Call) Return(_a0 *state.Batch) *SyncTrustedStateExecutor_GetCachedBatch_Call
- func (_c *SyncTrustedStateExecutor_GetCachedBatch_Call) Run(run func(batchNumber uint64)) *SyncTrustedStateExecutor_GetCachedBatch_Call
- func (_c *SyncTrustedStateExecutor_GetCachedBatch_Call) RunAndReturn(run func(uint64) *state.Batch) *SyncTrustedStateExecutor_GetCachedBatch_Call
- type SyncTrustedStateExecutor_SyncTrustedState_Call
- func (_c *SyncTrustedStateExecutor_SyncTrustedState_Call) Return(_a0 error) *SyncTrustedStateExecutor_SyncTrustedState_Call
- func (_c *SyncTrustedStateExecutor_SyncTrustedState_Call) Run(run func(ctx context.Context, latestSyncedBatch uint64, ...)) *SyncTrustedStateExecutor_SyncTrustedState_Call
- func (_c *SyncTrustedStateExecutor_SyncTrustedState_Call) RunAndReturn(run func(context.Context, uint64, uint64) error) *SyncTrustedStateExecutor_SyncTrustedState_Call
- type SynchronizerCleanTrustedState
- type SynchronizerCleanTrustedState_CleanTrustedState_Call
- func (_c *SynchronizerCleanTrustedState_CleanTrustedState_Call) Return() *SynchronizerCleanTrustedState_CleanTrustedState_Call
- func (_c *SynchronizerCleanTrustedState_CleanTrustedState_Call) Run(run func()) *SynchronizerCleanTrustedState_CleanTrustedState_Call
- func (_c *SynchronizerCleanTrustedState_CleanTrustedState_Call) RunAndReturn(run func()) *SynchronizerCleanTrustedState_CleanTrustedState_Call
- type SynchronizerCleanTrustedState_Expecter
- type SynchronizerFlushIDManager
- type SynchronizerFlushIDManager_CheckFlushID_Call
- func (_c *SynchronizerFlushIDManager_CheckFlushID_Call) Return(_a0 error) *SynchronizerFlushIDManager_CheckFlushID_Call
- func (_c *SynchronizerFlushIDManager_CheckFlushID_Call) Run(run func(dbTx pgx.Tx)) *SynchronizerFlushIDManager_CheckFlushID_Call
- func (_c *SynchronizerFlushIDManager_CheckFlushID_Call) RunAndReturn(run func(pgx.Tx) error) *SynchronizerFlushIDManager_CheckFlushID_Call
- type SynchronizerFlushIDManager_Expecter
- type SynchronizerFlushIDManager_PendingFlushID_Call
- func (_c *SynchronizerFlushIDManager_PendingFlushID_Call) Return() *SynchronizerFlushIDManager_PendingFlushID_Call
- func (_c *SynchronizerFlushIDManager_PendingFlushID_Call) Run(run func(flushID uint64, proverID string)) *SynchronizerFlushIDManager_PendingFlushID_Call
- func (_c *SynchronizerFlushIDManager_PendingFlushID_Call) RunAndReturn(run func(uint64, string)) *SynchronizerFlushIDManager_PendingFlushID_Call
- type SynchronizerFullInterface
- func (_m *SynchronizerFullInterface) CheckFlushID(dbTx pgx.Tx) error
- func (_m *SynchronizerFullInterface) CleanTrustedState()
- func (_m *SynchronizerFullInterface) EXPECT() *SynchronizerFullInterface_Expecter
- func (_m *SynchronizerFullInterface) IsTrustedSequencer() bool
- func (_m *SynchronizerFullInterface) PendingFlushID(flushID uint64, proverID string)
- type SynchronizerFullInterface_CheckFlushID_Call
- func (_c *SynchronizerFullInterface_CheckFlushID_Call) Return(_a0 error) *SynchronizerFullInterface_CheckFlushID_Call
- func (_c *SynchronizerFullInterface_CheckFlushID_Call) Run(run func(dbTx pgx.Tx)) *SynchronizerFullInterface_CheckFlushID_Call
- func (_c *SynchronizerFullInterface_CheckFlushID_Call) RunAndReturn(run func(pgx.Tx) error) *SynchronizerFullInterface_CheckFlushID_Call
- type SynchronizerFullInterface_CleanTrustedState_Call
- func (_c *SynchronizerFullInterface_CleanTrustedState_Call) Return() *SynchronizerFullInterface_CleanTrustedState_Call
- func (_c *SynchronizerFullInterface_CleanTrustedState_Call) Run(run func()) *SynchronizerFullInterface_CleanTrustedState_Call
- func (_c *SynchronizerFullInterface_CleanTrustedState_Call) RunAndReturn(run func()) *SynchronizerFullInterface_CleanTrustedState_Call
- type SynchronizerFullInterface_Expecter
- func (_e *SynchronizerFullInterface_Expecter) CheckFlushID(dbTx interface{}) *SynchronizerFullInterface_CheckFlushID_Call
- func (_e *SynchronizerFullInterface_Expecter) CleanTrustedState() *SynchronizerFullInterface_CleanTrustedState_Call
- func (_e *SynchronizerFullInterface_Expecter) IsTrustedSequencer() *SynchronizerFullInterface_IsTrustedSequencer_Call
- func (_e *SynchronizerFullInterface_Expecter) PendingFlushID(flushID interface{}, proverID interface{}) *SynchronizerFullInterface_PendingFlushID_Call
- type SynchronizerFullInterface_IsTrustedSequencer_Call
- func (_c *SynchronizerFullInterface_IsTrustedSequencer_Call) Return(_a0 bool) *SynchronizerFullInterface_IsTrustedSequencer_Call
- func (_c *SynchronizerFullInterface_IsTrustedSequencer_Call) Run(run func()) *SynchronizerFullInterface_IsTrustedSequencer_Call
- func (_c *SynchronizerFullInterface_IsTrustedSequencer_Call) RunAndReturn(run func() bool) *SynchronizerFullInterface_IsTrustedSequencer_Call
- type SynchronizerFullInterface_PendingFlushID_Call
- func (_c *SynchronizerFullInterface_PendingFlushID_Call) Return() *SynchronizerFullInterface_PendingFlushID_Call
- func (_c *SynchronizerFullInterface_PendingFlushID_Call) Run(run func(flushID uint64, proverID string)) *SynchronizerFullInterface_PendingFlushID_Call
- func (_c *SynchronizerFullInterface_PendingFlushID_Call) RunAndReturn(run func(uint64, string)) *SynchronizerFullInterface_PendingFlushID_Call
- type SynchronizerIsTrustedSequencer
- type SynchronizerIsTrustedSequencer_Expecter
- type SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call
- func (_c *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) Return(_a0 bool) *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call
- func (_c *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) Run(run func()) *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call
- func (_c *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) RunAndReturn(run func() bool) *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call
- type ZKEVMClientEthereumCompatibleInterface
- type ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call
- func (_c *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call
- func (_c *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call
- func (_c *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call
- type ZKEVMClientEthereumCompatibleInterface_Expecter
- type ZKEVMClientEthereumCompatibleL2BlockGetter
- type ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call
- func (_c *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call
- func (_c *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call
- func (_c *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call
- type ZKEVMClientEthereumCompatibleL2BlockGetter_Expecter
- type ZKEVMClientGetL2BlockByNumber
- type ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call
- func (_c *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call
- func (_c *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call
- func (_c *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call
- type ZKEVMClientGetL2BlockByNumber_Expecter
- type ZKEVMClientGlobalExitRootGetter
- type ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call
- func (_c *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) Return(_a0 *types.ExitRoots, _a1 error) *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call
- func (_c *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) Run(run func(ctx context.Context, globalExitRoot common.Hash)) *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call
- func (_c *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.ExitRoots, error)) *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call
- type ZKEVMClientGlobalExitRootGetter_Expecter
- type ZKEVMClientInterface
- func (_m *ZKEVMClientInterface) BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error)
- func (_m *ZKEVMClientInterface) BatchNumber(ctx context.Context) (uint64, error)
- func (_m *ZKEVMClientInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
- func (_m *ZKEVMClientInterface) EXPECT() *ZKEVMClientInterface_Expecter
- func (_m *ZKEVMClientInterface) ExitRootsByGER(ctx context.Context, globalExitRoot common.Hash) (*types.ExitRoots, error)
- type ZKEVMClientInterface_BatchByNumber_Call
- func (_c *ZKEVMClientInterface_BatchByNumber_Call) Return(_a0 *types.Batch, _a1 error) *ZKEVMClientInterface_BatchByNumber_Call
- func (_c *ZKEVMClientInterface_BatchByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientInterface_BatchByNumber_Call
- func (_c *ZKEVMClientInterface_BatchByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Batch, error)) *ZKEVMClientInterface_BatchByNumber_Call
- type ZKEVMClientInterface_BatchNumber_Call
- func (_c *ZKEVMClientInterface_BatchNumber_Call) Return(_a0 uint64, _a1 error) *ZKEVMClientInterface_BatchNumber_Call
- func (_c *ZKEVMClientInterface_BatchNumber_Call) Run(run func(ctx context.Context)) *ZKEVMClientInterface_BatchNumber_Call
- func (_c *ZKEVMClientInterface_BatchNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *ZKEVMClientInterface_BatchNumber_Call
- type ZKEVMClientInterface_BlockByNumber_Call
- func (_c *ZKEVMClientInterface_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *ZKEVMClientInterface_BlockByNumber_Call
- func (_c *ZKEVMClientInterface_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientInterface_BlockByNumber_Call
- func (_c *ZKEVMClientInterface_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *ZKEVMClientInterface_BlockByNumber_Call
- type ZKEVMClientInterface_ExitRootsByGER_Call
- func (_c *ZKEVMClientInterface_ExitRootsByGER_Call) Return(_a0 *types.ExitRoots, _a1 error) *ZKEVMClientInterface_ExitRootsByGER_Call
- func (_c *ZKEVMClientInterface_ExitRootsByGER_Call) Run(run func(ctx context.Context, globalExitRoot common.Hash)) *ZKEVMClientInterface_ExitRootsByGER_Call
- func (_c *ZKEVMClientInterface_ExitRootsByGER_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.ExitRoots, error)) *ZKEVMClientInterface_ExitRootsByGER_Call
- type ZKEVMClientInterface_Expecter
- func (_e *ZKEVMClientInterface_Expecter) BatchByNumber(ctx interface{}, number interface{}) *ZKEVMClientInterface_BatchByNumber_Call
- func (_e *ZKEVMClientInterface_Expecter) BatchNumber(ctx interface{}) *ZKEVMClientInterface_BatchNumber_Call
- func (_e *ZKEVMClientInterface_Expecter) BlockByNumber(ctx interface{}, number interface{}) *ZKEVMClientInterface_BlockByNumber_Call
- func (_e *ZKEVMClientInterface_Expecter) ExitRootsByGER(ctx interface{}, globalExitRoot interface{}) *ZKEVMClientInterface_ExitRootsByGER_Call
- type ZKEVMClientTrustedBatchesGetter
- func (_m *ZKEVMClientTrustedBatchesGetter) BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error)
- func (_m *ZKEVMClientTrustedBatchesGetter) BatchNumber(ctx context.Context) (uint64, error)
- func (_m *ZKEVMClientTrustedBatchesGetter) EXPECT() *ZKEVMClientTrustedBatchesGetter_Expecter
- type ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call
- func (_c *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) Return(_a0 *types.Batch, _a1 error) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call
- func (_c *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call
- func (_c *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Batch, error)) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call
- type ZKEVMClientTrustedBatchesGetter_BatchNumber_Call
- func (_c *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) Return(_a0 uint64, _a1 error) *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call
- func (_c *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) Run(run func(ctx context.Context)) *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call
- func (_c *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call
- type ZKEVMClientTrustedBatchesGetter_Expecter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AsyncL1BlockChecker ¶ added in v0.6.6
AsyncL1BlockChecker is an autogenerated mock type for the AsyncL1BlockChecker type
func NewAsyncL1BlockChecker ¶ added in v0.6.6
func NewAsyncL1BlockChecker(t interface { mock.TestingT Cleanup(func()) }) *AsyncL1BlockChecker
NewAsyncL1BlockChecker creates a new instance of AsyncL1BlockChecker. 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 (*AsyncL1BlockChecker) EXPECT ¶ added in v0.6.6
func (_m *AsyncL1BlockChecker) EXPECT() *AsyncL1BlockChecker_Expecter
func (*AsyncL1BlockChecker) GetResult ¶ added in v0.6.6
func (_m *AsyncL1BlockChecker) GetResult() *syncinterfaces.IterationResult
GetResult provides a mock function with given fields:
func (*AsyncL1BlockChecker) Run ¶ added in v0.6.6
func (_m *AsyncL1BlockChecker) Run(ctx context.Context, onFinish func())
Run provides a mock function with given fields: ctx, onFinish
func (*AsyncL1BlockChecker) RunSynchronous ¶ added in v0.6.6
func (_m *AsyncL1BlockChecker) RunSynchronous(ctx context.Context) syncinterfaces.IterationResult
RunSynchronous provides a mock function with given fields: ctx
func (*AsyncL1BlockChecker) Stop ¶ added in v0.6.6
func (_m *AsyncL1BlockChecker) Stop()
Stop provides a mock function with given fields:
type AsyncL1BlockChecker_Expecter ¶ added in v0.6.6
type AsyncL1BlockChecker_Expecter struct {
// contains filtered or unexported fields
}
func (*AsyncL1BlockChecker_Expecter) GetResult ¶ added in v0.6.6
func (_e *AsyncL1BlockChecker_Expecter) GetResult() *AsyncL1BlockChecker_GetResult_Call
GetResult is a helper method to define mock.On call
func (*AsyncL1BlockChecker_Expecter) Run ¶ added in v0.6.6
func (_e *AsyncL1BlockChecker_Expecter) Run(ctx interface{}, onFinish interface{}) *AsyncL1BlockChecker_Run_Call
Run is a helper method to define mock.On call
- ctx context.Context
- onFinish func()
func (*AsyncL1BlockChecker_Expecter) RunSynchronous ¶ added in v0.6.6
func (_e *AsyncL1BlockChecker_Expecter) RunSynchronous(ctx interface{}) *AsyncL1BlockChecker_RunSynchronous_Call
RunSynchronous is a helper method to define mock.On call
- ctx context.Context
func (*AsyncL1BlockChecker_Expecter) Stop ¶ added in v0.6.6
func (_e *AsyncL1BlockChecker_Expecter) Stop() *AsyncL1BlockChecker_Stop_Call
Stop is a helper method to define mock.On call
type AsyncL1BlockChecker_GetResult_Call ¶ added in v0.6.6
AsyncL1BlockChecker_GetResult_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetResult'
func (*AsyncL1BlockChecker_GetResult_Call) Return ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_GetResult_Call) Return(_a0 *syncinterfaces.IterationResult) *AsyncL1BlockChecker_GetResult_Call
func (*AsyncL1BlockChecker_GetResult_Call) Run ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_GetResult_Call) Run(run func()) *AsyncL1BlockChecker_GetResult_Call
func (*AsyncL1BlockChecker_GetResult_Call) RunAndReturn ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_GetResult_Call) RunAndReturn(run func() *syncinterfaces.IterationResult) *AsyncL1BlockChecker_GetResult_Call
type AsyncL1BlockChecker_RunSynchronous_Call ¶ added in v0.6.6
AsyncL1BlockChecker_RunSynchronous_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'RunSynchronous'
func (*AsyncL1BlockChecker_RunSynchronous_Call) Return ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_RunSynchronous_Call) Return(_a0 syncinterfaces.IterationResult) *AsyncL1BlockChecker_RunSynchronous_Call
func (*AsyncL1BlockChecker_RunSynchronous_Call) Run ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_RunSynchronous_Call) Run(run func(ctx context.Context)) *AsyncL1BlockChecker_RunSynchronous_Call
func (*AsyncL1BlockChecker_RunSynchronous_Call) RunAndReturn ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_RunSynchronous_Call) RunAndReturn(run func(context.Context) syncinterfaces.IterationResult) *AsyncL1BlockChecker_RunSynchronous_Call
type AsyncL1BlockChecker_Run_Call ¶ added in v0.6.6
AsyncL1BlockChecker_Run_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Run'
func (*AsyncL1BlockChecker_Run_Call) Return ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_Run_Call) Return() *AsyncL1BlockChecker_Run_Call
func (*AsyncL1BlockChecker_Run_Call) Run ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_Run_Call) Run(run func(ctx context.Context, onFinish func())) *AsyncL1BlockChecker_Run_Call
func (*AsyncL1BlockChecker_Run_Call) RunAndReturn ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_Run_Call) RunAndReturn(run func(context.Context, func())) *AsyncL1BlockChecker_Run_Call
type AsyncL1BlockChecker_Stop_Call ¶ added in v0.6.6
AsyncL1BlockChecker_Stop_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Stop'
func (*AsyncL1BlockChecker_Stop_Call) Return ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_Stop_Call) Return() *AsyncL1BlockChecker_Stop_Call
func (*AsyncL1BlockChecker_Stop_Call) Run ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_Stop_Call) Run(run func()) *AsyncL1BlockChecker_Stop_Call
func (*AsyncL1BlockChecker_Stop_Call) RunAndReturn ¶ added in v0.6.6
func (_c *AsyncL1BlockChecker_Stop_Call) RunAndReturn(run func()) *AsyncL1BlockChecker_Stop_Call
type CriticalErrorHandler ¶
CriticalErrorHandler is an autogenerated mock type for the CriticalErrorHandler type
func NewCriticalErrorHandler ¶
func NewCriticalErrorHandler(t interface { mock.TestingT Cleanup(func()) }) *CriticalErrorHandler
NewCriticalErrorHandler creates a new instance of CriticalErrorHandler. 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 (*CriticalErrorHandler) CriticalError ¶
func (_m *CriticalErrorHandler) CriticalError(ctx context.Context, err error)
CriticalError provides a mock function with given fields: ctx, err
func (*CriticalErrorHandler) EXPECT ¶
func (_m *CriticalErrorHandler) EXPECT() *CriticalErrorHandler_Expecter
type CriticalErrorHandler_CriticalError_Call ¶
CriticalErrorHandler_CriticalError_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CriticalError'
func (*CriticalErrorHandler_CriticalError_Call) Return ¶
func (_c *CriticalErrorHandler_CriticalError_Call) Return() *CriticalErrorHandler_CriticalError_Call
func (*CriticalErrorHandler_CriticalError_Call) Run ¶
func (_c *CriticalErrorHandler_CriticalError_Call) Run(run func(ctx context.Context, err error)) *CriticalErrorHandler_CriticalError_Call
func (*CriticalErrorHandler_CriticalError_Call) RunAndReturn ¶
func (_c *CriticalErrorHandler_CriticalError_Call) RunAndReturn(run func(context.Context, error)) *CriticalErrorHandler_CriticalError_Call
type CriticalErrorHandler_Expecter ¶
type CriticalErrorHandler_Expecter struct {
// contains filtered or unexported fields
}
func (*CriticalErrorHandler_Expecter) CriticalError ¶
func (_e *CriticalErrorHandler_Expecter) CriticalError(ctx interface{}, err interface{}) *CriticalErrorHandler_CriticalError_Call
CriticalError is a helper method to define mock.On call
- ctx context.Context
- err error
type EthTxManager ¶
EthTxManager is an autogenerated mock type for the EthTxManager type
func NewEthTxManager ¶
func NewEthTxManager(t interface { mock.TestingT Cleanup(func()) }) *EthTxManager
NewEthTxManager creates a new instance of EthTxManager. 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 (*EthTxManager) EXPECT ¶
func (_m *EthTxManager) EXPECT() *EthTxManager_Expecter
type EthTxManager_Expecter ¶
type EthTxManager_Expecter struct {
// contains filtered or unexported fields
}
func (*EthTxManager_Expecter) Reorg ¶
func (_e *EthTxManager_Expecter) Reorg(ctx interface{}, fromBlockNumber interface{}, dbTx interface{}) *EthTxManager_Reorg_Call
Reorg is a helper method to define mock.On call
- ctx context.Context
- fromBlockNumber uint64
- dbTx pgx.Tx
type EthTxManager_Reorg_Call ¶
EthTxManager_Reorg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reorg'
func (*EthTxManager_Reorg_Call) Return ¶
func (_c *EthTxManager_Reorg_Call) Return(_a0 error) *EthTxManager_Reorg_Call
func (*EthTxManager_Reorg_Call) Run ¶
func (_c *EthTxManager_Reorg_Call) Run(run func(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx)) *EthTxManager_Reorg_Call
func (*EthTxManager_Reorg_Call) RunAndReturn ¶
func (_c *EthTxManager_Reorg_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *EthTxManager_Reorg_Call
type EthermanFullInterface ¶
EthermanFullInterface is an autogenerated mock type for the EthermanFullInterface type
func NewEthermanFullInterface ¶
func NewEthermanFullInterface(t interface { mock.TestingT Cleanup(func()) }) *EthermanFullInterface
NewEthermanFullInterface creates a new instance of EthermanFullInterface. 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 (*EthermanFullInterface) EXPECT ¶
func (_m *EthermanFullInterface) EXPECT() *EthermanFullInterface_Expecter
func (*EthermanFullInterface) EthBlockByNumber ¶
func (_m *EthermanFullInterface) EthBlockByNumber(ctx context.Context, blockNumber uint64) (*types.Block, error)
EthBlockByNumber provides a mock function with given fields: ctx, blockNumber
func (*EthermanFullInterface) GetFinalizedBlockNumber ¶ added in v0.6.6
func (_m *EthermanFullInterface) GetFinalizedBlockNumber(ctx context.Context) (uint64, error)
GetFinalizedBlockNumber provides a mock function with given fields: ctx
func (*EthermanFullInterface) GetLatestBatchNumber ¶
func (_m *EthermanFullInterface) GetLatestBatchNumber() (uint64, error)
GetLatestBatchNumber provides a mock function with given fields:
func (*EthermanFullInterface) GetLatestVerifiedBatchNum ¶
func (_m *EthermanFullInterface) GetLatestVerifiedBatchNum() (uint64, error)
GetLatestVerifiedBatchNum provides a mock function with given fields:
func (*EthermanFullInterface) GetRollupInfoByBlockRange ¶
func (_m *EthermanFullInterface) GetRollupInfoByBlockRange(ctx context.Context, fromBlock uint64, toBlock *uint64) ([]etherman.Block, map[common.Hash][]etherman.Order, error)
GetRollupInfoByBlockRange provides a mock function with given fields: ctx, fromBlock, toBlock
func (*EthermanFullInterface) GetTrustedSequencerURL ¶
func (_m *EthermanFullInterface) GetTrustedSequencerURL() (string, error)
GetTrustedSequencerURL provides a mock function with given fields:
func (*EthermanFullInterface) HeaderByNumber ¶
func (_m *EthermanFullInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
HeaderByNumber provides a mock function with given fields: ctx, number
func (*EthermanFullInterface) VerifyGenBlockNumber ¶
func (_m *EthermanFullInterface) VerifyGenBlockNumber(ctx context.Context, genBlockNumber uint64) (bool, error)
VerifyGenBlockNumber provides a mock function with given fields: ctx, genBlockNumber
type EthermanFullInterface_EthBlockByNumber_Call ¶
EthermanFullInterface_EthBlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'EthBlockByNumber'
func (*EthermanFullInterface_EthBlockByNumber_Call) Return ¶
func (_c *EthermanFullInterface_EthBlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *EthermanFullInterface_EthBlockByNumber_Call
func (*EthermanFullInterface_EthBlockByNumber_Call) Run ¶
func (_c *EthermanFullInterface_EthBlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64)) *EthermanFullInterface_EthBlockByNumber_Call
func (*EthermanFullInterface_EthBlockByNumber_Call) RunAndReturn ¶
func (_c *EthermanFullInterface_EthBlockByNumber_Call) RunAndReturn(run func(context.Context, uint64) (*types.Block, error)) *EthermanFullInterface_EthBlockByNumber_Call
type EthermanFullInterface_Expecter ¶
type EthermanFullInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EthermanFullInterface_Expecter) EthBlockByNumber ¶
func (_e *EthermanFullInterface_Expecter) EthBlockByNumber(ctx interface{}, blockNumber interface{}) *EthermanFullInterface_EthBlockByNumber_Call
EthBlockByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
func (*EthermanFullInterface_Expecter) GetFinalizedBlockNumber ¶ added in v0.6.6
func (_e *EthermanFullInterface_Expecter) GetFinalizedBlockNumber(ctx interface{}) *EthermanFullInterface_GetFinalizedBlockNumber_Call
GetFinalizedBlockNumber is a helper method to define mock.On call
- ctx context.Context
func (*EthermanFullInterface_Expecter) GetLatestBatchNumber ¶
func (_e *EthermanFullInterface_Expecter) GetLatestBatchNumber() *EthermanFullInterface_GetLatestBatchNumber_Call
GetLatestBatchNumber is a helper method to define mock.On call
func (*EthermanFullInterface_Expecter) GetLatestVerifiedBatchNum ¶
func (_e *EthermanFullInterface_Expecter) GetLatestVerifiedBatchNum() *EthermanFullInterface_GetLatestVerifiedBatchNum_Call
GetLatestVerifiedBatchNum is a helper method to define mock.On call
func (*EthermanFullInterface_Expecter) GetRollupInfoByBlockRange ¶
func (_e *EthermanFullInterface_Expecter) GetRollupInfoByBlockRange(ctx interface{}, fromBlock interface{}, toBlock interface{}) *EthermanFullInterface_GetRollupInfoByBlockRange_Call
GetRollupInfoByBlockRange is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock *uint64
func (*EthermanFullInterface_Expecter) GetTrustedSequencerURL ¶
func (_e *EthermanFullInterface_Expecter) GetTrustedSequencerURL() *EthermanFullInterface_GetTrustedSequencerURL_Call
GetTrustedSequencerURL is a helper method to define mock.On call
func (*EthermanFullInterface_Expecter) HeaderByNumber ¶
func (_e *EthermanFullInterface_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *EthermanFullInterface_HeaderByNumber_Call
HeaderByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*EthermanFullInterface_Expecter) VerifyGenBlockNumber ¶
func (_e *EthermanFullInterface_Expecter) VerifyGenBlockNumber(ctx interface{}, genBlockNumber interface{}) *EthermanFullInterface_VerifyGenBlockNumber_Call
VerifyGenBlockNumber is a helper method to define mock.On call
- ctx context.Context
- genBlockNumber uint64
type EthermanFullInterface_GetFinalizedBlockNumber_Call ¶ added in v0.6.6
EthermanFullInterface_GetFinalizedBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFinalizedBlockNumber'
func (*EthermanFullInterface_GetFinalizedBlockNumber_Call) Return ¶ added in v0.6.6
func (_c *EthermanFullInterface_GetFinalizedBlockNumber_Call) Return(_a0 uint64, _a1 error) *EthermanFullInterface_GetFinalizedBlockNumber_Call
func (*EthermanFullInterface_GetFinalizedBlockNumber_Call) Run ¶ added in v0.6.6
func (_c *EthermanFullInterface_GetFinalizedBlockNumber_Call) Run(run func(ctx context.Context)) *EthermanFullInterface_GetFinalizedBlockNumber_Call
func (*EthermanFullInterface_GetFinalizedBlockNumber_Call) RunAndReturn ¶ added in v0.6.6
func (_c *EthermanFullInterface_GetFinalizedBlockNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *EthermanFullInterface_GetFinalizedBlockNumber_Call
type EthermanFullInterface_GetLatestBatchNumber_Call ¶
EthermanFullInterface_GetLatestBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBatchNumber'
func (*EthermanFullInterface_GetLatestBatchNumber_Call) Return ¶
func (_c *EthermanFullInterface_GetLatestBatchNumber_Call) Return(_a0 uint64, _a1 error) *EthermanFullInterface_GetLatestBatchNumber_Call
func (*EthermanFullInterface_GetLatestBatchNumber_Call) Run ¶
func (_c *EthermanFullInterface_GetLatestBatchNumber_Call) Run(run func()) *EthermanFullInterface_GetLatestBatchNumber_Call
func (*EthermanFullInterface_GetLatestBatchNumber_Call) RunAndReturn ¶
func (_c *EthermanFullInterface_GetLatestBatchNumber_Call) RunAndReturn(run func() (uint64, error)) *EthermanFullInterface_GetLatestBatchNumber_Call
type EthermanFullInterface_GetLatestVerifiedBatchNum_Call ¶
EthermanFullInterface_GetLatestVerifiedBatchNum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestVerifiedBatchNum'
func (*EthermanFullInterface_GetLatestVerifiedBatchNum_Call) Return ¶
func (_c *EthermanFullInterface_GetLatestVerifiedBatchNum_Call) Return(_a0 uint64, _a1 error) *EthermanFullInterface_GetLatestVerifiedBatchNum_Call
func (*EthermanFullInterface_GetLatestVerifiedBatchNum_Call) Run ¶
func (_c *EthermanFullInterface_GetLatestVerifiedBatchNum_Call) Run(run func()) *EthermanFullInterface_GetLatestVerifiedBatchNum_Call
func (*EthermanFullInterface_GetLatestVerifiedBatchNum_Call) RunAndReturn ¶
func (_c *EthermanFullInterface_GetLatestVerifiedBatchNum_Call) RunAndReturn(run func() (uint64, error)) *EthermanFullInterface_GetLatestVerifiedBatchNum_Call
type EthermanFullInterface_GetRollupInfoByBlockRange_Call ¶
EthermanFullInterface_GetRollupInfoByBlockRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRollupInfoByBlockRange'
func (*EthermanFullInterface_GetRollupInfoByBlockRange_Call) Return ¶
func (_c *EthermanFullInterface_GetRollupInfoByBlockRange_Call) Return(_a0 []etherman.Block, _a1 map[common.Hash][]etherman.Order, _a2 error) *EthermanFullInterface_GetRollupInfoByBlockRange_Call
func (*EthermanFullInterface_GetRollupInfoByBlockRange_Call) Run ¶
func (_c *EthermanFullInterface_GetRollupInfoByBlockRange_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock *uint64)) *EthermanFullInterface_GetRollupInfoByBlockRange_Call
func (*EthermanFullInterface_GetRollupInfoByBlockRange_Call) RunAndReturn ¶
type EthermanFullInterface_GetTrustedSequencerURL_Call ¶
EthermanFullInterface_GetTrustedSequencerURL_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTrustedSequencerURL'
func (*EthermanFullInterface_GetTrustedSequencerURL_Call) Return ¶
func (_c *EthermanFullInterface_GetTrustedSequencerURL_Call) Return(_a0 string, _a1 error) *EthermanFullInterface_GetTrustedSequencerURL_Call
func (*EthermanFullInterface_GetTrustedSequencerURL_Call) Run ¶
func (_c *EthermanFullInterface_GetTrustedSequencerURL_Call) Run(run func()) *EthermanFullInterface_GetTrustedSequencerURL_Call
func (*EthermanFullInterface_GetTrustedSequencerURL_Call) RunAndReturn ¶
func (_c *EthermanFullInterface_GetTrustedSequencerURL_Call) RunAndReturn(run func() (string, error)) *EthermanFullInterface_GetTrustedSequencerURL_Call
type EthermanFullInterface_HeaderByNumber_Call ¶
EthermanFullInterface_HeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'HeaderByNumber'
func (*EthermanFullInterface_HeaderByNumber_Call) Return ¶
func (_c *EthermanFullInterface_HeaderByNumber_Call) Return(_a0 *types.Header, _a1 error) *EthermanFullInterface_HeaderByNumber_Call
func (*EthermanFullInterface_HeaderByNumber_Call) Run ¶
func (_c *EthermanFullInterface_HeaderByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *EthermanFullInterface_HeaderByNumber_Call
func (*EthermanFullInterface_HeaderByNumber_Call) RunAndReturn ¶
func (_c *EthermanFullInterface_HeaderByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Header, error)) *EthermanFullInterface_HeaderByNumber_Call
type EthermanFullInterface_VerifyGenBlockNumber_Call ¶
EthermanFullInterface_VerifyGenBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'VerifyGenBlockNumber'
func (*EthermanFullInterface_VerifyGenBlockNumber_Call) Return ¶
func (_c *EthermanFullInterface_VerifyGenBlockNumber_Call) Return(_a0 bool, _a1 error) *EthermanFullInterface_VerifyGenBlockNumber_Call
func (*EthermanFullInterface_VerifyGenBlockNumber_Call) Run ¶
func (_c *EthermanFullInterface_VerifyGenBlockNumber_Call) Run(run func(ctx context.Context, genBlockNumber uint64)) *EthermanFullInterface_VerifyGenBlockNumber_Call
func (*EthermanFullInterface_VerifyGenBlockNumber_Call) RunAndReturn ¶
func (_c *EthermanFullInterface_VerifyGenBlockNumber_Call) RunAndReturn(run func(context.Context, uint64) (bool, error)) *EthermanFullInterface_VerifyGenBlockNumber_Call
type EthermanGetLatestBatchNumber ¶
EthermanGetLatestBatchNumber is an autogenerated mock type for the EthermanGetLatestBatchNumber type
func NewEthermanGetLatestBatchNumber ¶
func NewEthermanGetLatestBatchNumber(t interface { mock.TestingT Cleanup(func()) }) *EthermanGetLatestBatchNumber
NewEthermanGetLatestBatchNumber creates a new instance of EthermanGetLatestBatchNumber. 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 (*EthermanGetLatestBatchNumber) EXPECT ¶
func (_m *EthermanGetLatestBatchNumber) EXPECT() *EthermanGetLatestBatchNumber_Expecter
func (*EthermanGetLatestBatchNumber) GetLatestBatchNumber ¶
func (_m *EthermanGetLatestBatchNumber) GetLatestBatchNumber() (uint64, error)
GetLatestBatchNumber provides a mock function with given fields:
type EthermanGetLatestBatchNumber_Expecter ¶
type EthermanGetLatestBatchNumber_Expecter struct {
// contains filtered or unexported fields
}
func (*EthermanGetLatestBatchNumber_Expecter) GetLatestBatchNumber ¶
func (_e *EthermanGetLatestBatchNumber_Expecter) GetLatestBatchNumber() *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call
GetLatestBatchNumber is a helper method to define mock.On call
type EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call ¶
EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBatchNumber'
func (*EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) Return ¶
func (_c *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) Return(_a0 uint64, _a1 error) *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call
func (*EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) Run ¶
func (_c *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) Run(run func()) *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call
func (*EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) RunAndReturn ¶
func (_c *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) RunAndReturn(run func() (uint64, error)) *EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call
type EventLogInterface ¶
EventLogInterface is an autogenerated mock type for the EventLogInterface type
func NewEventLogInterface ¶
func NewEventLogInterface(t interface { mock.TestingT Cleanup(func()) }) *EventLogInterface
NewEventLogInterface creates a new instance of EventLogInterface. 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 (*EventLogInterface) EXPECT ¶
func (_m *EventLogInterface) EXPECT() *EventLogInterface_Expecter
type EventLogInterface_Expecter ¶
type EventLogInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*EventLogInterface_Expecter) LogEvent ¶
func (_e *EventLogInterface_Expecter) LogEvent(ctx interface{}, _a1 interface{}) *EventLogInterface_LogEvent_Call
LogEvent is a helper method to define mock.On call
- ctx context.Context
- _a1 *event.Event
type EventLogInterface_LogEvent_Call ¶
EventLogInterface_LogEvent_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LogEvent'
func (*EventLogInterface_LogEvent_Call) Return ¶
func (_c *EventLogInterface_LogEvent_Call) Return(_a0 error) *EventLogInterface_LogEvent_Call
func (*EventLogInterface_LogEvent_Call) Run ¶
func (_c *EventLogInterface_LogEvent_Call) Run(run func(ctx context.Context, _a1 *event.Event)) *EventLogInterface_LogEvent_Call
func (*EventLogInterface_LogEvent_Call) RunAndReturn ¶
func (_c *EventLogInterface_LogEvent_Call) RunAndReturn(run func(context.Context, *event.Event) error) *EventLogInterface_LogEvent_Call
type L1BlockCheckerIntegrator ¶ added in v0.6.6
L1BlockCheckerIntegrator is an autogenerated mock type for the L1BlockCheckerIntegrator type
func NewL1BlockCheckerIntegrator ¶ added in v0.6.6
func NewL1BlockCheckerIntegrator(t interface { mock.TestingT Cleanup(func()) }) *L1BlockCheckerIntegrator
NewL1BlockCheckerIntegrator creates a new instance of L1BlockCheckerIntegrator. 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 (*L1BlockCheckerIntegrator) CheckReorgWrapper ¶ added in v0.6.6
func (_m *L1BlockCheckerIntegrator) CheckReorgWrapper(ctx context.Context, reorgFirstBlockOk *state.Block, errReportedByReorgFunc error) (*state.Block, error)
CheckReorgWrapper provides a mock function with given fields: ctx, reorgFirstBlockOk, errReportedByReorgFunc
func (*L1BlockCheckerIntegrator) EXPECT ¶ added in v0.6.6
func (_m *L1BlockCheckerIntegrator) EXPECT() *L1BlockCheckerIntegrator_Expecter
func (*L1BlockCheckerIntegrator) OnResetState ¶ added in v0.6.6
func (_m *L1BlockCheckerIntegrator) OnResetState(ctx context.Context)
OnResetState provides a mock function with given fields: ctx
type L1BlockCheckerIntegrator_CheckReorgWrapper_Call ¶ added in v0.6.6
L1BlockCheckerIntegrator_CheckReorgWrapper_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckReorgWrapper'
func (*L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Return ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Return(_a0 *state.Block, _a1 error) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call
func (*L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Run ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Run(run func(ctx context.Context, reorgFirstBlockOk *state.Block, errReportedByReorgFunc error)) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call
func (*L1BlockCheckerIntegrator_CheckReorgWrapper_Call) RunAndReturn ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_CheckReorgWrapper_Call) RunAndReturn(run func(context.Context, *state.Block, error) (*state.Block, error)) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call
type L1BlockCheckerIntegrator_Expecter ¶ added in v0.6.6
type L1BlockCheckerIntegrator_Expecter struct {
// contains filtered or unexported fields
}
func (*L1BlockCheckerIntegrator_Expecter) CheckReorgWrapper ¶ added in v0.6.6
func (_e *L1BlockCheckerIntegrator_Expecter) CheckReorgWrapper(ctx interface{}, reorgFirstBlockOk interface{}, errReportedByReorgFunc interface{}) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call
CheckReorgWrapper is a helper method to define mock.On call
- ctx context.Context
- reorgFirstBlockOk *state.Block
- errReportedByReorgFunc error
func (*L1BlockCheckerIntegrator_Expecter) OnResetState ¶ added in v0.6.6
func (_e *L1BlockCheckerIntegrator_Expecter) OnResetState(ctx interface{}) *L1BlockCheckerIntegrator_OnResetState_Call
OnResetState is a helper method to define mock.On call
- ctx context.Context
func (*L1BlockCheckerIntegrator_Expecter) OnStart ¶ added in v0.6.6
func (_e *L1BlockCheckerIntegrator_Expecter) OnStart(ctx interface{}) *L1BlockCheckerIntegrator_OnStart_Call
OnStart is a helper method to define mock.On call
- ctx context.Context
type L1BlockCheckerIntegrator_OnResetState_Call ¶ added in v0.6.6
L1BlockCheckerIntegrator_OnResetState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnResetState'
func (*L1BlockCheckerIntegrator_OnResetState_Call) Return ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_OnResetState_Call) Return() *L1BlockCheckerIntegrator_OnResetState_Call
func (*L1BlockCheckerIntegrator_OnResetState_Call) Run ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_OnResetState_Call) Run(run func(ctx context.Context)) *L1BlockCheckerIntegrator_OnResetState_Call
func (*L1BlockCheckerIntegrator_OnResetState_Call) RunAndReturn ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_OnResetState_Call) RunAndReturn(run func(context.Context)) *L1BlockCheckerIntegrator_OnResetState_Call
type L1BlockCheckerIntegrator_OnStart_Call ¶ added in v0.6.6
L1BlockCheckerIntegrator_OnStart_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OnStart'
func (*L1BlockCheckerIntegrator_OnStart_Call) Return ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_OnStart_Call) Return(_a0 error) *L1BlockCheckerIntegrator_OnStart_Call
func (*L1BlockCheckerIntegrator_OnStart_Call) Run ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_OnStart_Call) Run(run func(ctx context.Context)) *L1BlockCheckerIntegrator_OnStart_Call
func (*L1BlockCheckerIntegrator_OnStart_Call) RunAndReturn ¶ added in v0.6.6
func (_c *L1BlockCheckerIntegrator_OnStart_Call) RunAndReturn(run func(context.Context) error) *L1BlockCheckerIntegrator_OnStart_Call
type PoolInterface ¶
PoolInterface is an autogenerated mock type for the PoolInterface type
func NewPoolInterface ¶
func NewPoolInterface(t interface { mock.TestingT Cleanup(func()) }) *PoolInterface
NewPoolInterface creates a new instance of PoolInterface. 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 (*PoolInterface) DeleteReorgedTransactions ¶
func (_m *PoolInterface) DeleteReorgedTransactions(ctx context.Context, txs []*types.Transaction) error
DeleteReorgedTransactions provides a mock function with given fields: ctx, txs
func (*PoolInterface) EXPECT ¶
func (_m *PoolInterface) EXPECT() *PoolInterface_Expecter
func (*PoolInterface) StoreTx ¶
func (_m *PoolInterface) StoreTx(ctx context.Context, tx types.Transaction, ip string, isWIP bool) error
StoreTx provides a mock function with given fields: ctx, tx, ip, isWIP
type PoolInterface_DeleteReorgedTransactions_Call ¶
PoolInterface_DeleteReorgedTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteReorgedTransactions'
func (*PoolInterface_DeleteReorgedTransactions_Call) Return ¶
func (_c *PoolInterface_DeleteReorgedTransactions_Call) Return(_a0 error) *PoolInterface_DeleteReorgedTransactions_Call
func (*PoolInterface_DeleteReorgedTransactions_Call) Run ¶
func (_c *PoolInterface_DeleteReorgedTransactions_Call) Run(run func(ctx context.Context, txs []*types.Transaction)) *PoolInterface_DeleteReorgedTransactions_Call
func (*PoolInterface_DeleteReorgedTransactions_Call) RunAndReturn ¶
func (_c *PoolInterface_DeleteReorgedTransactions_Call) RunAndReturn(run func(context.Context, []*types.Transaction) error) *PoolInterface_DeleteReorgedTransactions_Call
type PoolInterface_Expecter ¶
type PoolInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*PoolInterface_Expecter) DeleteReorgedTransactions ¶
func (_e *PoolInterface_Expecter) DeleteReorgedTransactions(ctx interface{}, txs interface{}) *PoolInterface_DeleteReorgedTransactions_Call
DeleteReorgedTransactions is a helper method to define mock.On call
- ctx context.Context
- txs []*types.Transaction
func (*PoolInterface_Expecter) StoreTx ¶
func (_e *PoolInterface_Expecter) StoreTx(ctx interface{}, tx interface{}, ip interface{}, isWIP interface{}) *PoolInterface_StoreTx_Call
StoreTx is a helper method to define mock.On call
- ctx context.Context
- tx types.Transaction
- ip string
- isWIP bool
type PoolInterface_StoreTx_Call ¶
PoolInterface_StoreTx_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreTx'
func (*PoolInterface_StoreTx_Call) Return ¶
func (_c *PoolInterface_StoreTx_Call) Return(_a0 error) *PoolInterface_StoreTx_Call
func (*PoolInterface_StoreTx_Call) Run ¶
func (_c *PoolInterface_StoreTx_Call) Run(run func(ctx context.Context, tx types.Transaction, ip string, isWIP bool)) *PoolInterface_StoreTx_Call
func (*PoolInterface_StoreTx_Call) RunAndReturn ¶
func (_c *PoolInterface_StoreTx_Call) RunAndReturn(run func(context.Context, types.Transaction, string, bool) error) *PoolInterface_StoreTx_Call
type StateBeginTransactionInterface ¶
StateBeginTransactionInterface is an autogenerated mock type for the StateBeginTransactionInterface type
func NewStateBeginTransactionInterface ¶
func NewStateBeginTransactionInterface(t interface { mock.TestingT Cleanup(func()) }) *StateBeginTransactionInterface
NewStateBeginTransactionInterface creates a new instance of StateBeginTransactionInterface. 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 (*StateBeginTransactionInterface) BeginStateTransaction ¶
func (_m *StateBeginTransactionInterface) BeginStateTransaction(ctx context.Context) (pgx.Tx, error)
BeginStateTransaction provides a mock function with given fields: ctx
func (*StateBeginTransactionInterface) EXPECT ¶
func (_m *StateBeginTransactionInterface) EXPECT() *StateBeginTransactionInterface_Expecter
type StateBeginTransactionInterface_BeginStateTransaction_Call ¶
StateBeginTransactionInterface_BeginStateTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BeginStateTransaction'
func (*StateBeginTransactionInterface_BeginStateTransaction_Call) Return ¶
func (_c *StateBeginTransactionInterface_BeginStateTransaction_Call) Return(_a0 pgx.Tx, _a1 error) *StateBeginTransactionInterface_BeginStateTransaction_Call
func (*StateBeginTransactionInterface_BeginStateTransaction_Call) Run ¶
func (_c *StateBeginTransactionInterface_BeginStateTransaction_Call) Run(run func(ctx context.Context)) *StateBeginTransactionInterface_BeginStateTransaction_Call
func (*StateBeginTransactionInterface_BeginStateTransaction_Call) RunAndReturn ¶
func (_c *StateBeginTransactionInterface_BeginStateTransaction_Call) RunAndReturn(run func(context.Context) (pgx.Tx, error)) *StateBeginTransactionInterface_BeginStateTransaction_Call
type StateBeginTransactionInterface_Expecter ¶
type StateBeginTransactionInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*StateBeginTransactionInterface_Expecter) BeginStateTransaction ¶
func (_e *StateBeginTransactionInterface_Expecter) BeginStateTransaction(ctx interface{}) *StateBeginTransactionInterface_BeginStateTransaction_Call
BeginStateTransaction is a helper method to define mock.On call
- ctx context.Context
type StateFullInterface ¶
StateFullInterface is an autogenerated mock type for the StateFullInterface type
func NewStateFullInterface ¶
func NewStateFullInterface(t interface { mock.TestingT Cleanup(func()) }) *StateFullInterface
NewStateFullInterface creates a new instance of StateFullInterface. 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 (*StateFullInterface) AddAccumulatedInputHash ¶
func (_m *StateFullInterface) AddAccumulatedInputHash(ctx context.Context, batchNum uint64, accInputHash common.Hash, dbTx pgx.Tx) error
AddAccumulatedInputHash provides a mock function with given fields: ctx, batchNum, accInputHash, dbTx
func (*StateFullInterface) AddBlock ¶
AddBlock provides a mock function with given fields: ctx, block, dbTx
func (*StateFullInterface) AddForcedBatch ¶
func (_m *StateFullInterface) AddForcedBatch(ctx context.Context, forcedBatch *state.ForcedBatch, dbTx pgx.Tx) error
AddForcedBatch provides a mock function with given fields: ctx, forcedBatch, dbTx
func (*StateFullInterface) AddForkIDInterval ¶
func (_m *StateFullInterface) AddForkIDInterval(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx) error
AddForkIDInterval provides a mock function with given fields: ctx, newForkID, dbTx
func (*StateFullInterface) AddGlobalExitRoot ¶
func (_m *StateFullInterface) AddGlobalExitRoot(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx) error
AddGlobalExitRoot provides a mock function with given fields: ctx, exitRoot, dbTx
func (*StateFullInterface) AddL1InfoTreeLeaf ¶
func (_m *StateFullInterface) AddL1InfoTreeLeaf(ctx context.Context, L1InfoTreeLeaf *state.L1InfoTreeLeaf, dbTx pgx.Tx) (*state.L1InfoTreeExitRootStorageEntry, error)
AddL1InfoTreeLeaf provides a mock function with given fields: ctx, L1InfoTreeLeaf, dbTx
func (*StateFullInterface) AddSequence ¶
func (_m *StateFullInterface) AddSequence(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx) error
AddSequence provides a mock function with given fields: ctx, sequence, dbTx
func (*StateFullInterface) AddTrustedReorg ¶
func (_m *StateFullInterface) AddTrustedReorg(ctx context.Context, trustedReorg *state.TrustedReorg, dbTx pgx.Tx) error
AddTrustedReorg provides a mock function with given fields: ctx, trustedReorg, dbTx
func (*StateFullInterface) AddVerifiedBatch ¶
func (_m *StateFullInterface) AddVerifiedBatch(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx) error
AddVerifiedBatch provides a mock function with given fields: ctx, verifiedBatch, dbTx
func (*StateFullInterface) AddVirtualBatch ¶
func (_m *StateFullInterface) AddVirtualBatch(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx) error
AddVirtualBatch provides a mock function with given fields: ctx, virtualBatch, dbTx
func (*StateFullInterface) BeginStateTransaction ¶
BeginStateTransaction provides a mock function with given fields: ctx
func (*StateFullInterface) CloseBatch ¶
func (_m *StateFullInterface) CloseBatch(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
CloseBatch provides a mock function with given fields: ctx, receipt, dbTx
func (*StateFullInterface) EXPECT ¶
func (_m *StateFullInterface) EXPECT() *StateFullInterface_Expecter
func (*StateFullInterface) ExecuteBatch ¶
func (_m *StateFullInterface) ExecuteBatch(ctx context.Context, batch state.Batch, updateMerkleTree bool, dbTx pgx.Tx) (*executor.ProcessBatchResponse, error)
ExecuteBatch provides a mock function with given fields: ctx, batch, updateMerkleTree, dbTx
func (*StateFullInterface) ExecuteBatchV2 ¶
func (_m *StateFullInterface) ExecuteBatchV2(ctx context.Context, batch state.Batch, L1InfoTreeRoot common.Hash, l1InfoTreeData map[uint32]state.L1DataV2, timestampLimit time.Time, updateMerkleTree bool, skipVerifyL1InfoRoot uint32, forcedBlockHashL1 *common.Hash, dbTx pgx.Tx) (*executor.ProcessBatchResponseV2, error)
ExecuteBatchV2 provides a mock function with given fields: ctx, batch, L1InfoTreeRoot, l1InfoTreeData, timestampLimit, updateMerkleTree, skipVerifyL1InfoRoot, forcedBlockHashL1, dbTx
func (*StateFullInterface) GetBatchByNumber ¶
func (_m *StateFullInterface) GetBatchByNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
GetBatchByNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StateFullInterface) GetBlockByNumber ¶ added in v0.6.6
func (_m *StateFullInterface) GetBlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.Block, error)
GetBlockByNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StateFullInterface) GetExitRootByGlobalExitRoot ¶
func (_m *StateFullInterface) GetExitRootByGlobalExitRoot(ctx context.Context, ger common.Hash, dbTx pgx.Tx) (*state.GlobalExitRoot, error)
GetExitRootByGlobalExitRoot provides a mock function with given fields: ctx, ger, dbTx
func (*StateFullInterface) GetFirstUncheckedBlock ¶ added in v0.6.5
func (_m *StateFullInterface) GetFirstUncheckedBlock(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx) (*state.Block, error)
GetFirstUncheckedBlock provides a mock function with given fields: ctx, fromBlockNumber, dbTx
func (*StateFullInterface) GetForkIDByBatchNumber ¶
func (_m *StateFullInterface) GetForkIDByBatchNumber(batchNumber uint64) uint64
GetForkIDByBatchNumber provides a mock function with given fields: batchNumber
func (*StateFullInterface) GetForkIDByBlockNumber ¶
func (_m *StateFullInterface) GetForkIDByBlockNumber(blockNumber uint64) uint64
GetForkIDByBlockNumber provides a mock function with given fields: blockNumber
func (*StateFullInterface) GetForkIDInMemory ¶ added in v0.5.4
func (_m *StateFullInterface) GetForkIDInMemory(forkId uint64) *state.ForkIDInterval
GetForkIDInMemory provides a mock function with given fields: forkId
func (*StateFullInterface) GetForkIDs ¶
func (_m *StateFullInterface) GetForkIDs(ctx context.Context, dbTx pgx.Tx) ([]state.ForkIDInterval, error)
GetForkIDs provides a mock function with given fields: ctx, dbTx
func (*StateFullInterface) GetL1InfoRootLeafByL1InfoRoot ¶
func (_m *StateFullInterface) GetL1InfoRootLeafByL1InfoRoot(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)
GetL1InfoRootLeafByL1InfoRoot provides a mock function with given fields: ctx, l1InfoRoot, dbTx
func (*StateFullInterface) GetL1InfoTreeDataFromBatchL2Data ¶
func (_m *StateFullInterface) GetL1InfoTreeDataFromBatchL2Data(ctx context.Context, batchL2Data []byte, dbTx pgx.Tx) (map[uint32]state.L1DataV2, common.Hash, common.Hash, error)
GetL1InfoTreeDataFromBatchL2Data provides a mock function with given fields: ctx, batchL2Data, dbTx
func (*StateFullInterface) GetL2BlockByNumber ¶ added in v0.6.3
func (_m *StateFullInterface) GetL2BlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)
GetL2BlockByNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StateFullInterface) GetLastBatchNumber ¶
GetLastBatchNumber provides a mock function with given fields: ctx, dbTx
func (*StateFullInterface) GetLastBlock ¶
GetLastBlock provides a mock function with given fields: ctx, dbTx
func (*StateFullInterface) GetLastL2BlockByBatchNumber ¶ added in v0.6.0
func (_m *StateFullInterface) GetLastL2BlockByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)
GetLastL2BlockByBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StateFullInterface) GetLastL2BlockNumber ¶ added in v0.6.3
func (_m *StateFullInterface) GetLastL2BlockNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
GetLastL2BlockNumber provides a mock function with given fields: ctx, dbTx
func (*StateFullInterface) GetLastVerifiedBatch ¶
func (_m *StateFullInterface) GetLastVerifiedBatch(ctx context.Context, dbTx pgx.Tx) (*state.VerifiedBatch, error)
GetLastVerifiedBatch provides a mock function with given fields: ctx, dbTx
func (*StateFullInterface) GetLastVirtualBatchNum ¶
func (_m *StateFullInterface) GetLastVirtualBatchNum(ctx context.Context, dbTx pgx.Tx) (uint64, error)
GetLastVirtualBatchNum provides a mock function with given fields: ctx, dbTx
func (*StateFullInterface) GetNextForcedBatches ¶
func (_m *StateFullInterface) GetNextForcedBatches(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx) ([]state.ForcedBatch, error)
GetNextForcedBatches provides a mock function with given fields: ctx, nextForcedBatches, dbTx
func (*StateFullInterface) GetPreviousBlock ¶
func (_m *StateFullInterface) GetPreviousBlock(ctx context.Context, offset uint64, dbTx pgx.Tx) (*state.Block, error)
GetPreviousBlock provides a mock function with given fields: ctx, offset, dbTx
func (*StateFullInterface) GetPreviousBlockToBlockNumber ¶ added in v0.6.6
func (_m *StateFullInterface) GetPreviousBlockToBlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.Block, error)
GetPreviousBlockToBlockNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StateFullInterface) GetReorgedTransactions ¶
func (_m *StateFullInterface) GetReorgedTransactions(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)
GetReorgedTransactions provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StateFullInterface) GetStateRootByBatchNumber ¶
func (_m *StateFullInterface) GetStateRootByBatchNumber(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (common.Hash, error)
GetStateRootByBatchNumber provides a mock function with given fields: ctx, batchNum, dbTx
func (*StateFullInterface) GetStoredFlushID ¶
GetStoredFlushID provides a mock function with given fields: ctx
func (*StateFullInterface) GetUncheckedBlocks ¶ added in v0.6.6
func (_m *StateFullInterface) GetUncheckedBlocks(ctx context.Context, fromBlockNumber uint64, toBlockNumber uint64, dbTx pgx.Tx) ([]*state.Block, error)
GetUncheckedBlocks provides a mock function with given fields: ctx, fromBlockNumber, toBlockNumber, dbTx
func (*StateFullInterface) OpenBatch ¶
func (_m *StateFullInterface) OpenBatch(ctx context.Context, processingContext state.ProcessingContext, dbTx pgx.Tx) error
OpenBatch provides a mock function with given fields: ctx, processingContext, dbTx
func (*StateFullInterface) ProcessAndStoreClosedBatch ¶
func (_m *StateFullInterface) ProcessAndStoreClosedBatch(ctx context.Context, processingCtx state.ProcessingContext, encodedTxs []byte, dbTx pgx.Tx, caller metrics.CallerLabel) (common.Hash, uint64, string, error)
ProcessAndStoreClosedBatch provides a mock function with given fields: ctx, processingCtx, encodedTxs, dbTx, caller
func (*StateFullInterface) ProcessAndStoreClosedBatchV2 ¶
func (_m *StateFullInterface) ProcessAndStoreClosedBatchV2(ctx context.Context, processingCtx state.ProcessingContextV2, dbTx pgx.Tx, caller metrics.CallerLabel) (common.Hash, uint64, string, error)
ProcessAndStoreClosedBatchV2 provides a mock function with given fields: ctx, processingCtx, dbTx, caller
func (*StateFullInterface) ProcessBatch ¶
func (_m *StateFullInterface) ProcessBatch(ctx context.Context, request state.ProcessRequest, updateMerkleTree bool) (*state.ProcessBatchResponse, error)
ProcessBatch provides a mock function with given fields: ctx, request, updateMerkleTree
func (*StateFullInterface) ProcessBatchV2 ¶
func (_m *StateFullInterface) ProcessBatchV2(ctx context.Context, request state.ProcessRequest, updateMerkleTree bool) (*state.ProcessBatchResponse, string, error)
ProcessBatchV2 provides a mock function with given fields: ctx, request, updateMerkleTree
func (*StateFullInterface) Reset ¶
Reset provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StateFullInterface) ResetForkID ¶
func (_m *StateFullInterface) ResetForkID(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
ResetForkID provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StateFullInterface) ResetTrustedState ¶
func (_m *StateFullInterface) ResetTrustedState(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
ResetTrustedState provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StateFullInterface) SetGenesis ¶
func (_m *StateFullInterface) SetGenesis(ctx context.Context, block state.Block, genesis state.Genesis, m metrics.CallerLabel, dbTx pgx.Tx) (common.Hash, error)
SetGenesis provides a mock function with given fields: ctx, block, genesis, m, dbTx
func (*StateFullInterface) SetInitSyncBatch ¶
func (_m *StateFullInterface) SetInitSyncBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
SetInitSyncBatch provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StateFullInterface) SetLastBatchInfoSeenOnEthereum ¶
func (_m *StateFullInterface) SetLastBatchInfoSeenOnEthereum(ctx context.Context, lastBatchNumberSeen uint64, lastBatchNumberVerified uint64, dbTx pgx.Tx) error
SetLastBatchInfoSeenOnEthereum provides a mock function with given fields: ctx, lastBatchNumberSeen, lastBatchNumberVerified, dbTx
func (*StateFullInterface) StoreL2Block ¶
func (_m *StateFullInterface) StoreL2Block(ctx context.Context, batchNumber uint64, l2Block *state.ProcessBlockResponse, txsEGPLog []*state.EffectiveGasPriceLog, dbTx pgx.Tx) (common.Hash, error)
StoreL2Block provides a mock function with given fields: ctx, batchNumber, l2Block, txsEGPLog, dbTx
func (*StateFullInterface) StoreTransaction ¶
func (_m *StateFullInterface) StoreTransaction(ctx context.Context, batchNumber uint64, processedTx *state.ProcessTransactionResponse, coinbase common.Address, timestamp uint64, egpLog *state.EffectiveGasPriceLog, globalExitRoot common.Hash, blockInfoRoot common.Hash, dbTx pgx.Tx) (*state.L2Header, error)
StoreTransaction provides a mock function with given fields: ctx, batchNumber, processedTx, coinbase, timestamp, egpLog, globalExitRoot, blockInfoRoot, dbTx
func (*StateFullInterface) UpdateBatchL2Data ¶
func (_m *StateFullInterface) UpdateBatchL2Data(ctx context.Context, batchNumber uint64, batchL2Data []byte, dbTx pgx.Tx) error
UpdateBatchL2Data provides a mock function with given fields: ctx, batchNumber, batchL2Data, dbTx
func (*StateFullInterface) UpdateBatchTimestamp ¶ added in v0.6.7
func (_m *StateFullInterface) UpdateBatchTimestamp(ctx context.Context, batchNumber uint64, timestamp time.Time, dbTx pgx.Tx) error
UpdateBatchTimestamp provides a mock function with given fields: ctx, batchNumber, timestamp, dbTx
func (*StateFullInterface) UpdateCheckedBlockByNumber ¶ added in v0.6.5
func (_m *StateFullInterface) UpdateCheckedBlockByNumber(ctx context.Context, blockNumber uint64, newCheckedStatus bool, dbTx pgx.Tx) error
UpdateCheckedBlockByNumber provides a mock function with given fields: ctx, blockNumber, newCheckedStatus, dbTx
func (*StateFullInterface) UpdateForkIDBlockNumber ¶ added in v0.6.3
func (_m *StateFullInterface) UpdateForkIDBlockNumber(ctx context.Context, forkdID uint64, newBlockNumber uint64, updateMemCache bool, dbTx pgx.Tx) error
UpdateForkIDBlockNumber provides a mock function with given fields: ctx, forkdID, newBlockNumber, updateMemCache, dbTx
func (*StateFullInterface) UpdateWIPBatch ¶
func (_m *StateFullInterface) UpdateWIPBatch(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
UpdateWIPBatch provides a mock function with given fields: ctx, receipt, dbTx
type StateFullInterface_AddAccumulatedInputHash_Call ¶
StateFullInterface_AddAccumulatedInputHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAccumulatedInputHash'
func (*StateFullInterface_AddAccumulatedInputHash_Call) Return ¶
func (_c *StateFullInterface_AddAccumulatedInputHash_Call) Return(_a0 error) *StateFullInterface_AddAccumulatedInputHash_Call
func (*StateFullInterface_AddAccumulatedInputHash_Call) Run ¶
func (_c *StateFullInterface_AddAccumulatedInputHash_Call) Run(run func(ctx context.Context, batchNum uint64, accInputHash common.Hash, dbTx pgx.Tx)) *StateFullInterface_AddAccumulatedInputHash_Call
func (*StateFullInterface_AddAccumulatedInputHash_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddAccumulatedInputHash_Call) RunAndReturn(run func(context.Context, uint64, common.Hash, pgx.Tx) error) *StateFullInterface_AddAccumulatedInputHash_Call
type StateFullInterface_AddBlock_Call ¶
StateFullInterface_AddBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlock'
func (*StateFullInterface_AddBlock_Call) Return ¶
func (_c *StateFullInterface_AddBlock_Call) Return(_a0 error) *StateFullInterface_AddBlock_Call
func (*StateFullInterface_AddBlock_Call) Run ¶
func (_c *StateFullInterface_AddBlock_Call) Run(run func(ctx context.Context, block *state.Block, dbTx pgx.Tx)) *StateFullInterface_AddBlock_Call
func (*StateFullInterface_AddBlock_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddBlock_Call) RunAndReturn(run func(context.Context, *state.Block, pgx.Tx) error) *StateFullInterface_AddBlock_Call
type StateFullInterface_AddForcedBatch_Call ¶
StateFullInterface_AddForcedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddForcedBatch'
func (*StateFullInterface_AddForcedBatch_Call) Return ¶
func (_c *StateFullInterface_AddForcedBatch_Call) Return(_a0 error) *StateFullInterface_AddForcedBatch_Call
func (*StateFullInterface_AddForcedBatch_Call) Run ¶
func (_c *StateFullInterface_AddForcedBatch_Call) Run(run func(ctx context.Context, forcedBatch *state.ForcedBatch, dbTx pgx.Tx)) *StateFullInterface_AddForcedBatch_Call
func (*StateFullInterface_AddForcedBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddForcedBatch_Call) RunAndReturn(run func(context.Context, *state.ForcedBatch, pgx.Tx) error) *StateFullInterface_AddForcedBatch_Call
type StateFullInterface_AddForkIDInterval_Call ¶
StateFullInterface_AddForkIDInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddForkIDInterval'
func (*StateFullInterface_AddForkIDInterval_Call) Return ¶
func (_c *StateFullInterface_AddForkIDInterval_Call) Return(_a0 error) *StateFullInterface_AddForkIDInterval_Call
func (*StateFullInterface_AddForkIDInterval_Call) Run ¶
func (_c *StateFullInterface_AddForkIDInterval_Call) Run(run func(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx)) *StateFullInterface_AddForkIDInterval_Call
func (*StateFullInterface_AddForkIDInterval_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddForkIDInterval_Call) RunAndReturn(run func(context.Context, state.ForkIDInterval, pgx.Tx) error) *StateFullInterface_AddForkIDInterval_Call
type StateFullInterface_AddGlobalExitRoot_Call ¶
StateFullInterface_AddGlobalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddGlobalExitRoot'
func (*StateFullInterface_AddGlobalExitRoot_Call) Return ¶
func (_c *StateFullInterface_AddGlobalExitRoot_Call) Return(_a0 error) *StateFullInterface_AddGlobalExitRoot_Call
func (*StateFullInterface_AddGlobalExitRoot_Call) Run ¶
func (_c *StateFullInterface_AddGlobalExitRoot_Call) Run(run func(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx)) *StateFullInterface_AddGlobalExitRoot_Call
func (*StateFullInterface_AddGlobalExitRoot_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddGlobalExitRoot_Call) RunAndReturn(run func(context.Context, *state.GlobalExitRoot, pgx.Tx) error) *StateFullInterface_AddGlobalExitRoot_Call
type StateFullInterface_AddL1InfoTreeLeaf_Call ¶
StateFullInterface_AddL1InfoTreeLeaf_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddL1InfoTreeLeaf'
func (*StateFullInterface_AddL1InfoTreeLeaf_Call) Return ¶
func (_c *StateFullInterface_AddL1InfoTreeLeaf_Call) Return(_a0 *state.L1InfoTreeExitRootStorageEntry, _a1 error) *StateFullInterface_AddL1InfoTreeLeaf_Call
func (*StateFullInterface_AddL1InfoTreeLeaf_Call) Run ¶
func (_c *StateFullInterface_AddL1InfoTreeLeaf_Call) Run(run func(ctx context.Context, L1InfoTreeLeaf *state.L1InfoTreeLeaf, dbTx pgx.Tx)) *StateFullInterface_AddL1InfoTreeLeaf_Call
func (*StateFullInterface_AddL1InfoTreeLeaf_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddL1InfoTreeLeaf_Call) RunAndReturn(run func(context.Context, *state.L1InfoTreeLeaf, pgx.Tx) (*state.L1InfoTreeExitRootStorageEntry, error)) *StateFullInterface_AddL1InfoTreeLeaf_Call
type StateFullInterface_AddSequence_Call ¶
StateFullInterface_AddSequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddSequence'
func (*StateFullInterface_AddSequence_Call) Return ¶
func (_c *StateFullInterface_AddSequence_Call) Return(_a0 error) *StateFullInterface_AddSequence_Call
func (*StateFullInterface_AddSequence_Call) Run ¶
func (_c *StateFullInterface_AddSequence_Call) Run(run func(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx)) *StateFullInterface_AddSequence_Call
func (*StateFullInterface_AddSequence_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddSequence_Call) RunAndReturn(run func(context.Context, state.Sequence, pgx.Tx) error) *StateFullInterface_AddSequence_Call
type StateFullInterface_AddTrustedReorg_Call ¶
StateFullInterface_AddTrustedReorg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTrustedReorg'
func (*StateFullInterface_AddTrustedReorg_Call) Return ¶
func (_c *StateFullInterface_AddTrustedReorg_Call) Return(_a0 error) *StateFullInterface_AddTrustedReorg_Call
func (*StateFullInterface_AddTrustedReorg_Call) Run ¶
func (_c *StateFullInterface_AddTrustedReorg_Call) Run(run func(ctx context.Context, trustedReorg *state.TrustedReorg, dbTx pgx.Tx)) *StateFullInterface_AddTrustedReorg_Call
func (*StateFullInterface_AddTrustedReorg_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddTrustedReorg_Call) RunAndReturn(run func(context.Context, *state.TrustedReorg, pgx.Tx) error) *StateFullInterface_AddTrustedReorg_Call
type StateFullInterface_AddVerifiedBatch_Call ¶
StateFullInterface_AddVerifiedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddVerifiedBatch'
func (*StateFullInterface_AddVerifiedBatch_Call) Return ¶
func (_c *StateFullInterface_AddVerifiedBatch_Call) Return(_a0 error) *StateFullInterface_AddVerifiedBatch_Call
func (*StateFullInterface_AddVerifiedBatch_Call) Run ¶
func (_c *StateFullInterface_AddVerifiedBatch_Call) Run(run func(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx)) *StateFullInterface_AddVerifiedBatch_Call
func (*StateFullInterface_AddVerifiedBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddVerifiedBatch_Call) RunAndReturn(run func(context.Context, *state.VerifiedBatch, pgx.Tx) error) *StateFullInterface_AddVerifiedBatch_Call
type StateFullInterface_AddVirtualBatch_Call ¶
StateFullInterface_AddVirtualBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddVirtualBatch'
func (*StateFullInterface_AddVirtualBatch_Call) Return ¶
func (_c *StateFullInterface_AddVirtualBatch_Call) Return(_a0 error) *StateFullInterface_AddVirtualBatch_Call
func (*StateFullInterface_AddVirtualBatch_Call) Run ¶
func (_c *StateFullInterface_AddVirtualBatch_Call) Run(run func(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx)) *StateFullInterface_AddVirtualBatch_Call
func (*StateFullInterface_AddVirtualBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_AddVirtualBatch_Call) RunAndReturn(run func(context.Context, *state.VirtualBatch, pgx.Tx) error) *StateFullInterface_AddVirtualBatch_Call
type StateFullInterface_BeginStateTransaction_Call ¶
StateFullInterface_BeginStateTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BeginStateTransaction'
func (*StateFullInterface_BeginStateTransaction_Call) Return ¶
func (_c *StateFullInterface_BeginStateTransaction_Call) Return(_a0 pgx.Tx, _a1 error) *StateFullInterface_BeginStateTransaction_Call
func (*StateFullInterface_BeginStateTransaction_Call) Run ¶
func (_c *StateFullInterface_BeginStateTransaction_Call) Run(run func(ctx context.Context)) *StateFullInterface_BeginStateTransaction_Call
func (*StateFullInterface_BeginStateTransaction_Call) RunAndReturn ¶
func (_c *StateFullInterface_BeginStateTransaction_Call) RunAndReturn(run func(context.Context) (pgx.Tx, error)) *StateFullInterface_BeginStateTransaction_Call
type StateFullInterface_CloseBatch_Call ¶
StateFullInterface_CloseBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseBatch'
func (*StateFullInterface_CloseBatch_Call) Return ¶
func (_c *StateFullInterface_CloseBatch_Call) Return(_a0 error) *StateFullInterface_CloseBatch_Call
func (*StateFullInterface_CloseBatch_Call) Run ¶
func (_c *StateFullInterface_CloseBatch_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StateFullInterface_CloseBatch_Call
func (*StateFullInterface_CloseBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_CloseBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StateFullInterface_CloseBatch_Call
type StateFullInterface_ExecuteBatchV2_Call ¶
StateFullInterface_ExecuteBatchV2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteBatchV2'
func (*StateFullInterface_ExecuteBatchV2_Call) Return ¶
func (_c *StateFullInterface_ExecuteBatchV2_Call) Return(_a0 *executor.ProcessBatchResponseV2, _a1 error) *StateFullInterface_ExecuteBatchV2_Call
func (*StateFullInterface_ExecuteBatchV2_Call) Run ¶
func (_c *StateFullInterface_ExecuteBatchV2_Call) Run(run func(ctx context.Context, batch state.Batch, L1InfoTreeRoot common.Hash, l1InfoTreeData map[uint32]state.L1DataV2, timestampLimit time.Time, updateMerkleTree bool, skipVerifyL1InfoRoot uint32, forcedBlockHashL1 *common.Hash, dbTx pgx.Tx)) *StateFullInterface_ExecuteBatchV2_Call
func (*StateFullInterface_ExecuteBatchV2_Call) RunAndReturn ¶
type StateFullInterface_ExecuteBatch_Call ¶
StateFullInterface_ExecuteBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExecuteBatch'
func (*StateFullInterface_ExecuteBatch_Call) Return ¶
func (_c *StateFullInterface_ExecuteBatch_Call) Return(_a0 *executor.ProcessBatchResponse, _a1 error) *StateFullInterface_ExecuteBatch_Call
func (*StateFullInterface_ExecuteBatch_Call) Run ¶
func (_c *StateFullInterface_ExecuteBatch_Call) Run(run func(ctx context.Context, batch state.Batch, updateMerkleTree bool, dbTx pgx.Tx)) *StateFullInterface_ExecuteBatch_Call
func (*StateFullInterface_ExecuteBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_ExecuteBatch_Call) RunAndReturn(run func(context.Context, state.Batch, bool, pgx.Tx) (*executor.ProcessBatchResponse, error)) *StateFullInterface_ExecuteBatch_Call
type StateFullInterface_Expecter ¶
type StateFullInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*StateFullInterface_Expecter) AddAccumulatedInputHash ¶
func (_e *StateFullInterface_Expecter) AddAccumulatedInputHash(ctx interface{}, batchNum interface{}, accInputHash interface{}, dbTx interface{}) *StateFullInterface_AddAccumulatedInputHash_Call
AddAccumulatedInputHash is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
- accInputHash common.Hash
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddBlock ¶
func (_e *StateFullInterface_Expecter) AddBlock(ctx interface{}, block interface{}, dbTx interface{}) *StateFullInterface_AddBlock_Call
AddBlock is a helper method to define mock.On call
- ctx context.Context
- block *state.Block
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddForcedBatch ¶
func (_e *StateFullInterface_Expecter) AddForcedBatch(ctx interface{}, forcedBatch interface{}, dbTx interface{}) *StateFullInterface_AddForcedBatch_Call
AddForcedBatch is a helper method to define mock.On call
- ctx context.Context
- forcedBatch *state.ForcedBatch
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddForkIDInterval ¶
func (_e *StateFullInterface_Expecter) AddForkIDInterval(ctx interface{}, newForkID interface{}, dbTx interface{}) *StateFullInterface_AddForkIDInterval_Call
AddForkIDInterval is a helper method to define mock.On call
- ctx context.Context
- newForkID state.ForkIDInterval
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddGlobalExitRoot ¶
func (_e *StateFullInterface_Expecter) AddGlobalExitRoot(ctx interface{}, exitRoot interface{}, dbTx interface{}) *StateFullInterface_AddGlobalExitRoot_Call
AddGlobalExitRoot is a helper method to define mock.On call
- ctx context.Context
- exitRoot *state.GlobalExitRoot
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddL1InfoTreeLeaf ¶
func (_e *StateFullInterface_Expecter) AddL1InfoTreeLeaf(ctx interface{}, L1InfoTreeLeaf interface{}, dbTx interface{}) *StateFullInterface_AddL1InfoTreeLeaf_Call
AddL1InfoTreeLeaf is a helper method to define mock.On call
- ctx context.Context
- L1InfoTreeLeaf *state.L1InfoTreeLeaf
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddSequence ¶
func (_e *StateFullInterface_Expecter) AddSequence(ctx interface{}, sequence interface{}, dbTx interface{}) *StateFullInterface_AddSequence_Call
AddSequence is a helper method to define mock.On call
- ctx context.Context
- sequence state.Sequence
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddTrustedReorg ¶
func (_e *StateFullInterface_Expecter) AddTrustedReorg(ctx interface{}, trustedReorg interface{}, dbTx interface{}) *StateFullInterface_AddTrustedReorg_Call
AddTrustedReorg is a helper method to define mock.On call
- ctx context.Context
- trustedReorg *state.TrustedReorg
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddVerifiedBatch ¶
func (_e *StateFullInterface_Expecter) AddVerifiedBatch(ctx interface{}, verifiedBatch interface{}, dbTx interface{}) *StateFullInterface_AddVerifiedBatch_Call
AddVerifiedBatch is a helper method to define mock.On call
- ctx context.Context
- verifiedBatch *state.VerifiedBatch
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) AddVirtualBatch ¶
func (_e *StateFullInterface_Expecter) AddVirtualBatch(ctx interface{}, virtualBatch interface{}, dbTx interface{}) *StateFullInterface_AddVirtualBatch_Call
AddVirtualBatch is a helper method to define mock.On call
- ctx context.Context
- virtualBatch *state.VirtualBatch
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) BeginStateTransaction ¶
func (_e *StateFullInterface_Expecter) BeginStateTransaction(ctx interface{}) *StateFullInterface_BeginStateTransaction_Call
BeginStateTransaction is a helper method to define mock.On call
- ctx context.Context
func (*StateFullInterface_Expecter) CloseBatch ¶
func (_e *StateFullInterface_Expecter) CloseBatch(ctx interface{}, receipt interface{}, dbTx interface{}) *StateFullInterface_CloseBatch_Call
CloseBatch is a helper method to define mock.On call
- ctx context.Context
- receipt state.ProcessingReceipt
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) ExecuteBatch ¶
func (_e *StateFullInterface_Expecter) ExecuteBatch(ctx interface{}, batch interface{}, updateMerkleTree interface{}, dbTx interface{}) *StateFullInterface_ExecuteBatch_Call
ExecuteBatch is a helper method to define mock.On call
- ctx context.Context
- batch state.Batch
- updateMerkleTree bool
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) ExecuteBatchV2 ¶
func (_e *StateFullInterface_Expecter) ExecuteBatchV2(ctx interface{}, batch interface{}, L1InfoTreeRoot interface{}, l1InfoTreeData interface{}, timestampLimit interface{}, updateMerkleTree interface{}, skipVerifyL1InfoRoot interface{}, forcedBlockHashL1 interface{}, dbTx interface{}) *StateFullInterface_ExecuteBatchV2_Call
ExecuteBatchV2 is a helper method to define mock.On call
- ctx context.Context
- batch state.Batch
- L1InfoTreeRoot common.Hash
- l1InfoTreeData map[uint32]state.L1DataV2
- timestampLimit time.Time
- updateMerkleTree bool
- skipVerifyL1InfoRoot uint32
- forcedBlockHashL1 *common.Hash
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetBatchByNumber ¶
func (_e *StateFullInterface_Expecter) GetBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetBatchByNumber_Call
GetBatchByNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetBlockByNumber ¶ added in v0.6.6
func (_e *StateFullInterface_Expecter) GetBlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetBlockByNumber_Call
GetBlockByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetExitRootByGlobalExitRoot ¶
func (_e *StateFullInterface_Expecter) GetExitRootByGlobalExitRoot(ctx interface{}, ger interface{}, dbTx interface{}) *StateFullInterface_GetExitRootByGlobalExitRoot_Call
GetExitRootByGlobalExitRoot is a helper method to define mock.On call
- ctx context.Context
- ger common.Hash
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetFirstUncheckedBlock ¶ added in v0.6.5
func (_e *StateFullInterface_Expecter) GetFirstUncheckedBlock(ctx interface{}, fromBlockNumber interface{}, dbTx interface{}) *StateFullInterface_GetFirstUncheckedBlock_Call
GetFirstUncheckedBlock is a helper method to define mock.On call
- ctx context.Context
- fromBlockNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetForkIDByBatchNumber ¶
func (_e *StateFullInterface_Expecter) GetForkIDByBatchNumber(batchNumber interface{}) *StateFullInterface_GetForkIDByBatchNumber_Call
GetForkIDByBatchNumber is a helper method to define mock.On call
- batchNumber uint64
func (*StateFullInterface_Expecter) GetForkIDByBlockNumber ¶
func (_e *StateFullInterface_Expecter) GetForkIDByBlockNumber(blockNumber interface{}) *StateFullInterface_GetForkIDByBlockNumber_Call
GetForkIDByBlockNumber is a helper method to define mock.On call
- blockNumber uint64
func (*StateFullInterface_Expecter) GetForkIDInMemory ¶ added in v0.5.4
func (_e *StateFullInterface_Expecter) GetForkIDInMemory(forkId interface{}) *StateFullInterface_GetForkIDInMemory_Call
GetForkIDInMemory is a helper method to define mock.On call
- forkId uint64
func (*StateFullInterface_Expecter) GetForkIDs ¶
func (_e *StateFullInterface_Expecter) GetForkIDs(ctx interface{}, dbTx interface{}) *StateFullInterface_GetForkIDs_Call
GetForkIDs is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetL1InfoRootLeafByL1InfoRoot ¶
func (_e *StateFullInterface_Expecter) GetL1InfoRootLeafByL1InfoRoot(ctx interface{}, l1InfoRoot interface{}, dbTx interface{}) *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call
GetL1InfoRootLeafByL1InfoRoot is a helper method to define mock.On call
- ctx context.Context
- l1InfoRoot common.Hash
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetL1InfoTreeDataFromBatchL2Data ¶
func (_e *StateFullInterface_Expecter) GetL1InfoTreeDataFromBatchL2Data(ctx interface{}, batchL2Data interface{}, dbTx interface{}) *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call
GetL1InfoTreeDataFromBatchL2Data is a helper method to define mock.On call
- ctx context.Context
- batchL2Data []byte
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetL2BlockByNumber ¶ added in v0.6.3
func (_e *StateFullInterface_Expecter) GetL2BlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetL2BlockByNumber_Call
GetL2BlockByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetLastBatchNumber ¶
func (_e *StateFullInterface_Expecter) GetLastBatchNumber(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastBatchNumber_Call
GetLastBatchNumber is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetLastBlock ¶
func (_e *StateFullInterface_Expecter) GetLastBlock(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastBlock_Call
GetLastBlock is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetLastL2BlockByBatchNumber ¶ added in v0.6.0
func (_e *StateFullInterface_Expecter) GetLastL2BlockByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetLastL2BlockByBatchNumber_Call
GetLastL2BlockByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetLastL2BlockNumber ¶ added in v0.6.3
func (_e *StateFullInterface_Expecter) GetLastL2BlockNumber(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastL2BlockNumber_Call
GetLastL2BlockNumber is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetLastVerifiedBatch ¶
func (_e *StateFullInterface_Expecter) GetLastVerifiedBatch(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastVerifiedBatch_Call
GetLastVerifiedBatch is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetLastVirtualBatchNum ¶
func (_e *StateFullInterface_Expecter) GetLastVirtualBatchNum(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastVirtualBatchNum_Call
GetLastVirtualBatchNum is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetNextForcedBatches ¶
func (_e *StateFullInterface_Expecter) GetNextForcedBatches(ctx interface{}, nextForcedBatches interface{}, dbTx interface{}) *StateFullInterface_GetNextForcedBatches_Call
GetNextForcedBatches is a helper method to define mock.On call
- ctx context.Context
- nextForcedBatches int
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetPreviousBlock ¶
func (_e *StateFullInterface_Expecter) GetPreviousBlock(ctx interface{}, offset interface{}, dbTx interface{}) *StateFullInterface_GetPreviousBlock_Call
GetPreviousBlock is a helper method to define mock.On call
- ctx context.Context
- offset uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetPreviousBlockToBlockNumber ¶ added in v0.6.6
func (_e *StateFullInterface_Expecter) GetPreviousBlockToBlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetPreviousBlockToBlockNumber_Call
GetPreviousBlockToBlockNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetReorgedTransactions ¶
func (_e *StateFullInterface_Expecter) GetReorgedTransactions(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetReorgedTransactions_Call
GetReorgedTransactions is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetStateRootByBatchNumber ¶
func (_e *StateFullInterface_Expecter) GetStateRootByBatchNumber(ctx interface{}, batchNum interface{}, dbTx interface{}) *StateFullInterface_GetStateRootByBatchNumber_Call
GetStateRootByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) GetStoredFlushID ¶
func (_e *StateFullInterface_Expecter) GetStoredFlushID(ctx interface{}) *StateFullInterface_GetStoredFlushID_Call
GetStoredFlushID is a helper method to define mock.On call
- ctx context.Context
func (*StateFullInterface_Expecter) GetUncheckedBlocks ¶ added in v0.6.6
func (_e *StateFullInterface_Expecter) GetUncheckedBlocks(ctx interface{}, fromBlockNumber interface{}, toBlockNumber interface{}, dbTx interface{}) *StateFullInterface_GetUncheckedBlocks_Call
GetUncheckedBlocks is a helper method to define mock.On call
- ctx context.Context
- fromBlockNumber uint64
- toBlockNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) OpenBatch ¶
func (_e *StateFullInterface_Expecter) OpenBatch(ctx interface{}, processingContext interface{}, dbTx interface{}) *StateFullInterface_OpenBatch_Call
OpenBatch is a helper method to define mock.On call
- ctx context.Context
- processingContext state.ProcessingContext
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) ProcessAndStoreClosedBatch ¶
func (_e *StateFullInterface_Expecter) ProcessAndStoreClosedBatch(ctx interface{}, processingCtx interface{}, encodedTxs interface{}, dbTx interface{}, caller interface{}) *StateFullInterface_ProcessAndStoreClosedBatch_Call
ProcessAndStoreClosedBatch is a helper method to define mock.On call
- ctx context.Context
- processingCtx state.ProcessingContext
- encodedTxs []byte
- dbTx pgx.Tx
- caller metrics.CallerLabel
func (*StateFullInterface_Expecter) ProcessAndStoreClosedBatchV2 ¶
func (_e *StateFullInterface_Expecter) ProcessAndStoreClosedBatchV2(ctx interface{}, processingCtx interface{}, dbTx interface{}, caller interface{}) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call
ProcessAndStoreClosedBatchV2 is a helper method to define mock.On call
- ctx context.Context
- processingCtx state.ProcessingContextV2
- dbTx pgx.Tx
- caller metrics.CallerLabel
func (*StateFullInterface_Expecter) ProcessBatch ¶
func (_e *StateFullInterface_Expecter) ProcessBatch(ctx interface{}, request interface{}, updateMerkleTree interface{}) *StateFullInterface_ProcessBatch_Call
ProcessBatch is a helper method to define mock.On call
- ctx context.Context
- request state.ProcessRequest
- updateMerkleTree bool
func (*StateFullInterface_Expecter) ProcessBatchV2 ¶
func (_e *StateFullInterface_Expecter) ProcessBatchV2(ctx interface{}, request interface{}, updateMerkleTree interface{}) *StateFullInterface_ProcessBatchV2_Call
ProcessBatchV2 is a helper method to define mock.On call
- ctx context.Context
- request state.ProcessRequest
- updateMerkleTree bool
func (*StateFullInterface_Expecter) Reset ¶
func (_e *StateFullInterface_Expecter) Reset(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_Reset_Call
Reset is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) ResetForkID ¶
func (_e *StateFullInterface_Expecter) ResetForkID(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_ResetForkID_Call
ResetForkID is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) ResetTrustedState ¶
func (_e *StateFullInterface_Expecter) ResetTrustedState(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_ResetTrustedState_Call
ResetTrustedState is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) SetGenesis ¶
func (_e *StateFullInterface_Expecter) SetGenesis(ctx interface{}, block interface{}, genesis interface{}, m interface{}, dbTx interface{}) *StateFullInterface_SetGenesis_Call
SetGenesis is a helper method to define mock.On call
- ctx context.Context
- block state.Block
- genesis state.Genesis
- m metrics.CallerLabel
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) SetInitSyncBatch ¶
func (_e *StateFullInterface_Expecter) SetInitSyncBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_SetInitSyncBatch_Call
SetInitSyncBatch is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) SetLastBatchInfoSeenOnEthereum ¶
func (_e *StateFullInterface_Expecter) SetLastBatchInfoSeenOnEthereum(ctx interface{}, lastBatchNumberSeen interface{}, lastBatchNumberVerified interface{}, dbTx interface{}) *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call
SetLastBatchInfoSeenOnEthereum is a helper method to define mock.On call
- ctx context.Context
- lastBatchNumberSeen uint64
- lastBatchNumberVerified uint64
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) StoreL2Block ¶
func (_e *StateFullInterface_Expecter) StoreL2Block(ctx interface{}, batchNumber interface{}, l2Block interface{}, txsEGPLog interface{}, dbTx interface{}) *StateFullInterface_StoreL2Block_Call
StoreL2Block is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- l2Block *state.ProcessBlockResponse
- txsEGPLog []*state.EffectiveGasPriceLog
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) StoreTransaction ¶
func (_e *StateFullInterface_Expecter) StoreTransaction(ctx interface{}, batchNumber interface{}, processedTx interface{}, coinbase interface{}, timestamp interface{}, egpLog interface{}, globalExitRoot interface{}, blockInfoRoot interface{}, dbTx interface{}) *StateFullInterface_StoreTransaction_Call
StoreTransaction is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- processedTx *state.ProcessTransactionResponse
- coinbase common.Address
- timestamp uint64
- egpLog *state.EffectiveGasPriceLog
- globalExitRoot common.Hash
- blockInfoRoot common.Hash
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) UpdateBatchL2Data ¶
func (_e *StateFullInterface_Expecter) UpdateBatchL2Data(ctx interface{}, batchNumber interface{}, batchL2Data interface{}, dbTx interface{}) *StateFullInterface_UpdateBatchL2Data_Call
UpdateBatchL2Data is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- batchL2Data []byte
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) UpdateBatchTimestamp ¶ added in v0.6.7
func (_e *StateFullInterface_Expecter) UpdateBatchTimestamp(ctx interface{}, batchNumber interface{}, timestamp interface{}, dbTx interface{}) *StateFullInterface_UpdateBatchTimestamp_Call
UpdateBatchTimestamp is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- timestamp time.Time
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) UpdateCheckedBlockByNumber ¶ added in v0.6.5
func (_e *StateFullInterface_Expecter) UpdateCheckedBlockByNumber(ctx interface{}, blockNumber interface{}, newCheckedStatus interface{}, dbTx interface{}) *StateFullInterface_UpdateCheckedBlockByNumber_Call
UpdateCheckedBlockByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- newCheckedStatus bool
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) UpdateForkIDBlockNumber ¶ added in v0.6.3
func (_e *StateFullInterface_Expecter) UpdateForkIDBlockNumber(ctx interface{}, forkdID interface{}, newBlockNumber interface{}, updateMemCache interface{}, dbTx interface{}) *StateFullInterface_UpdateForkIDBlockNumber_Call
UpdateForkIDBlockNumber is a helper method to define mock.On call
- ctx context.Context
- forkdID uint64
- newBlockNumber uint64
- updateMemCache bool
- dbTx pgx.Tx
func (*StateFullInterface_Expecter) UpdateWIPBatch ¶
func (_e *StateFullInterface_Expecter) UpdateWIPBatch(ctx interface{}, receipt interface{}, dbTx interface{}) *StateFullInterface_UpdateWIPBatch_Call
UpdateWIPBatch is a helper method to define mock.On call
- ctx context.Context
- receipt state.ProcessingReceipt
- dbTx pgx.Tx
type StateFullInterface_GetBatchByNumber_Call ¶
StateFullInterface_GetBatchByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchByNumber'
func (*StateFullInterface_GetBatchByNumber_Call) Return ¶
func (_c *StateFullInterface_GetBatchByNumber_Call) Return(_a0 *state.Batch, _a1 error) *StateFullInterface_GetBatchByNumber_Call
func (*StateFullInterface_GetBatchByNumber_Call) Run ¶
func (_c *StateFullInterface_GetBatchByNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetBatchByNumber_Call
func (*StateFullInterface_GetBatchByNumber_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetBatchByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StateFullInterface_GetBatchByNumber_Call
type StateFullInterface_GetBlockByNumber_Call ¶ added in v0.6.6
StateFullInterface_GetBlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockByNumber'
func (*StateFullInterface_GetBlockByNumber_Call) Return ¶ added in v0.6.6
func (_c *StateFullInterface_GetBlockByNumber_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetBlockByNumber_Call
func (*StateFullInterface_GetBlockByNumber_Call) Run ¶ added in v0.6.6
func (_c *StateFullInterface_GetBlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetBlockByNumber_Call
func (*StateFullInterface_GetBlockByNumber_Call) RunAndReturn ¶ added in v0.6.6
func (_c *StateFullInterface_GetBlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetBlockByNumber_Call
type StateFullInterface_GetExitRootByGlobalExitRoot_Call ¶
StateFullInterface_GetExitRootByGlobalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExitRootByGlobalExitRoot'
func (*StateFullInterface_GetExitRootByGlobalExitRoot_Call) Return ¶
func (_c *StateFullInterface_GetExitRootByGlobalExitRoot_Call) Return(_a0 *state.GlobalExitRoot, _a1 error) *StateFullInterface_GetExitRootByGlobalExitRoot_Call
func (*StateFullInterface_GetExitRootByGlobalExitRoot_Call) Run ¶
func (_c *StateFullInterface_GetExitRootByGlobalExitRoot_Call) Run(run func(ctx context.Context, ger common.Hash, dbTx pgx.Tx)) *StateFullInterface_GetExitRootByGlobalExitRoot_Call
func (*StateFullInterface_GetExitRootByGlobalExitRoot_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetExitRootByGlobalExitRoot_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*state.GlobalExitRoot, error)) *StateFullInterface_GetExitRootByGlobalExitRoot_Call
type StateFullInterface_GetFirstUncheckedBlock_Call ¶ added in v0.6.5
StateFullInterface_GetFirstUncheckedBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstUncheckedBlock'
func (*StateFullInterface_GetFirstUncheckedBlock_Call) Return ¶ added in v0.6.5
func (_c *StateFullInterface_GetFirstUncheckedBlock_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetFirstUncheckedBlock_Call
func (*StateFullInterface_GetFirstUncheckedBlock_Call) Run ¶ added in v0.6.5
func (_c *StateFullInterface_GetFirstUncheckedBlock_Call) Run(run func(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetFirstUncheckedBlock_Call
func (*StateFullInterface_GetFirstUncheckedBlock_Call) RunAndReturn ¶ added in v0.6.5
func (_c *StateFullInterface_GetFirstUncheckedBlock_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetFirstUncheckedBlock_Call
type StateFullInterface_GetForkIDByBatchNumber_Call ¶
StateFullInterface_GetForkIDByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForkIDByBatchNumber'
func (*StateFullInterface_GetForkIDByBatchNumber_Call) Return ¶
func (_c *StateFullInterface_GetForkIDByBatchNumber_Call) Return(_a0 uint64) *StateFullInterface_GetForkIDByBatchNumber_Call
func (*StateFullInterface_GetForkIDByBatchNumber_Call) Run ¶
func (_c *StateFullInterface_GetForkIDByBatchNumber_Call) Run(run func(batchNumber uint64)) *StateFullInterface_GetForkIDByBatchNumber_Call
func (*StateFullInterface_GetForkIDByBatchNumber_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetForkIDByBatchNumber_Call) RunAndReturn(run func(uint64) uint64) *StateFullInterface_GetForkIDByBatchNumber_Call
type StateFullInterface_GetForkIDByBlockNumber_Call ¶
StateFullInterface_GetForkIDByBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForkIDByBlockNumber'
func (*StateFullInterface_GetForkIDByBlockNumber_Call) Return ¶
func (_c *StateFullInterface_GetForkIDByBlockNumber_Call) Return(_a0 uint64) *StateFullInterface_GetForkIDByBlockNumber_Call
func (*StateFullInterface_GetForkIDByBlockNumber_Call) Run ¶
func (_c *StateFullInterface_GetForkIDByBlockNumber_Call) Run(run func(blockNumber uint64)) *StateFullInterface_GetForkIDByBlockNumber_Call
func (*StateFullInterface_GetForkIDByBlockNumber_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetForkIDByBlockNumber_Call) RunAndReturn(run func(uint64) uint64) *StateFullInterface_GetForkIDByBlockNumber_Call
type StateFullInterface_GetForkIDInMemory_Call ¶ added in v0.5.4
StateFullInterface_GetForkIDInMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForkIDInMemory'
func (*StateFullInterface_GetForkIDInMemory_Call) Return ¶ added in v0.5.4
func (_c *StateFullInterface_GetForkIDInMemory_Call) Return(_a0 *state.ForkIDInterval) *StateFullInterface_GetForkIDInMemory_Call
func (*StateFullInterface_GetForkIDInMemory_Call) Run ¶ added in v0.5.4
func (_c *StateFullInterface_GetForkIDInMemory_Call) Run(run func(forkId uint64)) *StateFullInterface_GetForkIDInMemory_Call
func (*StateFullInterface_GetForkIDInMemory_Call) RunAndReturn ¶ added in v0.5.4
func (_c *StateFullInterface_GetForkIDInMemory_Call) RunAndReturn(run func(uint64) *state.ForkIDInterval) *StateFullInterface_GetForkIDInMemory_Call
type StateFullInterface_GetForkIDs_Call ¶
StateFullInterface_GetForkIDs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForkIDs'
func (*StateFullInterface_GetForkIDs_Call) Return ¶
func (_c *StateFullInterface_GetForkIDs_Call) Return(_a0 []state.ForkIDInterval, _a1 error) *StateFullInterface_GetForkIDs_Call
func (*StateFullInterface_GetForkIDs_Call) Run ¶
func (_c *StateFullInterface_GetForkIDs_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetForkIDs_Call
func (*StateFullInterface_GetForkIDs_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetForkIDs_Call) RunAndReturn(run func(context.Context, pgx.Tx) ([]state.ForkIDInterval, error)) *StateFullInterface_GetForkIDs_Call
type StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call ¶
StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoRootLeafByL1InfoRoot'
func (*StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call) Run ¶
func (_c *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call) Run(run func(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx)) *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call
func (*StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)) *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call
type StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call ¶
StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoTreeDataFromBatchL2Data'
func (*StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) Return ¶
func (_c *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) Return(_a0 map[uint32]state.L1DataV2, _a1 common.Hash, _a2 common.Hash, _a3 error) *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call
func (*StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) Run ¶
func (_c *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) Run(run func(ctx context.Context, batchL2Data []byte, dbTx pgx.Tx)) *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call
func (*StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) RunAndReturn ¶
type StateFullInterface_GetL2BlockByNumber_Call ¶ added in v0.6.3
StateFullInterface_GetL2BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockByNumber'
func (*StateFullInterface_GetL2BlockByNumber_Call) Return ¶ added in v0.6.3
func (_c *StateFullInterface_GetL2BlockByNumber_Call) Return(_a0 *state.L2Block, _a1 error) *StateFullInterface_GetL2BlockByNumber_Call
func (*StateFullInterface_GetL2BlockByNumber_Call) Run ¶ added in v0.6.3
func (_c *StateFullInterface_GetL2BlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetL2BlockByNumber_Call
func (*StateFullInterface_GetL2BlockByNumber_Call) RunAndReturn ¶ added in v0.6.3
func (_c *StateFullInterface_GetL2BlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Block, error)) *StateFullInterface_GetL2BlockByNumber_Call
type StateFullInterface_GetLastBatchNumber_Call ¶
StateFullInterface_GetLastBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastBatchNumber'
func (*StateFullInterface_GetLastBatchNumber_Call) Return ¶
func (_c *StateFullInterface_GetLastBatchNumber_Call) Return(_a0 uint64, _a1 error) *StateFullInterface_GetLastBatchNumber_Call
func (*StateFullInterface_GetLastBatchNumber_Call) Run ¶
func (_c *StateFullInterface_GetLastBatchNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastBatchNumber_Call
func (*StateFullInterface_GetLastBatchNumber_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetLastBatchNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StateFullInterface_GetLastBatchNumber_Call
type StateFullInterface_GetLastBlock_Call ¶
StateFullInterface_GetLastBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastBlock'
func (*StateFullInterface_GetLastBlock_Call) Return ¶
func (_c *StateFullInterface_GetLastBlock_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetLastBlock_Call
func (*StateFullInterface_GetLastBlock_Call) Run ¶
func (_c *StateFullInterface_GetLastBlock_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastBlock_Call
func (*StateFullInterface_GetLastBlock_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetLastBlock_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetLastBlock_Call
type StateFullInterface_GetLastL2BlockByBatchNumber_Call ¶ added in v0.6.0
StateFullInterface_GetLastL2BlockByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL2BlockByBatchNumber'
func (*StateFullInterface_GetLastL2BlockByBatchNumber_Call) Return ¶ added in v0.6.0
func (_c *StateFullInterface_GetLastL2BlockByBatchNumber_Call) Return(_a0 *state.L2Block, _a1 error) *StateFullInterface_GetLastL2BlockByBatchNumber_Call
func (*StateFullInterface_GetLastL2BlockByBatchNumber_Call) Run ¶ added in v0.6.0
func (_c *StateFullInterface_GetLastL2BlockByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetLastL2BlockByBatchNumber_Call
func (*StateFullInterface_GetLastL2BlockByBatchNumber_Call) RunAndReturn ¶ added in v0.6.0
func (_c *StateFullInterface_GetLastL2BlockByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Block, error)) *StateFullInterface_GetLastL2BlockByBatchNumber_Call
type StateFullInterface_GetLastL2BlockNumber_Call ¶ added in v0.6.3
StateFullInterface_GetLastL2BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL2BlockNumber'
func (*StateFullInterface_GetLastL2BlockNumber_Call) Return ¶ added in v0.6.3
func (_c *StateFullInterface_GetLastL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StateFullInterface_GetLastL2BlockNumber_Call
func (*StateFullInterface_GetLastL2BlockNumber_Call) Run ¶ added in v0.6.3
func (_c *StateFullInterface_GetLastL2BlockNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastL2BlockNumber_Call
func (*StateFullInterface_GetLastL2BlockNumber_Call) RunAndReturn ¶ added in v0.6.3
func (_c *StateFullInterface_GetLastL2BlockNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StateFullInterface_GetLastL2BlockNumber_Call
type StateFullInterface_GetLastVerifiedBatch_Call ¶
StateFullInterface_GetLastVerifiedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVerifiedBatch'
func (*StateFullInterface_GetLastVerifiedBatch_Call) Return ¶
func (_c *StateFullInterface_GetLastVerifiedBatch_Call) Return(_a0 *state.VerifiedBatch, _a1 error) *StateFullInterface_GetLastVerifiedBatch_Call
func (*StateFullInterface_GetLastVerifiedBatch_Call) Run ¶
func (_c *StateFullInterface_GetLastVerifiedBatch_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastVerifiedBatch_Call
func (*StateFullInterface_GetLastVerifiedBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetLastVerifiedBatch_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.VerifiedBatch, error)) *StateFullInterface_GetLastVerifiedBatch_Call
type StateFullInterface_GetLastVirtualBatchNum_Call ¶
StateFullInterface_GetLastVirtualBatchNum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVirtualBatchNum'
func (*StateFullInterface_GetLastVirtualBatchNum_Call) Return ¶
func (_c *StateFullInterface_GetLastVirtualBatchNum_Call) Return(_a0 uint64, _a1 error) *StateFullInterface_GetLastVirtualBatchNum_Call
func (*StateFullInterface_GetLastVirtualBatchNum_Call) Run ¶
func (_c *StateFullInterface_GetLastVirtualBatchNum_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StateFullInterface_GetLastVirtualBatchNum_Call
func (*StateFullInterface_GetLastVirtualBatchNum_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetLastVirtualBatchNum_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StateFullInterface_GetLastVirtualBatchNum_Call
type StateFullInterface_GetNextForcedBatches_Call ¶
StateFullInterface_GetNextForcedBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNextForcedBatches'
func (*StateFullInterface_GetNextForcedBatches_Call) Return ¶
func (_c *StateFullInterface_GetNextForcedBatches_Call) Return(_a0 []state.ForcedBatch, _a1 error) *StateFullInterface_GetNextForcedBatches_Call
func (*StateFullInterface_GetNextForcedBatches_Call) Run ¶
func (_c *StateFullInterface_GetNextForcedBatches_Call) Run(run func(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx)) *StateFullInterface_GetNextForcedBatches_Call
func (*StateFullInterface_GetNextForcedBatches_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetNextForcedBatches_Call) RunAndReturn(run func(context.Context, int, pgx.Tx) ([]state.ForcedBatch, error)) *StateFullInterface_GetNextForcedBatches_Call
type StateFullInterface_GetPreviousBlockToBlockNumber_Call ¶ added in v0.6.6
StateFullInterface_GetPreviousBlockToBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPreviousBlockToBlockNumber'
func (*StateFullInterface_GetPreviousBlockToBlockNumber_Call) Return ¶ added in v0.6.6
func (_c *StateFullInterface_GetPreviousBlockToBlockNumber_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetPreviousBlockToBlockNumber_Call
func (*StateFullInterface_GetPreviousBlockToBlockNumber_Call) Run ¶ added in v0.6.6
func (_c *StateFullInterface_GetPreviousBlockToBlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetPreviousBlockToBlockNumber_Call
func (*StateFullInterface_GetPreviousBlockToBlockNumber_Call) RunAndReturn ¶ added in v0.6.6
func (_c *StateFullInterface_GetPreviousBlockToBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetPreviousBlockToBlockNumber_Call
type StateFullInterface_GetPreviousBlock_Call ¶
StateFullInterface_GetPreviousBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPreviousBlock'
func (*StateFullInterface_GetPreviousBlock_Call) Return ¶
func (_c *StateFullInterface_GetPreviousBlock_Call) Return(_a0 *state.Block, _a1 error) *StateFullInterface_GetPreviousBlock_Call
func (*StateFullInterface_GetPreviousBlock_Call) Run ¶
func (_c *StateFullInterface_GetPreviousBlock_Call) Run(run func(ctx context.Context, offset uint64, dbTx pgx.Tx)) *StateFullInterface_GetPreviousBlock_Call
func (*StateFullInterface_GetPreviousBlock_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetPreviousBlock_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StateFullInterface_GetPreviousBlock_Call
type StateFullInterface_GetReorgedTransactions_Call ¶
StateFullInterface_GetReorgedTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReorgedTransactions'
func (*StateFullInterface_GetReorgedTransactions_Call) Return ¶
func (_c *StateFullInterface_GetReorgedTransactions_Call) Return(_a0 []*types.Transaction, _a1 error) *StateFullInterface_GetReorgedTransactions_Call
func (*StateFullInterface_GetReorgedTransactions_Call) Run ¶
func (_c *StateFullInterface_GetReorgedTransactions_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetReorgedTransactions_Call
func (*StateFullInterface_GetReorgedTransactions_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetReorgedTransactions_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Transaction, error)) *StateFullInterface_GetReorgedTransactions_Call
type StateFullInterface_GetStateRootByBatchNumber_Call ¶
StateFullInterface_GetStateRootByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStateRootByBatchNumber'
func (*StateFullInterface_GetStateRootByBatchNumber_Call) Return ¶
func (_c *StateFullInterface_GetStateRootByBatchNumber_Call) Return(_a0 common.Hash, _a1 error) *StateFullInterface_GetStateRootByBatchNumber_Call
func (*StateFullInterface_GetStateRootByBatchNumber_Call) Run ¶
func (_c *StateFullInterface_GetStateRootByBatchNumber_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StateFullInterface_GetStateRootByBatchNumber_Call
func (*StateFullInterface_GetStateRootByBatchNumber_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetStateRootByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StateFullInterface_GetStateRootByBatchNumber_Call
type StateFullInterface_GetStoredFlushID_Call ¶
StateFullInterface_GetStoredFlushID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStoredFlushID'
func (*StateFullInterface_GetStoredFlushID_Call) Return ¶
func (_c *StateFullInterface_GetStoredFlushID_Call) Return(_a0 uint64, _a1 string, _a2 error) *StateFullInterface_GetStoredFlushID_Call
func (*StateFullInterface_GetStoredFlushID_Call) Run ¶
func (_c *StateFullInterface_GetStoredFlushID_Call) Run(run func(ctx context.Context)) *StateFullInterface_GetStoredFlushID_Call
func (*StateFullInterface_GetStoredFlushID_Call) RunAndReturn ¶
func (_c *StateFullInterface_GetStoredFlushID_Call) RunAndReturn(run func(context.Context) (uint64, string, error)) *StateFullInterface_GetStoredFlushID_Call
type StateFullInterface_GetUncheckedBlocks_Call ¶ added in v0.6.6
StateFullInterface_GetUncheckedBlocks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetUncheckedBlocks'
func (*StateFullInterface_GetUncheckedBlocks_Call) Return ¶ added in v0.6.6
func (_c *StateFullInterface_GetUncheckedBlocks_Call) Return(_a0 []*state.Block, _a1 error) *StateFullInterface_GetUncheckedBlocks_Call
func (*StateFullInterface_GetUncheckedBlocks_Call) Run ¶ added in v0.6.6
func (_c *StateFullInterface_GetUncheckedBlocks_Call) Run(run func(ctx context.Context, fromBlockNumber uint64, toBlockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetUncheckedBlocks_Call
func (*StateFullInterface_GetUncheckedBlocks_Call) RunAndReturn ¶ added in v0.6.6
type StateFullInterface_OpenBatch_Call ¶
StateFullInterface_OpenBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenBatch'
func (*StateFullInterface_OpenBatch_Call) Return ¶
func (_c *StateFullInterface_OpenBatch_Call) Return(_a0 error) *StateFullInterface_OpenBatch_Call
func (*StateFullInterface_OpenBatch_Call) Run ¶
func (_c *StateFullInterface_OpenBatch_Call) Run(run func(ctx context.Context, processingContext state.ProcessingContext, dbTx pgx.Tx)) *StateFullInterface_OpenBatch_Call
func (*StateFullInterface_OpenBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_OpenBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingContext, pgx.Tx) error) *StateFullInterface_OpenBatch_Call
type StateFullInterface_ProcessAndStoreClosedBatchV2_Call ¶
StateFullInterface_ProcessAndStoreClosedBatchV2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessAndStoreClosedBatchV2'
func (*StateFullInterface_ProcessAndStoreClosedBatchV2_Call) Return ¶
func (_c *StateFullInterface_ProcessAndStoreClosedBatchV2_Call) Return(_a0 common.Hash, _a1 uint64, _a2 string, _a3 error) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call
func (*StateFullInterface_ProcessAndStoreClosedBatchV2_Call) Run ¶
func (_c *StateFullInterface_ProcessAndStoreClosedBatchV2_Call) Run(run func(ctx context.Context, processingCtx state.ProcessingContextV2, dbTx pgx.Tx, caller metrics.CallerLabel)) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call
func (*StateFullInterface_ProcessAndStoreClosedBatchV2_Call) RunAndReturn ¶
func (_c *StateFullInterface_ProcessAndStoreClosedBatchV2_Call) RunAndReturn(run func(context.Context, state.ProcessingContextV2, pgx.Tx, metrics.CallerLabel) (common.Hash, uint64, string, error)) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call
type StateFullInterface_ProcessAndStoreClosedBatch_Call ¶
StateFullInterface_ProcessAndStoreClosedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessAndStoreClosedBatch'
func (*StateFullInterface_ProcessAndStoreClosedBatch_Call) Return ¶
func (_c *StateFullInterface_ProcessAndStoreClosedBatch_Call) Return(_a0 common.Hash, _a1 uint64, _a2 string, _a3 error) *StateFullInterface_ProcessAndStoreClosedBatch_Call
func (*StateFullInterface_ProcessAndStoreClosedBatch_Call) Run ¶
func (_c *StateFullInterface_ProcessAndStoreClosedBatch_Call) Run(run func(ctx context.Context, processingCtx state.ProcessingContext, encodedTxs []byte, dbTx pgx.Tx, caller metrics.CallerLabel)) *StateFullInterface_ProcessAndStoreClosedBatch_Call
func (*StateFullInterface_ProcessAndStoreClosedBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_ProcessAndStoreClosedBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingContext, []byte, pgx.Tx, metrics.CallerLabel) (common.Hash, uint64, string, error)) *StateFullInterface_ProcessAndStoreClosedBatch_Call
type StateFullInterface_ProcessBatchV2_Call ¶
StateFullInterface_ProcessBatchV2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessBatchV2'
func (*StateFullInterface_ProcessBatchV2_Call) Return ¶
func (_c *StateFullInterface_ProcessBatchV2_Call) Return(_a0 *state.ProcessBatchResponse, _a1 string, _a2 error) *StateFullInterface_ProcessBatchV2_Call
func (*StateFullInterface_ProcessBatchV2_Call) Run ¶
func (_c *StateFullInterface_ProcessBatchV2_Call) Run(run func(ctx context.Context, request state.ProcessRequest, updateMerkleTree bool)) *StateFullInterface_ProcessBatchV2_Call
func (*StateFullInterface_ProcessBatchV2_Call) RunAndReturn ¶
func (_c *StateFullInterface_ProcessBatchV2_Call) RunAndReturn(run func(context.Context, state.ProcessRequest, bool) (*state.ProcessBatchResponse, string, error)) *StateFullInterface_ProcessBatchV2_Call
type StateFullInterface_ProcessBatch_Call ¶
StateFullInterface_ProcessBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessBatch'
func (*StateFullInterface_ProcessBatch_Call) Return ¶
func (_c *StateFullInterface_ProcessBatch_Call) Return(_a0 *state.ProcessBatchResponse, _a1 error) *StateFullInterface_ProcessBatch_Call
func (*StateFullInterface_ProcessBatch_Call) Run ¶
func (_c *StateFullInterface_ProcessBatch_Call) Run(run func(ctx context.Context, request state.ProcessRequest, updateMerkleTree bool)) *StateFullInterface_ProcessBatch_Call
func (*StateFullInterface_ProcessBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_ProcessBatch_Call) RunAndReturn(run func(context.Context, state.ProcessRequest, bool) (*state.ProcessBatchResponse, error)) *StateFullInterface_ProcessBatch_Call
type StateFullInterface_ResetForkID_Call ¶
StateFullInterface_ResetForkID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetForkID'
func (*StateFullInterface_ResetForkID_Call) Return ¶
func (_c *StateFullInterface_ResetForkID_Call) Return(_a0 error) *StateFullInterface_ResetForkID_Call
func (*StateFullInterface_ResetForkID_Call) Run ¶
func (_c *StateFullInterface_ResetForkID_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_ResetForkID_Call
func (*StateFullInterface_ResetForkID_Call) RunAndReturn ¶
func (_c *StateFullInterface_ResetForkID_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StateFullInterface_ResetForkID_Call
type StateFullInterface_ResetTrustedState_Call ¶
StateFullInterface_ResetTrustedState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetTrustedState'
func (*StateFullInterface_ResetTrustedState_Call) Return ¶
func (_c *StateFullInterface_ResetTrustedState_Call) Return(_a0 error) *StateFullInterface_ResetTrustedState_Call
func (*StateFullInterface_ResetTrustedState_Call) Run ¶
func (_c *StateFullInterface_ResetTrustedState_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_ResetTrustedState_Call
func (*StateFullInterface_ResetTrustedState_Call) RunAndReturn ¶
func (_c *StateFullInterface_ResetTrustedState_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StateFullInterface_ResetTrustedState_Call
type StateFullInterface_Reset_Call ¶
StateFullInterface_Reset_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Reset'
func (*StateFullInterface_Reset_Call) Return ¶
func (_c *StateFullInterface_Reset_Call) Return(_a0 error) *StateFullInterface_Reset_Call
func (*StateFullInterface_Reset_Call) Run ¶
func (_c *StateFullInterface_Reset_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_Reset_Call
func (*StateFullInterface_Reset_Call) RunAndReturn ¶
func (_c *StateFullInterface_Reset_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StateFullInterface_Reset_Call
type StateFullInterface_SetGenesis_Call ¶
StateFullInterface_SetGenesis_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetGenesis'
func (*StateFullInterface_SetGenesis_Call) Return ¶
func (_c *StateFullInterface_SetGenesis_Call) Return(_a0 common.Hash, _a1 error) *StateFullInterface_SetGenesis_Call
func (*StateFullInterface_SetGenesis_Call) Run ¶
func (_c *StateFullInterface_SetGenesis_Call) Run(run func(ctx context.Context, block state.Block, genesis state.Genesis, m metrics.CallerLabel, dbTx pgx.Tx)) *StateFullInterface_SetGenesis_Call
func (*StateFullInterface_SetGenesis_Call) RunAndReturn ¶
func (_c *StateFullInterface_SetGenesis_Call) RunAndReturn(run func(context.Context, state.Block, state.Genesis, metrics.CallerLabel, pgx.Tx) (common.Hash, error)) *StateFullInterface_SetGenesis_Call
type StateFullInterface_SetInitSyncBatch_Call ¶
StateFullInterface_SetInitSyncBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetInitSyncBatch'
func (*StateFullInterface_SetInitSyncBatch_Call) Return ¶
func (_c *StateFullInterface_SetInitSyncBatch_Call) Return(_a0 error) *StateFullInterface_SetInitSyncBatch_Call
func (*StateFullInterface_SetInitSyncBatch_Call) Run ¶
func (_c *StateFullInterface_SetInitSyncBatch_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateFullInterface_SetInitSyncBatch_Call
func (*StateFullInterface_SetInitSyncBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_SetInitSyncBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StateFullInterface_SetInitSyncBatch_Call
type StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call ¶
StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLastBatchInfoSeenOnEthereum'
func (*StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) Run ¶
func (_c *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) Run(run func(ctx context.Context, lastBatchNumberSeen uint64, lastBatchNumberVerified uint64, dbTx pgx.Tx)) *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call
func (*StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) RunAndReturn ¶
func (_c *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) error) *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call
type StateFullInterface_StoreL2Block_Call ¶
StateFullInterface_StoreL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreL2Block'
func (*StateFullInterface_StoreL2Block_Call) Return ¶
func (_c *StateFullInterface_StoreL2Block_Call) Return(_a0 common.Hash, _a1 error) *StateFullInterface_StoreL2Block_Call
func (*StateFullInterface_StoreL2Block_Call) Run ¶
func (_c *StateFullInterface_StoreL2Block_Call) Run(run func(ctx context.Context, batchNumber uint64, l2Block *state.ProcessBlockResponse, txsEGPLog []*state.EffectiveGasPriceLog, dbTx pgx.Tx)) *StateFullInterface_StoreL2Block_Call
func (*StateFullInterface_StoreL2Block_Call) RunAndReturn ¶
func (_c *StateFullInterface_StoreL2Block_Call) RunAndReturn(run func(context.Context, uint64, *state.ProcessBlockResponse, []*state.EffectiveGasPriceLog, pgx.Tx) (common.Hash, error)) *StateFullInterface_StoreL2Block_Call
type StateFullInterface_StoreTransaction_Call ¶
StateFullInterface_StoreTransaction_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreTransaction'
func (*StateFullInterface_StoreTransaction_Call) Return ¶
func (_c *StateFullInterface_StoreTransaction_Call) Return(_a0 *state.L2Header, _a1 error) *StateFullInterface_StoreTransaction_Call
func (*StateFullInterface_StoreTransaction_Call) Run ¶
func (_c *StateFullInterface_StoreTransaction_Call) Run(run func(ctx context.Context, batchNumber uint64, processedTx *state.ProcessTransactionResponse, coinbase common.Address, timestamp uint64, egpLog *state.EffectiveGasPriceLog, globalExitRoot common.Hash, blockInfoRoot common.Hash, dbTx pgx.Tx)) *StateFullInterface_StoreTransaction_Call
func (*StateFullInterface_StoreTransaction_Call) RunAndReturn ¶
type StateFullInterface_UpdateBatchL2Data_Call ¶
StateFullInterface_UpdateBatchL2Data_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateBatchL2Data'
func (*StateFullInterface_UpdateBatchL2Data_Call) Return ¶
func (_c *StateFullInterface_UpdateBatchL2Data_Call) Return(_a0 error) *StateFullInterface_UpdateBatchL2Data_Call
func (*StateFullInterface_UpdateBatchL2Data_Call) Run ¶
func (_c *StateFullInterface_UpdateBatchL2Data_Call) Run(run func(ctx context.Context, batchNumber uint64, batchL2Data []byte, dbTx pgx.Tx)) *StateFullInterface_UpdateBatchL2Data_Call
func (*StateFullInterface_UpdateBatchL2Data_Call) RunAndReturn ¶
func (_c *StateFullInterface_UpdateBatchL2Data_Call) RunAndReturn(run func(context.Context, uint64, []byte, pgx.Tx) error) *StateFullInterface_UpdateBatchL2Data_Call
type StateFullInterface_UpdateBatchTimestamp_Call ¶ added in v0.6.7
StateFullInterface_UpdateBatchTimestamp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateBatchTimestamp'
func (*StateFullInterface_UpdateBatchTimestamp_Call) Return ¶ added in v0.6.7
func (_c *StateFullInterface_UpdateBatchTimestamp_Call) Return(_a0 error) *StateFullInterface_UpdateBatchTimestamp_Call
func (*StateFullInterface_UpdateBatchTimestamp_Call) Run ¶ added in v0.6.7
func (_c *StateFullInterface_UpdateBatchTimestamp_Call) Run(run func(ctx context.Context, batchNumber uint64, timestamp time.Time, dbTx pgx.Tx)) *StateFullInterface_UpdateBatchTimestamp_Call
func (*StateFullInterface_UpdateBatchTimestamp_Call) RunAndReturn ¶ added in v0.6.7
func (_c *StateFullInterface_UpdateBatchTimestamp_Call) RunAndReturn(run func(context.Context, uint64, time.Time, pgx.Tx) error) *StateFullInterface_UpdateBatchTimestamp_Call
type StateFullInterface_UpdateCheckedBlockByNumber_Call ¶ added in v0.6.5
StateFullInterface_UpdateCheckedBlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateCheckedBlockByNumber'
func (*StateFullInterface_UpdateCheckedBlockByNumber_Call) Run ¶ added in v0.6.5
func (_c *StateFullInterface_UpdateCheckedBlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, newCheckedStatus bool, dbTx pgx.Tx)) *StateFullInterface_UpdateCheckedBlockByNumber_Call
func (*StateFullInterface_UpdateCheckedBlockByNumber_Call) RunAndReturn ¶ added in v0.6.5
func (_c *StateFullInterface_UpdateCheckedBlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, bool, pgx.Tx) error) *StateFullInterface_UpdateCheckedBlockByNumber_Call
type StateFullInterface_UpdateForkIDBlockNumber_Call ¶ added in v0.6.3
StateFullInterface_UpdateForkIDBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForkIDBlockNumber'
func (*StateFullInterface_UpdateForkIDBlockNumber_Call) Return ¶ added in v0.6.3
func (_c *StateFullInterface_UpdateForkIDBlockNumber_Call) Return(_a0 error) *StateFullInterface_UpdateForkIDBlockNumber_Call
func (*StateFullInterface_UpdateForkIDBlockNumber_Call) Run ¶ added in v0.6.3
func (_c *StateFullInterface_UpdateForkIDBlockNumber_Call) Run(run func(ctx context.Context, forkdID uint64, newBlockNumber uint64, updateMemCache bool, dbTx pgx.Tx)) *StateFullInterface_UpdateForkIDBlockNumber_Call
func (*StateFullInterface_UpdateForkIDBlockNumber_Call) RunAndReturn ¶ added in v0.6.3
func (_c *StateFullInterface_UpdateForkIDBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, uint64, bool, pgx.Tx) error) *StateFullInterface_UpdateForkIDBlockNumber_Call
type StateFullInterface_UpdateWIPBatch_Call ¶
StateFullInterface_UpdateWIPBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWIPBatch'
func (*StateFullInterface_UpdateWIPBatch_Call) Return ¶
func (_c *StateFullInterface_UpdateWIPBatch_Call) Return(_a0 error) *StateFullInterface_UpdateWIPBatch_Call
func (*StateFullInterface_UpdateWIPBatch_Call) Run ¶
func (_c *StateFullInterface_UpdateWIPBatch_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StateFullInterface_UpdateWIPBatch_Call
func (*StateFullInterface_UpdateWIPBatch_Call) RunAndReturn ¶
func (_c *StateFullInterface_UpdateWIPBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StateFullInterface_UpdateWIPBatch_Call
type StateGetBatchByNumberInterface ¶
StateGetBatchByNumberInterface is an autogenerated mock type for the StateGetBatchByNumberInterface type
func NewStateGetBatchByNumberInterface ¶
func NewStateGetBatchByNumberInterface(t interface { mock.TestingT Cleanup(func()) }) *StateGetBatchByNumberInterface
NewStateGetBatchByNumberInterface creates a new instance of StateGetBatchByNumberInterface. 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 (*StateGetBatchByNumberInterface) EXPECT ¶
func (_m *StateGetBatchByNumberInterface) EXPECT() *StateGetBatchByNumberInterface_Expecter
type StateGetBatchByNumberInterface_Expecter ¶
type StateGetBatchByNumberInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*StateGetBatchByNumberInterface_Expecter) GetBatchByNumber ¶
func (_e *StateGetBatchByNumberInterface_Expecter) GetBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateGetBatchByNumberInterface_GetBatchByNumber_Call
GetBatchByNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
type StateGetBatchByNumberInterface_GetBatchByNumber_Call ¶
StateGetBatchByNumberInterface_GetBatchByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchByNumber'
func (*StateGetBatchByNumberInterface_GetBatchByNumber_Call) Return ¶
func (_c *StateGetBatchByNumberInterface_GetBatchByNumber_Call) Return(_a0 *state.Batch, _a1 error) *StateGetBatchByNumberInterface_GetBatchByNumber_Call
func (*StateGetBatchByNumberInterface_GetBatchByNumber_Call) Run ¶
func (_c *StateGetBatchByNumberInterface_GetBatchByNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StateGetBatchByNumberInterface_GetBatchByNumber_Call
func (*StateGetBatchByNumberInterface_GetBatchByNumber_Call) RunAndReturn ¶
func (_c *StateGetBatchByNumberInterface_GetBatchByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StateGetBatchByNumberInterface_GetBatchByNumber_Call
type SyncTrustedStateExecutor ¶
SyncTrustedStateExecutor is an autogenerated mock type for the SyncTrustedStateExecutor type
func NewSyncTrustedStateExecutor ¶
func NewSyncTrustedStateExecutor(t interface { mock.TestingT Cleanup(func()) }) *SyncTrustedStateExecutor
NewSyncTrustedStateExecutor creates a new instance of SyncTrustedStateExecutor. 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 (*SyncTrustedStateExecutor) CleanTrustedState ¶
func (_m *SyncTrustedStateExecutor) CleanTrustedState()
CleanTrustedState provides a mock function with given fields:
func (*SyncTrustedStateExecutor) EXPECT ¶
func (_m *SyncTrustedStateExecutor) EXPECT() *SyncTrustedStateExecutor_Expecter
func (*SyncTrustedStateExecutor) GetCachedBatch ¶ added in v0.5.4
func (_m *SyncTrustedStateExecutor) GetCachedBatch(batchNumber uint64) *state.Batch
GetCachedBatch provides a mock function with given fields: batchNumber
func (*SyncTrustedStateExecutor) SyncTrustedState ¶
func (_m *SyncTrustedStateExecutor) SyncTrustedState(ctx context.Context, latestSyncedBatch uint64, maximumBatchNumberToProcess uint64) error
SyncTrustedState provides a mock function with given fields: ctx, latestSyncedBatch, maximumBatchNumberToProcess
type SyncTrustedStateExecutor_CleanTrustedState_Call ¶
SyncTrustedStateExecutor_CleanTrustedState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanTrustedState'
func (*SyncTrustedStateExecutor_CleanTrustedState_Call) Run ¶
func (_c *SyncTrustedStateExecutor_CleanTrustedState_Call) Run(run func()) *SyncTrustedStateExecutor_CleanTrustedState_Call
func (*SyncTrustedStateExecutor_CleanTrustedState_Call) RunAndReturn ¶
func (_c *SyncTrustedStateExecutor_CleanTrustedState_Call) RunAndReturn(run func()) *SyncTrustedStateExecutor_CleanTrustedState_Call
type SyncTrustedStateExecutor_Expecter ¶
type SyncTrustedStateExecutor_Expecter struct {
// contains filtered or unexported fields
}
func (*SyncTrustedStateExecutor_Expecter) CleanTrustedState ¶
func (_e *SyncTrustedStateExecutor_Expecter) CleanTrustedState() *SyncTrustedStateExecutor_CleanTrustedState_Call
CleanTrustedState is a helper method to define mock.On call
func (*SyncTrustedStateExecutor_Expecter) GetCachedBatch ¶ added in v0.5.4
func (_e *SyncTrustedStateExecutor_Expecter) GetCachedBatch(batchNumber interface{}) *SyncTrustedStateExecutor_GetCachedBatch_Call
GetCachedBatch is a helper method to define mock.On call
- batchNumber uint64
func (*SyncTrustedStateExecutor_Expecter) SyncTrustedState ¶
func (_e *SyncTrustedStateExecutor_Expecter) SyncTrustedState(ctx interface{}, latestSyncedBatch interface{}, maximumBatchNumberToProcess interface{}) *SyncTrustedStateExecutor_SyncTrustedState_Call
SyncTrustedState is a helper method to define mock.On call
- ctx context.Context
- latestSyncedBatch uint64
- maximumBatchNumberToProcess uint64
type SyncTrustedStateExecutor_GetCachedBatch_Call ¶ added in v0.5.4
SyncTrustedStateExecutor_GetCachedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetCachedBatch'
func (*SyncTrustedStateExecutor_GetCachedBatch_Call) Return ¶ added in v0.5.4
func (_c *SyncTrustedStateExecutor_GetCachedBatch_Call) Return(_a0 *state.Batch) *SyncTrustedStateExecutor_GetCachedBatch_Call
func (*SyncTrustedStateExecutor_GetCachedBatch_Call) Run ¶ added in v0.5.4
func (_c *SyncTrustedStateExecutor_GetCachedBatch_Call) Run(run func(batchNumber uint64)) *SyncTrustedStateExecutor_GetCachedBatch_Call
func (*SyncTrustedStateExecutor_GetCachedBatch_Call) RunAndReturn ¶ added in v0.5.4
func (_c *SyncTrustedStateExecutor_GetCachedBatch_Call) RunAndReturn(run func(uint64) *state.Batch) *SyncTrustedStateExecutor_GetCachedBatch_Call
type SyncTrustedStateExecutor_SyncTrustedState_Call ¶
SyncTrustedStateExecutor_SyncTrustedState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SyncTrustedState'
func (*SyncTrustedStateExecutor_SyncTrustedState_Call) Return ¶
func (_c *SyncTrustedStateExecutor_SyncTrustedState_Call) Return(_a0 error) *SyncTrustedStateExecutor_SyncTrustedState_Call
func (*SyncTrustedStateExecutor_SyncTrustedState_Call) Run ¶
func (_c *SyncTrustedStateExecutor_SyncTrustedState_Call) Run(run func(ctx context.Context, latestSyncedBatch uint64, maximumBatchNumberToProcess uint64)) *SyncTrustedStateExecutor_SyncTrustedState_Call
func (*SyncTrustedStateExecutor_SyncTrustedState_Call) RunAndReturn ¶
func (_c *SyncTrustedStateExecutor_SyncTrustedState_Call) RunAndReturn(run func(context.Context, uint64, uint64) error) *SyncTrustedStateExecutor_SyncTrustedState_Call
type SynchronizerCleanTrustedState ¶
SynchronizerCleanTrustedState is an autogenerated mock type for the SynchronizerCleanTrustedState type
func NewSynchronizerCleanTrustedState ¶
func NewSynchronizerCleanTrustedState(t interface { mock.TestingT Cleanup(func()) }) *SynchronizerCleanTrustedState
NewSynchronizerCleanTrustedState creates a new instance of SynchronizerCleanTrustedState. 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 (*SynchronizerCleanTrustedState) CleanTrustedState ¶
func (_m *SynchronizerCleanTrustedState) CleanTrustedState()
CleanTrustedState provides a mock function with given fields:
func (*SynchronizerCleanTrustedState) EXPECT ¶
func (_m *SynchronizerCleanTrustedState) EXPECT() *SynchronizerCleanTrustedState_Expecter
type SynchronizerCleanTrustedState_CleanTrustedState_Call ¶
SynchronizerCleanTrustedState_CleanTrustedState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanTrustedState'
func (*SynchronizerCleanTrustedState_CleanTrustedState_Call) Run ¶
func (_c *SynchronizerCleanTrustedState_CleanTrustedState_Call) Run(run func()) *SynchronizerCleanTrustedState_CleanTrustedState_Call
func (*SynchronizerCleanTrustedState_CleanTrustedState_Call) RunAndReturn ¶
func (_c *SynchronizerCleanTrustedState_CleanTrustedState_Call) RunAndReturn(run func()) *SynchronizerCleanTrustedState_CleanTrustedState_Call
type SynchronizerCleanTrustedState_Expecter ¶
type SynchronizerCleanTrustedState_Expecter struct {
// contains filtered or unexported fields
}
func (*SynchronizerCleanTrustedState_Expecter) CleanTrustedState ¶
func (_e *SynchronizerCleanTrustedState_Expecter) CleanTrustedState() *SynchronizerCleanTrustedState_CleanTrustedState_Call
CleanTrustedState is a helper method to define mock.On call
type SynchronizerFlushIDManager ¶
SynchronizerFlushIDManager is an autogenerated mock type for the SynchronizerFlushIDManager type
func NewSynchronizerFlushIDManager ¶
func NewSynchronizerFlushIDManager(t interface { mock.TestingT Cleanup(func()) }) *SynchronizerFlushIDManager
NewSynchronizerFlushIDManager creates a new instance of SynchronizerFlushIDManager. 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 (*SynchronizerFlushIDManager) CheckFlushID ¶
func (_m *SynchronizerFlushIDManager) CheckFlushID(dbTx pgx.Tx) error
CheckFlushID provides a mock function with given fields: dbTx
func (*SynchronizerFlushIDManager) EXPECT ¶
func (_m *SynchronizerFlushIDManager) EXPECT() *SynchronizerFlushIDManager_Expecter
func (*SynchronizerFlushIDManager) PendingFlushID ¶
func (_m *SynchronizerFlushIDManager) PendingFlushID(flushID uint64, proverID string)
PendingFlushID provides a mock function with given fields: flushID, proverID
type SynchronizerFlushIDManager_CheckFlushID_Call ¶
SynchronizerFlushIDManager_CheckFlushID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckFlushID'
func (*SynchronizerFlushIDManager_CheckFlushID_Call) Return ¶
func (_c *SynchronizerFlushIDManager_CheckFlushID_Call) Return(_a0 error) *SynchronizerFlushIDManager_CheckFlushID_Call
func (*SynchronizerFlushIDManager_CheckFlushID_Call) Run ¶
func (_c *SynchronizerFlushIDManager_CheckFlushID_Call) Run(run func(dbTx pgx.Tx)) *SynchronizerFlushIDManager_CheckFlushID_Call
func (*SynchronizerFlushIDManager_CheckFlushID_Call) RunAndReturn ¶
func (_c *SynchronizerFlushIDManager_CheckFlushID_Call) RunAndReturn(run func(pgx.Tx) error) *SynchronizerFlushIDManager_CheckFlushID_Call
type SynchronizerFlushIDManager_Expecter ¶
type SynchronizerFlushIDManager_Expecter struct {
// contains filtered or unexported fields
}
func (*SynchronizerFlushIDManager_Expecter) CheckFlushID ¶
func (_e *SynchronizerFlushIDManager_Expecter) CheckFlushID(dbTx interface{}) *SynchronizerFlushIDManager_CheckFlushID_Call
CheckFlushID is a helper method to define mock.On call
- dbTx pgx.Tx
func (*SynchronizerFlushIDManager_Expecter) PendingFlushID ¶
func (_e *SynchronizerFlushIDManager_Expecter) PendingFlushID(flushID interface{}, proverID interface{}) *SynchronizerFlushIDManager_PendingFlushID_Call
PendingFlushID is a helper method to define mock.On call
- flushID uint64
- proverID string
type SynchronizerFlushIDManager_PendingFlushID_Call ¶
SynchronizerFlushIDManager_PendingFlushID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingFlushID'
func (*SynchronizerFlushIDManager_PendingFlushID_Call) Run ¶
func (_c *SynchronizerFlushIDManager_PendingFlushID_Call) Run(run func(flushID uint64, proverID string)) *SynchronizerFlushIDManager_PendingFlushID_Call
func (*SynchronizerFlushIDManager_PendingFlushID_Call) RunAndReturn ¶
func (_c *SynchronizerFlushIDManager_PendingFlushID_Call) RunAndReturn(run func(uint64, string)) *SynchronizerFlushIDManager_PendingFlushID_Call
type SynchronizerFullInterface ¶
SynchronizerFullInterface is an autogenerated mock type for the SynchronizerFullInterface type
func NewSynchronizerFullInterface ¶
func NewSynchronizerFullInterface(t interface { mock.TestingT Cleanup(func()) }) *SynchronizerFullInterface
NewSynchronizerFullInterface creates a new instance of SynchronizerFullInterface. 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 (*SynchronizerFullInterface) CheckFlushID ¶
func (_m *SynchronizerFullInterface) CheckFlushID(dbTx pgx.Tx) error
CheckFlushID provides a mock function with given fields: dbTx
func (*SynchronizerFullInterface) CleanTrustedState ¶
func (_m *SynchronizerFullInterface) CleanTrustedState()
CleanTrustedState provides a mock function with given fields:
func (*SynchronizerFullInterface) EXPECT ¶
func (_m *SynchronizerFullInterface) EXPECT() *SynchronizerFullInterface_Expecter
func (*SynchronizerFullInterface) IsTrustedSequencer ¶
func (_m *SynchronizerFullInterface) IsTrustedSequencer() bool
IsTrustedSequencer provides a mock function with given fields:
func (*SynchronizerFullInterface) PendingFlushID ¶
func (_m *SynchronizerFullInterface) PendingFlushID(flushID uint64, proverID string)
PendingFlushID provides a mock function with given fields: flushID, proverID
type SynchronizerFullInterface_CheckFlushID_Call ¶
SynchronizerFullInterface_CheckFlushID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckFlushID'
func (*SynchronizerFullInterface_CheckFlushID_Call) Return ¶
func (_c *SynchronizerFullInterface_CheckFlushID_Call) Return(_a0 error) *SynchronizerFullInterface_CheckFlushID_Call
func (*SynchronizerFullInterface_CheckFlushID_Call) Run ¶
func (_c *SynchronizerFullInterface_CheckFlushID_Call) Run(run func(dbTx pgx.Tx)) *SynchronizerFullInterface_CheckFlushID_Call
func (*SynchronizerFullInterface_CheckFlushID_Call) RunAndReturn ¶
func (_c *SynchronizerFullInterface_CheckFlushID_Call) RunAndReturn(run func(pgx.Tx) error) *SynchronizerFullInterface_CheckFlushID_Call
type SynchronizerFullInterface_CleanTrustedState_Call ¶
SynchronizerFullInterface_CleanTrustedState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanTrustedState'
func (*SynchronizerFullInterface_CleanTrustedState_Call) Run ¶
func (_c *SynchronizerFullInterface_CleanTrustedState_Call) Run(run func()) *SynchronizerFullInterface_CleanTrustedState_Call
func (*SynchronizerFullInterface_CleanTrustedState_Call) RunAndReturn ¶
func (_c *SynchronizerFullInterface_CleanTrustedState_Call) RunAndReturn(run func()) *SynchronizerFullInterface_CleanTrustedState_Call
type SynchronizerFullInterface_Expecter ¶
type SynchronizerFullInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*SynchronizerFullInterface_Expecter) CheckFlushID ¶
func (_e *SynchronizerFullInterface_Expecter) CheckFlushID(dbTx interface{}) *SynchronizerFullInterface_CheckFlushID_Call
CheckFlushID is a helper method to define mock.On call
- dbTx pgx.Tx
func (*SynchronizerFullInterface_Expecter) CleanTrustedState ¶
func (_e *SynchronizerFullInterface_Expecter) CleanTrustedState() *SynchronizerFullInterface_CleanTrustedState_Call
CleanTrustedState is a helper method to define mock.On call
func (*SynchronizerFullInterface_Expecter) IsTrustedSequencer ¶
func (_e *SynchronizerFullInterface_Expecter) IsTrustedSequencer() *SynchronizerFullInterface_IsTrustedSequencer_Call
IsTrustedSequencer is a helper method to define mock.On call
func (*SynchronizerFullInterface_Expecter) PendingFlushID ¶
func (_e *SynchronizerFullInterface_Expecter) PendingFlushID(flushID interface{}, proverID interface{}) *SynchronizerFullInterface_PendingFlushID_Call
PendingFlushID is a helper method to define mock.On call
- flushID uint64
- proverID string
type SynchronizerFullInterface_IsTrustedSequencer_Call ¶
SynchronizerFullInterface_IsTrustedSequencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsTrustedSequencer'
func (*SynchronizerFullInterface_IsTrustedSequencer_Call) Return ¶
func (_c *SynchronizerFullInterface_IsTrustedSequencer_Call) Return(_a0 bool) *SynchronizerFullInterface_IsTrustedSequencer_Call
func (*SynchronizerFullInterface_IsTrustedSequencer_Call) Run ¶
func (_c *SynchronizerFullInterface_IsTrustedSequencer_Call) Run(run func()) *SynchronizerFullInterface_IsTrustedSequencer_Call
func (*SynchronizerFullInterface_IsTrustedSequencer_Call) RunAndReturn ¶
func (_c *SynchronizerFullInterface_IsTrustedSequencer_Call) RunAndReturn(run func() bool) *SynchronizerFullInterface_IsTrustedSequencer_Call
type SynchronizerFullInterface_PendingFlushID_Call ¶
SynchronizerFullInterface_PendingFlushID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'PendingFlushID'
func (*SynchronizerFullInterface_PendingFlushID_Call) Run ¶
func (_c *SynchronizerFullInterface_PendingFlushID_Call) Run(run func(flushID uint64, proverID string)) *SynchronizerFullInterface_PendingFlushID_Call
func (*SynchronizerFullInterface_PendingFlushID_Call) RunAndReturn ¶
func (_c *SynchronizerFullInterface_PendingFlushID_Call) RunAndReturn(run func(uint64, string)) *SynchronizerFullInterface_PendingFlushID_Call
type SynchronizerIsTrustedSequencer ¶
SynchronizerIsTrustedSequencer is an autogenerated mock type for the SynchronizerIsTrustedSequencer type
func NewSynchronizerIsTrustedSequencer ¶
func NewSynchronizerIsTrustedSequencer(t interface { mock.TestingT Cleanup(func()) }) *SynchronizerIsTrustedSequencer
NewSynchronizerIsTrustedSequencer creates a new instance of SynchronizerIsTrustedSequencer. 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 (*SynchronizerIsTrustedSequencer) EXPECT ¶
func (_m *SynchronizerIsTrustedSequencer) EXPECT() *SynchronizerIsTrustedSequencer_Expecter
func (*SynchronizerIsTrustedSequencer) IsTrustedSequencer ¶
func (_m *SynchronizerIsTrustedSequencer) IsTrustedSequencer() bool
IsTrustedSequencer provides a mock function with given fields:
type SynchronizerIsTrustedSequencer_Expecter ¶
type SynchronizerIsTrustedSequencer_Expecter struct {
// contains filtered or unexported fields
}
func (*SynchronizerIsTrustedSequencer_Expecter) IsTrustedSequencer ¶
func (_e *SynchronizerIsTrustedSequencer_Expecter) IsTrustedSequencer() *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call
IsTrustedSequencer is a helper method to define mock.On call
type SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call ¶
SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsTrustedSequencer'
func (*SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) Run ¶
func (_c *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) Run(run func()) *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call
func (*SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) RunAndReturn ¶
func (_c *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) RunAndReturn(run func() bool) *SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call
type ZKEVMClientEthereumCompatibleInterface ¶ added in v0.6.5
ZKEVMClientEthereumCompatibleInterface is an autogenerated mock type for the ZKEVMClientEthereumCompatibleInterface type
func NewZKEVMClientEthereumCompatibleInterface ¶ added in v0.6.5
func NewZKEVMClientEthereumCompatibleInterface(t interface { mock.TestingT Cleanup(func()) }) *ZKEVMClientEthereumCompatibleInterface
NewZKEVMClientEthereumCompatibleInterface creates a new instance of ZKEVMClientEthereumCompatibleInterface. 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 (*ZKEVMClientEthereumCompatibleInterface) BlockByNumber ¶ added in v0.6.5
func (_m *ZKEVMClientEthereumCompatibleInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
BlockByNumber provides a mock function with given fields: ctx, number
func (*ZKEVMClientEthereumCompatibleInterface) EXPECT ¶ added in v0.6.5
func (_m *ZKEVMClientEthereumCompatibleInterface) EXPECT() *ZKEVMClientEthereumCompatibleInterface_Expecter
type ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call ¶ added in v0.6.5
ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByNumber'
func (*ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) Return ¶ added in v0.6.5
func (_c *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call
func (*ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) Run ¶ added in v0.6.5
func (_c *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call
func (*ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) RunAndReturn ¶ added in v0.6.5
func (_c *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call
type ZKEVMClientEthereumCompatibleInterface_Expecter ¶ added in v0.6.5
type ZKEVMClientEthereumCompatibleInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ZKEVMClientEthereumCompatibleInterface_Expecter) BlockByNumber ¶ added in v0.6.5
func (_e *ZKEVMClientEthereumCompatibleInterface_Expecter) BlockByNumber(ctx interface{}, number interface{}) *ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call
BlockByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
type ZKEVMClientEthereumCompatibleL2BlockGetter ¶ added in v0.6.6
ZKEVMClientEthereumCompatibleL2BlockGetter is an autogenerated mock type for the ZKEVMClientEthereumCompatibleL2BlockGetter type
func NewZKEVMClientEthereumCompatibleL2BlockGetter ¶ added in v0.6.6
func NewZKEVMClientEthereumCompatibleL2BlockGetter(t interface { mock.TestingT Cleanup(func()) }) *ZKEVMClientEthereumCompatibleL2BlockGetter
NewZKEVMClientEthereumCompatibleL2BlockGetter creates a new instance of ZKEVMClientEthereumCompatibleL2BlockGetter. 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 (*ZKEVMClientEthereumCompatibleL2BlockGetter) BlockByNumber ¶ added in v0.6.6
func (_m *ZKEVMClientEthereumCompatibleL2BlockGetter) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
BlockByNumber provides a mock function with given fields: ctx, number
type ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call ¶ added in v0.6.6
ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByNumber'
func (*ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) Run ¶ added in v0.6.6
func (_c *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call
func (*ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) RunAndReturn ¶ added in v0.6.6
func (_c *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call
type ZKEVMClientEthereumCompatibleL2BlockGetter_Expecter ¶ added in v0.6.6
type ZKEVMClientEthereumCompatibleL2BlockGetter_Expecter struct {
// contains filtered or unexported fields
}
func (*ZKEVMClientEthereumCompatibleL2BlockGetter_Expecter) BlockByNumber ¶ added in v0.6.6
func (_e *ZKEVMClientEthereumCompatibleL2BlockGetter_Expecter) BlockByNumber(ctx interface{}, number interface{}) *ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call
BlockByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
type ZKEVMClientGetL2BlockByNumber ¶ added in v0.6.3
ZKEVMClientGetL2BlockByNumber is an autogenerated mock type for the ZKEVMClientGetL2BlockByNumber type
func NewZKEVMClientGetL2BlockByNumber ¶ added in v0.6.3
func NewZKEVMClientGetL2BlockByNumber(t interface { mock.TestingT Cleanup(func()) }) *ZKEVMClientGetL2BlockByNumber
NewZKEVMClientGetL2BlockByNumber creates a new instance of ZKEVMClientGetL2BlockByNumber. 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 (*ZKEVMClientGetL2BlockByNumber) BlockByNumber ¶ added in v0.6.3
func (_m *ZKEVMClientGetL2BlockByNumber) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
BlockByNumber provides a mock function with given fields: ctx, number
func (*ZKEVMClientGetL2BlockByNumber) EXPECT ¶ added in v0.6.3
func (_m *ZKEVMClientGetL2BlockByNumber) EXPECT() *ZKEVMClientGetL2BlockByNumber_Expecter
type ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call ¶ added in v0.6.3
ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByNumber'
func (*ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) Return ¶ added in v0.6.3
func (_c *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call
func (*ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) Run ¶ added in v0.6.3
func (_c *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call
func (*ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) RunAndReturn ¶ added in v0.6.3
func (_c *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call
type ZKEVMClientGetL2BlockByNumber_Expecter ¶ added in v0.6.3
type ZKEVMClientGetL2BlockByNumber_Expecter struct {
// contains filtered or unexported fields
}
func (*ZKEVMClientGetL2BlockByNumber_Expecter) BlockByNumber ¶ added in v0.6.3
func (_e *ZKEVMClientGetL2BlockByNumber_Expecter) BlockByNumber(ctx interface{}, number interface{}) *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call
BlockByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
type ZKEVMClientGlobalExitRootGetter ¶
ZKEVMClientGlobalExitRootGetter is an autogenerated mock type for the ZKEVMClientGlobalExitRootGetter type
func NewZKEVMClientGlobalExitRootGetter ¶
func NewZKEVMClientGlobalExitRootGetter(t interface { mock.TestingT Cleanup(func()) }) *ZKEVMClientGlobalExitRootGetter
NewZKEVMClientGlobalExitRootGetter creates a new instance of ZKEVMClientGlobalExitRootGetter. 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 (*ZKEVMClientGlobalExitRootGetter) EXPECT ¶
func (_m *ZKEVMClientGlobalExitRootGetter) EXPECT() *ZKEVMClientGlobalExitRootGetter_Expecter
func (*ZKEVMClientGlobalExitRootGetter) ExitRootsByGER ¶
func (_m *ZKEVMClientGlobalExitRootGetter) ExitRootsByGER(ctx context.Context, globalExitRoot common.Hash) (*types.ExitRoots, error)
ExitRootsByGER provides a mock function with given fields: ctx, globalExitRoot
type ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call ¶
ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExitRootsByGER'
func (*ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) Return ¶
func (_c *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) Return(_a0 *types.ExitRoots, _a1 error) *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call
func (*ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) Run ¶
func (_c *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) Run(run func(ctx context.Context, globalExitRoot common.Hash)) *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call
func (*ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) RunAndReturn ¶
func (_c *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.ExitRoots, error)) *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call
type ZKEVMClientGlobalExitRootGetter_Expecter ¶
type ZKEVMClientGlobalExitRootGetter_Expecter struct {
// contains filtered or unexported fields
}
func (*ZKEVMClientGlobalExitRootGetter_Expecter) ExitRootsByGER ¶
func (_e *ZKEVMClientGlobalExitRootGetter_Expecter) ExitRootsByGER(ctx interface{}, globalExitRoot interface{}) *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call
ExitRootsByGER is a helper method to define mock.On call
- ctx context.Context
- globalExitRoot common.Hash
type ZKEVMClientInterface ¶
ZKEVMClientInterface is an autogenerated mock type for the ZKEVMClientInterface type
func NewZKEVMClientInterface ¶
func NewZKEVMClientInterface(t interface { mock.TestingT Cleanup(func()) }) *ZKEVMClientInterface
NewZKEVMClientInterface creates a new instance of ZKEVMClientInterface. 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 (*ZKEVMClientInterface) BatchByNumber ¶
func (_m *ZKEVMClientInterface) BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error)
BatchByNumber provides a mock function with given fields: ctx, number
func (*ZKEVMClientInterface) BatchNumber ¶
func (_m *ZKEVMClientInterface) BatchNumber(ctx context.Context) (uint64, error)
BatchNumber provides a mock function with given fields: ctx
func (*ZKEVMClientInterface) BlockByNumber ¶ added in v0.6.3
func (_m *ZKEVMClientInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)
BlockByNumber provides a mock function with given fields: ctx, number
func (*ZKEVMClientInterface) EXPECT ¶
func (_m *ZKEVMClientInterface) EXPECT() *ZKEVMClientInterface_Expecter
func (*ZKEVMClientInterface) ExitRootsByGER ¶
func (_m *ZKEVMClientInterface) ExitRootsByGER(ctx context.Context, globalExitRoot common.Hash) (*types.ExitRoots, error)
ExitRootsByGER provides a mock function with given fields: ctx, globalExitRoot
type ZKEVMClientInterface_BatchByNumber_Call ¶
ZKEVMClientInterface_BatchByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchByNumber'
func (*ZKEVMClientInterface_BatchByNumber_Call) Return ¶
func (_c *ZKEVMClientInterface_BatchByNumber_Call) Return(_a0 *types.Batch, _a1 error) *ZKEVMClientInterface_BatchByNumber_Call
func (*ZKEVMClientInterface_BatchByNumber_Call) Run ¶
func (_c *ZKEVMClientInterface_BatchByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientInterface_BatchByNumber_Call
func (*ZKEVMClientInterface_BatchByNumber_Call) RunAndReturn ¶
func (_c *ZKEVMClientInterface_BatchByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Batch, error)) *ZKEVMClientInterface_BatchByNumber_Call
type ZKEVMClientInterface_BatchNumber_Call ¶
ZKEVMClientInterface_BatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchNumber'
func (*ZKEVMClientInterface_BatchNumber_Call) Return ¶
func (_c *ZKEVMClientInterface_BatchNumber_Call) Return(_a0 uint64, _a1 error) *ZKEVMClientInterface_BatchNumber_Call
func (*ZKEVMClientInterface_BatchNumber_Call) Run ¶
func (_c *ZKEVMClientInterface_BatchNumber_Call) Run(run func(ctx context.Context)) *ZKEVMClientInterface_BatchNumber_Call
func (*ZKEVMClientInterface_BatchNumber_Call) RunAndReturn ¶
func (_c *ZKEVMClientInterface_BatchNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *ZKEVMClientInterface_BatchNumber_Call
type ZKEVMClientInterface_BlockByNumber_Call ¶ added in v0.6.3
ZKEVMClientInterface_BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BlockByNumber'
func (*ZKEVMClientInterface_BlockByNumber_Call) Return ¶ added in v0.6.3
func (_c *ZKEVMClientInterface_BlockByNumber_Call) Return(_a0 *types.Block, _a1 error) *ZKEVMClientInterface_BlockByNumber_Call
func (*ZKEVMClientInterface_BlockByNumber_Call) Run ¶ added in v0.6.3
func (_c *ZKEVMClientInterface_BlockByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientInterface_BlockByNumber_Call
func (*ZKEVMClientInterface_BlockByNumber_Call) RunAndReturn ¶ added in v0.6.3
func (_c *ZKEVMClientInterface_BlockByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Block, error)) *ZKEVMClientInterface_BlockByNumber_Call
type ZKEVMClientInterface_ExitRootsByGER_Call ¶
ZKEVMClientInterface_ExitRootsByGER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ExitRootsByGER'
func (*ZKEVMClientInterface_ExitRootsByGER_Call) Return ¶
func (_c *ZKEVMClientInterface_ExitRootsByGER_Call) Return(_a0 *types.ExitRoots, _a1 error) *ZKEVMClientInterface_ExitRootsByGER_Call
func (*ZKEVMClientInterface_ExitRootsByGER_Call) Run ¶
func (_c *ZKEVMClientInterface_ExitRootsByGER_Call) Run(run func(ctx context.Context, globalExitRoot common.Hash)) *ZKEVMClientInterface_ExitRootsByGER_Call
func (*ZKEVMClientInterface_ExitRootsByGER_Call) RunAndReturn ¶
func (_c *ZKEVMClientInterface_ExitRootsByGER_Call) RunAndReturn(run func(context.Context, common.Hash) (*types.ExitRoots, error)) *ZKEVMClientInterface_ExitRootsByGER_Call
type ZKEVMClientInterface_Expecter ¶
type ZKEVMClientInterface_Expecter struct {
// contains filtered or unexported fields
}
func (*ZKEVMClientInterface_Expecter) BatchByNumber ¶
func (_e *ZKEVMClientInterface_Expecter) BatchByNumber(ctx interface{}, number interface{}) *ZKEVMClientInterface_BatchByNumber_Call
BatchByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*ZKEVMClientInterface_Expecter) BatchNumber ¶
func (_e *ZKEVMClientInterface_Expecter) BatchNumber(ctx interface{}) *ZKEVMClientInterface_BatchNumber_Call
BatchNumber is a helper method to define mock.On call
- ctx context.Context
func (*ZKEVMClientInterface_Expecter) BlockByNumber ¶ added in v0.6.3
func (_e *ZKEVMClientInterface_Expecter) BlockByNumber(ctx interface{}, number interface{}) *ZKEVMClientInterface_BlockByNumber_Call
BlockByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*ZKEVMClientInterface_Expecter) ExitRootsByGER ¶
func (_e *ZKEVMClientInterface_Expecter) ExitRootsByGER(ctx interface{}, globalExitRoot interface{}) *ZKEVMClientInterface_ExitRootsByGER_Call
ExitRootsByGER is a helper method to define mock.On call
- ctx context.Context
- globalExitRoot common.Hash
type ZKEVMClientTrustedBatchesGetter ¶
ZKEVMClientTrustedBatchesGetter is an autogenerated mock type for the ZKEVMClientTrustedBatchesGetter type
func NewZKEVMClientTrustedBatchesGetter ¶
func NewZKEVMClientTrustedBatchesGetter(t interface { mock.TestingT Cleanup(func()) }) *ZKEVMClientTrustedBatchesGetter
NewZKEVMClientTrustedBatchesGetter creates a new instance of ZKEVMClientTrustedBatchesGetter. 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 (*ZKEVMClientTrustedBatchesGetter) BatchByNumber ¶
func (_m *ZKEVMClientTrustedBatchesGetter) BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error)
BatchByNumber provides a mock function with given fields: ctx, number
func (*ZKEVMClientTrustedBatchesGetter) BatchNumber ¶
func (_m *ZKEVMClientTrustedBatchesGetter) BatchNumber(ctx context.Context) (uint64, error)
BatchNumber provides a mock function with given fields: ctx
func (*ZKEVMClientTrustedBatchesGetter) EXPECT ¶
func (_m *ZKEVMClientTrustedBatchesGetter) EXPECT() *ZKEVMClientTrustedBatchesGetter_Expecter
type ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call ¶
ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchByNumber'
func (*ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) Return ¶
func (_c *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) Return(_a0 *types.Batch, _a1 error) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call
func (*ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) Run ¶
func (_c *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) Run(run func(ctx context.Context, number *big.Int)) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call
func (*ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) RunAndReturn ¶
func (_c *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) RunAndReturn(run func(context.Context, *big.Int) (*types.Batch, error)) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call
type ZKEVMClientTrustedBatchesGetter_BatchNumber_Call ¶
ZKEVMClientTrustedBatchesGetter_BatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchNumber'
func (*ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) Return ¶
func (_c *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) Return(_a0 uint64, _a1 error) *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call
func (*ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) Run ¶
func (_c *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) Run(run func(ctx context.Context)) *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call
func (*ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) RunAndReturn ¶
func (_c *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) RunAndReturn(run func(context.Context) (uint64, error)) *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call
type ZKEVMClientTrustedBatchesGetter_Expecter ¶
type ZKEVMClientTrustedBatchesGetter_Expecter struct {
// contains filtered or unexported fields
}
func (*ZKEVMClientTrustedBatchesGetter_Expecter) BatchByNumber ¶
func (_e *ZKEVMClientTrustedBatchesGetter_Expecter) BatchByNumber(ctx interface{}, number interface{}) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call
BatchByNumber is a helper method to define mock.On call
- ctx context.Context
- number *big.Int
func (*ZKEVMClientTrustedBatchesGetter_Expecter) BatchNumber ¶
func (_e *ZKEVMClientTrustedBatchesGetter_Expecter) BatchNumber(ctx interface{}) *ZKEVMClientTrustedBatchesGetter_BatchNumber_Call
BatchNumber is a helper method to define mock.On call
- ctx context.Context
Source Files ¶
- async_l1_block_checker.go
- critical_error_handler.go
- eth_tx_manager.go
- etherman_full_interface.go
- etherman_get_latest_batch_number.go
- event_log_interface.go
- l1_block_checker_integrator.go
- pool_interface.go
- state_begin_transaction_interface.go
- state_full_interface.go
- state_get_batch_by_number_interface.go
- sync_trusted_state_executor.go
- synchronizer_clean_trusted_state.go
- synchronizer_flush_id_manager.go
- synchronizer_full_interface.go
- synchronizer_is_trusted_sequencer.go
- zkevm_client_ethereum_compatible_interface.go
- zkevm_client_ethereum_compatible_l2_block_getter.go
- zkevm_client_get_l2_block_by_number.go
- zkevm_client_global_exit_root_getter.go
- zkevm_client_interface.go
- zkevm_client_trusted_batches_getter.go