Documentation ¶
Index ¶
- type DbTxMock
- func (_m *DbTxMock) Begin(ctx context.Context) (pgx.Tx, error)
- func (_m *DbTxMock) BeginFunc(ctx context.Context, f func(pgx.Tx) error) error
- func (_m *DbTxMock) Commit(ctx context.Context) error
- func (_m *DbTxMock) Conn() *pgx.Conn
- func (_m *DbTxMock) CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, ...) (int64, error)
- func (_m *DbTxMock) EXPECT() *DbTxMock_Expecter
- func (_m *DbTxMock) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
- func (_m *DbTxMock) LargeObjects() pgx.LargeObjects
- func (_m *DbTxMock) Prepare(ctx context.Context, name string, sql string) (*pgconn.StatementDescription, error)
- func (_m *DbTxMock) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
- func (_m *DbTxMock) QueryFunc(ctx context.Context, sql string, args []interface{}, scans []interface{}, ...) (pgconn.CommandTag, error)
- func (_m *DbTxMock) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row
- func (_m *DbTxMock) Rollback(ctx context.Context) error
- func (_m *DbTxMock) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults
- type DbTxMock_BeginFunc_Call
- func (_c *DbTxMock_BeginFunc_Call) Return(err error) *DbTxMock_BeginFunc_Call
- func (_c *DbTxMock_BeginFunc_Call) Run(run func(ctx context.Context, f func(pgx.Tx) error)) *DbTxMock_BeginFunc_Call
- func (_c *DbTxMock_BeginFunc_Call) RunAndReturn(run func(context.Context, func(pgx.Tx) error) error) *DbTxMock_BeginFunc_Call
- type DbTxMock_Begin_Call
- type DbTxMock_Commit_Call
- type DbTxMock_Conn_Call
- type DbTxMock_CopyFrom_Call
- type DbTxMock_Exec_Call
- func (_c *DbTxMock_Exec_Call) Return(commandTag pgconn.CommandTag, err error) *DbTxMock_Exec_Call
- func (_c *DbTxMock_Exec_Call) Run(run func(ctx context.Context, sql string, arguments ...interface{})) *DbTxMock_Exec_Call
- func (_c *DbTxMock_Exec_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgconn.CommandTag, error)) *DbTxMock_Exec_Call
- type DbTxMock_Expecter
- func (_e *DbTxMock_Expecter) Begin(ctx interface{}) *DbTxMock_Begin_Call
- func (_e *DbTxMock_Expecter) BeginFunc(ctx interface{}, f interface{}) *DbTxMock_BeginFunc_Call
- func (_e *DbTxMock_Expecter) Commit(ctx interface{}) *DbTxMock_Commit_Call
- func (_e *DbTxMock_Expecter) Conn() *DbTxMock_Conn_Call
- func (_e *DbTxMock_Expecter) CopyFrom(ctx interface{}, tableName interface{}, columnNames interface{}, ...) *DbTxMock_CopyFrom_Call
- func (_e *DbTxMock_Expecter) Exec(ctx interface{}, sql interface{}, arguments ...interface{}) *DbTxMock_Exec_Call
- func (_e *DbTxMock_Expecter) LargeObjects() *DbTxMock_LargeObjects_Call
- func (_e *DbTxMock_Expecter) Prepare(ctx interface{}, name interface{}, sql interface{}) *DbTxMock_Prepare_Call
- func (_e *DbTxMock_Expecter) Query(ctx interface{}, sql interface{}, args ...interface{}) *DbTxMock_Query_Call
- func (_e *DbTxMock_Expecter) QueryFunc(ctx interface{}, sql interface{}, args interface{}, scans interface{}, ...) *DbTxMock_QueryFunc_Call
- func (_e *DbTxMock_Expecter) QueryRow(ctx interface{}, sql interface{}, args ...interface{}) *DbTxMock_QueryRow_Call
- func (_e *DbTxMock_Expecter) Rollback(ctx interface{}) *DbTxMock_Rollback_Call
- func (_e *DbTxMock_Expecter) SendBatch(ctx interface{}, b interface{}) *DbTxMock_SendBatch_Call
- type DbTxMock_LargeObjects_Call
- type DbTxMock_Prepare_Call
- type DbTxMock_QueryFunc_Call
- type DbTxMock_QueryRow_Call
- func (_c *DbTxMock_QueryRow_Call) Return(_a0 pgx.Row) *DbTxMock_QueryRow_Call
- func (_c *DbTxMock_QueryRow_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *DbTxMock_QueryRow_Call
- func (_c *DbTxMock_QueryRow_Call) RunAndReturn(run func(context.Context, string, ...interface{}) pgx.Row) *DbTxMock_QueryRow_Call
- type DbTxMock_Query_Call
- func (_c *DbTxMock_Query_Call) Return(_a0 pgx.Rows, _a1 error) *DbTxMock_Query_Call
- func (_c *DbTxMock_Query_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *DbTxMock_Query_Call
- func (_c *DbTxMock_Query_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgx.Rows, error)) *DbTxMock_Query_Call
- type DbTxMock_Rollback_Call
- type DbTxMock_SendBatch_Call
- func (_c *DbTxMock_SendBatch_Call) Return(_a0 pgx.BatchResults) *DbTxMock_SendBatch_Call
- func (_c *DbTxMock_SendBatch_Call) Run(run func(ctx context.Context, b *pgx.Batch)) *DbTxMock_SendBatch_Call
- func (_c *DbTxMock_SendBatch_Call) RunAndReturn(run func(context.Context, *pgx.Batch) pgx.BatchResults) *DbTxMock_SendBatch_Call
- type ExecutorServiceClientMock
- func (_m *ExecutorServiceClientMock) EXPECT() *ExecutorServiceClientMock_Expecter
- func (_m *ExecutorServiceClientMock) GetFlushStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*executor.GetFlushStatusResponse, error)
- func (_m *ExecutorServiceClientMock) ProcessBatch(ctx context.Context, in *executor.ProcessBatchRequest, opts ...grpc.CallOption) (*executor.ProcessBatchResponse, error)
- func (_m *ExecutorServiceClientMock) ProcessBatchV2(ctx context.Context, in *executor.ProcessBatchRequestV2, ...) (*executor.ProcessBatchResponseV2, error)
- type ExecutorServiceClientMock_Expecter
- func (_e *ExecutorServiceClientMock_Expecter) GetFlushStatus(ctx interface{}, in interface{}, opts ...interface{}) *ExecutorServiceClientMock_GetFlushStatus_Call
- func (_e *ExecutorServiceClientMock_Expecter) ProcessBatch(ctx interface{}, in interface{}, opts ...interface{}) *ExecutorServiceClientMock_ProcessBatch_Call
- func (_e *ExecutorServiceClientMock_Expecter) ProcessBatchV2(ctx interface{}, in interface{}, opts ...interface{}) *ExecutorServiceClientMock_ProcessBatchV2_Call
- type ExecutorServiceClientMock_GetFlushStatus_Call
- func (_c *ExecutorServiceClientMock_GetFlushStatus_Call) Return(_a0 *executor.GetFlushStatusResponse, _a1 error) *ExecutorServiceClientMock_GetFlushStatus_Call
- func (_c *ExecutorServiceClientMock_GetFlushStatus_Call) Run(run func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)) *ExecutorServiceClientMock_GetFlushStatus_Call
- func (_c *ExecutorServiceClientMock_GetFlushStatus_Call) RunAndReturn(...) *ExecutorServiceClientMock_GetFlushStatus_Call
- type ExecutorServiceClientMock_ProcessBatchV2_Call
- func (_c *ExecutorServiceClientMock_ProcessBatchV2_Call) Return(_a0 *executor.ProcessBatchResponseV2, _a1 error) *ExecutorServiceClientMock_ProcessBatchV2_Call
- func (_c *ExecutorServiceClientMock_ProcessBatchV2_Call) Run(run func(ctx context.Context, in *executor.ProcessBatchRequestV2, ...)) *ExecutorServiceClientMock_ProcessBatchV2_Call
- func (_c *ExecutorServiceClientMock_ProcessBatchV2_Call) RunAndReturn(...) *ExecutorServiceClientMock_ProcessBatchV2_Call
- type ExecutorServiceClientMock_ProcessBatch_Call
- func (_c *ExecutorServiceClientMock_ProcessBatch_Call) Return(_a0 *executor.ProcessBatchResponse, _a1 error) *ExecutorServiceClientMock_ProcessBatch_Call
- func (_c *ExecutorServiceClientMock_ProcessBatch_Call) Run(...) *ExecutorServiceClientMock_ProcessBatch_Call
- func (_c *ExecutorServiceClientMock_ProcessBatch_Call) RunAndReturn(...) *ExecutorServiceClientMock_ProcessBatch_Call
- type StorageMock
- func (_m *StorageMock) AddAccumulatedInputHash(ctx context.Context, batchNum uint64, accInputHash common.Hash, dbTx pgx.Tx) error
- func (_m *StorageMock) AddBlock(ctx context.Context, block *state.Block, dbTx pgx.Tx) error
- func (_m *StorageMock) AddForcedBatch(ctx context.Context, forcedBatch *state.ForcedBatch, tx pgx.Tx) error
- func (_m *StorageMock) AddForkID(ctx context.Context, forkID state.ForkIDInterval, dbTx pgx.Tx) error
- func (_m *StorageMock) AddForkIDInterval(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx) error
- func (_m *StorageMock) AddGeneratedProof(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) error
- func (_m *StorageMock) AddGlobalExitRoot(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx) error
- func (_m *StorageMock) AddL1InfoRootToExitRoot(ctx context.Context, exitRoot *state.L1InfoTreeExitRootStorageEntry, ...) error
- func (_m *StorageMock) AddL2Block(ctx context.Context, batchNumber uint64, l2Block *state.L2Block, ...) error
- func (_m *StorageMock) AddLog(ctx context.Context, l *types.Log, dbTx pgx.Tx) error
- func (_m *StorageMock) AddReceipt(ctx context.Context, receipt *types.Receipt, imStateRoot common.Hash, ...) error
- func (_m *StorageMock) AddSequence(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx) error
- func (_m *StorageMock) AddTrustedReorg(ctx context.Context, reorg *state.TrustedReorg, dbTx pgx.Tx) error
- func (_m *StorageMock) AddVerifiedBatch(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx) error
- func (_m *StorageMock) AddVirtualBatch(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx) error
- func (_m *StorageMock) BatchNumberByL2BlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) Begin(ctx context.Context) (pgx.Tx, error)
- func (_m *StorageMock) BuildChangeL2Block(deltaTimestamp uint32, l1InfoTreeIndex uint32) []byte
- func (_m *StorageMock) CheckProofContainsCompleteSequences(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) (bool, error)
- func (_m *StorageMock) CleanupGeneratedProofs(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StorageMock) CleanupLockedProofs(ctx context.Context, duration string, dbTx pgx.Tx) (int64, error)
- func (_m *StorageMock) CloseBatchInStorage(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
- func (_m *StorageMock) CloseWIPBatchInStorage(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
- func (_m *StorageMock) CountReorgs(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) DeleteGeneratedProofs(ctx context.Context, batchNumber uint64, batchNumberFinal uint64, dbTx pgx.Tx) error
- func (_m *StorageMock) DeleteUngeneratedProofs(ctx context.Context, dbTx pgx.Tx) error
- func (_m *StorageMock) EXPECT() *StorageMock_Expecter
- func (_m *StorageMock) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
- func (_m *StorageMock) GetAllL1InfoRootEntries(ctx context.Context, dbTx pgx.Tx) ([]state.L1InfoTreeExitRootStorageEntry, error)
- func (_m *StorageMock) GetBatchByForcedBatchNum(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
- func (_m *StorageMock) GetBatchByL2BlockNumber(ctx context.Context, l2BlockNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
- func (_m *StorageMock) GetBatchByNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
- func (_m *StorageMock) GetBatchByTxHash(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*state.Batch, error)
- func (_m *StorageMock) GetBatchNumberOfL2Block(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetBlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.Block, error)
- func (_m *StorageMock) GetBlockNumAndMainnetExitRootByGER(ctx context.Context, ger common.Hash, dbTx pgx.Tx) (uint64, common.Hash, error)
- func (_m *StorageMock) GetBlockNumVirtualBatchByBatchNum(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetDSBatches(ctx context.Context, firstBatchNumber uint64, lastBatchNumber uint64, ...) ([]*state.DSBatch, error)
- func (_m *StorageMock) GetDSGenesisBlock(ctx context.Context, dbTx pgx.Tx) (*state.DSL2Block, error)
- func (_m *StorageMock) GetDSL2Blocks(ctx context.Context, firstBatchNumber uint64, lastBatchNumber uint64, ...) ([]*state.DSL2Block, error)
- func (_m *StorageMock) GetDSL2Transactions(ctx context.Context, firstL2Block uint64, lastL2Block uint64, dbTx pgx.Tx) ([]*state.DSL2Transaction, error)
- func (_m *StorageMock) GetEncodedTransactionsByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]string, []uint8, error)
- func (_m *StorageMock) GetExitRootByGlobalExitRoot(ctx context.Context, ger common.Hash, dbTx pgx.Tx) (*state.GlobalExitRoot, error)
- func (_m *StorageMock) GetFirstL2BlockNumberForBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetForcedBatch(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx) (*state.ForcedBatch, error)
- func (_m *StorageMock) GetForcedBatchParentHash(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx) (common.Hash, error)
- func (_m *StorageMock) GetForcedBatchesSince(ctx context.Context, forcedBatchNumber uint64, maxBlockNumber uint64, ...) ([]*state.ForcedBatch, error)
- func (_m *StorageMock) GetForkIDByBatchNumber(batchNumber uint64) uint64
- func (_m *StorageMock) GetForkIDByBlockNumber(blockNumber uint64) uint64
- func (_m *StorageMock) GetForkIDInMemory(forkId uint64) *state.ForkIDInterval
- func (_m *StorageMock) GetForkIDs(ctx context.Context, dbTx pgx.Tx) ([]state.ForkIDInterval, error)
- func (_m *StorageMock) GetL1InfoRootLeafByIndex(ctx context.Context, l1InfoTreeIndex uint32, dbTx pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)
- func (_m *StorageMock) GetL1InfoRootLeafByL1InfoRoot(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)
- func (_m *StorageMock) GetL2BlockByHash(ctx context.Context, hash common.Hash, dbTx pgx.Tx) (*state.L2Block, error)
- func (_m *StorageMock) GetL2BlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)
- func (_m *StorageMock) GetL2BlockHashByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (common.Hash, error)
- func (_m *StorageMock) GetL2BlockHashesSince(ctx context.Context, since time.Time, dbTx pgx.Tx) ([]common.Hash, error)
- func (_m *StorageMock) GetL2BlockHeaderByHash(ctx context.Context, hash common.Hash, dbTx pgx.Tx) (*state.L2Header, error)
- func (_m *StorageMock) GetL2BlockHeaderByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.L2Header, error)
- func (_m *StorageMock) GetL2BlockTransactionCountByHash(ctx context.Context, blockHash common.Hash, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetL2BlockTransactionCountByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetL2BlocksByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]state.L2Block, error)
- func (_m *StorageMock) GetL2TxHashByTxHash(ctx context.Context, hash common.Hash, dbTx pgx.Tx) (*common.Hash, error)
- func (_m *StorageMock) GetLastBatchNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLastBatchTime(ctx context.Context, dbTx pgx.Tx) (time.Time, error)
- func (_m *StorageMock) GetLastBlock(ctx context.Context, dbTx pgx.Tx) (*state.Block, error)
- func (_m *StorageMock) GetLastClosedBatch(ctx context.Context, dbTx pgx.Tx) (*state.Batch, error)
- func (_m *StorageMock) GetLastClosedBatchNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLastConsolidatedL2BlockNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLastL2Block(ctx context.Context, dbTx pgx.Tx) (*state.L2Block, error)
- func (_m *StorageMock) GetLastL2BlockByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)
- func (_m *StorageMock) GetLastL2BlockCreatedAt(ctx context.Context, dbTx pgx.Tx) (*time.Time, error)
- func (_m *StorageMock) GetLastL2BlockHeader(ctx context.Context, dbTx pgx.Tx) (*state.L2Header, error)
- func (_m *StorageMock) GetLastL2BlockNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLastNBatches(ctx context.Context, numBatches uint, dbTx pgx.Tx) ([]*state.Batch, error)
- func (_m *StorageMock) GetLastNBatchesByL2BlockNumber(ctx context.Context, l2BlockNumber *uint64, numBatches uint, dbTx pgx.Tx) ([]*state.Batch, common.Hash, error)
- func (_m *StorageMock) GetLastTrustedForcedBatchNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLastVerifiedBatch(ctx context.Context, dbTx pgx.Tx) (*state.VerifiedBatch, error)
- func (_m *StorageMock) GetLastVerifiedBatchNumberUntilL1Block(ctx context.Context, l1BlockNumber uint64, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLastVerifiedL2BlockNumberUntilL1Block(ctx context.Context, l1FinalizedBlockNumber uint64, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLastVirtualBatchNum(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLastVirtualizedL2BlockNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetLatestBatchGlobalExitRoot(ctx context.Context, dbTx pgx.Tx) (common.Hash, error)
- func (_m *StorageMock) GetLatestGer(ctx context.Context, maxBlockNumber uint64) (state.GlobalExitRoot, time.Time, error)
- func (_m *StorageMock) GetLatestGlobalExitRoot(ctx context.Context, maxBlockNumber uint64, dbTx pgx.Tx) (state.GlobalExitRoot, time.Time, error)
- func (_m *StorageMock) GetLatestIndex(ctx context.Context, dbTx pgx.Tx) (uint32, error)
- func (_m *StorageMock) GetLatestL1InfoRoot(ctx context.Context, maxBlockNumber uint64) (state.L1InfoTreeExitRootStorageEntry, error)
- func (_m *StorageMock) GetLatestVirtualBatchTimestamp(ctx context.Context, dbTx pgx.Tx) (time.Time, error)
- func (_m *StorageMock) GetLeavesByL1InfoRoot(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx) ([]state.L1InfoTreeExitRootStorageEntry, error)
- func (_m *StorageMock) GetLocalExitRootByBatchNumber(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (common.Hash, error)
- func (_m *StorageMock) GetLogs(ctx context.Context, fromBlock uint64, toBlock uint64, ...) ([]*types.Log, error)
- func (_m *StorageMock) GetLogsByBlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) ([]*types.Log, error)
- func (_m *StorageMock) GetNativeBlockHashesInRange(ctx context.Context, fromBlock uint64, toBlock uint64, dbTx pgx.Tx) ([]common.Hash, error)
- func (_m *StorageMock) GetNextForcedBatches(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx) ([]state.ForcedBatch, error)
- func (_m *StorageMock) GetNotCheckedBatches(ctx context.Context, dbTx pgx.Tx) ([]*state.Batch, error)
- func (_m *StorageMock) GetNumberOfBlocksSinceLastGERUpdate(ctx context.Context, dbTx pgx.Tx) (uint64, error)
- func (_m *StorageMock) GetPreviousBlock(ctx context.Context, offset uint64, dbTx pgx.Tx) (*state.Block, error)
- func (_m *StorageMock) GetProcessingContext(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.ProcessingContext, error)
- func (_m *StorageMock) GetProofReadyToVerify(ctx context.Context, lastVerfiedBatchNumber uint64, dbTx pgx.Tx) (*state.Proof, error)
- func (_m *StorageMock) GetProofsToAggregate(ctx context.Context, dbTx pgx.Tx) (*state.Proof, *state.Proof, error)
- func (_m *StorageMock) GetRawBatchTimestamps(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*time.Time, *time.Time, error)
- func (_m *StorageMock) GetReorgedTransactions(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)
- func (_m *StorageMock) GetSequences(ctx context.Context, lastVerifiedBatchNumber uint64, dbTx pgx.Tx) ([]state.Sequence, error)
- func (_m *StorageMock) GetStateRootByBatchNumber(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (common.Hash, error)
- func (_m *StorageMock) GetSyncInfoData(ctx context.Context, dbTx pgx.Tx) (state.SyncInfoDataOnStorage, error)
- func (_m *StorageMock) GetTimeForLatestBatchVirtualization(ctx context.Context, dbTx pgx.Tx) (time.Time, error)
- func (_m *StorageMock) GetTransactionByHash(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*types.Transaction, error)
- func (_m *StorageMock) GetTransactionByL2BlockHashAndIndex(ctx context.Context, blockHash common.Hash, index uint64, dbTx pgx.Tx) (*types.Transaction, error)
- func (_m *StorageMock) GetTransactionByL2BlockNumberAndIndex(ctx context.Context, blockNumber uint64, index uint64, dbTx pgx.Tx) (*types.Transaction, error)
- func (_m *StorageMock) GetTransactionByL2Hash(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*types.Transaction, error)
- func (_m *StorageMock) GetTransactionEGPLogByHash(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*state.EffectiveGasPriceLog, error)
- func (_m *StorageMock) GetTransactionReceipt(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*types.Receipt, error)
- func (_m *StorageMock) GetTransactionsByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]types.Transaction, []uint8, error)
- func (_m *StorageMock) GetTxsByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)
- func (_m *StorageMock) GetTxsByBlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)
- func (_m *StorageMock) GetTxsHashesByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]common.Hash, error)
- func (_m *StorageMock) GetTxsOlderThanNL1Blocks(ctx context.Context, nL1Blocks uint64, dbTx pgx.Tx) ([]common.Hash, error)
- func (_m *StorageMock) GetTxsOlderThanNL1BlocksUntilTxHash(ctx context.Context, nL1Blocks uint64, earliestTxHash common.Hash, dbTx pgx.Tx) ([]common.Hash, error)
- func (_m *StorageMock) GetVerifiedBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.VerifiedBatch, error)
- func (_m *StorageMock) GetVirtualBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.VirtualBatch, error)
- func (_m *StorageMock) GetVirtualBatchByNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
- func (_m *StorageMock) GetVirtualBatchParentHash(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (common.Hash, error)
- func (_m *StorageMock) GetVirtualBatchToProve(ctx context.Context, lastVerfiedBatchNumber uint64, maxL1Block uint64, ...) (*state.Batch, error)
- func (_m *StorageMock) GetWIPBatchInStorage(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
- func (_m *StorageMock) IsBatchChecked(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (bool, error)
- func (_m *StorageMock) IsBatchClosed(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (bool, error)
- func (_m *StorageMock) IsBatchConsolidated(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (bool, error)
- func (_m *StorageMock) IsBatchVirtualized(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (bool, error)
- func (_m *StorageMock) IsL2BlockConsolidated(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (bool, error)
- func (_m *StorageMock) IsL2BlockVirtualized(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (bool, error)
- func (_m *StorageMock) IsSequencingTXSynced(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (bool, error)
- func (_m *StorageMock) OpenBatchInStorage(ctx context.Context, batchContext state.ProcessingContext, dbTx pgx.Tx) error
- func (_m *StorageMock) OpenWIPBatchInStorage(ctx context.Context, batch state.Batch, dbTx pgx.Tx) error
- func (_m *StorageMock) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
- func (_m *StorageMock) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row
- func (_m *StorageMock) ResetForkID(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StorageMock) ResetToL1BlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) error
- func (_m *StorageMock) ResetTrustedState(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StorageMock) SetInitSyncBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StorageMock) SetLastBatchInfoSeenOnEthereum(ctx context.Context, lastBatchNumberSeen uint64, ...) error
- func (_m *StorageMock) StoreGenesisBatch(ctx context.Context, batch state.Batch, closingReason string, dbTx pgx.Tx) error
- func (_m *StorageMock) UpdateBatchAsChecked(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StorageMock) UpdateBatchL2Data(ctx context.Context, batchNumber uint64, batchL2Data []byte, dbTx pgx.Tx) error
- func (_m *StorageMock) UpdateForkIDBlockNumber(ctx context.Context, forkdID uint64, newBlockNumber uint64, ...) error
- func (_m *StorageMock) UpdateForkIDIntervalsInMemory(intervals []state.ForkIDInterval)
- func (_m *StorageMock) UpdateForkIDToBatchNumber(ctx context.Context, forkID state.ForkIDInterval, dbTx pgx.Tx) error
- func (_m *StorageMock) UpdateGERInOpenBatch(ctx context.Context, ger common.Hash, dbTx pgx.Tx) error
- func (_m *StorageMock) UpdateGeneratedProof(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) error
- func (_m *StorageMock) UpdateWIPBatch(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
- type StorageMock_AddAccumulatedInputHash_Call
- func (_c *StorageMock_AddAccumulatedInputHash_Call) Return(_a0 error) *StorageMock_AddAccumulatedInputHash_Call
- func (_c *StorageMock_AddAccumulatedInputHash_Call) Run(...) *StorageMock_AddAccumulatedInputHash_Call
- func (_c *StorageMock_AddAccumulatedInputHash_Call) RunAndReturn(run func(context.Context, uint64, common.Hash, pgx.Tx) error) *StorageMock_AddAccumulatedInputHash_Call
- type StorageMock_AddBlock_Call
- func (_c *StorageMock_AddBlock_Call) Return(_a0 error) *StorageMock_AddBlock_Call
- func (_c *StorageMock_AddBlock_Call) Run(run func(ctx context.Context, block *state.Block, dbTx pgx.Tx)) *StorageMock_AddBlock_Call
- func (_c *StorageMock_AddBlock_Call) RunAndReturn(run func(context.Context, *state.Block, pgx.Tx) error) *StorageMock_AddBlock_Call
- type StorageMock_AddForcedBatch_Call
- func (_c *StorageMock_AddForcedBatch_Call) Return(_a0 error) *StorageMock_AddForcedBatch_Call
- func (_c *StorageMock_AddForcedBatch_Call) Run(run func(ctx context.Context, forcedBatch *state.ForcedBatch, tx pgx.Tx)) *StorageMock_AddForcedBatch_Call
- func (_c *StorageMock_AddForcedBatch_Call) RunAndReturn(run func(context.Context, *state.ForcedBatch, pgx.Tx) error) *StorageMock_AddForcedBatch_Call
- type StorageMock_AddForkIDInterval_Call
- func (_c *StorageMock_AddForkIDInterval_Call) Return(_a0 error) *StorageMock_AddForkIDInterval_Call
- func (_c *StorageMock_AddForkIDInterval_Call) Run(run func(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx)) *StorageMock_AddForkIDInterval_Call
- func (_c *StorageMock_AddForkIDInterval_Call) RunAndReturn(run func(context.Context, state.ForkIDInterval, pgx.Tx) error) *StorageMock_AddForkIDInterval_Call
- type StorageMock_AddForkID_Call
- func (_c *StorageMock_AddForkID_Call) Return(_a0 error) *StorageMock_AddForkID_Call
- func (_c *StorageMock_AddForkID_Call) Run(run func(ctx context.Context, forkID state.ForkIDInterval, dbTx pgx.Tx)) *StorageMock_AddForkID_Call
- func (_c *StorageMock_AddForkID_Call) RunAndReturn(run func(context.Context, state.ForkIDInterval, pgx.Tx) error) *StorageMock_AddForkID_Call
- type StorageMock_AddGeneratedProof_Call
- func (_c *StorageMock_AddGeneratedProof_Call) Return(_a0 error) *StorageMock_AddGeneratedProof_Call
- func (_c *StorageMock_AddGeneratedProof_Call) Run(run func(ctx context.Context, proof *state.Proof, dbTx pgx.Tx)) *StorageMock_AddGeneratedProof_Call
- func (_c *StorageMock_AddGeneratedProof_Call) RunAndReturn(run func(context.Context, *state.Proof, pgx.Tx) error) *StorageMock_AddGeneratedProof_Call
- type StorageMock_AddGlobalExitRoot_Call
- func (_c *StorageMock_AddGlobalExitRoot_Call) Return(_a0 error) *StorageMock_AddGlobalExitRoot_Call
- func (_c *StorageMock_AddGlobalExitRoot_Call) Run(run func(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx)) *StorageMock_AddGlobalExitRoot_Call
- func (_c *StorageMock_AddGlobalExitRoot_Call) RunAndReturn(run func(context.Context, *state.GlobalExitRoot, pgx.Tx) error) *StorageMock_AddGlobalExitRoot_Call
- type StorageMock_AddL1InfoRootToExitRoot_Call
- func (_c *StorageMock_AddL1InfoRootToExitRoot_Call) Return(_a0 error) *StorageMock_AddL1InfoRootToExitRoot_Call
- func (_c *StorageMock_AddL1InfoRootToExitRoot_Call) Run(...) *StorageMock_AddL1InfoRootToExitRoot_Call
- func (_c *StorageMock_AddL1InfoRootToExitRoot_Call) RunAndReturn(run func(context.Context, *state.L1InfoTreeExitRootStorageEntry, pgx.Tx) error) *StorageMock_AddL1InfoRootToExitRoot_Call
- type StorageMock_AddL2Block_Call
- func (_c *StorageMock_AddL2Block_Call) Return(_a0 error) *StorageMock_AddL2Block_Call
- func (_c *StorageMock_AddL2Block_Call) Run(run func(ctx context.Context, batchNumber uint64, l2Block *state.L2Block, ...)) *StorageMock_AddL2Block_Call
- func (_c *StorageMock_AddL2Block_Call) RunAndReturn(...) *StorageMock_AddL2Block_Call
- type StorageMock_AddLog_Call
- func (_c *StorageMock_AddLog_Call) Return(_a0 error) *StorageMock_AddLog_Call
- func (_c *StorageMock_AddLog_Call) Run(run func(ctx context.Context, l *types.Log, dbTx pgx.Tx)) *StorageMock_AddLog_Call
- func (_c *StorageMock_AddLog_Call) RunAndReturn(run func(context.Context, *types.Log, pgx.Tx) error) *StorageMock_AddLog_Call
- type StorageMock_AddReceipt_Call
- func (_c *StorageMock_AddReceipt_Call) Return(_a0 error) *StorageMock_AddReceipt_Call
- func (_c *StorageMock_AddReceipt_Call) Run(...) *StorageMock_AddReceipt_Call
- func (_c *StorageMock_AddReceipt_Call) RunAndReturn(run func(context.Context, *types.Receipt, common.Hash, pgx.Tx) error) *StorageMock_AddReceipt_Call
- type StorageMock_AddSequence_Call
- func (_c *StorageMock_AddSequence_Call) Return(_a0 error) *StorageMock_AddSequence_Call
- func (_c *StorageMock_AddSequence_Call) Run(run func(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx)) *StorageMock_AddSequence_Call
- func (_c *StorageMock_AddSequence_Call) RunAndReturn(run func(context.Context, state.Sequence, pgx.Tx) error) *StorageMock_AddSequence_Call
- type StorageMock_AddTrustedReorg_Call
- func (_c *StorageMock_AddTrustedReorg_Call) Return(_a0 error) *StorageMock_AddTrustedReorg_Call
- func (_c *StorageMock_AddTrustedReorg_Call) Run(run func(ctx context.Context, reorg *state.TrustedReorg, dbTx pgx.Tx)) *StorageMock_AddTrustedReorg_Call
- func (_c *StorageMock_AddTrustedReorg_Call) RunAndReturn(run func(context.Context, *state.TrustedReorg, pgx.Tx) error) *StorageMock_AddTrustedReorg_Call
- type StorageMock_AddVerifiedBatch_Call
- func (_c *StorageMock_AddVerifiedBatch_Call) Return(_a0 error) *StorageMock_AddVerifiedBatch_Call
- func (_c *StorageMock_AddVerifiedBatch_Call) Run(run func(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx)) *StorageMock_AddVerifiedBatch_Call
- func (_c *StorageMock_AddVerifiedBatch_Call) RunAndReturn(run func(context.Context, *state.VerifiedBatch, pgx.Tx) error) *StorageMock_AddVerifiedBatch_Call
- type StorageMock_AddVirtualBatch_Call
- func (_c *StorageMock_AddVirtualBatch_Call) Return(_a0 error) *StorageMock_AddVirtualBatch_Call
- func (_c *StorageMock_AddVirtualBatch_Call) Run(run func(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx)) *StorageMock_AddVirtualBatch_Call
- func (_c *StorageMock_AddVirtualBatch_Call) RunAndReturn(run func(context.Context, *state.VirtualBatch, pgx.Tx) error) *StorageMock_AddVirtualBatch_Call
- type StorageMock_BatchNumberByL2BlockNumber_Call
- func (_c *StorageMock_BatchNumberByL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_BatchNumberByL2BlockNumber_Call
- func (_c *StorageMock_BatchNumberByL2BlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_BatchNumberByL2BlockNumber_Call
- func (_c *StorageMock_BatchNumberByL2BlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_BatchNumberByL2BlockNumber_Call
- type StorageMock_Begin_Call
- type StorageMock_BuildChangeL2Block_Call
- func (_c *StorageMock_BuildChangeL2Block_Call) Return(_a0 []byte) *StorageMock_BuildChangeL2Block_Call
- func (_c *StorageMock_BuildChangeL2Block_Call) Run(run func(deltaTimestamp uint32, l1InfoTreeIndex uint32)) *StorageMock_BuildChangeL2Block_Call
- func (_c *StorageMock_BuildChangeL2Block_Call) RunAndReturn(run func(uint32, uint32) []byte) *StorageMock_BuildChangeL2Block_Call
- type StorageMock_CheckProofContainsCompleteSequences_Call
- func (_c *StorageMock_CheckProofContainsCompleteSequences_Call) Return(_a0 bool, _a1 error) *StorageMock_CheckProofContainsCompleteSequences_Call
- func (_c *StorageMock_CheckProofContainsCompleteSequences_Call) Run(run func(ctx context.Context, proof *state.Proof, dbTx pgx.Tx)) *StorageMock_CheckProofContainsCompleteSequences_Call
- func (_c *StorageMock_CheckProofContainsCompleteSequences_Call) RunAndReturn(run func(context.Context, *state.Proof, pgx.Tx) (bool, error)) *StorageMock_CheckProofContainsCompleteSequences_Call
- type StorageMock_CleanupGeneratedProofs_Call
- func (_c *StorageMock_CleanupGeneratedProofs_Call) Return(_a0 error) *StorageMock_CleanupGeneratedProofs_Call
- func (_c *StorageMock_CleanupGeneratedProofs_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_CleanupGeneratedProofs_Call
- func (_c *StorageMock_CleanupGeneratedProofs_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_CleanupGeneratedProofs_Call
- type StorageMock_CleanupLockedProofs_Call
- func (_c *StorageMock_CleanupLockedProofs_Call) Return(_a0 int64, _a1 error) *StorageMock_CleanupLockedProofs_Call
- func (_c *StorageMock_CleanupLockedProofs_Call) Run(run func(ctx context.Context, duration string, dbTx pgx.Tx)) *StorageMock_CleanupLockedProofs_Call
- func (_c *StorageMock_CleanupLockedProofs_Call) RunAndReturn(run func(context.Context, string, pgx.Tx) (int64, error)) *StorageMock_CleanupLockedProofs_Call
- type StorageMock_CloseBatchInStorage_Call
- func (_c *StorageMock_CloseBatchInStorage_Call) Return(_a0 error) *StorageMock_CloseBatchInStorage_Call
- func (_c *StorageMock_CloseBatchInStorage_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StorageMock_CloseBatchInStorage_Call
- func (_c *StorageMock_CloseBatchInStorage_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StorageMock_CloseBatchInStorage_Call
- type StorageMock_CloseWIPBatchInStorage_Call
- func (_c *StorageMock_CloseWIPBatchInStorage_Call) Return(_a0 error) *StorageMock_CloseWIPBatchInStorage_Call
- func (_c *StorageMock_CloseWIPBatchInStorage_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StorageMock_CloseWIPBatchInStorage_Call
- func (_c *StorageMock_CloseWIPBatchInStorage_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StorageMock_CloseWIPBatchInStorage_Call
- type StorageMock_CountReorgs_Call
- func (_c *StorageMock_CountReorgs_Call) Return(_a0 uint64, _a1 error) *StorageMock_CountReorgs_Call
- func (_c *StorageMock_CountReorgs_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_CountReorgs_Call
- func (_c *StorageMock_CountReorgs_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_CountReorgs_Call
- type StorageMock_DeleteGeneratedProofs_Call
- func (_c *StorageMock_DeleteGeneratedProofs_Call) Return(_a0 error) *StorageMock_DeleteGeneratedProofs_Call
- func (_c *StorageMock_DeleteGeneratedProofs_Call) Run(...) *StorageMock_DeleteGeneratedProofs_Call
- func (_c *StorageMock_DeleteGeneratedProofs_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) error) *StorageMock_DeleteGeneratedProofs_Call
- type StorageMock_DeleteUngeneratedProofs_Call
- func (_c *StorageMock_DeleteUngeneratedProofs_Call) Return(_a0 error) *StorageMock_DeleteUngeneratedProofs_Call
- func (_c *StorageMock_DeleteUngeneratedProofs_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_DeleteUngeneratedProofs_Call
- func (_c *StorageMock_DeleteUngeneratedProofs_Call) RunAndReturn(run func(context.Context, pgx.Tx) error) *StorageMock_DeleteUngeneratedProofs_Call
- type StorageMock_Exec_Call
- func (_c *StorageMock_Exec_Call) Return(commandTag pgconn.CommandTag, err error) *StorageMock_Exec_Call
- func (_c *StorageMock_Exec_Call) Run(run func(ctx context.Context, sql string, arguments ...interface{})) *StorageMock_Exec_Call
- func (_c *StorageMock_Exec_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgconn.CommandTag, error)) *StorageMock_Exec_Call
- type StorageMock_Expecter
- func (_e *StorageMock_Expecter) AddAccumulatedInputHash(ctx interface{}, batchNum interface{}, accInputHash interface{}, ...) *StorageMock_AddAccumulatedInputHash_Call
- func (_e *StorageMock_Expecter) AddBlock(ctx interface{}, block interface{}, dbTx interface{}) *StorageMock_AddBlock_Call
- func (_e *StorageMock_Expecter) AddForcedBatch(ctx interface{}, forcedBatch interface{}, tx interface{}) *StorageMock_AddForcedBatch_Call
- func (_e *StorageMock_Expecter) AddForkID(ctx interface{}, forkID interface{}, dbTx interface{}) *StorageMock_AddForkID_Call
- func (_e *StorageMock_Expecter) AddForkIDInterval(ctx interface{}, newForkID interface{}, dbTx interface{}) *StorageMock_AddForkIDInterval_Call
- func (_e *StorageMock_Expecter) AddGeneratedProof(ctx interface{}, proof interface{}, dbTx interface{}) *StorageMock_AddGeneratedProof_Call
- func (_e *StorageMock_Expecter) AddGlobalExitRoot(ctx interface{}, exitRoot interface{}, dbTx interface{}) *StorageMock_AddGlobalExitRoot_Call
- func (_e *StorageMock_Expecter) AddL1InfoRootToExitRoot(ctx interface{}, exitRoot interface{}, dbTx interface{}) *StorageMock_AddL1InfoRootToExitRoot_Call
- func (_e *StorageMock_Expecter) AddL2Block(ctx interface{}, batchNumber interface{}, l2Block interface{}, ...) *StorageMock_AddL2Block_Call
- func (_e *StorageMock_Expecter) AddLog(ctx interface{}, l interface{}, dbTx interface{}) *StorageMock_AddLog_Call
- func (_e *StorageMock_Expecter) AddReceipt(ctx interface{}, receipt interface{}, imStateRoot interface{}, ...) *StorageMock_AddReceipt_Call
- func (_e *StorageMock_Expecter) AddSequence(ctx interface{}, sequence interface{}, dbTx interface{}) *StorageMock_AddSequence_Call
- func (_e *StorageMock_Expecter) AddTrustedReorg(ctx interface{}, reorg interface{}, dbTx interface{}) *StorageMock_AddTrustedReorg_Call
- func (_e *StorageMock_Expecter) AddVerifiedBatch(ctx interface{}, verifiedBatch interface{}, dbTx interface{}) *StorageMock_AddVerifiedBatch_Call
- func (_e *StorageMock_Expecter) AddVirtualBatch(ctx interface{}, virtualBatch interface{}, dbTx interface{}) *StorageMock_AddVirtualBatch_Call
- func (_e *StorageMock_Expecter) BatchNumberByL2BlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_BatchNumberByL2BlockNumber_Call
- func (_e *StorageMock_Expecter) Begin(ctx interface{}) *StorageMock_Begin_Call
- func (_e *StorageMock_Expecter) BuildChangeL2Block(deltaTimestamp interface{}, l1InfoTreeIndex interface{}) *StorageMock_BuildChangeL2Block_Call
- func (_e *StorageMock_Expecter) CheckProofContainsCompleteSequences(ctx interface{}, proof interface{}, dbTx interface{}) *StorageMock_CheckProofContainsCompleteSequences_Call
- func (_e *StorageMock_Expecter) CleanupGeneratedProofs(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_CleanupGeneratedProofs_Call
- func (_e *StorageMock_Expecter) CleanupLockedProofs(ctx interface{}, duration interface{}, dbTx interface{}) *StorageMock_CleanupLockedProofs_Call
- func (_e *StorageMock_Expecter) CloseBatchInStorage(ctx interface{}, receipt interface{}, dbTx interface{}) *StorageMock_CloseBatchInStorage_Call
- func (_e *StorageMock_Expecter) CloseWIPBatchInStorage(ctx interface{}, receipt interface{}, dbTx interface{}) *StorageMock_CloseWIPBatchInStorage_Call
- func (_e *StorageMock_Expecter) CountReorgs(ctx interface{}, dbTx interface{}) *StorageMock_CountReorgs_Call
- func (_e *StorageMock_Expecter) DeleteGeneratedProofs(ctx interface{}, batchNumber interface{}, batchNumberFinal interface{}, ...) *StorageMock_DeleteGeneratedProofs_Call
- func (_e *StorageMock_Expecter) DeleteUngeneratedProofs(ctx interface{}, dbTx interface{}) *StorageMock_DeleteUngeneratedProofs_Call
- func (_e *StorageMock_Expecter) Exec(ctx interface{}, sql interface{}, arguments ...interface{}) *StorageMock_Exec_Call
- func (_e *StorageMock_Expecter) GetAllL1InfoRootEntries(ctx interface{}, dbTx interface{}) *StorageMock_GetAllL1InfoRootEntries_Call
- func (_e *StorageMock_Expecter) GetBatchByForcedBatchNum(ctx interface{}, forcedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetBatchByForcedBatchNum_Call
- func (_e *StorageMock_Expecter) GetBatchByL2BlockNumber(ctx interface{}, l2BlockNumber interface{}, dbTx interface{}) *StorageMock_GetBatchByL2BlockNumber_Call
- func (_e *StorageMock_Expecter) GetBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetBatchByNumber_Call
- func (_e *StorageMock_Expecter) GetBatchByTxHash(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetBatchByTxHash_Call
- func (_e *StorageMock_Expecter) GetBatchNumberOfL2Block(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetBatchNumberOfL2Block_Call
- func (_e *StorageMock_Expecter) GetBlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetBlockByNumber_Call
- func (_e *StorageMock_Expecter) GetBlockNumAndMainnetExitRootByGER(ctx interface{}, ger interface{}, dbTx interface{}) *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call
- func (_e *StorageMock_Expecter) GetBlockNumVirtualBatchByBatchNum(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
- func (_e *StorageMock_Expecter) GetDSBatches(ctx interface{}, firstBatchNumber interface{}, lastBatchNumber interface{}, ...) *StorageMock_GetDSBatches_Call
- func (_e *StorageMock_Expecter) GetDSGenesisBlock(ctx interface{}, dbTx interface{}) *StorageMock_GetDSGenesisBlock_Call
- func (_e *StorageMock_Expecter) GetDSL2Blocks(ctx interface{}, firstBatchNumber interface{}, lastBatchNumber interface{}, ...) *StorageMock_GetDSL2Blocks_Call
- func (_e *StorageMock_Expecter) GetDSL2Transactions(ctx interface{}, firstL2Block interface{}, lastL2Block interface{}, ...) *StorageMock_GetDSL2Transactions_Call
- func (_e *StorageMock_Expecter) GetEncodedTransactionsByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetEncodedTransactionsByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetExitRootByGlobalExitRoot(ctx interface{}, ger interface{}, dbTx interface{}) *StorageMock_GetExitRootByGlobalExitRoot_Call
- func (_e *StorageMock_Expecter) GetFirstL2BlockNumberForBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
- func (_e *StorageMock_Expecter) GetForcedBatch(ctx interface{}, forcedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetForcedBatch_Call
- func (_e *StorageMock_Expecter) GetForcedBatchParentHash(ctx interface{}, forcedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetForcedBatchParentHash_Call
- func (_e *StorageMock_Expecter) GetForcedBatchesSince(ctx interface{}, forcedBatchNumber interface{}, maxBlockNumber interface{}, ...) *StorageMock_GetForcedBatchesSince_Call
- func (_e *StorageMock_Expecter) GetForkIDByBatchNumber(batchNumber interface{}) *StorageMock_GetForkIDByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetForkIDByBlockNumber(blockNumber interface{}) *StorageMock_GetForkIDByBlockNumber_Call
- func (_e *StorageMock_Expecter) GetForkIDInMemory(forkId interface{}) *StorageMock_GetForkIDInMemory_Call
- func (_e *StorageMock_Expecter) GetForkIDs(ctx interface{}, dbTx interface{}) *StorageMock_GetForkIDs_Call
- func (_e *StorageMock_Expecter) GetL1InfoRootLeafByIndex(ctx interface{}, l1InfoTreeIndex interface{}, dbTx interface{}) *StorageMock_GetL1InfoRootLeafByIndex_Call
- func (_e *StorageMock_Expecter) GetL1InfoRootLeafByL1InfoRoot(ctx interface{}, l1InfoRoot interface{}, dbTx interface{}) *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
- func (_e *StorageMock_Expecter) GetL2BlockByHash(ctx interface{}, hash interface{}, dbTx interface{}) *StorageMock_GetL2BlockByHash_Call
- func (_e *StorageMock_Expecter) GetL2BlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlockByNumber_Call
- func (_e *StorageMock_Expecter) GetL2BlockHashByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlockHashByNumber_Call
- func (_e *StorageMock_Expecter) GetL2BlockHashesSince(ctx interface{}, since interface{}, dbTx interface{}) *StorageMock_GetL2BlockHashesSince_Call
- func (_e *StorageMock_Expecter) GetL2BlockHeaderByHash(ctx interface{}, hash interface{}, dbTx interface{}) *StorageMock_GetL2BlockHeaderByHash_Call
- func (_e *StorageMock_Expecter) GetL2BlockHeaderByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlockHeaderByNumber_Call
- func (_e *StorageMock_Expecter) GetL2BlockTransactionCountByHash(ctx interface{}, blockHash interface{}, dbTx interface{}) *StorageMock_GetL2BlockTransactionCountByHash_Call
- func (_e *StorageMock_Expecter) GetL2BlockTransactionCountByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlockTransactionCountByNumber_Call
- func (_e *StorageMock_Expecter) GetL2BlocksByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlocksByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetL2TxHashByTxHash(ctx interface{}, hash interface{}, dbTx interface{}) *StorageMock_GetL2TxHashByTxHash_Call
- func (_e *StorageMock_Expecter) GetLastBatchNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastBatchNumber_Call
- func (_e *StorageMock_Expecter) GetLastBatchTime(ctx interface{}, dbTx interface{}) *StorageMock_GetLastBatchTime_Call
- func (_e *StorageMock_Expecter) GetLastBlock(ctx interface{}, dbTx interface{}) *StorageMock_GetLastBlock_Call
- func (_e *StorageMock_Expecter) GetLastClosedBatch(ctx interface{}, dbTx interface{}) *StorageMock_GetLastClosedBatch_Call
- func (_e *StorageMock_Expecter) GetLastClosedBatchNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastClosedBatchNumber_Call
- func (_e *StorageMock_Expecter) GetLastConsolidatedL2BlockNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastConsolidatedL2BlockNumber_Call
- func (_e *StorageMock_Expecter) GetLastL2Block(ctx interface{}, dbTx interface{}) *StorageMock_GetLastL2Block_Call
- func (_e *StorageMock_Expecter) GetLastL2BlockByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetLastL2BlockByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetLastL2BlockCreatedAt(ctx interface{}, dbTx interface{}) *StorageMock_GetLastL2BlockCreatedAt_Call
- func (_e *StorageMock_Expecter) GetLastL2BlockHeader(ctx interface{}, dbTx interface{}) *StorageMock_GetLastL2BlockHeader_Call
- func (_e *StorageMock_Expecter) GetLastL2BlockNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastL2BlockNumber_Call
- func (_e *StorageMock_Expecter) GetLastNBatches(ctx interface{}, numBatches interface{}, dbTx interface{}) *StorageMock_GetLastNBatches_Call
- func (_e *StorageMock_Expecter) GetLastNBatchesByL2BlockNumber(ctx interface{}, l2BlockNumber interface{}, numBatches interface{}, ...) *StorageMock_GetLastNBatchesByL2BlockNumber_Call
- func (_e *StorageMock_Expecter) GetLastTrustedForcedBatchNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastTrustedForcedBatchNumber_Call
- func (_e *StorageMock_Expecter) GetLastVerifiedBatch(ctx interface{}, dbTx interface{}) *StorageMock_GetLastVerifiedBatch_Call
- func (_e *StorageMock_Expecter) GetLastVerifiedBatchNumberUntilL1Block(ctx interface{}, l1BlockNumber interface{}, dbTx interface{}) *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
- func (_e *StorageMock_Expecter) GetLastVerifiedL2BlockNumberUntilL1Block(ctx interface{}, l1FinalizedBlockNumber interface{}, dbTx interface{}) *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
- func (_e *StorageMock_Expecter) GetLastVirtualBatchNum(ctx interface{}, dbTx interface{}) *StorageMock_GetLastVirtualBatchNum_Call
- func (_e *StorageMock_Expecter) GetLastVirtualizedL2BlockNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastVirtualizedL2BlockNumber_Call
- func (_e *StorageMock_Expecter) GetLatestBatchGlobalExitRoot(ctx interface{}, dbTx interface{}) *StorageMock_GetLatestBatchGlobalExitRoot_Call
- func (_e *StorageMock_Expecter) GetLatestGer(ctx interface{}, maxBlockNumber interface{}) *StorageMock_GetLatestGer_Call
- func (_e *StorageMock_Expecter) GetLatestGlobalExitRoot(ctx interface{}, maxBlockNumber interface{}, dbTx interface{}) *StorageMock_GetLatestGlobalExitRoot_Call
- func (_e *StorageMock_Expecter) GetLatestIndex(ctx interface{}, dbTx interface{}) *StorageMock_GetLatestIndex_Call
- func (_e *StorageMock_Expecter) GetLatestL1InfoRoot(ctx interface{}, maxBlockNumber interface{}) *StorageMock_GetLatestL1InfoRoot_Call
- func (_e *StorageMock_Expecter) GetLatestVirtualBatchTimestamp(ctx interface{}, dbTx interface{}) *StorageMock_GetLatestVirtualBatchTimestamp_Call
- func (_e *StorageMock_Expecter) GetLeavesByL1InfoRoot(ctx interface{}, l1InfoRoot interface{}, dbTx interface{}) *StorageMock_GetLeavesByL1InfoRoot_Call
- func (_e *StorageMock_Expecter) GetLocalExitRootByBatchNumber(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_GetLocalExitRootByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetLogs(ctx interface{}, fromBlock interface{}, toBlock interface{}, ...) *StorageMock_GetLogs_Call
- func (_e *StorageMock_Expecter) GetLogsByBlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetLogsByBlockNumber_Call
- func (_e *StorageMock_Expecter) GetNativeBlockHashesInRange(ctx interface{}, fromBlock interface{}, toBlock interface{}, dbTx interface{}) *StorageMock_GetNativeBlockHashesInRange_Call
- func (_e *StorageMock_Expecter) GetNextForcedBatches(ctx interface{}, nextForcedBatches interface{}, dbTx interface{}) *StorageMock_GetNextForcedBatches_Call
- func (_e *StorageMock_Expecter) GetNotCheckedBatches(ctx interface{}, dbTx interface{}) *StorageMock_GetNotCheckedBatches_Call
- func (_e *StorageMock_Expecter) GetNumberOfBlocksSinceLastGERUpdate(ctx interface{}, dbTx interface{}) *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
- func (_e *StorageMock_Expecter) GetPreviousBlock(ctx interface{}, offset interface{}, dbTx interface{}) *StorageMock_GetPreviousBlock_Call
- func (_e *StorageMock_Expecter) GetProcessingContext(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetProcessingContext_Call
- func (_e *StorageMock_Expecter) GetProofReadyToVerify(ctx interface{}, lastVerfiedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetProofReadyToVerify_Call
- func (_e *StorageMock_Expecter) GetProofsToAggregate(ctx interface{}, dbTx interface{}) *StorageMock_GetProofsToAggregate_Call
- func (_e *StorageMock_Expecter) GetRawBatchTimestamps(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetRawBatchTimestamps_Call
- func (_e *StorageMock_Expecter) GetReorgedTransactions(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetReorgedTransactions_Call
- func (_e *StorageMock_Expecter) GetSequences(ctx interface{}, lastVerifiedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetSequences_Call
- func (_e *StorageMock_Expecter) GetStateRootByBatchNumber(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_GetStateRootByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetSyncInfoData(ctx interface{}, dbTx interface{}) *StorageMock_GetSyncInfoData_Call
- func (_e *StorageMock_Expecter) GetTimeForLatestBatchVirtualization(ctx interface{}, dbTx interface{}) *StorageMock_GetTimeForLatestBatchVirtualization_Call
- func (_e *StorageMock_Expecter) GetTransactionByHash(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetTransactionByHash_Call
- func (_e *StorageMock_Expecter) GetTransactionByL2BlockHashAndIndex(ctx interface{}, blockHash interface{}, index interface{}, dbTx interface{}) *StorageMock_GetTransactionByL2BlockHashAndIndex_Call
- func (_e *StorageMock_Expecter) GetTransactionByL2BlockNumberAndIndex(ctx interface{}, blockNumber interface{}, index interface{}, dbTx interface{}) *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
- func (_e *StorageMock_Expecter) GetTransactionByL2Hash(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetTransactionByL2Hash_Call
- func (_e *StorageMock_Expecter) GetTransactionEGPLogByHash(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetTransactionEGPLogByHash_Call
- func (_e *StorageMock_Expecter) GetTransactionReceipt(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetTransactionReceipt_Call
- func (_e *StorageMock_Expecter) GetTransactionsByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetTransactionsByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetTxsByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetTxsByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetTxsByBlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetTxsByBlockNumber_Call
- func (_e *StorageMock_Expecter) GetTxsHashesByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetTxsHashesByBatchNumber_Call
- func (_e *StorageMock_Expecter) GetTxsOlderThanNL1Blocks(ctx interface{}, nL1Blocks interface{}, dbTx interface{}) *StorageMock_GetTxsOlderThanNL1Blocks_Call
- func (_e *StorageMock_Expecter) GetTxsOlderThanNL1BlocksUntilTxHash(ctx interface{}, nL1Blocks interface{}, earliestTxHash interface{}, ...) *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call
- func (_e *StorageMock_Expecter) GetVerifiedBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetVerifiedBatch_Call
- func (_e *StorageMock_Expecter) GetVirtualBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetVirtualBatch_Call
- func (_e *StorageMock_Expecter) GetVirtualBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetVirtualBatchByNumber_Call
- func (_e *StorageMock_Expecter) GetVirtualBatchParentHash(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetVirtualBatchParentHash_Call
- func (_e *StorageMock_Expecter) GetVirtualBatchToProve(ctx interface{}, lastVerfiedBatchNumber interface{}, maxL1Block interface{}, ...) *StorageMock_GetVirtualBatchToProve_Call
- func (_e *StorageMock_Expecter) GetWIPBatchInStorage(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetWIPBatchInStorage_Call
- func (_e *StorageMock_Expecter) IsBatchChecked(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_IsBatchChecked_Call
- func (_e *StorageMock_Expecter) IsBatchClosed(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_IsBatchClosed_Call
- func (_e *StorageMock_Expecter) IsBatchConsolidated(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_IsBatchConsolidated_Call
- func (_e *StorageMock_Expecter) IsBatchVirtualized(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_IsBatchVirtualized_Call
- func (_e *StorageMock_Expecter) IsL2BlockConsolidated(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_IsL2BlockConsolidated_Call
- func (_e *StorageMock_Expecter) IsL2BlockVirtualized(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_IsL2BlockVirtualized_Call
- func (_e *StorageMock_Expecter) IsSequencingTXSynced(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_IsSequencingTXSynced_Call
- func (_e *StorageMock_Expecter) OpenBatchInStorage(ctx interface{}, batchContext interface{}, dbTx interface{}) *StorageMock_OpenBatchInStorage_Call
- func (_e *StorageMock_Expecter) OpenWIPBatchInStorage(ctx interface{}, batch interface{}, dbTx interface{}) *StorageMock_OpenWIPBatchInStorage_Call
- func (_e *StorageMock_Expecter) Query(ctx interface{}, sql interface{}, args ...interface{}) *StorageMock_Query_Call
- func (_e *StorageMock_Expecter) QueryRow(ctx interface{}, sql interface{}, args ...interface{}) *StorageMock_QueryRow_Call
- func (_e *StorageMock_Expecter) ResetForkID(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_ResetForkID_Call
- func (_e *StorageMock_Expecter) ResetToL1BlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_ResetToL1BlockNumber_Call
- func (_e *StorageMock_Expecter) ResetTrustedState(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_ResetTrustedState_Call
- func (_e *StorageMock_Expecter) SetInitSyncBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_SetInitSyncBatch_Call
- func (_e *StorageMock_Expecter) SetLastBatchInfoSeenOnEthereum(ctx interface{}, lastBatchNumberSeen interface{}, ...) *StorageMock_SetLastBatchInfoSeenOnEthereum_Call
- func (_e *StorageMock_Expecter) StoreGenesisBatch(ctx interface{}, batch interface{}, closingReason interface{}, ...) *StorageMock_StoreGenesisBatch_Call
- func (_e *StorageMock_Expecter) UpdateBatchAsChecked(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_UpdateBatchAsChecked_Call
- func (_e *StorageMock_Expecter) UpdateBatchL2Data(ctx interface{}, batchNumber interface{}, batchL2Data interface{}, ...) *StorageMock_UpdateBatchL2Data_Call
- func (_e *StorageMock_Expecter) UpdateForkIDBlockNumber(ctx interface{}, forkdID interface{}, newBlockNumber interface{}, ...) *StorageMock_UpdateForkIDBlockNumber_Call
- func (_e *StorageMock_Expecter) UpdateForkIDIntervalsInMemory(intervals interface{}) *StorageMock_UpdateForkIDIntervalsInMemory_Call
- func (_e *StorageMock_Expecter) UpdateForkIDToBatchNumber(ctx interface{}, forkID interface{}, dbTx interface{}) *StorageMock_UpdateForkIDToBatchNumber_Call
- func (_e *StorageMock_Expecter) UpdateGERInOpenBatch(ctx interface{}, ger interface{}, dbTx interface{}) *StorageMock_UpdateGERInOpenBatch_Call
- func (_e *StorageMock_Expecter) UpdateGeneratedProof(ctx interface{}, proof interface{}, dbTx interface{}) *StorageMock_UpdateGeneratedProof_Call
- func (_e *StorageMock_Expecter) UpdateWIPBatch(ctx interface{}, receipt interface{}, dbTx interface{}) *StorageMock_UpdateWIPBatch_Call
- type StorageMock_GetAllL1InfoRootEntries_Call
- func (_c *StorageMock_GetAllL1InfoRootEntries_Call) Return(_a0 []state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetAllL1InfoRootEntries_Call
- func (_c *StorageMock_GetAllL1InfoRootEntries_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetAllL1InfoRootEntries_Call
- func (_c *StorageMock_GetAllL1InfoRootEntries_Call) RunAndReturn(...) *StorageMock_GetAllL1InfoRootEntries_Call
- type StorageMock_GetBatchByForcedBatchNum_Call
- func (_c *StorageMock_GetBatchByForcedBatchNum_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetBatchByForcedBatchNum_Call
- func (_c *StorageMock_GetBatchByForcedBatchNum_Call) Run(run func(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBatchByForcedBatchNum_Call
- func (_c *StorageMock_GetBatchByForcedBatchNum_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetBatchByForcedBatchNum_Call
- type StorageMock_GetBatchByL2BlockNumber_Call
- func (_c *StorageMock_GetBatchByL2BlockNumber_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetBatchByL2BlockNumber_Call
- func (_c *StorageMock_GetBatchByL2BlockNumber_Call) Run(run func(ctx context.Context, l2BlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBatchByL2BlockNumber_Call
- func (_c *StorageMock_GetBatchByL2BlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetBatchByL2BlockNumber_Call
- type StorageMock_GetBatchByNumber_Call
- func (_c *StorageMock_GetBatchByNumber_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetBatchByNumber_Call
- func (_c *StorageMock_GetBatchByNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBatchByNumber_Call
- func (_c *StorageMock_GetBatchByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetBatchByNumber_Call
- type StorageMock_GetBatchByTxHash_Call
- func (_c *StorageMock_GetBatchByTxHash_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetBatchByTxHash_Call
- func (_c *StorageMock_GetBatchByTxHash_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetBatchByTxHash_Call
- func (_c *StorageMock_GetBatchByTxHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*state.Batch, error)) *StorageMock_GetBatchByTxHash_Call
- type StorageMock_GetBatchNumberOfL2Block_Call
- func (_c *StorageMock_GetBatchNumberOfL2Block_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetBatchNumberOfL2Block_Call
- func (_c *StorageMock_GetBatchNumberOfL2Block_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBatchNumberOfL2Block_Call
- func (_c *StorageMock_GetBatchNumberOfL2Block_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetBatchNumberOfL2Block_Call
- type StorageMock_GetBlockByNumber_Call
- func (_c *StorageMock_GetBlockByNumber_Call) Return(_a0 *state.Block, _a1 error) *StorageMock_GetBlockByNumber_Call
- func (_c *StorageMock_GetBlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBlockByNumber_Call
- func (_c *StorageMock_GetBlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StorageMock_GetBlockByNumber_Call
- type StorageMock_GetBlockNumAndMainnetExitRootByGER_Call
- func (_c *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) Return(_a0 uint64, _a1 common.Hash, _a2 error) *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call
- func (_c *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) Run(run func(ctx context.Context, ger common.Hash, dbTx pgx.Tx)) *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call
- func (_c *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (uint64, common.Hash, error)) *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call
- type StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
- func (_c *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
- func (_c *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
- func (_c *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
- type StorageMock_GetDSBatches_Call
- type StorageMock_GetDSGenesisBlock_Call
- func (_c *StorageMock_GetDSGenesisBlock_Call) Return(_a0 *state.DSL2Block, _a1 error) *StorageMock_GetDSGenesisBlock_Call
- func (_c *StorageMock_GetDSGenesisBlock_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetDSGenesisBlock_Call
- func (_c *StorageMock_GetDSGenesisBlock_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.DSL2Block, error)) *StorageMock_GetDSGenesisBlock_Call
- type StorageMock_GetDSL2Blocks_Call
- func (_c *StorageMock_GetDSL2Blocks_Call) Return(_a0 []*state.DSL2Block, _a1 error) *StorageMock_GetDSL2Blocks_Call
- func (_c *StorageMock_GetDSL2Blocks_Call) Run(...) *StorageMock_GetDSL2Blocks_Call
- func (_c *StorageMock_GetDSL2Blocks_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) ([]*state.DSL2Block, error)) *StorageMock_GetDSL2Blocks_Call
- type StorageMock_GetDSL2Transactions_Call
- func (_c *StorageMock_GetDSL2Transactions_Call) Return(_a0 []*state.DSL2Transaction, _a1 error) *StorageMock_GetDSL2Transactions_Call
- func (_c *StorageMock_GetDSL2Transactions_Call) Run(...) *StorageMock_GetDSL2Transactions_Call
- func (_c *StorageMock_GetDSL2Transactions_Call) RunAndReturn(...) *StorageMock_GetDSL2Transactions_Call
- type StorageMock_GetEncodedTransactionsByBatchNumber_Call
- func (_c *StorageMock_GetEncodedTransactionsByBatchNumber_Call) Return(encodedTxs []string, effectivePercentages []uint8, err error) *StorageMock_GetEncodedTransactionsByBatchNumber_Call
- func (_c *StorageMock_GetEncodedTransactionsByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetEncodedTransactionsByBatchNumber_Call
- func (_c *StorageMock_GetEncodedTransactionsByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]string, []uint8, error)) *StorageMock_GetEncodedTransactionsByBatchNumber_Call
- type StorageMock_GetExitRootByGlobalExitRoot_Call
- func (_c *StorageMock_GetExitRootByGlobalExitRoot_Call) Return(_a0 *state.GlobalExitRoot, _a1 error) *StorageMock_GetExitRootByGlobalExitRoot_Call
- func (_c *StorageMock_GetExitRootByGlobalExitRoot_Call) Run(run func(ctx context.Context, ger common.Hash, dbTx pgx.Tx)) *StorageMock_GetExitRootByGlobalExitRoot_Call
- func (_c *StorageMock_GetExitRootByGlobalExitRoot_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*state.GlobalExitRoot, error)) *StorageMock_GetExitRootByGlobalExitRoot_Call
- type StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
- func (_c *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
- func (_c *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
- func (_c *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
- type StorageMock_GetForcedBatchParentHash_Call
- func (_c *StorageMock_GetForcedBatchParentHash_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetForcedBatchParentHash_Call
- func (_c *StorageMock_GetForcedBatchParentHash_Call) Run(run func(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetForcedBatchParentHash_Call
- func (_c *StorageMock_GetForcedBatchParentHash_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetForcedBatchParentHash_Call
- type StorageMock_GetForcedBatch_Call
- func (_c *StorageMock_GetForcedBatch_Call) Return(_a0 *state.ForcedBatch, _a1 error) *StorageMock_GetForcedBatch_Call
- func (_c *StorageMock_GetForcedBatch_Call) Run(run func(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetForcedBatch_Call
- func (_c *StorageMock_GetForcedBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.ForcedBatch, error)) *StorageMock_GetForcedBatch_Call
- type StorageMock_GetForcedBatchesSince_Call
- func (_c *StorageMock_GetForcedBatchesSince_Call) Return(_a0 []*state.ForcedBatch, _a1 error) *StorageMock_GetForcedBatchesSince_Call
- func (_c *StorageMock_GetForcedBatchesSince_Call) Run(...) *StorageMock_GetForcedBatchesSince_Call
- func (_c *StorageMock_GetForcedBatchesSince_Call) RunAndReturn(...) *StorageMock_GetForcedBatchesSince_Call
- type StorageMock_GetForkIDByBatchNumber_Call
- func (_c *StorageMock_GetForkIDByBatchNumber_Call) Return(_a0 uint64) *StorageMock_GetForkIDByBatchNumber_Call
- func (_c *StorageMock_GetForkIDByBatchNumber_Call) Run(run func(batchNumber uint64)) *StorageMock_GetForkIDByBatchNumber_Call
- func (_c *StorageMock_GetForkIDByBatchNumber_Call) RunAndReturn(run func(uint64) uint64) *StorageMock_GetForkIDByBatchNumber_Call
- type StorageMock_GetForkIDByBlockNumber_Call
- func (_c *StorageMock_GetForkIDByBlockNumber_Call) Return(_a0 uint64) *StorageMock_GetForkIDByBlockNumber_Call
- func (_c *StorageMock_GetForkIDByBlockNumber_Call) Run(run func(blockNumber uint64)) *StorageMock_GetForkIDByBlockNumber_Call
- func (_c *StorageMock_GetForkIDByBlockNumber_Call) RunAndReturn(run func(uint64) uint64) *StorageMock_GetForkIDByBlockNumber_Call
- type StorageMock_GetForkIDInMemory_Call
- func (_c *StorageMock_GetForkIDInMemory_Call) Return(_a0 *state.ForkIDInterval) *StorageMock_GetForkIDInMemory_Call
- func (_c *StorageMock_GetForkIDInMemory_Call) Run(run func(forkId uint64)) *StorageMock_GetForkIDInMemory_Call
- func (_c *StorageMock_GetForkIDInMemory_Call) RunAndReturn(run func(uint64) *state.ForkIDInterval) *StorageMock_GetForkIDInMemory_Call
- type StorageMock_GetForkIDs_Call
- func (_c *StorageMock_GetForkIDs_Call) Return(_a0 []state.ForkIDInterval, _a1 error) *StorageMock_GetForkIDs_Call
- func (_c *StorageMock_GetForkIDs_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetForkIDs_Call
- func (_c *StorageMock_GetForkIDs_Call) RunAndReturn(run func(context.Context, pgx.Tx) ([]state.ForkIDInterval, error)) *StorageMock_GetForkIDs_Call
- type StorageMock_GetL1InfoRootLeafByIndex_Call
- func (_c *StorageMock_GetL1InfoRootLeafByIndex_Call) Return(_a0 state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetL1InfoRootLeafByIndex_Call
- func (_c *StorageMock_GetL1InfoRootLeafByIndex_Call) Run(run func(ctx context.Context, l1InfoTreeIndex uint32, dbTx pgx.Tx)) *StorageMock_GetL1InfoRootLeafByIndex_Call
- func (_c *StorageMock_GetL1InfoRootLeafByIndex_Call) RunAndReturn(...) *StorageMock_GetL1InfoRootLeafByIndex_Call
- type StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
- func (_c *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) Return(_a0 state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
- func (_c *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) Run(run func(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx)) *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
- func (_c *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) RunAndReturn(...) *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
- type StorageMock_GetL2BlockByHash_Call
- func (_c *StorageMock_GetL2BlockByHash_Call) Return(_a0 *state.L2Block, _a1 error) *StorageMock_GetL2BlockByHash_Call
- func (_c *StorageMock_GetL2BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash, dbTx pgx.Tx)) *StorageMock_GetL2BlockByHash_Call
- func (_c *StorageMock_GetL2BlockByHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*state.L2Block, error)) *StorageMock_GetL2BlockByHash_Call
- type StorageMock_GetL2BlockByNumber_Call
- func (_c *StorageMock_GetL2BlockByNumber_Call) Return(_a0 *state.L2Block, _a1 error) *StorageMock_GetL2BlockByNumber_Call
- func (_c *StorageMock_GetL2BlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlockByNumber_Call
- func (_c *StorageMock_GetL2BlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Block, error)) *StorageMock_GetL2BlockByNumber_Call
- type StorageMock_GetL2BlockHashByNumber_Call
- func (_c *StorageMock_GetL2BlockHashByNumber_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetL2BlockHashByNumber_Call
- func (_c *StorageMock_GetL2BlockHashByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlockHashByNumber_Call
- func (_c *StorageMock_GetL2BlockHashByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetL2BlockHashByNumber_Call
- type StorageMock_GetL2BlockHashesSince_Call
- func (_c *StorageMock_GetL2BlockHashesSince_Call) Return(_a0 []common.Hash, _a1 error) *StorageMock_GetL2BlockHashesSince_Call
- func (_c *StorageMock_GetL2BlockHashesSince_Call) Run(run func(ctx context.Context, since time.Time, dbTx pgx.Tx)) *StorageMock_GetL2BlockHashesSince_Call
- func (_c *StorageMock_GetL2BlockHashesSince_Call) RunAndReturn(run func(context.Context, time.Time, pgx.Tx) ([]common.Hash, error)) *StorageMock_GetL2BlockHashesSince_Call
- type StorageMock_GetL2BlockHeaderByHash_Call
- func (_c *StorageMock_GetL2BlockHeaderByHash_Call) Return(_a0 *state.L2Header, _a1 error) *StorageMock_GetL2BlockHeaderByHash_Call
- func (_c *StorageMock_GetL2BlockHeaderByHash_Call) Run(run func(ctx context.Context, hash common.Hash, dbTx pgx.Tx)) *StorageMock_GetL2BlockHeaderByHash_Call
- func (_c *StorageMock_GetL2BlockHeaderByHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*state.L2Header, error)) *StorageMock_GetL2BlockHeaderByHash_Call
- type StorageMock_GetL2BlockHeaderByNumber_Call
- func (_c *StorageMock_GetL2BlockHeaderByNumber_Call) Return(_a0 *state.L2Header, _a1 error) *StorageMock_GetL2BlockHeaderByNumber_Call
- func (_c *StorageMock_GetL2BlockHeaderByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlockHeaderByNumber_Call
- func (_c *StorageMock_GetL2BlockHeaderByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Header, error)) *StorageMock_GetL2BlockHeaderByNumber_Call
- type StorageMock_GetL2BlockTransactionCountByHash_Call
- func (_c *StorageMock_GetL2BlockTransactionCountByHash_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetL2BlockTransactionCountByHash_Call
- func (_c *StorageMock_GetL2BlockTransactionCountByHash_Call) Run(run func(ctx context.Context, blockHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetL2BlockTransactionCountByHash_Call
- func (_c *StorageMock_GetL2BlockTransactionCountByHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (uint64, error)) *StorageMock_GetL2BlockTransactionCountByHash_Call
- type StorageMock_GetL2BlockTransactionCountByNumber_Call
- func (_c *StorageMock_GetL2BlockTransactionCountByNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetL2BlockTransactionCountByNumber_Call
- func (_c *StorageMock_GetL2BlockTransactionCountByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlockTransactionCountByNumber_Call
- func (_c *StorageMock_GetL2BlockTransactionCountByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetL2BlockTransactionCountByNumber_Call
- type StorageMock_GetL2BlocksByBatchNumber_Call
- func (_c *StorageMock_GetL2BlocksByBatchNumber_Call) Return(_a0 []state.L2Block, _a1 error) *StorageMock_GetL2BlocksByBatchNumber_Call
- func (_c *StorageMock_GetL2BlocksByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlocksByBatchNumber_Call
- func (_c *StorageMock_GetL2BlocksByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]state.L2Block, error)) *StorageMock_GetL2BlocksByBatchNumber_Call
- type StorageMock_GetL2TxHashByTxHash_Call
- func (_c *StorageMock_GetL2TxHashByTxHash_Call) Return(_a0 *common.Hash, _a1 error) *StorageMock_GetL2TxHashByTxHash_Call
- func (_c *StorageMock_GetL2TxHashByTxHash_Call) Run(run func(ctx context.Context, hash common.Hash, dbTx pgx.Tx)) *StorageMock_GetL2TxHashByTxHash_Call
- func (_c *StorageMock_GetL2TxHashByTxHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*common.Hash, error)) *StorageMock_GetL2TxHashByTxHash_Call
- type StorageMock_GetLastBatchNumber_Call
- func (_c *StorageMock_GetLastBatchNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastBatchNumber_Call
- func (_c *StorageMock_GetLastBatchNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastBatchNumber_Call
- func (_c *StorageMock_GetLastBatchNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastBatchNumber_Call
- type StorageMock_GetLastBatchTime_Call
- func (_c *StorageMock_GetLastBatchTime_Call) Return(_a0 time.Time, _a1 error) *StorageMock_GetLastBatchTime_Call
- func (_c *StorageMock_GetLastBatchTime_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastBatchTime_Call
- func (_c *StorageMock_GetLastBatchTime_Call) RunAndReturn(run func(context.Context, pgx.Tx) (time.Time, error)) *StorageMock_GetLastBatchTime_Call
- type StorageMock_GetLastBlock_Call
- func (_c *StorageMock_GetLastBlock_Call) Return(_a0 *state.Block, _a1 error) *StorageMock_GetLastBlock_Call
- func (_c *StorageMock_GetLastBlock_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastBlock_Call
- func (_c *StorageMock_GetLastBlock_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.Block, error)) *StorageMock_GetLastBlock_Call
- type StorageMock_GetLastClosedBatchNumber_Call
- func (_c *StorageMock_GetLastClosedBatchNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastClosedBatchNumber_Call
- func (_c *StorageMock_GetLastClosedBatchNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastClosedBatchNumber_Call
- func (_c *StorageMock_GetLastClosedBatchNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastClosedBatchNumber_Call
- type StorageMock_GetLastClosedBatch_Call
- func (_c *StorageMock_GetLastClosedBatch_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetLastClosedBatch_Call
- func (_c *StorageMock_GetLastClosedBatch_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastClosedBatch_Call
- func (_c *StorageMock_GetLastClosedBatch_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.Batch, error)) *StorageMock_GetLastClosedBatch_Call
- type StorageMock_GetLastConsolidatedL2BlockNumber_Call
- func (_c *StorageMock_GetLastConsolidatedL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastConsolidatedL2BlockNumber_Call
- func (_c *StorageMock_GetLastConsolidatedL2BlockNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastConsolidatedL2BlockNumber_Call
- func (_c *StorageMock_GetLastConsolidatedL2BlockNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastConsolidatedL2BlockNumber_Call
- type StorageMock_GetLastL2BlockByBatchNumber_Call
- func (_c *StorageMock_GetLastL2BlockByBatchNumber_Call) Return(_a0 *state.L2Block, _a1 error) *StorageMock_GetLastL2BlockByBatchNumber_Call
- func (_c *StorageMock_GetLastL2BlockByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLastL2BlockByBatchNumber_Call
- func (_c *StorageMock_GetLastL2BlockByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Block, error)) *StorageMock_GetLastL2BlockByBatchNumber_Call
- type StorageMock_GetLastL2BlockCreatedAt_Call
- func (_c *StorageMock_GetLastL2BlockCreatedAt_Call) Return(_a0 *time.Time, _a1 error) *StorageMock_GetLastL2BlockCreatedAt_Call
- func (_c *StorageMock_GetLastL2BlockCreatedAt_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastL2BlockCreatedAt_Call
- func (_c *StorageMock_GetLastL2BlockCreatedAt_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*time.Time, error)) *StorageMock_GetLastL2BlockCreatedAt_Call
- type StorageMock_GetLastL2BlockHeader_Call
- func (_c *StorageMock_GetLastL2BlockHeader_Call) Return(_a0 *state.L2Header, _a1 error) *StorageMock_GetLastL2BlockHeader_Call
- func (_c *StorageMock_GetLastL2BlockHeader_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastL2BlockHeader_Call
- func (_c *StorageMock_GetLastL2BlockHeader_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.L2Header, error)) *StorageMock_GetLastL2BlockHeader_Call
- type StorageMock_GetLastL2BlockNumber_Call
- func (_c *StorageMock_GetLastL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastL2BlockNumber_Call
- func (_c *StorageMock_GetLastL2BlockNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastL2BlockNumber_Call
- func (_c *StorageMock_GetLastL2BlockNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastL2BlockNumber_Call
- type StorageMock_GetLastL2Block_Call
- func (_c *StorageMock_GetLastL2Block_Call) Return(_a0 *state.L2Block, _a1 error) *StorageMock_GetLastL2Block_Call
- func (_c *StorageMock_GetLastL2Block_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastL2Block_Call
- func (_c *StorageMock_GetLastL2Block_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.L2Block, error)) *StorageMock_GetLastL2Block_Call
- type StorageMock_GetLastNBatchesByL2BlockNumber_Call
- func (_c *StorageMock_GetLastNBatchesByL2BlockNumber_Call) Return(_a0 []*state.Batch, _a1 common.Hash, _a2 error) *StorageMock_GetLastNBatchesByL2BlockNumber_Call
- func (_c *StorageMock_GetLastNBatchesByL2BlockNumber_Call) Run(...) *StorageMock_GetLastNBatchesByL2BlockNumber_Call
- func (_c *StorageMock_GetLastNBatchesByL2BlockNumber_Call) RunAndReturn(...) *StorageMock_GetLastNBatchesByL2BlockNumber_Call
- type StorageMock_GetLastNBatches_Call
- func (_c *StorageMock_GetLastNBatches_Call) Return(_a0 []*state.Batch, _a1 error) *StorageMock_GetLastNBatches_Call
- func (_c *StorageMock_GetLastNBatches_Call) Run(run func(ctx context.Context, numBatches uint, dbTx pgx.Tx)) *StorageMock_GetLastNBatches_Call
- func (_c *StorageMock_GetLastNBatches_Call) RunAndReturn(run func(context.Context, uint, pgx.Tx) ([]*state.Batch, error)) *StorageMock_GetLastNBatches_Call
- type StorageMock_GetLastTrustedForcedBatchNumber_Call
- func (_c *StorageMock_GetLastTrustedForcedBatchNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastTrustedForcedBatchNumber_Call
- func (_c *StorageMock_GetLastTrustedForcedBatchNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastTrustedForcedBatchNumber_Call
- func (_c *StorageMock_GetLastTrustedForcedBatchNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastTrustedForcedBatchNumber_Call
- type StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
- func (_c *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
- func (_c *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) Run(run func(ctx context.Context, l1BlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
- func (_c *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
- type StorageMock_GetLastVerifiedBatch_Call
- func (_c *StorageMock_GetLastVerifiedBatch_Call) Return(_a0 *state.VerifiedBatch, _a1 error) *StorageMock_GetLastVerifiedBatch_Call
- func (_c *StorageMock_GetLastVerifiedBatch_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastVerifiedBatch_Call
- func (_c *StorageMock_GetLastVerifiedBatch_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.VerifiedBatch, error)) *StorageMock_GetLastVerifiedBatch_Call
- type StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
- func (_c *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
- func (_c *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) Run(run func(ctx context.Context, l1FinalizedBlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
- func (_c *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
- type StorageMock_GetLastVirtualBatchNum_Call
- func (_c *StorageMock_GetLastVirtualBatchNum_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastVirtualBatchNum_Call
- func (_c *StorageMock_GetLastVirtualBatchNum_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastVirtualBatchNum_Call
- func (_c *StorageMock_GetLastVirtualBatchNum_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastVirtualBatchNum_Call
- type StorageMock_GetLastVirtualizedL2BlockNumber_Call
- func (_c *StorageMock_GetLastVirtualizedL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastVirtualizedL2BlockNumber_Call
- func (_c *StorageMock_GetLastVirtualizedL2BlockNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastVirtualizedL2BlockNumber_Call
- func (_c *StorageMock_GetLastVirtualizedL2BlockNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastVirtualizedL2BlockNumber_Call
- type StorageMock_GetLatestBatchGlobalExitRoot_Call
- func (_c *StorageMock_GetLatestBatchGlobalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetLatestBatchGlobalExitRoot_Call
- func (_c *StorageMock_GetLatestBatchGlobalExitRoot_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLatestBatchGlobalExitRoot_Call
- func (_c *StorageMock_GetLatestBatchGlobalExitRoot_Call) RunAndReturn(run func(context.Context, pgx.Tx) (common.Hash, error)) *StorageMock_GetLatestBatchGlobalExitRoot_Call
- type StorageMock_GetLatestGer_Call
- func (_c *StorageMock_GetLatestGer_Call) Return(_a0 state.GlobalExitRoot, _a1 time.Time, _a2 error) *StorageMock_GetLatestGer_Call
- func (_c *StorageMock_GetLatestGer_Call) Run(run func(ctx context.Context, maxBlockNumber uint64)) *StorageMock_GetLatestGer_Call
- func (_c *StorageMock_GetLatestGer_Call) RunAndReturn(run func(context.Context, uint64) (state.GlobalExitRoot, time.Time, error)) *StorageMock_GetLatestGer_Call
- type StorageMock_GetLatestGlobalExitRoot_Call
- func (_c *StorageMock_GetLatestGlobalExitRoot_Call) Return(_a0 state.GlobalExitRoot, _a1 time.Time, _a2 error) *StorageMock_GetLatestGlobalExitRoot_Call
- func (_c *StorageMock_GetLatestGlobalExitRoot_Call) Run(run func(ctx context.Context, maxBlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLatestGlobalExitRoot_Call
- func (_c *StorageMock_GetLatestGlobalExitRoot_Call) RunAndReturn(...) *StorageMock_GetLatestGlobalExitRoot_Call
- type StorageMock_GetLatestIndex_Call
- func (_c *StorageMock_GetLatestIndex_Call) Return(_a0 uint32, _a1 error) *StorageMock_GetLatestIndex_Call
- func (_c *StorageMock_GetLatestIndex_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLatestIndex_Call
- func (_c *StorageMock_GetLatestIndex_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint32, error)) *StorageMock_GetLatestIndex_Call
- type StorageMock_GetLatestL1InfoRoot_Call
- func (_c *StorageMock_GetLatestL1InfoRoot_Call) Return(_a0 state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetLatestL1InfoRoot_Call
- func (_c *StorageMock_GetLatestL1InfoRoot_Call) Run(run func(ctx context.Context, maxBlockNumber uint64)) *StorageMock_GetLatestL1InfoRoot_Call
- func (_c *StorageMock_GetLatestL1InfoRoot_Call) RunAndReturn(...) *StorageMock_GetLatestL1InfoRoot_Call
- type StorageMock_GetLatestVirtualBatchTimestamp_Call
- func (_c *StorageMock_GetLatestVirtualBatchTimestamp_Call) Return(_a0 time.Time, _a1 error) *StorageMock_GetLatestVirtualBatchTimestamp_Call
- func (_c *StorageMock_GetLatestVirtualBatchTimestamp_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLatestVirtualBatchTimestamp_Call
- func (_c *StorageMock_GetLatestVirtualBatchTimestamp_Call) RunAndReturn(run func(context.Context, pgx.Tx) (time.Time, error)) *StorageMock_GetLatestVirtualBatchTimestamp_Call
- type StorageMock_GetLeavesByL1InfoRoot_Call
- func (_c *StorageMock_GetLeavesByL1InfoRoot_Call) Return(_a0 []state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetLeavesByL1InfoRoot_Call
- func (_c *StorageMock_GetLeavesByL1InfoRoot_Call) Run(run func(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx)) *StorageMock_GetLeavesByL1InfoRoot_Call
- func (_c *StorageMock_GetLeavesByL1InfoRoot_Call) RunAndReturn(...) *StorageMock_GetLeavesByL1InfoRoot_Call
- type StorageMock_GetLocalExitRootByBatchNumber_Call
- func (_c *StorageMock_GetLocalExitRootByBatchNumber_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetLocalExitRootByBatchNumber_Call
- func (_c *StorageMock_GetLocalExitRootByBatchNumber_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_GetLocalExitRootByBatchNumber_Call
- func (_c *StorageMock_GetLocalExitRootByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetLocalExitRootByBatchNumber_Call
- type StorageMock_GetLogsByBlockNumber_Call
- func (_c *StorageMock_GetLogsByBlockNumber_Call) Return(_a0 []*types.Log, _a1 error) *StorageMock_GetLogsByBlockNumber_Call
- func (_c *StorageMock_GetLogsByBlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLogsByBlockNumber_Call
- func (_c *StorageMock_GetLogsByBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Log, error)) *StorageMock_GetLogsByBlockNumber_Call
- type StorageMock_GetLogs_Call
- func (_c *StorageMock_GetLogs_Call) Return(_a0 []*types.Log, _a1 error) *StorageMock_GetLogs_Call
- func (_c *StorageMock_GetLogs_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64, ...)) *StorageMock_GetLogs_Call
- func (_c *StorageMock_GetLogs_Call) RunAndReturn(...) *StorageMock_GetLogs_Call
- type StorageMock_GetNativeBlockHashesInRange_Call
- func (_c *StorageMock_GetNativeBlockHashesInRange_Call) Return(_a0 []common.Hash, _a1 error) *StorageMock_GetNativeBlockHashesInRange_Call
- func (_c *StorageMock_GetNativeBlockHashesInRange_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64, dbTx pgx.Tx)) *StorageMock_GetNativeBlockHashesInRange_Call
- func (_c *StorageMock_GetNativeBlockHashesInRange_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) ([]common.Hash, error)) *StorageMock_GetNativeBlockHashesInRange_Call
- type StorageMock_GetNextForcedBatches_Call
- func (_c *StorageMock_GetNextForcedBatches_Call) Return(_a0 []state.ForcedBatch, _a1 error) *StorageMock_GetNextForcedBatches_Call
- func (_c *StorageMock_GetNextForcedBatches_Call) Run(run func(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx)) *StorageMock_GetNextForcedBatches_Call
- func (_c *StorageMock_GetNextForcedBatches_Call) RunAndReturn(run func(context.Context, int, pgx.Tx) ([]state.ForcedBatch, error)) *StorageMock_GetNextForcedBatches_Call
- type StorageMock_GetNotCheckedBatches_Call
- func (_c *StorageMock_GetNotCheckedBatches_Call) Return(_a0 []*state.Batch, _a1 error) *StorageMock_GetNotCheckedBatches_Call
- func (_c *StorageMock_GetNotCheckedBatches_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetNotCheckedBatches_Call
- func (_c *StorageMock_GetNotCheckedBatches_Call) RunAndReturn(run func(context.Context, pgx.Tx) ([]*state.Batch, error)) *StorageMock_GetNotCheckedBatches_Call
- type StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
- func (_c *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
- func (_c *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
- func (_c *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
- type StorageMock_GetPreviousBlock_Call
- func (_c *StorageMock_GetPreviousBlock_Call) Return(_a0 *state.Block, _a1 error) *StorageMock_GetPreviousBlock_Call
- func (_c *StorageMock_GetPreviousBlock_Call) Run(run func(ctx context.Context, offset uint64, dbTx pgx.Tx)) *StorageMock_GetPreviousBlock_Call
- func (_c *StorageMock_GetPreviousBlock_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StorageMock_GetPreviousBlock_Call
- type StorageMock_GetProcessingContext_Call
- func (_c *StorageMock_GetProcessingContext_Call) Return(_a0 *state.ProcessingContext, _a1 error) *StorageMock_GetProcessingContext_Call
- func (_c *StorageMock_GetProcessingContext_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetProcessingContext_Call
- func (_c *StorageMock_GetProcessingContext_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.ProcessingContext, error)) *StorageMock_GetProcessingContext_Call
- type StorageMock_GetProofReadyToVerify_Call
- func (_c *StorageMock_GetProofReadyToVerify_Call) Return(_a0 *state.Proof, _a1 error) *StorageMock_GetProofReadyToVerify_Call
- func (_c *StorageMock_GetProofReadyToVerify_Call) Run(run func(ctx context.Context, lastVerfiedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetProofReadyToVerify_Call
- func (_c *StorageMock_GetProofReadyToVerify_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Proof, error)) *StorageMock_GetProofReadyToVerify_Call
- type StorageMock_GetProofsToAggregate_Call
- func (_c *StorageMock_GetProofsToAggregate_Call) Return(_a0 *state.Proof, _a1 *state.Proof, _a2 error) *StorageMock_GetProofsToAggregate_Call
- func (_c *StorageMock_GetProofsToAggregate_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetProofsToAggregate_Call
- func (_c *StorageMock_GetProofsToAggregate_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.Proof, *state.Proof, error)) *StorageMock_GetProofsToAggregate_Call
- type StorageMock_GetRawBatchTimestamps_Call
- func (_c *StorageMock_GetRawBatchTimestamps_Call) Return(_a0 *time.Time, _a1 *time.Time, _a2 error) *StorageMock_GetRawBatchTimestamps_Call
- func (_c *StorageMock_GetRawBatchTimestamps_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetRawBatchTimestamps_Call
- func (_c *StorageMock_GetRawBatchTimestamps_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*time.Time, *time.Time, error)) *StorageMock_GetRawBatchTimestamps_Call
- type StorageMock_GetReorgedTransactions_Call
- func (_c *StorageMock_GetReorgedTransactions_Call) Return(_a0 []*types.Transaction, _a1 error) *StorageMock_GetReorgedTransactions_Call
- func (_c *StorageMock_GetReorgedTransactions_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetReorgedTransactions_Call
- func (_c *StorageMock_GetReorgedTransactions_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Transaction, error)) *StorageMock_GetReorgedTransactions_Call
- type StorageMock_GetSequences_Call
- func (_c *StorageMock_GetSequences_Call) Return(_a0 []state.Sequence, _a1 error) *StorageMock_GetSequences_Call
- func (_c *StorageMock_GetSequences_Call) Run(run func(ctx context.Context, lastVerifiedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetSequences_Call
- func (_c *StorageMock_GetSequences_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]state.Sequence, error)) *StorageMock_GetSequences_Call
- type StorageMock_GetStateRootByBatchNumber_Call
- func (_c *StorageMock_GetStateRootByBatchNumber_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetStateRootByBatchNumber_Call
- func (_c *StorageMock_GetStateRootByBatchNumber_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_GetStateRootByBatchNumber_Call
- func (_c *StorageMock_GetStateRootByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetStateRootByBatchNumber_Call
- type StorageMock_GetSyncInfoData_Call
- func (_c *StorageMock_GetSyncInfoData_Call) Return(_a0 state.SyncInfoDataOnStorage, _a1 error) *StorageMock_GetSyncInfoData_Call
- func (_c *StorageMock_GetSyncInfoData_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetSyncInfoData_Call
- func (_c *StorageMock_GetSyncInfoData_Call) RunAndReturn(run func(context.Context, pgx.Tx) (state.SyncInfoDataOnStorage, error)) *StorageMock_GetSyncInfoData_Call
- type StorageMock_GetTimeForLatestBatchVirtualization_Call
- func (_c *StorageMock_GetTimeForLatestBatchVirtualization_Call) Return(_a0 time.Time, _a1 error) *StorageMock_GetTimeForLatestBatchVirtualization_Call
- func (_c *StorageMock_GetTimeForLatestBatchVirtualization_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetTimeForLatestBatchVirtualization_Call
- func (_c *StorageMock_GetTimeForLatestBatchVirtualization_Call) RunAndReturn(run func(context.Context, pgx.Tx) (time.Time, error)) *StorageMock_GetTimeForLatestBatchVirtualization_Call
- type StorageMock_GetTransactionByHash_Call
- func (_c *StorageMock_GetTransactionByHash_Call) Return(_a0 *types.Transaction, _a1 error) *StorageMock_GetTransactionByHash_Call
- func (_c *StorageMock_GetTransactionByHash_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTransactionByHash_Call
- func (_c *StorageMock_GetTransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*types.Transaction, error)) *StorageMock_GetTransactionByHash_Call
- type StorageMock_GetTransactionByL2BlockHashAndIndex_Call
- func (_c *StorageMock_GetTransactionByL2BlockHashAndIndex_Call) Return(_a0 *types.Transaction, _a1 error) *StorageMock_GetTransactionByL2BlockHashAndIndex_Call
- func (_c *StorageMock_GetTransactionByL2BlockHashAndIndex_Call) Run(...) *StorageMock_GetTransactionByL2BlockHashAndIndex_Call
- func (_c *StorageMock_GetTransactionByL2BlockHashAndIndex_Call) RunAndReturn(...) *StorageMock_GetTransactionByL2BlockHashAndIndex_Call
- type StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
- func (_c *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) Return(_a0 *types.Transaction, _a1 error) *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
- func (_c *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) Run(run func(ctx context.Context, blockNumber uint64, index uint64, dbTx pgx.Tx)) *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
- func (_c *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) (*types.Transaction, error)) *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
- type StorageMock_GetTransactionByL2Hash_Call
- func (_c *StorageMock_GetTransactionByL2Hash_Call) Return(_a0 *types.Transaction, _a1 error) *StorageMock_GetTransactionByL2Hash_Call
- func (_c *StorageMock_GetTransactionByL2Hash_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTransactionByL2Hash_Call
- func (_c *StorageMock_GetTransactionByL2Hash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*types.Transaction, error)) *StorageMock_GetTransactionByL2Hash_Call
- type StorageMock_GetTransactionEGPLogByHash_Call
- func (_c *StorageMock_GetTransactionEGPLogByHash_Call) Return(_a0 *state.EffectiveGasPriceLog, _a1 error) *StorageMock_GetTransactionEGPLogByHash_Call
- func (_c *StorageMock_GetTransactionEGPLogByHash_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTransactionEGPLogByHash_Call
- func (_c *StorageMock_GetTransactionEGPLogByHash_Call) RunAndReturn(...) *StorageMock_GetTransactionEGPLogByHash_Call
- type StorageMock_GetTransactionReceipt_Call
- func (_c *StorageMock_GetTransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *StorageMock_GetTransactionReceipt_Call
- func (_c *StorageMock_GetTransactionReceipt_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTransactionReceipt_Call
- func (_c *StorageMock_GetTransactionReceipt_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*types.Receipt, error)) *StorageMock_GetTransactionReceipt_Call
- type StorageMock_GetTransactionsByBatchNumber_Call
- func (_c *StorageMock_GetTransactionsByBatchNumber_Call) Return(txs []types.Transaction, effectivePercentages []uint8, err error) *StorageMock_GetTransactionsByBatchNumber_Call
- func (_c *StorageMock_GetTransactionsByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetTransactionsByBatchNumber_Call
- func (_c *StorageMock_GetTransactionsByBatchNumber_Call) RunAndReturn(...) *StorageMock_GetTransactionsByBatchNumber_Call
- type StorageMock_GetTxsByBatchNumber_Call
- func (_c *StorageMock_GetTxsByBatchNumber_Call) Return(_a0 []*types.Transaction, _a1 error) *StorageMock_GetTxsByBatchNumber_Call
- func (_c *StorageMock_GetTxsByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetTxsByBatchNumber_Call
- func (_c *StorageMock_GetTxsByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Transaction, error)) *StorageMock_GetTxsByBatchNumber_Call
- type StorageMock_GetTxsByBlockNumber_Call
- func (_c *StorageMock_GetTxsByBlockNumber_Call) Return(_a0 []*types.Transaction, _a1 error) *StorageMock_GetTxsByBlockNumber_Call
- func (_c *StorageMock_GetTxsByBlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetTxsByBlockNumber_Call
- func (_c *StorageMock_GetTxsByBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Transaction, error)) *StorageMock_GetTxsByBlockNumber_Call
- type StorageMock_GetTxsHashesByBatchNumber_Call
- func (_c *StorageMock_GetTxsHashesByBatchNumber_Call) Return(encoded []common.Hash, err error) *StorageMock_GetTxsHashesByBatchNumber_Call
- func (_c *StorageMock_GetTxsHashesByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetTxsHashesByBatchNumber_Call
- func (_c *StorageMock_GetTxsHashesByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]common.Hash, error)) *StorageMock_GetTxsHashesByBatchNumber_Call
- type StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call
- func (_c *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) Return(_a0 []common.Hash, _a1 error) *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call
- func (_c *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) Run(...) *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call
- func (_c *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) RunAndReturn(run func(context.Context, uint64, common.Hash, pgx.Tx) ([]common.Hash, error)) *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call
- type StorageMock_GetTxsOlderThanNL1Blocks_Call
- func (_c *StorageMock_GetTxsOlderThanNL1Blocks_Call) Return(_a0 []common.Hash, _a1 error) *StorageMock_GetTxsOlderThanNL1Blocks_Call
- func (_c *StorageMock_GetTxsOlderThanNL1Blocks_Call) Run(run func(ctx context.Context, nL1Blocks uint64, dbTx pgx.Tx)) *StorageMock_GetTxsOlderThanNL1Blocks_Call
- func (_c *StorageMock_GetTxsOlderThanNL1Blocks_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]common.Hash, error)) *StorageMock_GetTxsOlderThanNL1Blocks_Call
- type StorageMock_GetVerifiedBatch_Call
- func (_c *StorageMock_GetVerifiedBatch_Call) Return(_a0 *state.VerifiedBatch, _a1 error) *StorageMock_GetVerifiedBatch_Call
- func (_c *StorageMock_GetVerifiedBatch_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetVerifiedBatch_Call
- func (_c *StorageMock_GetVerifiedBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.VerifiedBatch, error)) *StorageMock_GetVerifiedBatch_Call
- type StorageMock_GetVirtualBatchByNumber_Call
- func (_c *StorageMock_GetVirtualBatchByNumber_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetVirtualBatchByNumber_Call
- func (_c *StorageMock_GetVirtualBatchByNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetVirtualBatchByNumber_Call
- func (_c *StorageMock_GetVirtualBatchByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetVirtualBatchByNumber_Call
- type StorageMock_GetVirtualBatchParentHash_Call
- func (_c *StorageMock_GetVirtualBatchParentHash_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetVirtualBatchParentHash_Call
- func (_c *StorageMock_GetVirtualBatchParentHash_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetVirtualBatchParentHash_Call
- func (_c *StorageMock_GetVirtualBatchParentHash_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetVirtualBatchParentHash_Call
- type StorageMock_GetVirtualBatchToProve_Call
- func (_c *StorageMock_GetVirtualBatchToProve_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetVirtualBatchToProve_Call
- func (_c *StorageMock_GetVirtualBatchToProve_Call) Run(...) *StorageMock_GetVirtualBatchToProve_Call
- func (_c *StorageMock_GetVirtualBatchToProve_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetVirtualBatchToProve_Call
- type StorageMock_GetVirtualBatch_Call
- func (_c *StorageMock_GetVirtualBatch_Call) Return(_a0 *state.VirtualBatch, _a1 error) *StorageMock_GetVirtualBatch_Call
- func (_c *StorageMock_GetVirtualBatch_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetVirtualBatch_Call
- func (_c *StorageMock_GetVirtualBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.VirtualBatch, error)) *StorageMock_GetVirtualBatch_Call
- type StorageMock_GetWIPBatchInStorage_Call
- func (_c *StorageMock_GetWIPBatchInStorage_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetWIPBatchInStorage_Call
- func (_c *StorageMock_GetWIPBatchInStorage_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetWIPBatchInStorage_Call
- func (_c *StorageMock_GetWIPBatchInStorage_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetWIPBatchInStorage_Call
- type StorageMock_IsBatchChecked_Call
- func (_c *StorageMock_IsBatchChecked_Call) Return(_a0 bool, _a1 error) *StorageMock_IsBatchChecked_Call
- func (_c *StorageMock_IsBatchChecked_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_IsBatchChecked_Call
- func (_c *StorageMock_IsBatchChecked_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsBatchChecked_Call
- type StorageMock_IsBatchClosed_Call
- func (_c *StorageMock_IsBatchClosed_Call) Return(_a0 bool, _a1 error) *StorageMock_IsBatchClosed_Call
- func (_c *StorageMock_IsBatchClosed_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_IsBatchClosed_Call
- func (_c *StorageMock_IsBatchClosed_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsBatchClosed_Call
- type StorageMock_IsBatchConsolidated_Call
- func (_c *StorageMock_IsBatchConsolidated_Call) Return(_a0 bool, _a1 error) *StorageMock_IsBatchConsolidated_Call
- func (_c *StorageMock_IsBatchConsolidated_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_IsBatchConsolidated_Call
- func (_c *StorageMock_IsBatchConsolidated_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsBatchConsolidated_Call
- type StorageMock_IsBatchVirtualized_Call
- func (_c *StorageMock_IsBatchVirtualized_Call) Return(_a0 bool, _a1 error) *StorageMock_IsBatchVirtualized_Call
- func (_c *StorageMock_IsBatchVirtualized_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_IsBatchVirtualized_Call
- func (_c *StorageMock_IsBatchVirtualized_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsBatchVirtualized_Call
- type StorageMock_IsL2BlockConsolidated_Call
- func (_c *StorageMock_IsL2BlockConsolidated_Call) Return(_a0 bool, _a1 error) *StorageMock_IsL2BlockConsolidated_Call
- func (_c *StorageMock_IsL2BlockConsolidated_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_IsL2BlockConsolidated_Call
- func (_c *StorageMock_IsL2BlockConsolidated_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsL2BlockConsolidated_Call
- type StorageMock_IsL2BlockVirtualized_Call
- func (_c *StorageMock_IsL2BlockVirtualized_Call) Return(_a0 bool, _a1 error) *StorageMock_IsL2BlockVirtualized_Call
- func (_c *StorageMock_IsL2BlockVirtualized_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_IsL2BlockVirtualized_Call
- func (_c *StorageMock_IsL2BlockVirtualized_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsL2BlockVirtualized_Call
- type StorageMock_IsSequencingTXSynced_Call
- func (_c *StorageMock_IsSequencingTXSynced_Call) Return(_a0 bool, _a1 error) *StorageMock_IsSequencingTXSynced_Call
- func (_c *StorageMock_IsSequencingTXSynced_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_IsSequencingTXSynced_Call
- func (_c *StorageMock_IsSequencingTXSynced_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (bool, error)) *StorageMock_IsSequencingTXSynced_Call
- type StorageMock_OpenBatchInStorage_Call
- func (_c *StorageMock_OpenBatchInStorage_Call) Return(_a0 error) *StorageMock_OpenBatchInStorage_Call
- func (_c *StorageMock_OpenBatchInStorage_Call) Run(...) *StorageMock_OpenBatchInStorage_Call
- func (_c *StorageMock_OpenBatchInStorage_Call) RunAndReturn(run func(context.Context, state.ProcessingContext, pgx.Tx) error) *StorageMock_OpenBatchInStorage_Call
- type StorageMock_OpenWIPBatchInStorage_Call
- func (_c *StorageMock_OpenWIPBatchInStorage_Call) Return(_a0 error) *StorageMock_OpenWIPBatchInStorage_Call
- func (_c *StorageMock_OpenWIPBatchInStorage_Call) Run(run func(ctx context.Context, batch state.Batch, dbTx pgx.Tx)) *StorageMock_OpenWIPBatchInStorage_Call
- func (_c *StorageMock_OpenWIPBatchInStorage_Call) RunAndReturn(run func(context.Context, state.Batch, pgx.Tx) error) *StorageMock_OpenWIPBatchInStorage_Call
- type StorageMock_QueryRow_Call
- func (_c *StorageMock_QueryRow_Call) Return(_a0 pgx.Row) *StorageMock_QueryRow_Call
- func (_c *StorageMock_QueryRow_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *StorageMock_QueryRow_Call
- func (_c *StorageMock_QueryRow_Call) RunAndReturn(run func(context.Context, string, ...interface{}) pgx.Row) *StorageMock_QueryRow_Call
- type StorageMock_Query_Call
- func (_c *StorageMock_Query_Call) Return(_a0 pgx.Rows, _a1 error) *StorageMock_Query_Call
- func (_c *StorageMock_Query_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *StorageMock_Query_Call
- func (_c *StorageMock_Query_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgx.Rows, error)) *StorageMock_Query_Call
- type StorageMock_ResetForkID_Call
- func (_c *StorageMock_ResetForkID_Call) Return(_a0 error) *StorageMock_ResetForkID_Call
- func (_c *StorageMock_ResetForkID_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_ResetForkID_Call
- func (_c *StorageMock_ResetForkID_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_ResetForkID_Call
- type StorageMock_ResetToL1BlockNumber_Call
- func (_c *StorageMock_ResetToL1BlockNumber_Call) Return(_a0 error) *StorageMock_ResetToL1BlockNumber_Call
- func (_c *StorageMock_ResetToL1BlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_ResetToL1BlockNumber_Call
- func (_c *StorageMock_ResetToL1BlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_ResetToL1BlockNumber_Call
- type StorageMock_ResetTrustedState_Call
- func (_c *StorageMock_ResetTrustedState_Call) Return(_a0 error) *StorageMock_ResetTrustedState_Call
- func (_c *StorageMock_ResetTrustedState_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_ResetTrustedState_Call
- func (_c *StorageMock_ResetTrustedState_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_ResetTrustedState_Call
- type StorageMock_SetInitSyncBatch_Call
- func (_c *StorageMock_SetInitSyncBatch_Call) Return(_a0 error) *StorageMock_SetInitSyncBatch_Call
- func (_c *StorageMock_SetInitSyncBatch_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_SetInitSyncBatch_Call
- func (_c *StorageMock_SetInitSyncBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_SetInitSyncBatch_Call
- type StorageMock_SetLastBatchInfoSeenOnEthereum_Call
- func (_c *StorageMock_SetLastBatchInfoSeenOnEthereum_Call) Return(_a0 error) *StorageMock_SetLastBatchInfoSeenOnEthereum_Call
- func (_c *StorageMock_SetLastBatchInfoSeenOnEthereum_Call) Run(run func(ctx context.Context, lastBatchNumberSeen uint64, ...)) *StorageMock_SetLastBatchInfoSeenOnEthereum_Call
- func (_c *StorageMock_SetLastBatchInfoSeenOnEthereum_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) error) *StorageMock_SetLastBatchInfoSeenOnEthereum_Call
- type StorageMock_StoreGenesisBatch_Call
- func (_c *StorageMock_StoreGenesisBatch_Call) Return(_a0 error) *StorageMock_StoreGenesisBatch_Call
- func (_c *StorageMock_StoreGenesisBatch_Call) Run(...) *StorageMock_StoreGenesisBatch_Call
- func (_c *StorageMock_StoreGenesisBatch_Call) RunAndReturn(run func(context.Context, state.Batch, string, pgx.Tx) error) *StorageMock_StoreGenesisBatch_Call
- type StorageMock_UpdateBatchAsChecked_Call
- func (_c *StorageMock_UpdateBatchAsChecked_Call) Return(_a0 error) *StorageMock_UpdateBatchAsChecked_Call
- func (_c *StorageMock_UpdateBatchAsChecked_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_UpdateBatchAsChecked_Call
- func (_c *StorageMock_UpdateBatchAsChecked_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_UpdateBatchAsChecked_Call
- type StorageMock_UpdateBatchL2Data_Call
- func (_c *StorageMock_UpdateBatchL2Data_Call) Return(_a0 error) *StorageMock_UpdateBatchL2Data_Call
- func (_c *StorageMock_UpdateBatchL2Data_Call) Run(...) *StorageMock_UpdateBatchL2Data_Call
- func (_c *StorageMock_UpdateBatchL2Data_Call) RunAndReturn(run func(context.Context, uint64, []byte, pgx.Tx) error) *StorageMock_UpdateBatchL2Data_Call
- type StorageMock_UpdateForkIDBlockNumber_Call
- func (_c *StorageMock_UpdateForkIDBlockNumber_Call) Return(_a0 error) *StorageMock_UpdateForkIDBlockNumber_Call
- func (_c *StorageMock_UpdateForkIDBlockNumber_Call) Run(run func(ctx context.Context, forkdID uint64, newBlockNumber uint64, ...)) *StorageMock_UpdateForkIDBlockNumber_Call
- func (_c *StorageMock_UpdateForkIDBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, uint64, bool, pgx.Tx) error) *StorageMock_UpdateForkIDBlockNumber_Call
- type StorageMock_UpdateForkIDIntervalsInMemory_Call
- func (_c *StorageMock_UpdateForkIDIntervalsInMemory_Call) Return() *StorageMock_UpdateForkIDIntervalsInMemory_Call
- func (_c *StorageMock_UpdateForkIDIntervalsInMemory_Call) Run(run func(intervals []state.ForkIDInterval)) *StorageMock_UpdateForkIDIntervalsInMemory_Call
- func (_c *StorageMock_UpdateForkIDIntervalsInMemory_Call) RunAndReturn(run func([]state.ForkIDInterval)) *StorageMock_UpdateForkIDIntervalsInMemory_Call
- type StorageMock_UpdateForkIDToBatchNumber_Call
- func (_c *StorageMock_UpdateForkIDToBatchNumber_Call) Return(_a0 error) *StorageMock_UpdateForkIDToBatchNumber_Call
- func (_c *StorageMock_UpdateForkIDToBatchNumber_Call) Run(run func(ctx context.Context, forkID state.ForkIDInterval, dbTx pgx.Tx)) *StorageMock_UpdateForkIDToBatchNumber_Call
- func (_c *StorageMock_UpdateForkIDToBatchNumber_Call) RunAndReturn(run func(context.Context, state.ForkIDInterval, pgx.Tx) error) *StorageMock_UpdateForkIDToBatchNumber_Call
- type StorageMock_UpdateGERInOpenBatch_Call
- func (_c *StorageMock_UpdateGERInOpenBatch_Call) Return(_a0 error) *StorageMock_UpdateGERInOpenBatch_Call
- func (_c *StorageMock_UpdateGERInOpenBatch_Call) Run(run func(ctx context.Context, ger common.Hash, dbTx pgx.Tx)) *StorageMock_UpdateGERInOpenBatch_Call
- func (_c *StorageMock_UpdateGERInOpenBatch_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) error) *StorageMock_UpdateGERInOpenBatch_Call
- type StorageMock_UpdateGeneratedProof_Call
- func (_c *StorageMock_UpdateGeneratedProof_Call) Return(_a0 error) *StorageMock_UpdateGeneratedProof_Call
- func (_c *StorageMock_UpdateGeneratedProof_Call) Run(run func(ctx context.Context, proof *state.Proof, dbTx pgx.Tx)) *StorageMock_UpdateGeneratedProof_Call
- func (_c *StorageMock_UpdateGeneratedProof_Call) RunAndReturn(run func(context.Context, *state.Proof, pgx.Tx) error) *StorageMock_UpdateGeneratedProof_Call
- type StorageMock_UpdateWIPBatch_Call
- func (_c *StorageMock_UpdateWIPBatch_Call) Return(_a0 error) *StorageMock_UpdateWIPBatch_Call
- func (_c *StorageMock_UpdateWIPBatch_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StorageMock_UpdateWIPBatch_Call
- func (_c *StorageMock_UpdateWIPBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StorageMock_UpdateWIPBatch_Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbTxMock ¶
DbTxMock is an autogenerated mock type for the Tx type
func NewDbTxMock ¶
NewDbTxMock creates a new instance of DbTxMock. 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 (*DbTxMock) CopyFrom ¶
func (_m *DbTxMock) CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, rowSrc pgx.CopyFromSource) (int64, error)
CopyFrom provides a mock function with given fields: ctx, tableName, columnNames, rowSrc
func (*DbTxMock) EXPECT ¶
func (_m *DbTxMock) EXPECT() *DbTxMock_Expecter
func (*DbTxMock) Exec ¶
func (_m *DbTxMock) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
Exec provides a mock function with given fields: ctx, sql, arguments
func (*DbTxMock) LargeObjects ¶
func (_m *DbTxMock) LargeObjects() pgx.LargeObjects
LargeObjects provides a mock function with given fields:
func (*DbTxMock) Prepare ¶
func (_m *DbTxMock) Prepare(ctx context.Context, name string, sql string) (*pgconn.StatementDescription, error)
Prepare provides a mock function with given fields: ctx, name, sql
func (*DbTxMock) QueryFunc ¶
func (_m *DbTxMock) QueryFunc(ctx context.Context, sql string, args []interface{}, scans []interface{}, f func(pgx.QueryFuncRow) error) (pgconn.CommandTag, error)
QueryFunc provides a mock function with given fields: ctx, sql, args, scans, f
type DbTxMock_BeginFunc_Call ¶
DbTxMock_BeginFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BeginFunc'
func (*DbTxMock_BeginFunc_Call) Return ¶
func (_c *DbTxMock_BeginFunc_Call) Return(err error) *DbTxMock_BeginFunc_Call
func (*DbTxMock_BeginFunc_Call) Run ¶
func (_c *DbTxMock_BeginFunc_Call) Run(run func(ctx context.Context, f func(pgx.Tx) error)) *DbTxMock_BeginFunc_Call
func (*DbTxMock_BeginFunc_Call) RunAndReturn ¶
func (_c *DbTxMock_BeginFunc_Call) RunAndReturn(run func(context.Context, func(pgx.Tx) error) error) *DbTxMock_BeginFunc_Call
type DbTxMock_Begin_Call ¶
DbTxMock_Begin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Begin'
func (*DbTxMock_Begin_Call) Return ¶
func (_c *DbTxMock_Begin_Call) Return(_a0 pgx.Tx, _a1 error) *DbTxMock_Begin_Call
func (*DbTxMock_Begin_Call) Run ¶
func (_c *DbTxMock_Begin_Call) Run(run func(ctx context.Context)) *DbTxMock_Begin_Call
func (*DbTxMock_Begin_Call) RunAndReturn ¶
func (_c *DbTxMock_Begin_Call) RunAndReturn(run func(context.Context) (pgx.Tx, error)) *DbTxMock_Begin_Call
type DbTxMock_Commit_Call ¶
DbTxMock_Commit_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Commit'
func (*DbTxMock_Commit_Call) Return ¶
func (_c *DbTxMock_Commit_Call) Return(_a0 error) *DbTxMock_Commit_Call
func (*DbTxMock_Commit_Call) Run ¶
func (_c *DbTxMock_Commit_Call) Run(run func(ctx context.Context)) *DbTxMock_Commit_Call
func (*DbTxMock_Commit_Call) RunAndReturn ¶
func (_c *DbTxMock_Commit_Call) RunAndReturn(run func(context.Context) error) *DbTxMock_Commit_Call
type DbTxMock_Conn_Call ¶
DbTxMock_Conn_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Conn'
func (*DbTxMock_Conn_Call) Return ¶
func (_c *DbTxMock_Conn_Call) Return(_a0 *pgx.Conn) *DbTxMock_Conn_Call
func (*DbTxMock_Conn_Call) Run ¶
func (_c *DbTxMock_Conn_Call) Run(run func()) *DbTxMock_Conn_Call
func (*DbTxMock_Conn_Call) RunAndReturn ¶
func (_c *DbTxMock_Conn_Call) RunAndReturn(run func() *pgx.Conn) *DbTxMock_Conn_Call
type DbTxMock_CopyFrom_Call ¶
DbTxMock_CopyFrom_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CopyFrom'
func (*DbTxMock_CopyFrom_Call) Return ¶
func (_c *DbTxMock_CopyFrom_Call) Return(_a0 int64, _a1 error) *DbTxMock_CopyFrom_Call
func (*DbTxMock_CopyFrom_Call) Run ¶
func (_c *DbTxMock_CopyFrom_Call) Run(run func(ctx context.Context, tableName pgx.Identifier, columnNames []string, rowSrc pgx.CopyFromSource)) *DbTxMock_CopyFrom_Call
func (*DbTxMock_CopyFrom_Call) RunAndReturn ¶
func (_c *DbTxMock_CopyFrom_Call) RunAndReturn(run func(context.Context, pgx.Identifier, []string, pgx.CopyFromSource) (int64, error)) *DbTxMock_CopyFrom_Call
type DbTxMock_Exec_Call ¶
DbTxMock_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*DbTxMock_Exec_Call) Return ¶
func (_c *DbTxMock_Exec_Call) Return(commandTag pgconn.CommandTag, err error) *DbTxMock_Exec_Call
func (*DbTxMock_Exec_Call) Run ¶
func (_c *DbTxMock_Exec_Call) Run(run func(ctx context.Context, sql string, arguments ...interface{})) *DbTxMock_Exec_Call
func (*DbTxMock_Exec_Call) RunAndReturn ¶
func (_c *DbTxMock_Exec_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgconn.CommandTag, error)) *DbTxMock_Exec_Call
type DbTxMock_Expecter ¶
type DbTxMock_Expecter struct {
// contains filtered or unexported fields
}
func (*DbTxMock_Expecter) Begin ¶
func (_e *DbTxMock_Expecter) Begin(ctx interface{}) *DbTxMock_Begin_Call
Begin is a helper method to define mock.On call
- ctx context.Context
func (*DbTxMock_Expecter) BeginFunc ¶
func (_e *DbTxMock_Expecter) BeginFunc(ctx interface{}, f interface{}) *DbTxMock_BeginFunc_Call
BeginFunc is a helper method to define mock.On call
- ctx context.Context
- f func(pgx.Tx) error
func (*DbTxMock_Expecter) Commit ¶
func (_e *DbTxMock_Expecter) Commit(ctx interface{}) *DbTxMock_Commit_Call
Commit is a helper method to define mock.On call
- ctx context.Context
func (*DbTxMock_Expecter) Conn ¶
func (_e *DbTxMock_Expecter) Conn() *DbTxMock_Conn_Call
Conn is a helper method to define mock.On call
func (*DbTxMock_Expecter) CopyFrom ¶
func (_e *DbTxMock_Expecter) CopyFrom(ctx interface{}, tableName interface{}, columnNames interface{}, rowSrc interface{}) *DbTxMock_CopyFrom_Call
CopyFrom is a helper method to define mock.On call
- ctx context.Context
- tableName pgx.Identifier
- columnNames []string
- rowSrc pgx.CopyFromSource
func (*DbTxMock_Expecter) Exec ¶
func (_e *DbTxMock_Expecter) Exec(ctx interface{}, sql interface{}, arguments ...interface{}) *DbTxMock_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- sql string
- arguments ...interface{}
func (*DbTxMock_Expecter) LargeObjects ¶
func (_e *DbTxMock_Expecter) LargeObjects() *DbTxMock_LargeObjects_Call
LargeObjects is a helper method to define mock.On call
func (*DbTxMock_Expecter) Prepare ¶
func (_e *DbTxMock_Expecter) Prepare(ctx interface{}, name interface{}, sql interface{}) *DbTxMock_Prepare_Call
Prepare is a helper method to define mock.On call
- ctx context.Context
- name string
- sql string
func (*DbTxMock_Expecter) Query ¶
func (_e *DbTxMock_Expecter) Query(ctx interface{}, sql interface{}, args ...interface{}) *DbTxMock_Query_Call
Query is a helper method to define mock.On call
- ctx context.Context
- sql string
- args ...interface{}
func (*DbTxMock_Expecter) QueryFunc ¶
func (_e *DbTxMock_Expecter) QueryFunc(ctx interface{}, sql interface{}, args interface{}, scans interface{}, f interface{}) *DbTxMock_QueryFunc_Call
QueryFunc is a helper method to define mock.On call
- ctx context.Context
- sql string
- args []interface{}
- scans []interface{}
- f func(pgx.QueryFuncRow) error
func (*DbTxMock_Expecter) QueryRow ¶
func (_e *DbTxMock_Expecter) QueryRow(ctx interface{}, sql interface{}, args ...interface{}) *DbTxMock_QueryRow_Call
QueryRow is a helper method to define mock.On call
- ctx context.Context
- sql string
- args ...interface{}
func (*DbTxMock_Expecter) Rollback ¶
func (_e *DbTxMock_Expecter) Rollback(ctx interface{}) *DbTxMock_Rollback_Call
Rollback is a helper method to define mock.On call
- ctx context.Context
func (*DbTxMock_Expecter) SendBatch ¶
func (_e *DbTxMock_Expecter) SendBatch(ctx interface{}, b interface{}) *DbTxMock_SendBatch_Call
SendBatch is a helper method to define mock.On call
- ctx context.Context
- b *pgx.Batch
type DbTxMock_LargeObjects_Call ¶
DbTxMock_LargeObjects_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'LargeObjects'
func (*DbTxMock_LargeObjects_Call) Return ¶
func (_c *DbTxMock_LargeObjects_Call) Return(_a0 pgx.LargeObjects) *DbTxMock_LargeObjects_Call
func (*DbTxMock_LargeObjects_Call) Run ¶
func (_c *DbTxMock_LargeObjects_Call) Run(run func()) *DbTxMock_LargeObjects_Call
func (*DbTxMock_LargeObjects_Call) RunAndReturn ¶
func (_c *DbTxMock_LargeObjects_Call) RunAndReturn(run func() pgx.LargeObjects) *DbTxMock_LargeObjects_Call
type DbTxMock_Prepare_Call ¶
DbTxMock_Prepare_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Prepare'
func (*DbTxMock_Prepare_Call) Return ¶
func (_c *DbTxMock_Prepare_Call) Return(_a0 *pgconn.StatementDescription, _a1 error) *DbTxMock_Prepare_Call
func (*DbTxMock_Prepare_Call) Run ¶
func (_c *DbTxMock_Prepare_Call) Run(run func(ctx context.Context, name string, sql string)) *DbTxMock_Prepare_Call
func (*DbTxMock_Prepare_Call) RunAndReturn ¶
func (_c *DbTxMock_Prepare_Call) RunAndReturn(run func(context.Context, string, string) (*pgconn.StatementDescription, error)) *DbTxMock_Prepare_Call
type DbTxMock_QueryFunc_Call ¶
DbTxMock_QueryFunc_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryFunc'
func (*DbTxMock_QueryFunc_Call) Return ¶
func (_c *DbTxMock_QueryFunc_Call) Return(_a0 pgconn.CommandTag, _a1 error) *DbTxMock_QueryFunc_Call
func (*DbTxMock_QueryFunc_Call) Run ¶
func (_c *DbTxMock_QueryFunc_Call) Run(run func(ctx context.Context, sql string, args []interface{}, scans []interface{}, f func(pgx.QueryFuncRow) error)) *DbTxMock_QueryFunc_Call
func (*DbTxMock_QueryFunc_Call) RunAndReturn ¶
func (_c *DbTxMock_QueryFunc_Call) RunAndReturn(run func(context.Context, string, []interface{}, []interface{}, func(pgx.QueryFuncRow) error) (pgconn.CommandTag, error)) *DbTxMock_QueryFunc_Call
type DbTxMock_QueryRow_Call ¶
DbTxMock_QueryRow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryRow'
func (*DbTxMock_QueryRow_Call) Return ¶
func (_c *DbTxMock_QueryRow_Call) Return(_a0 pgx.Row) *DbTxMock_QueryRow_Call
func (*DbTxMock_QueryRow_Call) Run ¶
func (_c *DbTxMock_QueryRow_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *DbTxMock_QueryRow_Call
func (*DbTxMock_QueryRow_Call) RunAndReturn ¶
func (_c *DbTxMock_QueryRow_Call) RunAndReturn(run func(context.Context, string, ...interface{}) pgx.Row) *DbTxMock_QueryRow_Call
type DbTxMock_Query_Call ¶
DbTxMock_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*DbTxMock_Query_Call) Return ¶
func (_c *DbTxMock_Query_Call) Return(_a0 pgx.Rows, _a1 error) *DbTxMock_Query_Call
func (*DbTxMock_Query_Call) Run ¶
func (_c *DbTxMock_Query_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *DbTxMock_Query_Call
func (*DbTxMock_Query_Call) RunAndReturn ¶
func (_c *DbTxMock_Query_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgx.Rows, error)) *DbTxMock_Query_Call
type DbTxMock_Rollback_Call ¶
DbTxMock_Rollback_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Rollback'
func (*DbTxMock_Rollback_Call) Return ¶
func (_c *DbTxMock_Rollback_Call) Return(_a0 error) *DbTxMock_Rollback_Call
func (*DbTxMock_Rollback_Call) Run ¶
func (_c *DbTxMock_Rollback_Call) Run(run func(ctx context.Context)) *DbTxMock_Rollback_Call
func (*DbTxMock_Rollback_Call) RunAndReturn ¶
func (_c *DbTxMock_Rollback_Call) RunAndReturn(run func(context.Context) error) *DbTxMock_Rollback_Call
type DbTxMock_SendBatch_Call ¶
DbTxMock_SendBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SendBatch'
func (*DbTxMock_SendBatch_Call) Return ¶
func (_c *DbTxMock_SendBatch_Call) Return(_a0 pgx.BatchResults) *DbTxMock_SendBatch_Call
func (*DbTxMock_SendBatch_Call) Run ¶
func (_c *DbTxMock_SendBatch_Call) Run(run func(ctx context.Context, b *pgx.Batch)) *DbTxMock_SendBatch_Call
func (*DbTxMock_SendBatch_Call) RunAndReturn ¶
func (_c *DbTxMock_SendBatch_Call) RunAndReturn(run func(context.Context, *pgx.Batch) pgx.BatchResults) *DbTxMock_SendBatch_Call
type ExecutorServiceClientMock ¶
ExecutorServiceClientMock is an autogenerated mock type for the ExecutorServiceClient type
func NewExecutorServiceClientMock ¶
func NewExecutorServiceClientMock(t interface { mock.TestingT Cleanup(func()) }) *ExecutorServiceClientMock
NewExecutorServiceClientMock creates a new instance of ExecutorServiceClientMock. 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 (*ExecutorServiceClientMock) EXPECT ¶
func (_m *ExecutorServiceClientMock) EXPECT() *ExecutorServiceClientMock_Expecter
func (*ExecutorServiceClientMock) GetFlushStatus ¶
func (_m *ExecutorServiceClientMock) GetFlushStatus(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption) (*executor.GetFlushStatusResponse, error)
GetFlushStatus provides a mock function with given fields: ctx, in, opts
func (*ExecutorServiceClientMock) ProcessBatch ¶
func (_m *ExecutorServiceClientMock) ProcessBatch(ctx context.Context, in *executor.ProcessBatchRequest, opts ...grpc.CallOption) (*executor.ProcessBatchResponse, error)
ProcessBatch provides a mock function with given fields: ctx, in, opts
func (*ExecutorServiceClientMock) ProcessBatchV2 ¶
func (_m *ExecutorServiceClientMock) ProcessBatchV2(ctx context.Context, in *executor.ProcessBatchRequestV2, opts ...grpc.CallOption) (*executor.ProcessBatchResponseV2, error)
ProcessBatchV2 provides a mock function with given fields: ctx, in, opts
type ExecutorServiceClientMock_Expecter ¶
type ExecutorServiceClientMock_Expecter struct {
// contains filtered or unexported fields
}
func (*ExecutorServiceClientMock_Expecter) GetFlushStatus ¶
func (_e *ExecutorServiceClientMock_Expecter) GetFlushStatus(ctx interface{}, in interface{}, opts ...interface{}) *ExecutorServiceClientMock_GetFlushStatus_Call
GetFlushStatus is a helper method to define mock.On call
- ctx context.Context
- in *emptypb.Empty
- opts ...grpc.CallOption
func (*ExecutorServiceClientMock_Expecter) ProcessBatch ¶
func (_e *ExecutorServiceClientMock_Expecter) ProcessBatch(ctx interface{}, in interface{}, opts ...interface{}) *ExecutorServiceClientMock_ProcessBatch_Call
ProcessBatch is a helper method to define mock.On call
- ctx context.Context
- in *executor.ProcessBatchRequest
- opts ...grpc.CallOption
func (*ExecutorServiceClientMock_Expecter) ProcessBatchV2 ¶
func (_e *ExecutorServiceClientMock_Expecter) ProcessBatchV2(ctx interface{}, in interface{}, opts ...interface{}) *ExecutorServiceClientMock_ProcessBatchV2_Call
ProcessBatchV2 is a helper method to define mock.On call
- ctx context.Context
- in *executor.ProcessBatchRequestV2
- opts ...grpc.CallOption
type ExecutorServiceClientMock_GetFlushStatus_Call ¶
ExecutorServiceClientMock_GetFlushStatus_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFlushStatus'
func (*ExecutorServiceClientMock_GetFlushStatus_Call) Return ¶
func (_c *ExecutorServiceClientMock_GetFlushStatus_Call) Return(_a0 *executor.GetFlushStatusResponse, _a1 error) *ExecutorServiceClientMock_GetFlushStatus_Call
func (*ExecutorServiceClientMock_GetFlushStatus_Call) Run ¶
func (_c *ExecutorServiceClientMock_GetFlushStatus_Call) Run(run func(ctx context.Context, in *emptypb.Empty, opts ...grpc.CallOption)) *ExecutorServiceClientMock_GetFlushStatus_Call
func (*ExecutorServiceClientMock_GetFlushStatus_Call) RunAndReturn ¶
func (_c *ExecutorServiceClientMock_GetFlushStatus_Call) RunAndReturn(run func(context.Context, *emptypb.Empty, ...grpc.CallOption) (*executor.GetFlushStatusResponse, error)) *ExecutorServiceClientMock_GetFlushStatus_Call
type ExecutorServiceClientMock_ProcessBatchV2_Call ¶
ExecutorServiceClientMock_ProcessBatchV2_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessBatchV2'
func (*ExecutorServiceClientMock_ProcessBatchV2_Call) Return ¶
func (_c *ExecutorServiceClientMock_ProcessBatchV2_Call) Return(_a0 *executor.ProcessBatchResponseV2, _a1 error) *ExecutorServiceClientMock_ProcessBatchV2_Call
func (*ExecutorServiceClientMock_ProcessBatchV2_Call) Run ¶
func (_c *ExecutorServiceClientMock_ProcessBatchV2_Call) Run(run func(ctx context.Context, in *executor.ProcessBatchRequestV2, opts ...grpc.CallOption)) *ExecutorServiceClientMock_ProcessBatchV2_Call
func (*ExecutorServiceClientMock_ProcessBatchV2_Call) RunAndReturn ¶
func (_c *ExecutorServiceClientMock_ProcessBatchV2_Call) RunAndReturn(run func(context.Context, *executor.ProcessBatchRequestV2, ...grpc.CallOption) (*executor.ProcessBatchResponseV2, error)) *ExecutorServiceClientMock_ProcessBatchV2_Call
type ExecutorServiceClientMock_ProcessBatch_Call ¶
ExecutorServiceClientMock_ProcessBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ProcessBatch'
func (*ExecutorServiceClientMock_ProcessBatch_Call) Return ¶
func (_c *ExecutorServiceClientMock_ProcessBatch_Call) Return(_a0 *executor.ProcessBatchResponse, _a1 error) *ExecutorServiceClientMock_ProcessBatch_Call
func (*ExecutorServiceClientMock_ProcessBatch_Call) Run ¶
func (_c *ExecutorServiceClientMock_ProcessBatch_Call) Run(run func(ctx context.Context, in *executor.ProcessBatchRequest, opts ...grpc.CallOption)) *ExecutorServiceClientMock_ProcessBatch_Call
func (*ExecutorServiceClientMock_ProcessBatch_Call) RunAndReturn ¶
func (_c *ExecutorServiceClientMock_ProcessBatch_Call) RunAndReturn(run func(context.Context, *executor.ProcessBatchRequest, ...grpc.CallOption) (*executor.ProcessBatchResponse, error)) *ExecutorServiceClientMock_ProcessBatch_Call
type StorageMock ¶
StorageMock is an autogenerated mock type for the storage type
func NewStorageMock ¶
func NewStorageMock(t interface { mock.TestingT Cleanup(func()) }) *StorageMock
NewStorageMock creates a new instance of StorageMock. 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 (*StorageMock) AddAccumulatedInputHash ¶
func (_m *StorageMock) 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 (*StorageMock) AddBlock ¶
AddBlock provides a mock function with given fields: ctx, block, dbTx
func (*StorageMock) AddForcedBatch ¶
func (_m *StorageMock) AddForcedBatch(ctx context.Context, forcedBatch *state.ForcedBatch, tx pgx.Tx) error
AddForcedBatch provides a mock function with given fields: ctx, forcedBatch, tx
func (*StorageMock) AddForkID ¶
func (_m *StorageMock) AddForkID(ctx context.Context, forkID state.ForkIDInterval, dbTx pgx.Tx) error
AddForkID provides a mock function with given fields: ctx, forkID, dbTx
func (*StorageMock) AddForkIDInterval ¶
func (_m *StorageMock) AddForkIDInterval(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx) error
AddForkIDInterval provides a mock function with given fields: ctx, newForkID, dbTx
func (*StorageMock) AddGeneratedProof ¶
func (_m *StorageMock) AddGeneratedProof(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) error
AddGeneratedProof provides a mock function with given fields: ctx, proof, dbTx
func (*StorageMock) AddGlobalExitRoot ¶
func (_m *StorageMock) AddGlobalExitRoot(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx) error
AddGlobalExitRoot provides a mock function with given fields: ctx, exitRoot, dbTx
func (*StorageMock) AddL1InfoRootToExitRoot ¶
func (_m *StorageMock) AddL1InfoRootToExitRoot(ctx context.Context, exitRoot *state.L1InfoTreeExitRootStorageEntry, dbTx pgx.Tx) error
AddL1InfoRootToExitRoot provides a mock function with given fields: ctx, exitRoot, dbTx
func (*StorageMock) AddL2Block ¶
func (_m *StorageMock) AddL2Block(ctx context.Context, batchNumber uint64, l2Block *state.L2Block, receipts []*types.Receipt, txsL2Hash []common.Hash, txsEGPData []state.StoreTxEGPData, imStateRoots []common.Hash, dbTx pgx.Tx) error
AddL2Block provides a mock function with given fields: ctx, batchNumber, l2Block, receipts, txsL2Hash, txsEGPData, imStateRoots, dbTx
func (*StorageMock) AddReceipt ¶
func (_m *StorageMock) AddReceipt(ctx context.Context, receipt *types.Receipt, imStateRoot common.Hash, dbTx pgx.Tx) error
AddReceipt provides a mock function with given fields: ctx, receipt, imStateRoot, dbTx
func (*StorageMock) AddSequence ¶
AddSequence provides a mock function with given fields: ctx, sequence, dbTx
func (*StorageMock) AddTrustedReorg ¶
func (_m *StorageMock) AddTrustedReorg(ctx context.Context, reorg *state.TrustedReorg, dbTx pgx.Tx) error
AddTrustedReorg provides a mock function with given fields: ctx, reorg, dbTx
func (*StorageMock) AddVerifiedBatch ¶
func (_m *StorageMock) AddVerifiedBatch(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx) error
AddVerifiedBatch provides a mock function with given fields: ctx, verifiedBatch, dbTx
func (*StorageMock) AddVirtualBatch ¶
func (_m *StorageMock) AddVirtualBatch(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx) error
AddVirtualBatch provides a mock function with given fields: ctx, virtualBatch, dbTx
func (*StorageMock) BatchNumberByL2BlockNumber ¶
func (_m *StorageMock) BatchNumberByL2BlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (uint64, error)
BatchNumberByL2BlockNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) BuildChangeL2Block ¶
func (_m *StorageMock) BuildChangeL2Block(deltaTimestamp uint32, l1InfoTreeIndex uint32) []byte
BuildChangeL2Block provides a mock function with given fields: deltaTimestamp, l1InfoTreeIndex
func (*StorageMock) CheckProofContainsCompleteSequences ¶
func (_m *StorageMock) CheckProofContainsCompleteSequences(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) (bool, error)
CheckProofContainsCompleteSequences provides a mock function with given fields: ctx, proof, dbTx
func (*StorageMock) CleanupGeneratedProofs ¶
func (_m *StorageMock) CleanupGeneratedProofs(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
CleanupGeneratedProofs provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) CleanupLockedProofs ¶
func (_m *StorageMock) CleanupLockedProofs(ctx context.Context, duration string, dbTx pgx.Tx) (int64, error)
CleanupLockedProofs provides a mock function with given fields: ctx, duration, dbTx
func (*StorageMock) CloseBatchInStorage ¶
func (_m *StorageMock) CloseBatchInStorage(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
CloseBatchInStorage provides a mock function with given fields: ctx, receipt, dbTx
func (*StorageMock) CloseWIPBatchInStorage ¶
func (_m *StorageMock) CloseWIPBatchInStorage(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
CloseWIPBatchInStorage provides a mock function with given fields: ctx, receipt, dbTx
func (*StorageMock) CountReorgs ¶
CountReorgs provides a mock function with given fields: ctx, dbTx
func (*StorageMock) DeleteGeneratedProofs ¶
func (_m *StorageMock) DeleteGeneratedProofs(ctx context.Context, batchNumber uint64, batchNumberFinal uint64, dbTx pgx.Tx) error
DeleteGeneratedProofs provides a mock function with given fields: ctx, batchNumber, batchNumberFinal, dbTx
func (*StorageMock) DeleteUngeneratedProofs ¶
DeleteUngeneratedProofs provides a mock function with given fields: ctx, dbTx
func (*StorageMock) EXPECT ¶
func (_m *StorageMock) EXPECT() *StorageMock_Expecter
func (*StorageMock) Exec ¶
func (_m *StorageMock) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
Exec provides a mock function with given fields: ctx, sql, arguments
func (*StorageMock) GetAllL1InfoRootEntries ¶
func (_m *StorageMock) GetAllL1InfoRootEntries(ctx context.Context, dbTx pgx.Tx) ([]state.L1InfoTreeExitRootStorageEntry, error)
GetAllL1InfoRootEntries provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetBatchByForcedBatchNum ¶
func (_m *StorageMock) GetBatchByForcedBatchNum(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
GetBatchByForcedBatchNum provides a mock function with given fields: ctx, forcedBatchNumber, dbTx
func (*StorageMock) GetBatchByL2BlockNumber ¶
func (_m *StorageMock) GetBatchByL2BlockNumber(ctx context.Context, l2BlockNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
GetBatchByL2BlockNumber provides a mock function with given fields: ctx, l2BlockNumber, dbTx
func (*StorageMock) GetBatchByNumber ¶
func (_m *StorageMock) GetBatchByNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
GetBatchByNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetBatchByTxHash ¶
func (_m *StorageMock) GetBatchByTxHash(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*state.Batch, error)
GetBatchByTxHash provides a mock function with given fields: ctx, transactionHash, dbTx
func (*StorageMock) GetBatchNumberOfL2Block ¶
func (_m *StorageMock) GetBatchNumberOfL2Block(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (uint64, error)
GetBatchNumberOfL2Block provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) GetBlockByNumber ¶
func (_m *StorageMock) GetBlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.Block, error)
GetBlockByNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) GetBlockNumAndMainnetExitRootByGER ¶
func (_m *StorageMock) GetBlockNumAndMainnetExitRootByGER(ctx context.Context, ger common.Hash, dbTx pgx.Tx) (uint64, common.Hash, error)
GetBlockNumAndMainnetExitRootByGER provides a mock function with given fields: ctx, ger, dbTx
func (*StorageMock) GetBlockNumVirtualBatchByBatchNum ¶
func (_m *StorageMock) GetBlockNumVirtualBatchByBatchNum(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (uint64, error)
GetBlockNumVirtualBatchByBatchNum provides a mock function with given fields: ctx, batchNum, dbTx
func (*StorageMock) GetDSBatches ¶
func (_m *StorageMock) GetDSBatches(ctx context.Context, firstBatchNumber uint64, lastBatchNumber uint64, readWIPBatch bool, dbTx pgx.Tx) ([]*state.DSBatch, error)
GetDSBatches provides a mock function with given fields: ctx, firstBatchNumber, lastBatchNumber, readWIPBatch, dbTx
func (*StorageMock) GetDSGenesisBlock ¶
func (_m *StorageMock) GetDSGenesisBlock(ctx context.Context, dbTx pgx.Tx) (*state.DSL2Block, error)
GetDSGenesisBlock provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetDSL2Blocks ¶
func (_m *StorageMock) GetDSL2Blocks(ctx context.Context, firstBatchNumber uint64, lastBatchNumber uint64, dbTx pgx.Tx) ([]*state.DSL2Block, error)
GetDSL2Blocks provides a mock function with given fields: ctx, firstBatchNumber, lastBatchNumber, dbTx
func (*StorageMock) GetDSL2Transactions ¶
func (_m *StorageMock) GetDSL2Transactions(ctx context.Context, firstL2Block uint64, lastL2Block uint64, dbTx pgx.Tx) ([]*state.DSL2Transaction, error)
GetDSL2Transactions provides a mock function with given fields: ctx, firstL2Block, lastL2Block, dbTx
func (*StorageMock) GetEncodedTransactionsByBatchNumber ¶
func (_m *StorageMock) GetEncodedTransactionsByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]string, []uint8, error)
GetEncodedTransactionsByBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetExitRootByGlobalExitRoot ¶
func (_m *StorageMock) 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 (*StorageMock) GetFirstL2BlockNumberForBatchNumber ¶ added in v0.5.4
func (_m *StorageMock) GetFirstL2BlockNumberForBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (uint64, error)
GetFirstL2BlockNumberForBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetForcedBatch ¶
func (_m *StorageMock) GetForcedBatch(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx) (*state.ForcedBatch, error)
GetForcedBatch provides a mock function with given fields: ctx, forcedBatchNumber, dbTx
func (*StorageMock) GetForcedBatchParentHash ¶
func (_m *StorageMock) GetForcedBatchParentHash(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx) (common.Hash, error)
GetForcedBatchParentHash provides a mock function with given fields: ctx, forcedBatchNumber, dbTx
func (*StorageMock) GetForcedBatchesSince ¶
func (_m *StorageMock) GetForcedBatchesSince(ctx context.Context, forcedBatchNumber uint64, maxBlockNumber uint64, dbTx pgx.Tx) ([]*state.ForcedBatch, error)
GetForcedBatchesSince provides a mock function with given fields: ctx, forcedBatchNumber, maxBlockNumber, dbTx
func (*StorageMock) GetForkIDByBatchNumber ¶
func (_m *StorageMock) GetForkIDByBatchNumber(batchNumber uint64) uint64
GetForkIDByBatchNumber provides a mock function with given fields: batchNumber
func (*StorageMock) GetForkIDByBlockNumber ¶
func (_m *StorageMock) GetForkIDByBlockNumber(blockNumber uint64) uint64
GetForkIDByBlockNumber provides a mock function with given fields: blockNumber
func (*StorageMock) GetForkIDInMemory ¶ added in v0.5.4
func (_m *StorageMock) GetForkIDInMemory(forkId uint64) *state.ForkIDInterval
GetForkIDInMemory provides a mock function with given fields: forkId
func (*StorageMock) GetForkIDs ¶
func (_m *StorageMock) GetForkIDs(ctx context.Context, dbTx pgx.Tx) ([]state.ForkIDInterval, error)
GetForkIDs provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetL1InfoRootLeafByIndex ¶
func (_m *StorageMock) GetL1InfoRootLeafByIndex(ctx context.Context, l1InfoTreeIndex uint32, dbTx pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)
GetL1InfoRootLeafByIndex provides a mock function with given fields: ctx, l1InfoTreeIndex, dbTx
func (*StorageMock) GetL1InfoRootLeafByL1InfoRoot ¶
func (_m *StorageMock) 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 (*StorageMock) GetL2BlockByHash ¶
func (_m *StorageMock) GetL2BlockByHash(ctx context.Context, hash common.Hash, dbTx pgx.Tx) (*state.L2Block, error)
GetL2BlockByHash provides a mock function with given fields: ctx, hash, dbTx
func (*StorageMock) GetL2BlockByNumber ¶
func (_m *StorageMock) GetL2BlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)
GetL2BlockByNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) GetL2BlockHashByNumber ¶ added in v0.5.1
func (_m *StorageMock) GetL2BlockHashByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (common.Hash, error)
GetL2BlockHashByNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) GetL2BlockHashesSince ¶
func (_m *StorageMock) GetL2BlockHashesSince(ctx context.Context, since time.Time, dbTx pgx.Tx) ([]common.Hash, error)
GetL2BlockHashesSince provides a mock function with given fields: ctx, since, dbTx
func (*StorageMock) GetL2BlockHeaderByHash ¶
func (_m *StorageMock) GetL2BlockHeaderByHash(ctx context.Context, hash common.Hash, dbTx pgx.Tx) (*state.L2Header, error)
GetL2BlockHeaderByHash provides a mock function with given fields: ctx, hash, dbTx
func (*StorageMock) GetL2BlockHeaderByNumber ¶
func (_m *StorageMock) GetL2BlockHeaderByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.L2Header, error)
GetL2BlockHeaderByNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) GetL2BlockTransactionCountByHash ¶
func (_m *StorageMock) GetL2BlockTransactionCountByHash(ctx context.Context, blockHash common.Hash, dbTx pgx.Tx) (uint64, error)
GetL2BlockTransactionCountByHash provides a mock function with given fields: ctx, blockHash, dbTx
func (*StorageMock) GetL2BlockTransactionCountByNumber ¶
func (_m *StorageMock) GetL2BlockTransactionCountByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (uint64, error)
GetL2BlockTransactionCountByNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) GetL2BlocksByBatchNumber ¶
func (_m *StorageMock) GetL2BlocksByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]state.L2Block, error)
GetL2BlocksByBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetL2TxHashByTxHash ¶
func (_m *StorageMock) GetL2TxHashByTxHash(ctx context.Context, hash common.Hash, dbTx pgx.Tx) (*common.Hash, error)
GetL2TxHashByTxHash provides a mock function with given fields: ctx, hash, dbTx
func (*StorageMock) GetLastBatchNumber ¶
GetLastBatchNumber provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastBatchTime ¶
GetLastBatchTime provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastBlock ¶
GetLastBlock provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastClosedBatch ¶
GetLastClosedBatch provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastClosedBatchNumber ¶
GetLastClosedBatchNumber provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastConsolidatedL2BlockNumber ¶
func (_m *StorageMock) GetLastConsolidatedL2BlockNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
GetLastConsolidatedL2BlockNumber provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastL2Block ¶
GetLastL2Block provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastL2BlockByBatchNumber ¶ added in v0.6.0
func (_m *StorageMock) GetLastL2BlockByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)
GetLastL2BlockByBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetLastL2BlockCreatedAt ¶
func (_m *StorageMock) GetLastL2BlockCreatedAt(ctx context.Context, dbTx pgx.Tx) (*time.Time, error)
GetLastL2BlockCreatedAt provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastL2BlockHeader ¶
func (_m *StorageMock) GetLastL2BlockHeader(ctx context.Context, dbTx pgx.Tx) (*state.L2Header, error)
GetLastL2BlockHeader provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastL2BlockNumber ¶
GetLastL2BlockNumber provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastNBatches ¶
func (_m *StorageMock) GetLastNBatches(ctx context.Context, numBatches uint, dbTx pgx.Tx) ([]*state.Batch, error)
GetLastNBatches provides a mock function with given fields: ctx, numBatches, dbTx
func (*StorageMock) GetLastNBatchesByL2BlockNumber ¶
func (_m *StorageMock) GetLastNBatchesByL2BlockNumber(ctx context.Context, l2BlockNumber *uint64, numBatches uint, dbTx pgx.Tx) ([]*state.Batch, common.Hash, error)
GetLastNBatchesByL2BlockNumber provides a mock function with given fields: ctx, l2BlockNumber, numBatches, dbTx
func (*StorageMock) GetLastTrustedForcedBatchNumber ¶
func (_m *StorageMock) GetLastTrustedForcedBatchNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
GetLastTrustedForcedBatchNumber provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastVerifiedBatch ¶
func (_m *StorageMock) GetLastVerifiedBatch(ctx context.Context, dbTx pgx.Tx) (*state.VerifiedBatch, error)
GetLastVerifiedBatch provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastVerifiedBatchNumberUntilL1Block ¶
func (_m *StorageMock) GetLastVerifiedBatchNumberUntilL1Block(ctx context.Context, l1BlockNumber uint64, dbTx pgx.Tx) (uint64, error)
GetLastVerifiedBatchNumberUntilL1Block provides a mock function with given fields: ctx, l1BlockNumber, dbTx
func (*StorageMock) GetLastVerifiedL2BlockNumberUntilL1Block ¶
func (_m *StorageMock) GetLastVerifiedL2BlockNumberUntilL1Block(ctx context.Context, l1FinalizedBlockNumber uint64, dbTx pgx.Tx) (uint64, error)
GetLastVerifiedL2BlockNumberUntilL1Block provides a mock function with given fields: ctx, l1FinalizedBlockNumber, dbTx
func (*StorageMock) GetLastVirtualBatchNum ¶
GetLastVirtualBatchNum provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLastVirtualizedL2BlockNumber ¶
func (_m *StorageMock) GetLastVirtualizedL2BlockNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)
GetLastVirtualizedL2BlockNumber provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLatestBatchGlobalExitRoot ¶
func (_m *StorageMock) GetLatestBatchGlobalExitRoot(ctx context.Context, dbTx pgx.Tx) (common.Hash, error)
GetLatestBatchGlobalExitRoot provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLatestGer ¶
func (_m *StorageMock) GetLatestGer(ctx context.Context, maxBlockNumber uint64) (state.GlobalExitRoot, time.Time, error)
GetLatestGer provides a mock function with given fields: ctx, maxBlockNumber
func (*StorageMock) GetLatestGlobalExitRoot ¶
func (_m *StorageMock) GetLatestGlobalExitRoot(ctx context.Context, maxBlockNumber uint64, dbTx pgx.Tx) (state.GlobalExitRoot, time.Time, error)
GetLatestGlobalExitRoot provides a mock function with given fields: ctx, maxBlockNumber, dbTx
func (*StorageMock) GetLatestIndex ¶
GetLatestIndex provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLatestL1InfoRoot ¶
func (_m *StorageMock) GetLatestL1InfoRoot(ctx context.Context, maxBlockNumber uint64) (state.L1InfoTreeExitRootStorageEntry, error)
GetLatestL1InfoRoot provides a mock function with given fields: ctx, maxBlockNumber
func (*StorageMock) GetLatestVirtualBatchTimestamp ¶
func (_m *StorageMock) GetLatestVirtualBatchTimestamp(ctx context.Context, dbTx pgx.Tx) (time.Time, error)
GetLatestVirtualBatchTimestamp provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetLeavesByL1InfoRoot ¶ added in v0.6.5
func (_m *StorageMock) GetLeavesByL1InfoRoot(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx) ([]state.L1InfoTreeExitRootStorageEntry, error)
GetLeavesByL1InfoRoot provides a mock function with given fields: ctx, l1InfoRoot, dbTx
func (*StorageMock) GetLocalExitRootByBatchNumber ¶
func (_m *StorageMock) GetLocalExitRootByBatchNumber(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (common.Hash, error)
GetLocalExitRootByBatchNumber provides a mock function with given fields: ctx, batchNum, dbTx
func (*StorageMock) GetLogs ¶
func (_m *StorageMock) GetLogs(ctx context.Context, fromBlock uint64, toBlock uint64, addresses []common.Address, topics [][]common.Hash, blockHash *common.Hash, since *time.Time, dbTx pgx.Tx) ([]*types.Log, error)
GetLogs provides a mock function with given fields: ctx, fromBlock, toBlock, addresses, topics, blockHash, since, dbTx
func (*StorageMock) GetLogsByBlockNumber ¶
func (_m *StorageMock) GetLogsByBlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) ([]*types.Log, error)
GetLogsByBlockNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) GetNativeBlockHashesInRange ¶
func (_m *StorageMock) GetNativeBlockHashesInRange(ctx context.Context, fromBlock uint64, toBlock uint64, dbTx pgx.Tx) ([]common.Hash, error)
GetNativeBlockHashesInRange provides a mock function with given fields: ctx, fromBlock, toBlock, dbTx
func (*StorageMock) GetNextForcedBatches ¶
func (_m *StorageMock) GetNextForcedBatches(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx) ([]state.ForcedBatch, error)
GetNextForcedBatches provides a mock function with given fields: ctx, nextForcedBatches, dbTx
func (*StorageMock) GetNotCheckedBatches ¶ added in v0.5.8
func (_m *StorageMock) GetNotCheckedBatches(ctx context.Context, dbTx pgx.Tx) ([]*state.Batch, error)
GetNotCheckedBatches provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetNumberOfBlocksSinceLastGERUpdate ¶
func (_m *StorageMock) GetNumberOfBlocksSinceLastGERUpdate(ctx context.Context, dbTx pgx.Tx) (uint64, error)
GetNumberOfBlocksSinceLastGERUpdate provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetPreviousBlock ¶
func (_m *StorageMock) GetPreviousBlock(ctx context.Context, offset uint64, dbTx pgx.Tx) (*state.Block, error)
GetPreviousBlock provides a mock function with given fields: ctx, offset, dbTx
func (*StorageMock) GetProcessingContext ¶
func (_m *StorageMock) GetProcessingContext(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.ProcessingContext, error)
GetProcessingContext provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetProofReadyToVerify ¶
func (_m *StorageMock) GetProofReadyToVerify(ctx context.Context, lastVerfiedBatchNumber uint64, dbTx pgx.Tx) (*state.Proof, error)
GetProofReadyToVerify provides a mock function with given fields: ctx, lastVerfiedBatchNumber, dbTx
func (*StorageMock) GetProofsToAggregate ¶
func (_m *StorageMock) GetProofsToAggregate(ctx context.Context, dbTx pgx.Tx) (*state.Proof, *state.Proof, error)
GetProofsToAggregate provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetRawBatchTimestamps ¶
func (_m *StorageMock) GetRawBatchTimestamps(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*time.Time, *time.Time, error)
GetRawBatchTimestamps provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetReorgedTransactions ¶
func (_m *StorageMock) GetReorgedTransactions(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)
GetReorgedTransactions provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetSequences ¶
func (_m *StorageMock) GetSequences(ctx context.Context, lastVerifiedBatchNumber uint64, dbTx pgx.Tx) ([]state.Sequence, error)
GetSequences provides a mock function with given fields: ctx, lastVerifiedBatchNumber, dbTx
func (*StorageMock) GetStateRootByBatchNumber ¶
func (_m *StorageMock) GetStateRootByBatchNumber(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (common.Hash, error)
GetStateRootByBatchNumber provides a mock function with given fields: ctx, batchNum, dbTx
func (*StorageMock) GetSyncInfoData ¶ added in v0.5.4
func (_m *StorageMock) GetSyncInfoData(ctx context.Context, dbTx pgx.Tx) (state.SyncInfoDataOnStorage, error)
GetSyncInfoData provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetTimeForLatestBatchVirtualization ¶
func (_m *StorageMock) GetTimeForLatestBatchVirtualization(ctx context.Context, dbTx pgx.Tx) (time.Time, error)
GetTimeForLatestBatchVirtualization provides a mock function with given fields: ctx, dbTx
func (*StorageMock) GetTransactionByHash ¶
func (_m *StorageMock) GetTransactionByHash(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*types.Transaction, error)
GetTransactionByHash provides a mock function with given fields: ctx, transactionHash, dbTx
func (*StorageMock) GetTransactionByL2BlockHashAndIndex ¶
func (_m *StorageMock) GetTransactionByL2BlockHashAndIndex(ctx context.Context, blockHash common.Hash, index uint64, dbTx pgx.Tx) (*types.Transaction, error)
GetTransactionByL2BlockHashAndIndex provides a mock function with given fields: ctx, blockHash, index, dbTx
func (*StorageMock) GetTransactionByL2BlockNumberAndIndex ¶
func (_m *StorageMock) GetTransactionByL2BlockNumberAndIndex(ctx context.Context, blockNumber uint64, index uint64, dbTx pgx.Tx) (*types.Transaction, error)
GetTransactionByL2BlockNumberAndIndex provides a mock function with given fields: ctx, blockNumber, index, dbTx
func (*StorageMock) GetTransactionByL2Hash ¶
func (_m *StorageMock) GetTransactionByL2Hash(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*types.Transaction, error)
GetTransactionByL2Hash provides a mock function with given fields: ctx, transactionHash, dbTx
func (*StorageMock) GetTransactionEGPLogByHash ¶
func (_m *StorageMock) GetTransactionEGPLogByHash(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*state.EffectiveGasPriceLog, error)
GetTransactionEGPLogByHash provides a mock function with given fields: ctx, transactionHash, dbTx
func (*StorageMock) GetTransactionReceipt ¶
func (_m *StorageMock) GetTransactionReceipt(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (*types.Receipt, error)
GetTransactionReceipt provides a mock function with given fields: ctx, transactionHash, dbTx
func (*StorageMock) GetTransactionsByBatchNumber ¶
func (_m *StorageMock) GetTransactionsByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]types.Transaction, []uint8, error)
GetTransactionsByBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetTxsByBatchNumber ¶
func (_m *StorageMock) GetTxsByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)
GetTxsByBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetTxsByBlockNumber ¶
func (_m *StorageMock) GetTxsByBlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)
GetTxsByBlockNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) GetTxsHashesByBatchNumber ¶
func (_m *StorageMock) GetTxsHashesByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]common.Hash, error)
GetTxsHashesByBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetTxsOlderThanNL1Blocks ¶
func (_m *StorageMock) GetTxsOlderThanNL1Blocks(ctx context.Context, nL1Blocks uint64, dbTx pgx.Tx) ([]common.Hash, error)
GetTxsOlderThanNL1Blocks provides a mock function with given fields: ctx, nL1Blocks, dbTx
func (*StorageMock) GetTxsOlderThanNL1BlocksUntilTxHash ¶ added in v0.5.8
func (_m *StorageMock) GetTxsOlderThanNL1BlocksUntilTxHash(ctx context.Context, nL1Blocks uint64, earliestTxHash common.Hash, dbTx pgx.Tx) ([]common.Hash, error)
GetTxsOlderThanNL1BlocksUntilTxHash provides a mock function with given fields: ctx, nL1Blocks, earliestTxHash, dbTx
func (*StorageMock) GetVerifiedBatch ¶
func (_m *StorageMock) GetVerifiedBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.VerifiedBatch, error)
GetVerifiedBatch provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetVirtualBatch ¶
func (_m *StorageMock) GetVirtualBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.VirtualBatch, error)
GetVirtualBatch provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetVirtualBatchByNumber ¶
func (_m *StorageMock) GetVirtualBatchByNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
GetVirtualBatchByNumber provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetVirtualBatchParentHash ¶
func (_m *StorageMock) GetVirtualBatchParentHash(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (common.Hash, error)
GetVirtualBatchParentHash provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) GetVirtualBatchToProve ¶
func (_m *StorageMock) GetVirtualBatchToProve(ctx context.Context, lastVerfiedBatchNumber uint64, maxL1Block uint64, dbTx pgx.Tx) (*state.Batch, error)
GetVirtualBatchToProve provides a mock function with given fields: ctx, lastVerfiedBatchNumber, maxL1Block, dbTx
func (*StorageMock) GetWIPBatchInStorage ¶
func (_m *StorageMock) GetWIPBatchInStorage(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)
GetWIPBatchInStorage provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) IsBatchChecked ¶ added in v0.5.8
func (_m *StorageMock) IsBatchChecked(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (bool, error)
IsBatchChecked provides a mock function with given fields: ctx, batchNum, dbTx
func (*StorageMock) IsBatchClosed ¶
func (_m *StorageMock) IsBatchClosed(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (bool, error)
IsBatchClosed provides a mock function with given fields: ctx, batchNum, dbTx
func (*StorageMock) IsBatchConsolidated ¶
func (_m *StorageMock) IsBatchConsolidated(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (bool, error)
IsBatchConsolidated provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) IsBatchVirtualized ¶
func (_m *StorageMock) IsBatchVirtualized(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (bool, error)
IsBatchVirtualized provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) IsL2BlockConsolidated ¶
func (_m *StorageMock) IsL2BlockConsolidated(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (bool, error)
IsL2BlockConsolidated provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) IsL2BlockVirtualized ¶
func (_m *StorageMock) IsL2BlockVirtualized(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (bool, error)
IsL2BlockVirtualized provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) IsSequencingTXSynced ¶
func (_m *StorageMock) IsSequencingTXSynced(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx) (bool, error)
IsSequencingTXSynced provides a mock function with given fields: ctx, transactionHash, dbTx
func (*StorageMock) OpenBatchInStorage ¶
func (_m *StorageMock) OpenBatchInStorage(ctx context.Context, batchContext state.ProcessingContext, dbTx pgx.Tx) error
OpenBatchInStorage provides a mock function with given fields: ctx, batchContext, dbTx
func (*StorageMock) OpenWIPBatchInStorage ¶
func (_m *StorageMock) OpenWIPBatchInStorage(ctx context.Context, batch state.Batch, dbTx pgx.Tx) error
OpenWIPBatchInStorage provides a mock function with given fields: ctx, batch, dbTx
func (*StorageMock) Query ¶
func (_m *StorageMock) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
Query provides a mock function with given fields: ctx, sql, args
func (*StorageMock) ResetForkID ¶
ResetForkID provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) ResetToL1BlockNumber ¶ added in v0.5.5
func (_m *StorageMock) ResetToL1BlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) error
ResetToL1BlockNumber provides a mock function with given fields: ctx, blockNumber, dbTx
func (*StorageMock) ResetTrustedState ¶
func (_m *StorageMock) ResetTrustedState(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
ResetTrustedState provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) SetInitSyncBatch ¶
SetInitSyncBatch provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) SetLastBatchInfoSeenOnEthereum ¶
func (_m *StorageMock) 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 (*StorageMock) StoreGenesisBatch ¶
func (_m *StorageMock) StoreGenesisBatch(ctx context.Context, batch state.Batch, closingReason string, dbTx pgx.Tx) error
StoreGenesisBatch provides a mock function with given fields: ctx, batch, closingReason, dbTx
func (*StorageMock) UpdateBatchAsChecked ¶ added in v0.5.8
func (_m *StorageMock) UpdateBatchAsChecked(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
UpdateBatchAsChecked provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StorageMock) UpdateBatchL2Data ¶
func (_m *StorageMock) 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 (*StorageMock) UpdateForkIDBlockNumber ¶ added in v0.6.3
func (_m *StorageMock) 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 (*StorageMock) UpdateForkIDIntervalsInMemory ¶
func (_m *StorageMock) UpdateForkIDIntervalsInMemory(intervals []state.ForkIDInterval)
UpdateForkIDIntervalsInMemory provides a mock function with given fields: intervals
func (*StorageMock) UpdateForkIDToBatchNumber ¶ added in v0.6.3
func (_m *StorageMock) UpdateForkIDToBatchNumber(ctx context.Context, forkID state.ForkIDInterval, dbTx pgx.Tx) error
UpdateForkIDToBatchNumber provides a mock function with given fields: ctx, forkID, dbTx
func (*StorageMock) UpdateGERInOpenBatch ¶
func (_m *StorageMock) UpdateGERInOpenBatch(ctx context.Context, ger common.Hash, dbTx pgx.Tx) error
UpdateGERInOpenBatch provides a mock function with given fields: ctx, ger, dbTx
func (*StorageMock) UpdateGeneratedProof ¶
func (_m *StorageMock) UpdateGeneratedProof(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) error
UpdateGeneratedProof provides a mock function with given fields: ctx, proof, dbTx
func (*StorageMock) UpdateWIPBatch ¶
func (_m *StorageMock) UpdateWIPBatch(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error
UpdateWIPBatch provides a mock function with given fields: ctx, receipt, dbTx
type StorageMock_AddAccumulatedInputHash_Call ¶
StorageMock_AddAccumulatedInputHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddAccumulatedInputHash'
func (*StorageMock_AddAccumulatedInputHash_Call) Return ¶
func (_c *StorageMock_AddAccumulatedInputHash_Call) Return(_a0 error) *StorageMock_AddAccumulatedInputHash_Call
func (*StorageMock_AddAccumulatedInputHash_Call) Run ¶
func (_c *StorageMock_AddAccumulatedInputHash_Call) Run(run func(ctx context.Context, batchNum uint64, accInputHash common.Hash, dbTx pgx.Tx)) *StorageMock_AddAccumulatedInputHash_Call
func (*StorageMock_AddAccumulatedInputHash_Call) RunAndReturn ¶
func (_c *StorageMock_AddAccumulatedInputHash_Call) RunAndReturn(run func(context.Context, uint64, common.Hash, pgx.Tx) error) *StorageMock_AddAccumulatedInputHash_Call
type StorageMock_AddBlock_Call ¶
StorageMock_AddBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddBlock'
func (*StorageMock_AddBlock_Call) Return ¶
func (_c *StorageMock_AddBlock_Call) Return(_a0 error) *StorageMock_AddBlock_Call
func (*StorageMock_AddBlock_Call) Run ¶
func (_c *StorageMock_AddBlock_Call) Run(run func(ctx context.Context, block *state.Block, dbTx pgx.Tx)) *StorageMock_AddBlock_Call
func (*StorageMock_AddBlock_Call) RunAndReturn ¶
func (_c *StorageMock_AddBlock_Call) RunAndReturn(run func(context.Context, *state.Block, pgx.Tx) error) *StorageMock_AddBlock_Call
type StorageMock_AddForcedBatch_Call ¶
StorageMock_AddForcedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddForcedBatch'
func (*StorageMock_AddForcedBatch_Call) Return ¶
func (_c *StorageMock_AddForcedBatch_Call) Return(_a0 error) *StorageMock_AddForcedBatch_Call
func (*StorageMock_AddForcedBatch_Call) Run ¶
func (_c *StorageMock_AddForcedBatch_Call) Run(run func(ctx context.Context, forcedBatch *state.ForcedBatch, tx pgx.Tx)) *StorageMock_AddForcedBatch_Call
func (*StorageMock_AddForcedBatch_Call) RunAndReturn ¶
func (_c *StorageMock_AddForcedBatch_Call) RunAndReturn(run func(context.Context, *state.ForcedBatch, pgx.Tx) error) *StorageMock_AddForcedBatch_Call
type StorageMock_AddForkIDInterval_Call ¶
StorageMock_AddForkIDInterval_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddForkIDInterval'
func (*StorageMock_AddForkIDInterval_Call) Return ¶
func (_c *StorageMock_AddForkIDInterval_Call) Return(_a0 error) *StorageMock_AddForkIDInterval_Call
func (*StorageMock_AddForkIDInterval_Call) Run ¶
func (_c *StorageMock_AddForkIDInterval_Call) Run(run func(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx)) *StorageMock_AddForkIDInterval_Call
func (*StorageMock_AddForkIDInterval_Call) RunAndReturn ¶
func (_c *StorageMock_AddForkIDInterval_Call) RunAndReturn(run func(context.Context, state.ForkIDInterval, pgx.Tx) error) *StorageMock_AddForkIDInterval_Call
type StorageMock_AddForkID_Call ¶
StorageMock_AddForkID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddForkID'
func (*StorageMock_AddForkID_Call) Return ¶
func (_c *StorageMock_AddForkID_Call) Return(_a0 error) *StorageMock_AddForkID_Call
func (*StorageMock_AddForkID_Call) Run ¶
func (_c *StorageMock_AddForkID_Call) Run(run func(ctx context.Context, forkID state.ForkIDInterval, dbTx pgx.Tx)) *StorageMock_AddForkID_Call
func (*StorageMock_AddForkID_Call) RunAndReturn ¶
func (_c *StorageMock_AddForkID_Call) RunAndReturn(run func(context.Context, state.ForkIDInterval, pgx.Tx) error) *StorageMock_AddForkID_Call
type StorageMock_AddGeneratedProof_Call ¶
StorageMock_AddGeneratedProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddGeneratedProof'
func (*StorageMock_AddGeneratedProof_Call) Return ¶
func (_c *StorageMock_AddGeneratedProof_Call) Return(_a0 error) *StorageMock_AddGeneratedProof_Call
func (*StorageMock_AddGeneratedProof_Call) Run ¶
func (_c *StorageMock_AddGeneratedProof_Call) Run(run func(ctx context.Context, proof *state.Proof, dbTx pgx.Tx)) *StorageMock_AddGeneratedProof_Call
func (*StorageMock_AddGeneratedProof_Call) RunAndReturn ¶
func (_c *StorageMock_AddGeneratedProof_Call) RunAndReturn(run func(context.Context, *state.Proof, pgx.Tx) error) *StorageMock_AddGeneratedProof_Call
type StorageMock_AddGlobalExitRoot_Call ¶
StorageMock_AddGlobalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddGlobalExitRoot'
func (*StorageMock_AddGlobalExitRoot_Call) Return ¶
func (_c *StorageMock_AddGlobalExitRoot_Call) Return(_a0 error) *StorageMock_AddGlobalExitRoot_Call
func (*StorageMock_AddGlobalExitRoot_Call) Run ¶
func (_c *StorageMock_AddGlobalExitRoot_Call) Run(run func(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx)) *StorageMock_AddGlobalExitRoot_Call
func (*StorageMock_AddGlobalExitRoot_Call) RunAndReturn ¶
func (_c *StorageMock_AddGlobalExitRoot_Call) RunAndReturn(run func(context.Context, *state.GlobalExitRoot, pgx.Tx) error) *StorageMock_AddGlobalExitRoot_Call
type StorageMock_AddL1InfoRootToExitRoot_Call ¶
StorageMock_AddL1InfoRootToExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddL1InfoRootToExitRoot'
func (*StorageMock_AddL1InfoRootToExitRoot_Call) Return ¶
func (_c *StorageMock_AddL1InfoRootToExitRoot_Call) Return(_a0 error) *StorageMock_AddL1InfoRootToExitRoot_Call
func (*StorageMock_AddL1InfoRootToExitRoot_Call) Run ¶
func (_c *StorageMock_AddL1InfoRootToExitRoot_Call) Run(run func(ctx context.Context, exitRoot *state.L1InfoTreeExitRootStorageEntry, dbTx pgx.Tx)) *StorageMock_AddL1InfoRootToExitRoot_Call
func (*StorageMock_AddL1InfoRootToExitRoot_Call) RunAndReturn ¶
func (_c *StorageMock_AddL1InfoRootToExitRoot_Call) RunAndReturn(run func(context.Context, *state.L1InfoTreeExitRootStorageEntry, pgx.Tx) error) *StorageMock_AddL1InfoRootToExitRoot_Call
type StorageMock_AddL2Block_Call ¶
StorageMock_AddL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddL2Block'
func (*StorageMock_AddL2Block_Call) Return ¶
func (_c *StorageMock_AddL2Block_Call) Return(_a0 error) *StorageMock_AddL2Block_Call
func (*StorageMock_AddL2Block_Call) RunAndReturn ¶
type StorageMock_AddLog_Call ¶
StorageMock_AddLog_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddLog'
func (*StorageMock_AddLog_Call) Return ¶
func (_c *StorageMock_AddLog_Call) Return(_a0 error) *StorageMock_AddLog_Call
func (*StorageMock_AddLog_Call) Run ¶
func (_c *StorageMock_AddLog_Call) Run(run func(ctx context.Context, l *types.Log, dbTx pgx.Tx)) *StorageMock_AddLog_Call
func (*StorageMock_AddLog_Call) RunAndReturn ¶
func (_c *StorageMock_AddLog_Call) RunAndReturn(run func(context.Context, *types.Log, pgx.Tx) error) *StorageMock_AddLog_Call
type StorageMock_AddReceipt_Call ¶
StorageMock_AddReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddReceipt'
func (*StorageMock_AddReceipt_Call) Return ¶
func (_c *StorageMock_AddReceipt_Call) Return(_a0 error) *StorageMock_AddReceipt_Call
func (*StorageMock_AddReceipt_Call) Run ¶
func (_c *StorageMock_AddReceipt_Call) Run(run func(ctx context.Context, receipt *types.Receipt, imStateRoot common.Hash, dbTx pgx.Tx)) *StorageMock_AddReceipt_Call
func (*StorageMock_AddReceipt_Call) RunAndReturn ¶
type StorageMock_AddSequence_Call ¶
StorageMock_AddSequence_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddSequence'
func (*StorageMock_AddSequence_Call) Return ¶
func (_c *StorageMock_AddSequence_Call) Return(_a0 error) *StorageMock_AddSequence_Call
func (*StorageMock_AddSequence_Call) Run ¶
func (_c *StorageMock_AddSequence_Call) Run(run func(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx)) *StorageMock_AddSequence_Call
func (*StorageMock_AddSequence_Call) RunAndReturn ¶
func (_c *StorageMock_AddSequence_Call) RunAndReturn(run func(context.Context, state.Sequence, pgx.Tx) error) *StorageMock_AddSequence_Call
type StorageMock_AddTrustedReorg_Call ¶
StorageMock_AddTrustedReorg_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddTrustedReorg'
func (*StorageMock_AddTrustedReorg_Call) Return ¶
func (_c *StorageMock_AddTrustedReorg_Call) Return(_a0 error) *StorageMock_AddTrustedReorg_Call
func (*StorageMock_AddTrustedReorg_Call) Run ¶
func (_c *StorageMock_AddTrustedReorg_Call) Run(run func(ctx context.Context, reorg *state.TrustedReorg, dbTx pgx.Tx)) *StorageMock_AddTrustedReorg_Call
func (*StorageMock_AddTrustedReorg_Call) RunAndReturn ¶
func (_c *StorageMock_AddTrustedReorg_Call) RunAndReturn(run func(context.Context, *state.TrustedReorg, pgx.Tx) error) *StorageMock_AddTrustedReorg_Call
type StorageMock_AddVerifiedBatch_Call ¶
StorageMock_AddVerifiedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddVerifiedBatch'
func (*StorageMock_AddVerifiedBatch_Call) Return ¶
func (_c *StorageMock_AddVerifiedBatch_Call) Return(_a0 error) *StorageMock_AddVerifiedBatch_Call
func (*StorageMock_AddVerifiedBatch_Call) Run ¶
func (_c *StorageMock_AddVerifiedBatch_Call) Run(run func(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx)) *StorageMock_AddVerifiedBatch_Call
func (*StorageMock_AddVerifiedBatch_Call) RunAndReturn ¶
func (_c *StorageMock_AddVerifiedBatch_Call) RunAndReturn(run func(context.Context, *state.VerifiedBatch, pgx.Tx) error) *StorageMock_AddVerifiedBatch_Call
type StorageMock_AddVirtualBatch_Call ¶
StorageMock_AddVirtualBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'AddVirtualBatch'
func (*StorageMock_AddVirtualBatch_Call) Return ¶
func (_c *StorageMock_AddVirtualBatch_Call) Return(_a0 error) *StorageMock_AddVirtualBatch_Call
func (*StorageMock_AddVirtualBatch_Call) Run ¶
func (_c *StorageMock_AddVirtualBatch_Call) Run(run func(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx)) *StorageMock_AddVirtualBatch_Call
func (*StorageMock_AddVirtualBatch_Call) RunAndReturn ¶
func (_c *StorageMock_AddVirtualBatch_Call) RunAndReturn(run func(context.Context, *state.VirtualBatch, pgx.Tx) error) *StorageMock_AddVirtualBatch_Call
type StorageMock_BatchNumberByL2BlockNumber_Call ¶
StorageMock_BatchNumberByL2BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BatchNumberByL2BlockNumber'
func (*StorageMock_BatchNumberByL2BlockNumber_Call) Return ¶
func (_c *StorageMock_BatchNumberByL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_BatchNumberByL2BlockNumber_Call
func (*StorageMock_BatchNumberByL2BlockNumber_Call) Run ¶
func (_c *StorageMock_BatchNumberByL2BlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_BatchNumberByL2BlockNumber_Call
func (*StorageMock_BatchNumberByL2BlockNumber_Call) RunAndReturn ¶
func (_c *StorageMock_BatchNumberByL2BlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_BatchNumberByL2BlockNumber_Call
type StorageMock_Begin_Call ¶
StorageMock_Begin_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Begin'
func (*StorageMock_Begin_Call) Return ¶
func (_c *StorageMock_Begin_Call) Return(_a0 pgx.Tx, _a1 error) *StorageMock_Begin_Call
func (*StorageMock_Begin_Call) Run ¶
func (_c *StorageMock_Begin_Call) Run(run func(ctx context.Context)) *StorageMock_Begin_Call
func (*StorageMock_Begin_Call) RunAndReturn ¶
func (_c *StorageMock_Begin_Call) RunAndReturn(run func(context.Context) (pgx.Tx, error)) *StorageMock_Begin_Call
type StorageMock_BuildChangeL2Block_Call ¶
StorageMock_BuildChangeL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'BuildChangeL2Block'
func (*StorageMock_BuildChangeL2Block_Call) Return ¶
func (_c *StorageMock_BuildChangeL2Block_Call) Return(_a0 []byte) *StorageMock_BuildChangeL2Block_Call
func (*StorageMock_BuildChangeL2Block_Call) Run ¶
func (_c *StorageMock_BuildChangeL2Block_Call) Run(run func(deltaTimestamp uint32, l1InfoTreeIndex uint32)) *StorageMock_BuildChangeL2Block_Call
func (*StorageMock_BuildChangeL2Block_Call) RunAndReturn ¶
func (_c *StorageMock_BuildChangeL2Block_Call) RunAndReturn(run func(uint32, uint32) []byte) *StorageMock_BuildChangeL2Block_Call
type StorageMock_CheckProofContainsCompleteSequences_Call ¶
StorageMock_CheckProofContainsCompleteSequences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CheckProofContainsCompleteSequences'
func (*StorageMock_CheckProofContainsCompleteSequences_Call) Return ¶
func (_c *StorageMock_CheckProofContainsCompleteSequences_Call) Return(_a0 bool, _a1 error) *StorageMock_CheckProofContainsCompleteSequences_Call
func (*StorageMock_CheckProofContainsCompleteSequences_Call) Run ¶
func (_c *StorageMock_CheckProofContainsCompleteSequences_Call) Run(run func(ctx context.Context, proof *state.Proof, dbTx pgx.Tx)) *StorageMock_CheckProofContainsCompleteSequences_Call
func (*StorageMock_CheckProofContainsCompleteSequences_Call) RunAndReturn ¶
func (_c *StorageMock_CheckProofContainsCompleteSequences_Call) RunAndReturn(run func(context.Context, *state.Proof, pgx.Tx) (bool, error)) *StorageMock_CheckProofContainsCompleteSequences_Call
type StorageMock_CleanupGeneratedProofs_Call ¶
StorageMock_CleanupGeneratedProofs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanupGeneratedProofs'
func (*StorageMock_CleanupGeneratedProofs_Call) Return ¶
func (_c *StorageMock_CleanupGeneratedProofs_Call) Return(_a0 error) *StorageMock_CleanupGeneratedProofs_Call
func (*StorageMock_CleanupGeneratedProofs_Call) Run ¶
func (_c *StorageMock_CleanupGeneratedProofs_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_CleanupGeneratedProofs_Call
func (*StorageMock_CleanupGeneratedProofs_Call) RunAndReturn ¶
func (_c *StorageMock_CleanupGeneratedProofs_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_CleanupGeneratedProofs_Call
type StorageMock_CleanupLockedProofs_Call ¶
StorageMock_CleanupLockedProofs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CleanupLockedProofs'
func (*StorageMock_CleanupLockedProofs_Call) Return ¶
func (_c *StorageMock_CleanupLockedProofs_Call) Return(_a0 int64, _a1 error) *StorageMock_CleanupLockedProofs_Call
func (*StorageMock_CleanupLockedProofs_Call) Run ¶
func (_c *StorageMock_CleanupLockedProofs_Call) Run(run func(ctx context.Context, duration string, dbTx pgx.Tx)) *StorageMock_CleanupLockedProofs_Call
func (*StorageMock_CleanupLockedProofs_Call) RunAndReturn ¶
func (_c *StorageMock_CleanupLockedProofs_Call) RunAndReturn(run func(context.Context, string, pgx.Tx) (int64, error)) *StorageMock_CleanupLockedProofs_Call
type StorageMock_CloseBatchInStorage_Call ¶
StorageMock_CloseBatchInStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseBatchInStorage'
func (*StorageMock_CloseBatchInStorage_Call) Return ¶
func (_c *StorageMock_CloseBatchInStorage_Call) Return(_a0 error) *StorageMock_CloseBatchInStorage_Call
func (*StorageMock_CloseBatchInStorage_Call) Run ¶
func (_c *StorageMock_CloseBatchInStorage_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StorageMock_CloseBatchInStorage_Call
func (*StorageMock_CloseBatchInStorage_Call) RunAndReturn ¶
func (_c *StorageMock_CloseBatchInStorage_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StorageMock_CloseBatchInStorage_Call
type StorageMock_CloseWIPBatchInStorage_Call ¶
StorageMock_CloseWIPBatchInStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CloseWIPBatchInStorage'
func (*StorageMock_CloseWIPBatchInStorage_Call) Return ¶
func (_c *StorageMock_CloseWIPBatchInStorage_Call) Return(_a0 error) *StorageMock_CloseWIPBatchInStorage_Call
func (*StorageMock_CloseWIPBatchInStorage_Call) Run ¶
func (_c *StorageMock_CloseWIPBatchInStorage_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StorageMock_CloseWIPBatchInStorage_Call
func (*StorageMock_CloseWIPBatchInStorage_Call) RunAndReturn ¶
func (_c *StorageMock_CloseWIPBatchInStorage_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StorageMock_CloseWIPBatchInStorage_Call
type StorageMock_CountReorgs_Call ¶
StorageMock_CountReorgs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'CountReorgs'
func (*StorageMock_CountReorgs_Call) Return ¶
func (_c *StorageMock_CountReorgs_Call) Return(_a0 uint64, _a1 error) *StorageMock_CountReorgs_Call
func (*StorageMock_CountReorgs_Call) Run ¶
func (_c *StorageMock_CountReorgs_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_CountReorgs_Call
func (*StorageMock_CountReorgs_Call) RunAndReturn ¶
func (_c *StorageMock_CountReorgs_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_CountReorgs_Call
type StorageMock_DeleteGeneratedProofs_Call ¶
StorageMock_DeleteGeneratedProofs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteGeneratedProofs'
func (*StorageMock_DeleteGeneratedProofs_Call) Return ¶
func (_c *StorageMock_DeleteGeneratedProofs_Call) Return(_a0 error) *StorageMock_DeleteGeneratedProofs_Call
func (*StorageMock_DeleteGeneratedProofs_Call) Run ¶
func (_c *StorageMock_DeleteGeneratedProofs_Call) Run(run func(ctx context.Context, batchNumber uint64, batchNumberFinal uint64, dbTx pgx.Tx)) *StorageMock_DeleteGeneratedProofs_Call
func (*StorageMock_DeleteGeneratedProofs_Call) RunAndReturn ¶
func (_c *StorageMock_DeleteGeneratedProofs_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) error) *StorageMock_DeleteGeneratedProofs_Call
type StorageMock_DeleteUngeneratedProofs_Call ¶
StorageMock_DeleteUngeneratedProofs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'DeleteUngeneratedProofs'
func (*StorageMock_DeleteUngeneratedProofs_Call) Return ¶
func (_c *StorageMock_DeleteUngeneratedProofs_Call) Return(_a0 error) *StorageMock_DeleteUngeneratedProofs_Call
func (*StorageMock_DeleteUngeneratedProofs_Call) Run ¶
func (_c *StorageMock_DeleteUngeneratedProofs_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_DeleteUngeneratedProofs_Call
func (*StorageMock_DeleteUngeneratedProofs_Call) RunAndReturn ¶
func (_c *StorageMock_DeleteUngeneratedProofs_Call) RunAndReturn(run func(context.Context, pgx.Tx) error) *StorageMock_DeleteUngeneratedProofs_Call
type StorageMock_Exec_Call ¶
StorageMock_Exec_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Exec'
func (*StorageMock_Exec_Call) Return ¶
func (_c *StorageMock_Exec_Call) Return(commandTag pgconn.CommandTag, err error) *StorageMock_Exec_Call
func (*StorageMock_Exec_Call) Run ¶
func (_c *StorageMock_Exec_Call) Run(run func(ctx context.Context, sql string, arguments ...interface{})) *StorageMock_Exec_Call
func (*StorageMock_Exec_Call) RunAndReturn ¶
func (_c *StorageMock_Exec_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgconn.CommandTag, error)) *StorageMock_Exec_Call
type StorageMock_Expecter ¶
type StorageMock_Expecter struct {
// contains filtered or unexported fields
}
func (*StorageMock_Expecter) AddAccumulatedInputHash ¶
func (_e *StorageMock_Expecter) AddAccumulatedInputHash(ctx interface{}, batchNum interface{}, accInputHash interface{}, dbTx interface{}) *StorageMock_AddAccumulatedInputHash_Call
AddAccumulatedInputHash is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
- accInputHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddBlock ¶
func (_e *StorageMock_Expecter) AddBlock(ctx interface{}, block interface{}, dbTx interface{}) *StorageMock_AddBlock_Call
AddBlock is a helper method to define mock.On call
- ctx context.Context
- block *state.Block
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddForcedBatch ¶
func (_e *StorageMock_Expecter) AddForcedBatch(ctx interface{}, forcedBatch interface{}, tx interface{}) *StorageMock_AddForcedBatch_Call
AddForcedBatch is a helper method to define mock.On call
- ctx context.Context
- forcedBatch *state.ForcedBatch
- tx pgx.Tx
func (*StorageMock_Expecter) AddForkID ¶
func (_e *StorageMock_Expecter) AddForkID(ctx interface{}, forkID interface{}, dbTx interface{}) *StorageMock_AddForkID_Call
AddForkID is a helper method to define mock.On call
- ctx context.Context
- forkID state.ForkIDInterval
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddForkIDInterval ¶
func (_e *StorageMock_Expecter) AddForkIDInterval(ctx interface{}, newForkID interface{}, dbTx interface{}) *StorageMock_AddForkIDInterval_Call
AddForkIDInterval is a helper method to define mock.On call
- ctx context.Context
- newForkID state.ForkIDInterval
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddGeneratedProof ¶
func (_e *StorageMock_Expecter) AddGeneratedProof(ctx interface{}, proof interface{}, dbTx interface{}) *StorageMock_AddGeneratedProof_Call
AddGeneratedProof is a helper method to define mock.On call
- ctx context.Context
- proof *state.Proof
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddGlobalExitRoot ¶
func (_e *StorageMock_Expecter) AddGlobalExitRoot(ctx interface{}, exitRoot interface{}, dbTx interface{}) *StorageMock_AddGlobalExitRoot_Call
AddGlobalExitRoot is a helper method to define mock.On call
- ctx context.Context
- exitRoot *state.GlobalExitRoot
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddL1InfoRootToExitRoot ¶
func (_e *StorageMock_Expecter) AddL1InfoRootToExitRoot(ctx interface{}, exitRoot interface{}, dbTx interface{}) *StorageMock_AddL1InfoRootToExitRoot_Call
AddL1InfoRootToExitRoot is a helper method to define mock.On call
- ctx context.Context
- exitRoot *state.L1InfoTreeExitRootStorageEntry
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddL2Block ¶
func (_e *StorageMock_Expecter) AddL2Block(ctx interface{}, batchNumber interface{}, l2Block interface{}, receipts interface{}, txsL2Hash interface{}, txsEGPData interface{}, imStateRoots interface{}, dbTx interface{}) *StorageMock_AddL2Block_Call
AddL2Block is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- l2Block *state.L2Block
- receipts []*types.Receipt
- txsL2Hash []common.Hash
- txsEGPData []state.StoreTxEGPData
- imStateRoots []common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddLog ¶
func (_e *StorageMock_Expecter) AddLog(ctx interface{}, l interface{}, dbTx interface{}) *StorageMock_AddLog_Call
AddLog is a helper method to define mock.On call
- ctx context.Context
- l *types.Log
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddReceipt ¶
func (_e *StorageMock_Expecter) AddReceipt(ctx interface{}, receipt interface{}, imStateRoot interface{}, dbTx interface{}) *StorageMock_AddReceipt_Call
AddReceipt is a helper method to define mock.On call
- ctx context.Context
- receipt *types.Receipt
- imStateRoot common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddSequence ¶
func (_e *StorageMock_Expecter) AddSequence(ctx interface{}, sequence interface{}, dbTx interface{}) *StorageMock_AddSequence_Call
AddSequence is a helper method to define mock.On call
- ctx context.Context
- sequence state.Sequence
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddTrustedReorg ¶
func (_e *StorageMock_Expecter) AddTrustedReorg(ctx interface{}, reorg interface{}, dbTx interface{}) *StorageMock_AddTrustedReorg_Call
AddTrustedReorg is a helper method to define mock.On call
- ctx context.Context
- reorg *state.TrustedReorg
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddVerifiedBatch ¶
func (_e *StorageMock_Expecter) AddVerifiedBatch(ctx interface{}, verifiedBatch interface{}, dbTx interface{}) *StorageMock_AddVerifiedBatch_Call
AddVerifiedBatch is a helper method to define mock.On call
- ctx context.Context
- verifiedBatch *state.VerifiedBatch
- dbTx pgx.Tx
func (*StorageMock_Expecter) AddVirtualBatch ¶
func (_e *StorageMock_Expecter) AddVirtualBatch(ctx interface{}, virtualBatch interface{}, dbTx interface{}) *StorageMock_AddVirtualBatch_Call
AddVirtualBatch is a helper method to define mock.On call
- ctx context.Context
- virtualBatch *state.VirtualBatch
- dbTx pgx.Tx
func (*StorageMock_Expecter) BatchNumberByL2BlockNumber ¶
func (_e *StorageMock_Expecter) BatchNumberByL2BlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_BatchNumberByL2BlockNumber_Call
BatchNumberByL2BlockNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) Begin ¶
func (_e *StorageMock_Expecter) Begin(ctx interface{}) *StorageMock_Begin_Call
Begin is a helper method to define mock.On call
- ctx context.Context
func (*StorageMock_Expecter) BuildChangeL2Block ¶
func (_e *StorageMock_Expecter) BuildChangeL2Block(deltaTimestamp interface{}, l1InfoTreeIndex interface{}) *StorageMock_BuildChangeL2Block_Call
BuildChangeL2Block is a helper method to define mock.On call
- deltaTimestamp uint32
- l1InfoTreeIndex uint32
func (*StorageMock_Expecter) CheckProofContainsCompleteSequences ¶
func (_e *StorageMock_Expecter) CheckProofContainsCompleteSequences(ctx interface{}, proof interface{}, dbTx interface{}) *StorageMock_CheckProofContainsCompleteSequences_Call
CheckProofContainsCompleteSequences is a helper method to define mock.On call
- ctx context.Context
- proof *state.Proof
- dbTx pgx.Tx
func (*StorageMock_Expecter) CleanupGeneratedProofs ¶
func (_e *StorageMock_Expecter) CleanupGeneratedProofs(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_CleanupGeneratedProofs_Call
CleanupGeneratedProofs is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) CleanupLockedProofs ¶
func (_e *StorageMock_Expecter) CleanupLockedProofs(ctx interface{}, duration interface{}, dbTx interface{}) *StorageMock_CleanupLockedProofs_Call
CleanupLockedProofs is a helper method to define mock.On call
- ctx context.Context
- duration string
- dbTx pgx.Tx
func (*StorageMock_Expecter) CloseBatchInStorage ¶
func (_e *StorageMock_Expecter) CloseBatchInStorage(ctx interface{}, receipt interface{}, dbTx interface{}) *StorageMock_CloseBatchInStorage_Call
CloseBatchInStorage is a helper method to define mock.On call
- ctx context.Context
- receipt state.ProcessingReceipt
- dbTx pgx.Tx
func (*StorageMock_Expecter) CloseWIPBatchInStorage ¶
func (_e *StorageMock_Expecter) CloseWIPBatchInStorage(ctx interface{}, receipt interface{}, dbTx interface{}) *StorageMock_CloseWIPBatchInStorage_Call
CloseWIPBatchInStorage is a helper method to define mock.On call
- ctx context.Context
- receipt state.ProcessingReceipt
- dbTx pgx.Tx
func (*StorageMock_Expecter) CountReorgs ¶
func (_e *StorageMock_Expecter) CountReorgs(ctx interface{}, dbTx interface{}) *StorageMock_CountReorgs_Call
CountReorgs is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) DeleteGeneratedProofs ¶
func (_e *StorageMock_Expecter) DeleteGeneratedProofs(ctx interface{}, batchNumber interface{}, batchNumberFinal interface{}, dbTx interface{}) *StorageMock_DeleteGeneratedProofs_Call
DeleteGeneratedProofs is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- batchNumberFinal uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) DeleteUngeneratedProofs ¶
func (_e *StorageMock_Expecter) DeleteUngeneratedProofs(ctx interface{}, dbTx interface{}) *StorageMock_DeleteUngeneratedProofs_Call
DeleteUngeneratedProofs is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) Exec ¶
func (_e *StorageMock_Expecter) Exec(ctx interface{}, sql interface{}, arguments ...interface{}) *StorageMock_Exec_Call
Exec is a helper method to define mock.On call
- ctx context.Context
- sql string
- arguments ...interface{}
func (*StorageMock_Expecter) GetAllL1InfoRootEntries ¶
func (_e *StorageMock_Expecter) GetAllL1InfoRootEntries(ctx interface{}, dbTx interface{}) *StorageMock_GetAllL1InfoRootEntries_Call
GetAllL1InfoRootEntries is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetBatchByForcedBatchNum ¶
func (_e *StorageMock_Expecter) GetBatchByForcedBatchNum(ctx interface{}, forcedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetBatchByForcedBatchNum_Call
GetBatchByForcedBatchNum is a helper method to define mock.On call
- ctx context.Context
- forcedBatchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetBatchByL2BlockNumber ¶
func (_e *StorageMock_Expecter) GetBatchByL2BlockNumber(ctx interface{}, l2BlockNumber interface{}, dbTx interface{}) *StorageMock_GetBatchByL2BlockNumber_Call
GetBatchByL2BlockNumber is a helper method to define mock.On call
- ctx context.Context
- l2BlockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetBatchByNumber ¶
func (_e *StorageMock_Expecter) GetBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetBatchByNumber_Call
GetBatchByNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetBatchByTxHash ¶
func (_e *StorageMock_Expecter) GetBatchByTxHash(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetBatchByTxHash_Call
GetBatchByTxHash is a helper method to define mock.On call
- ctx context.Context
- transactionHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetBatchNumberOfL2Block ¶
func (_e *StorageMock_Expecter) GetBatchNumberOfL2Block(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetBatchNumberOfL2Block_Call
GetBatchNumberOfL2Block is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetBlockByNumber ¶
func (_e *StorageMock_Expecter) GetBlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetBlockByNumber_Call
GetBlockByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetBlockNumAndMainnetExitRootByGER ¶
func (_e *StorageMock_Expecter) GetBlockNumAndMainnetExitRootByGER(ctx interface{}, ger interface{}, dbTx interface{}) *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call
GetBlockNumAndMainnetExitRootByGER is a helper method to define mock.On call
- ctx context.Context
- ger common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetBlockNumVirtualBatchByBatchNum ¶
func (_e *StorageMock_Expecter) GetBlockNumVirtualBatchByBatchNum(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
GetBlockNumVirtualBatchByBatchNum is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetDSBatches ¶
func (_e *StorageMock_Expecter) GetDSBatches(ctx interface{}, firstBatchNumber interface{}, lastBatchNumber interface{}, readWIPBatch interface{}, dbTx interface{}) *StorageMock_GetDSBatches_Call
GetDSBatches is a helper method to define mock.On call
- ctx context.Context
- firstBatchNumber uint64
- lastBatchNumber uint64
- readWIPBatch bool
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetDSGenesisBlock ¶
func (_e *StorageMock_Expecter) GetDSGenesisBlock(ctx interface{}, dbTx interface{}) *StorageMock_GetDSGenesisBlock_Call
GetDSGenesisBlock is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetDSL2Blocks ¶
func (_e *StorageMock_Expecter) GetDSL2Blocks(ctx interface{}, firstBatchNumber interface{}, lastBatchNumber interface{}, dbTx interface{}) *StorageMock_GetDSL2Blocks_Call
GetDSL2Blocks is a helper method to define mock.On call
- ctx context.Context
- firstBatchNumber uint64
- lastBatchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetDSL2Transactions ¶
func (_e *StorageMock_Expecter) GetDSL2Transactions(ctx interface{}, firstL2Block interface{}, lastL2Block interface{}, dbTx interface{}) *StorageMock_GetDSL2Transactions_Call
GetDSL2Transactions is a helper method to define mock.On call
- ctx context.Context
- firstL2Block uint64
- lastL2Block uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetEncodedTransactionsByBatchNumber ¶
func (_e *StorageMock_Expecter) GetEncodedTransactionsByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetEncodedTransactionsByBatchNumber_Call
GetEncodedTransactionsByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetExitRootByGlobalExitRoot ¶
func (_e *StorageMock_Expecter) GetExitRootByGlobalExitRoot(ctx interface{}, ger interface{}, dbTx interface{}) *StorageMock_GetExitRootByGlobalExitRoot_Call
GetExitRootByGlobalExitRoot is a helper method to define mock.On call
- ctx context.Context
- ger common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetFirstL2BlockNumberForBatchNumber ¶ added in v0.5.4
func (_e *StorageMock_Expecter) GetFirstL2BlockNumberForBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
GetFirstL2BlockNumberForBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetForcedBatch ¶
func (_e *StorageMock_Expecter) GetForcedBatch(ctx interface{}, forcedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetForcedBatch_Call
GetForcedBatch is a helper method to define mock.On call
- ctx context.Context
- forcedBatchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetForcedBatchParentHash ¶
func (_e *StorageMock_Expecter) GetForcedBatchParentHash(ctx interface{}, forcedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetForcedBatchParentHash_Call
GetForcedBatchParentHash is a helper method to define mock.On call
- ctx context.Context
- forcedBatchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetForcedBatchesSince ¶
func (_e *StorageMock_Expecter) GetForcedBatchesSince(ctx interface{}, forcedBatchNumber interface{}, maxBlockNumber interface{}, dbTx interface{}) *StorageMock_GetForcedBatchesSince_Call
GetForcedBatchesSince is a helper method to define mock.On call
- ctx context.Context
- forcedBatchNumber uint64
- maxBlockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetForkIDByBatchNumber ¶
func (_e *StorageMock_Expecter) GetForkIDByBatchNumber(batchNumber interface{}) *StorageMock_GetForkIDByBatchNumber_Call
GetForkIDByBatchNumber is a helper method to define mock.On call
- batchNumber uint64
func (*StorageMock_Expecter) GetForkIDByBlockNumber ¶
func (_e *StorageMock_Expecter) GetForkIDByBlockNumber(blockNumber interface{}) *StorageMock_GetForkIDByBlockNumber_Call
GetForkIDByBlockNumber is a helper method to define mock.On call
- blockNumber uint64
func (*StorageMock_Expecter) GetForkIDInMemory ¶ added in v0.5.4
func (_e *StorageMock_Expecter) GetForkIDInMemory(forkId interface{}) *StorageMock_GetForkIDInMemory_Call
GetForkIDInMemory is a helper method to define mock.On call
- forkId uint64
func (*StorageMock_Expecter) GetForkIDs ¶
func (_e *StorageMock_Expecter) GetForkIDs(ctx interface{}, dbTx interface{}) *StorageMock_GetForkIDs_Call
GetForkIDs is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL1InfoRootLeafByIndex ¶
func (_e *StorageMock_Expecter) GetL1InfoRootLeafByIndex(ctx interface{}, l1InfoTreeIndex interface{}, dbTx interface{}) *StorageMock_GetL1InfoRootLeafByIndex_Call
GetL1InfoRootLeafByIndex is a helper method to define mock.On call
- ctx context.Context
- l1InfoTreeIndex uint32
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL1InfoRootLeafByL1InfoRoot ¶
func (_e *StorageMock_Expecter) GetL1InfoRootLeafByL1InfoRoot(ctx interface{}, l1InfoRoot interface{}, dbTx interface{}) *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
GetL1InfoRootLeafByL1InfoRoot is a helper method to define mock.On call
- ctx context.Context
- l1InfoRoot common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlockByHash ¶
func (_e *StorageMock_Expecter) GetL2BlockByHash(ctx interface{}, hash interface{}, dbTx interface{}) *StorageMock_GetL2BlockByHash_Call
GetL2BlockByHash is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlockByNumber ¶
func (_e *StorageMock_Expecter) GetL2BlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlockByNumber_Call
GetL2BlockByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlockHashByNumber ¶ added in v0.5.1
func (_e *StorageMock_Expecter) GetL2BlockHashByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlockHashByNumber_Call
GetL2BlockHashByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlockHashesSince ¶
func (_e *StorageMock_Expecter) GetL2BlockHashesSince(ctx interface{}, since interface{}, dbTx interface{}) *StorageMock_GetL2BlockHashesSince_Call
GetL2BlockHashesSince is a helper method to define mock.On call
- ctx context.Context
- since time.Time
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlockHeaderByHash ¶
func (_e *StorageMock_Expecter) GetL2BlockHeaderByHash(ctx interface{}, hash interface{}, dbTx interface{}) *StorageMock_GetL2BlockHeaderByHash_Call
GetL2BlockHeaderByHash is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlockHeaderByNumber ¶
func (_e *StorageMock_Expecter) GetL2BlockHeaderByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlockHeaderByNumber_Call
GetL2BlockHeaderByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlockTransactionCountByHash ¶
func (_e *StorageMock_Expecter) GetL2BlockTransactionCountByHash(ctx interface{}, blockHash interface{}, dbTx interface{}) *StorageMock_GetL2BlockTransactionCountByHash_Call
GetL2BlockTransactionCountByHash is a helper method to define mock.On call
- ctx context.Context
- blockHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlockTransactionCountByNumber ¶
func (_e *StorageMock_Expecter) GetL2BlockTransactionCountByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlockTransactionCountByNumber_Call
GetL2BlockTransactionCountByNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2BlocksByBatchNumber ¶
func (_e *StorageMock_Expecter) GetL2BlocksByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetL2BlocksByBatchNumber_Call
GetL2BlocksByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetL2TxHashByTxHash ¶
func (_e *StorageMock_Expecter) GetL2TxHashByTxHash(ctx interface{}, hash interface{}, dbTx interface{}) *StorageMock_GetL2TxHashByTxHash_Call
GetL2TxHashByTxHash is a helper method to define mock.On call
- ctx context.Context
- hash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastBatchNumber ¶
func (_e *StorageMock_Expecter) GetLastBatchNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastBatchNumber_Call
GetLastBatchNumber is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastBatchTime ¶
func (_e *StorageMock_Expecter) GetLastBatchTime(ctx interface{}, dbTx interface{}) *StorageMock_GetLastBatchTime_Call
GetLastBatchTime is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastBlock ¶
func (_e *StorageMock_Expecter) GetLastBlock(ctx interface{}, dbTx interface{}) *StorageMock_GetLastBlock_Call
GetLastBlock is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastClosedBatch ¶
func (_e *StorageMock_Expecter) GetLastClosedBatch(ctx interface{}, dbTx interface{}) *StorageMock_GetLastClosedBatch_Call
GetLastClosedBatch is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastClosedBatchNumber ¶
func (_e *StorageMock_Expecter) GetLastClosedBatchNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastClosedBatchNumber_Call
GetLastClosedBatchNumber is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastConsolidatedL2BlockNumber ¶
func (_e *StorageMock_Expecter) GetLastConsolidatedL2BlockNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastConsolidatedL2BlockNumber_Call
GetLastConsolidatedL2BlockNumber is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastL2Block ¶
func (_e *StorageMock_Expecter) GetLastL2Block(ctx interface{}, dbTx interface{}) *StorageMock_GetLastL2Block_Call
GetLastL2Block is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastL2BlockByBatchNumber ¶ added in v0.6.0
func (_e *StorageMock_Expecter) GetLastL2BlockByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetLastL2BlockByBatchNumber_Call
GetLastL2BlockByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastL2BlockCreatedAt ¶
func (_e *StorageMock_Expecter) GetLastL2BlockCreatedAt(ctx interface{}, dbTx interface{}) *StorageMock_GetLastL2BlockCreatedAt_Call
GetLastL2BlockCreatedAt is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastL2BlockHeader ¶
func (_e *StorageMock_Expecter) GetLastL2BlockHeader(ctx interface{}, dbTx interface{}) *StorageMock_GetLastL2BlockHeader_Call
GetLastL2BlockHeader is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastL2BlockNumber ¶
func (_e *StorageMock_Expecter) GetLastL2BlockNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastL2BlockNumber_Call
GetLastL2BlockNumber is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastNBatches ¶
func (_e *StorageMock_Expecter) GetLastNBatches(ctx interface{}, numBatches interface{}, dbTx interface{}) *StorageMock_GetLastNBatches_Call
GetLastNBatches is a helper method to define mock.On call
- ctx context.Context
- numBatches uint
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastNBatchesByL2BlockNumber ¶
func (_e *StorageMock_Expecter) GetLastNBatchesByL2BlockNumber(ctx interface{}, l2BlockNumber interface{}, numBatches interface{}, dbTx interface{}) *StorageMock_GetLastNBatchesByL2BlockNumber_Call
GetLastNBatchesByL2BlockNumber is a helper method to define mock.On call
- ctx context.Context
- l2BlockNumber *uint64
- numBatches uint
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastTrustedForcedBatchNumber ¶
func (_e *StorageMock_Expecter) GetLastTrustedForcedBatchNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastTrustedForcedBatchNumber_Call
GetLastTrustedForcedBatchNumber is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastVerifiedBatch ¶
func (_e *StorageMock_Expecter) GetLastVerifiedBatch(ctx interface{}, dbTx interface{}) *StorageMock_GetLastVerifiedBatch_Call
GetLastVerifiedBatch is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastVerifiedBatchNumberUntilL1Block ¶
func (_e *StorageMock_Expecter) GetLastVerifiedBatchNumberUntilL1Block(ctx interface{}, l1BlockNumber interface{}, dbTx interface{}) *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
GetLastVerifiedBatchNumberUntilL1Block is a helper method to define mock.On call
- ctx context.Context
- l1BlockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastVerifiedL2BlockNumberUntilL1Block ¶
func (_e *StorageMock_Expecter) GetLastVerifiedL2BlockNumberUntilL1Block(ctx interface{}, l1FinalizedBlockNumber interface{}, dbTx interface{}) *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
GetLastVerifiedL2BlockNumberUntilL1Block is a helper method to define mock.On call
- ctx context.Context
- l1FinalizedBlockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastVirtualBatchNum ¶
func (_e *StorageMock_Expecter) GetLastVirtualBatchNum(ctx interface{}, dbTx interface{}) *StorageMock_GetLastVirtualBatchNum_Call
GetLastVirtualBatchNum is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLastVirtualizedL2BlockNumber ¶
func (_e *StorageMock_Expecter) GetLastVirtualizedL2BlockNumber(ctx interface{}, dbTx interface{}) *StorageMock_GetLastVirtualizedL2BlockNumber_Call
GetLastVirtualizedL2BlockNumber is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLatestBatchGlobalExitRoot ¶
func (_e *StorageMock_Expecter) GetLatestBatchGlobalExitRoot(ctx interface{}, dbTx interface{}) *StorageMock_GetLatestBatchGlobalExitRoot_Call
GetLatestBatchGlobalExitRoot is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLatestGer ¶
func (_e *StorageMock_Expecter) GetLatestGer(ctx interface{}, maxBlockNumber interface{}) *StorageMock_GetLatestGer_Call
GetLatestGer is a helper method to define mock.On call
- ctx context.Context
- maxBlockNumber uint64
func (*StorageMock_Expecter) GetLatestGlobalExitRoot ¶
func (_e *StorageMock_Expecter) GetLatestGlobalExitRoot(ctx interface{}, maxBlockNumber interface{}, dbTx interface{}) *StorageMock_GetLatestGlobalExitRoot_Call
GetLatestGlobalExitRoot is a helper method to define mock.On call
- ctx context.Context
- maxBlockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLatestIndex ¶
func (_e *StorageMock_Expecter) GetLatestIndex(ctx interface{}, dbTx interface{}) *StorageMock_GetLatestIndex_Call
GetLatestIndex is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLatestL1InfoRoot ¶
func (_e *StorageMock_Expecter) GetLatestL1InfoRoot(ctx interface{}, maxBlockNumber interface{}) *StorageMock_GetLatestL1InfoRoot_Call
GetLatestL1InfoRoot is a helper method to define mock.On call
- ctx context.Context
- maxBlockNumber uint64
func (*StorageMock_Expecter) GetLatestVirtualBatchTimestamp ¶
func (_e *StorageMock_Expecter) GetLatestVirtualBatchTimestamp(ctx interface{}, dbTx interface{}) *StorageMock_GetLatestVirtualBatchTimestamp_Call
GetLatestVirtualBatchTimestamp is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLeavesByL1InfoRoot ¶ added in v0.6.5
func (_e *StorageMock_Expecter) GetLeavesByL1InfoRoot(ctx interface{}, l1InfoRoot interface{}, dbTx interface{}) *StorageMock_GetLeavesByL1InfoRoot_Call
GetLeavesByL1InfoRoot is a helper method to define mock.On call
- ctx context.Context
- l1InfoRoot common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLocalExitRootByBatchNumber ¶
func (_e *StorageMock_Expecter) GetLocalExitRootByBatchNumber(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_GetLocalExitRootByBatchNumber_Call
GetLocalExitRootByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLogs ¶
func (_e *StorageMock_Expecter) GetLogs(ctx interface{}, fromBlock interface{}, toBlock interface{}, addresses interface{}, topics interface{}, blockHash interface{}, since interface{}, dbTx interface{}) *StorageMock_GetLogs_Call
GetLogs is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock uint64
- addresses []common.Address
- topics [][]common.Hash
- blockHash *common.Hash
- since *time.Time
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetLogsByBlockNumber ¶
func (_e *StorageMock_Expecter) GetLogsByBlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetLogsByBlockNumber_Call
GetLogsByBlockNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetNativeBlockHashesInRange ¶
func (_e *StorageMock_Expecter) GetNativeBlockHashesInRange(ctx interface{}, fromBlock interface{}, toBlock interface{}, dbTx interface{}) *StorageMock_GetNativeBlockHashesInRange_Call
GetNativeBlockHashesInRange is a helper method to define mock.On call
- ctx context.Context
- fromBlock uint64
- toBlock uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetNextForcedBatches ¶
func (_e *StorageMock_Expecter) GetNextForcedBatches(ctx interface{}, nextForcedBatches interface{}, dbTx interface{}) *StorageMock_GetNextForcedBatches_Call
GetNextForcedBatches is a helper method to define mock.On call
- ctx context.Context
- nextForcedBatches int
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetNotCheckedBatches ¶ added in v0.5.8
func (_e *StorageMock_Expecter) GetNotCheckedBatches(ctx interface{}, dbTx interface{}) *StorageMock_GetNotCheckedBatches_Call
GetNotCheckedBatches is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetNumberOfBlocksSinceLastGERUpdate ¶
func (_e *StorageMock_Expecter) GetNumberOfBlocksSinceLastGERUpdate(ctx interface{}, dbTx interface{}) *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
GetNumberOfBlocksSinceLastGERUpdate is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetPreviousBlock ¶
func (_e *StorageMock_Expecter) GetPreviousBlock(ctx interface{}, offset interface{}, dbTx interface{}) *StorageMock_GetPreviousBlock_Call
GetPreviousBlock is a helper method to define mock.On call
- ctx context.Context
- offset uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetProcessingContext ¶
func (_e *StorageMock_Expecter) GetProcessingContext(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetProcessingContext_Call
GetProcessingContext is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetProofReadyToVerify ¶
func (_e *StorageMock_Expecter) GetProofReadyToVerify(ctx interface{}, lastVerfiedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetProofReadyToVerify_Call
GetProofReadyToVerify is a helper method to define mock.On call
- ctx context.Context
- lastVerfiedBatchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetProofsToAggregate ¶
func (_e *StorageMock_Expecter) GetProofsToAggregate(ctx interface{}, dbTx interface{}) *StorageMock_GetProofsToAggregate_Call
GetProofsToAggregate is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetRawBatchTimestamps ¶
func (_e *StorageMock_Expecter) GetRawBatchTimestamps(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetRawBatchTimestamps_Call
GetRawBatchTimestamps is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetReorgedTransactions ¶
func (_e *StorageMock_Expecter) GetReorgedTransactions(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetReorgedTransactions_Call
GetReorgedTransactions is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetSequences ¶
func (_e *StorageMock_Expecter) GetSequences(ctx interface{}, lastVerifiedBatchNumber interface{}, dbTx interface{}) *StorageMock_GetSequences_Call
GetSequences is a helper method to define mock.On call
- ctx context.Context
- lastVerifiedBatchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetStateRootByBatchNumber ¶
func (_e *StorageMock_Expecter) GetStateRootByBatchNumber(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_GetStateRootByBatchNumber_Call
GetStateRootByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetSyncInfoData ¶ added in v0.5.4
func (_e *StorageMock_Expecter) GetSyncInfoData(ctx interface{}, dbTx interface{}) *StorageMock_GetSyncInfoData_Call
GetSyncInfoData is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTimeForLatestBatchVirtualization ¶
func (_e *StorageMock_Expecter) GetTimeForLatestBatchVirtualization(ctx interface{}, dbTx interface{}) *StorageMock_GetTimeForLatestBatchVirtualization_Call
GetTimeForLatestBatchVirtualization is a helper method to define mock.On call
- ctx context.Context
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTransactionByHash ¶
func (_e *StorageMock_Expecter) GetTransactionByHash(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetTransactionByHash_Call
GetTransactionByHash is a helper method to define mock.On call
- ctx context.Context
- transactionHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTransactionByL2BlockHashAndIndex ¶
func (_e *StorageMock_Expecter) GetTransactionByL2BlockHashAndIndex(ctx interface{}, blockHash interface{}, index interface{}, dbTx interface{}) *StorageMock_GetTransactionByL2BlockHashAndIndex_Call
GetTransactionByL2BlockHashAndIndex is a helper method to define mock.On call
- ctx context.Context
- blockHash common.Hash
- index uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTransactionByL2BlockNumberAndIndex ¶
func (_e *StorageMock_Expecter) GetTransactionByL2BlockNumberAndIndex(ctx interface{}, blockNumber interface{}, index interface{}, dbTx interface{}) *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
GetTransactionByL2BlockNumberAndIndex is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- index uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTransactionByL2Hash ¶
func (_e *StorageMock_Expecter) GetTransactionByL2Hash(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetTransactionByL2Hash_Call
GetTransactionByL2Hash is a helper method to define mock.On call
- ctx context.Context
- transactionHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTransactionEGPLogByHash ¶
func (_e *StorageMock_Expecter) GetTransactionEGPLogByHash(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetTransactionEGPLogByHash_Call
GetTransactionEGPLogByHash is a helper method to define mock.On call
- ctx context.Context
- transactionHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTransactionReceipt ¶
func (_e *StorageMock_Expecter) GetTransactionReceipt(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_GetTransactionReceipt_Call
GetTransactionReceipt is a helper method to define mock.On call
- ctx context.Context
- transactionHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTransactionsByBatchNumber ¶
func (_e *StorageMock_Expecter) GetTransactionsByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetTransactionsByBatchNumber_Call
GetTransactionsByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTxsByBatchNumber ¶
func (_e *StorageMock_Expecter) GetTxsByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetTxsByBatchNumber_Call
GetTxsByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTxsByBlockNumber ¶
func (_e *StorageMock_Expecter) GetTxsByBlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_GetTxsByBlockNumber_Call
GetTxsByBlockNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTxsHashesByBatchNumber ¶
func (_e *StorageMock_Expecter) GetTxsHashesByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetTxsHashesByBatchNumber_Call
GetTxsHashesByBatchNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTxsOlderThanNL1Blocks ¶
func (_e *StorageMock_Expecter) GetTxsOlderThanNL1Blocks(ctx interface{}, nL1Blocks interface{}, dbTx interface{}) *StorageMock_GetTxsOlderThanNL1Blocks_Call
GetTxsOlderThanNL1Blocks is a helper method to define mock.On call
- ctx context.Context
- nL1Blocks uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetTxsOlderThanNL1BlocksUntilTxHash ¶ added in v0.5.8
func (_e *StorageMock_Expecter) GetTxsOlderThanNL1BlocksUntilTxHash(ctx interface{}, nL1Blocks interface{}, earliestTxHash interface{}, dbTx interface{}) *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call
GetTxsOlderThanNL1BlocksUntilTxHash is a helper method to define mock.On call
- ctx context.Context
- nL1Blocks uint64
- earliestTxHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetVerifiedBatch ¶
func (_e *StorageMock_Expecter) GetVerifiedBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetVerifiedBatch_Call
GetVerifiedBatch is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetVirtualBatch ¶
func (_e *StorageMock_Expecter) GetVirtualBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetVirtualBatch_Call
GetVirtualBatch is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetVirtualBatchByNumber ¶
func (_e *StorageMock_Expecter) GetVirtualBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetVirtualBatchByNumber_Call
GetVirtualBatchByNumber is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetVirtualBatchParentHash ¶
func (_e *StorageMock_Expecter) GetVirtualBatchParentHash(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetVirtualBatchParentHash_Call
GetVirtualBatchParentHash is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetVirtualBatchToProve ¶
func (_e *StorageMock_Expecter) GetVirtualBatchToProve(ctx interface{}, lastVerfiedBatchNumber interface{}, maxL1Block interface{}, dbTx interface{}) *StorageMock_GetVirtualBatchToProve_Call
GetVirtualBatchToProve is a helper method to define mock.On call
- ctx context.Context
- lastVerfiedBatchNumber uint64
- maxL1Block uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) GetWIPBatchInStorage ¶
func (_e *StorageMock_Expecter) GetWIPBatchInStorage(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_GetWIPBatchInStorage_Call
GetWIPBatchInStorage is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) IsBatchChecked ¶ added in v0.5.8
func (_e *StorageMock_Expecter) IsBatchChecked(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_IsBatchChecked_Call
IsBatchChecked is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) IsBatchClosed ¶
func (_e *StorageMock_Expecter) IsBatchClosed(ctx interface{}, batchNum interface{}, dbTx interface{}) *StorageMock_IsBatchClosed_Call
IsBatchClosed is a helper method to define mock.On call
- ctx context.Context
- batchNum uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) IsBatchConsolidated ¶
func (_e *StorageMock_Expecter) IsBatchConsolidated(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_IsBatchConsolidated_Call
IsBatchConsolidated is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) IsBatchVirtualized ¶
func (_e *StorageMock_Expecter) IsBatchVirtualized(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_IsBatchVirtualized_Call
IsBatchVirtualized is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) IsL2BlockConsolidated ¶
func (_e *StorageMock_Expecter) IsL2BlockConsolidated(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_IsL2BlockConsolidated_Call
IsL2BlockConsolidated is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) IsL2BlockVirtualized ¶
func (_e *StorageMock_Expecter) IsL2BlockVirtualized(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_IsL2BlockVirtualized_Call
IsL2BlockVirtualized is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) IsSequencingTXSynced ¶
func (_e *StorageMock_Expecter) IsSequencingTXSynced(ctx interface{}, transactionHash interface{}, dbTx interface{}) *StorageMock_IsSequencingTXSynced_Call
IsSequencingTXSynced is a helper method to define mock.On call
- ctx context.Context
- transactionHash common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) OpenBatchInStorage ¶
func (_e *StorageMock_Expecter) OpenBatchInStorage(ctx interface{}, batchContext interface{}, dbTx interface{}) *StorageMock_OpenBatchInStorage_Call
OpenBatchInStorage is a helper method to define mock.On call
- ctx context.Context
- batchContext state.ProcessingContext
- dbTx pgx.Tx
func (*StorageMock_Expecter) OpenWIPBatchInStorage ¶
func (_e *StorageMock_Expecter) OpenWIPBatchInStorage(ctx interface{}, batch interface{}, dbTx interface{}) *StorageMock_OpenWIPBatchInStorage_Call
OpenWIPBatchInStorage is a helper method to define mock.On call
- ctx context.Context
- batch state.Batch
- dbTx pgx.Tx
func (*StorageMock_Expecter) Query ¶
func (_e *StorageMock_Expecter) Query(ctx interface{}, sql interface{}, args ...interface{}) *StorageMock_Query_Call
Query is a helper method to define mock.On call
- ctx context.Context
- sql string
- args ...interface{}
func (*StorageMock_Expecter) QueryRow ¶
func (_e *StorageMock_Expecter) QueryRow(ctx interface{}, sql interface{}, args ...interface{}) *StorageMock_QueryRow_Call
QueryRow is a helper method to define mock.On call
- ctx context.Context
- sql string
- args ...interface{}
func (*StorageMock_Expecter) ResetForkID ¶
func (_e *StorageMock_Expecter) ResetForkID(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_ResetForkID_Call
ResetForkID is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) ResetToL1BlockNumber ¶ added in v0.5.5
func (_e *StorageMock_Expecter) ResetToL1BlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StorageMock_ResetToL1BlockNumber_Call
ResetToL1BlockNumber is a helper method to define mock.On call
- ctx context.Context
- blockNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) ResetTrustedState ¶
func (_e *StorageMock_Expecter) ResetTrustedState(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_ResetTrustedState_Call
ResetTrustedState is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) SetInitSyncBatch ¶
func (_e *StorageMock_Expecter) SetInitSyncBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_SetInitSyncBatch_Call
SetInitSyncBatch is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) SetLastBatchInfoSeenOnEthereum ¶
func (_e *StorageMock_Expecter) SetLastBatchInfoSeenOnEthereum(ctx interface{}, lastBatchNumberSeen interface{}, lastBatchNumberVerified interface{}, dbTx interface{}) *StorageMock_SetLastBatchInfoSeenOnEthereum_Call
SetLastBatchInfoSeenOnEthereum is a helper method to define mock.On call
- ctx context.Context
- lastBatchNumberSeen uint64
- lastBatchNumberVerified uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) StoreGenesisBatch ¶
func (_e *StorageMock_Expecter) StoreGenesisBatch(ctx interface{}, batch interface{}, closingReason interface{}, dbTx interface{}) *StorageMock_StoreGenesisBatch_Call
StoreGenesisBatch is a helper method to define mock.On call
- ctx context.Context
- batch state.Batch
- closingReason string
- dbTx pgx.Tx
func (*StorageMock_Expecter) UpdateBatchAsChecked ¶ added in v0.5.8
func (_e *StorageMock_Expecter) UpdateBatchAsChecked(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StorageMock_UpdateBatchAsChecked_Call
UpdateBatchAsChecked is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- dbTx pgx.Tx
func (*StorageMock_Expecter) UpdateBatchL2Data ¶
func (_e *StorageMock_Expecter) UpdateBatchL2Data(ctx interface{}, batchNumber interface{}, batchL2Data interface{}, dbTx interface{}) *StorageMock_UpdateBatchL2Data_Call
UpdateBatchL2Data is a helper method to define mock.On call
- ctx context.Context
- batchNumber uint64
- batchL2Data []byte
- dbTx pgx.Tx
func (*StorageMock_Expecter) UpdateForkIDBlockNumber ¶ added in v0.6.3
func (_e *StorageMock_Expecter) UpdateForkIDBlockNumber(ctx interface{}, forkdID interface{}, newBlockNumber interface{}, updateMemCache interface{}, dbTx interface{}) *StorageMock_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 (*StorageMock_Expecter) UpdateForkIDIntervalsInMemory ¶
func (_e *StorageMock_Expecter) UpdateForkIDIntervalsInMemory(intervals interface{}) *StorageMock_UpdateForkIDIntervalsInMemory_Call
UpdateForkIDIntervalsInMemory is a helper method to define mock.On call
- intervals []state.ForkIDInterval
func (*StorageMock_Expecter) UpdateForkIDToBatchNumber ¶ added in v0.6.3
func (_e *StorageMock_Expecter) UpdateForkIDToBatchNumber(ctx interface{}, forkID interface{}, dbTx interface{}) *StorageMock_UpdateForkIDToBatchNumber_Call
UpdateForkIDToBatchNumber is a helper method to define mock.On call
- ctx context.Context
- forkID state.ForkIDInterval
- dbTx pgx.Tx
func (*StorageMock_Expecter) UpdateGERInOpenBatch ¶
func (_e *StorageMock_Expecter) UpdateGERInOpenBatch(ctx interface{}, ger interface{}, dbTx interface{}) *StorageMock_UpdateGERInOpenBatch_Call
UpdateGERInOpenBatch is a helper method to define mock.On call
- ctx context.Context
- ger common.Hash
- dbTx pgx.Tx
func (*StorageMock_Expecter) UpdateGeneratedProof ¶
func (_e *StorageMock_Expecter) UpdateGeneratedProof(ctx interface{}, proof interface{}, dbTx interface{}) *StorageMock_UpdateGeneratedProof_Call
UpdateGeneratedProof is a helper method to define mock.On call
- ctx context.Context
- proof *state.Proof
- dbTx pgx.Tx
func (*StorageMock_Expecter) UpdateWIPBatch ¶
func (_e *StorageMock_Expecter) UpdateWIPBatch(ctx interface{}, receipt interface{}, dbTx interface{}) *StorageMock_UpdateWIPBatch_Call
UpdateWIPBatch is a helper method to define mock.On call
- ctx context.Context
- receipt state.ProcessingReceipt
- dbTx pgx.Tx
type StorageMock_GetAllL1InfoRootEntries_Call ¶
StorageMock_GetAllL1InfoRootEntries_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetAllL1InfoRootEntries'
func (*StorageMock_GetAllL1InfoRootEntries_Call) Return ¶
func (_c *StorageMock_GetAllL1InfoRootEntries_Call) Return(_a0 []state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetAllL1InfoRootEntries_Call
func (*StorageMock_GetAllL1InfoRootEntries_Call) Run ¶
func (_c *StorageMock_GetAllL1InfoRootEntries_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetAllL1InfoRootEntries_Call
func (*StorageMock_GetAllL1InfoRootEntries_Call) RunAndReturn ¶
func (_c *StorageMock_GetAllL1InfoRootEntries_Call) RunAndReturn(run func(context.Context, pgx.Tx) ([]state.L1InfoTreeExitRootStorageEntry, error)) *StorageMock_GetAllL1InfoRootEntries_Call
type StorageMock_GetBatchByForcedBatchNum_Call ¶
StorageMock_GetBatchByForcedBatchNum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchByForcedBatchNum'
func (*StorageMock_GetBatchByForcedBatchNum_Call) Return ¶
func (_c *StorageMock_GetBatchByForcedBatchNum_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetBatchByForcedBatchNum_Call
func (*StorageMock_GetBatchByForcedBatchNum_Call) Run ¶
func (_c *StorageMock_GetBatchByForcedBatchNum_Call) Run(run func(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBatchByForcedBatchNum_Call
func (*StorageMock_GetBatchByForcedBatchNum_Call) RunAndReturn ¶
func (_c *StorageMock_GetBatchByForcedBatchNum_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetBatchByForcedBatchNum_Call
type StorageMock_GetBatchByL2BlockNumber_Call ¶
StorageMock_GetBatchByL2BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchByL2BlockNumber'
func (*StorageMock_GetBatchByL2BlockNumber_Call) Return ¶
func (_c *StorageMock_GetBatchByL2BlockNumber_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetBatchByL2BlockNumber_Call
func (*StorageMock_GetBatchByL2BlockNumber_Call) Run ¶
func (_c *StorageMock_GetBatchByL2BlockNumber_Call) Run(run func(ctx context.Context, l2BlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBatchByL2BlockNumber_Call
func (*StorageMock_GetBatchByL2BlockNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetBatchByL2BlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetBatchByL2BlockNumber_Call
type StorageMock_GetBatchByNumber_Call ¶
StorageMock_GetBatchByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchByNumber'
func (*StorageMock_GetBatchByNumber_Call) Return ¶
func (_c *StorageMock_GetBatchByNumber_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetBatchByNumber_Call
func (*StorageMock_GetBatchByNumber_Call) Run ¶
func (_c *StorageMock_GetBatchByNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBatchByNumber_Call
func (*StorageMock_GetBatchByNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetBatchByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetBatchByNumber_Call
type StorageMock_GetBatchByTxHash_Call ¶
StorageMock_GetBatchByTxHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchByTxHash'
func (*StorageMock_GetBatchByTxHash_Call) Return ¶
func (_c *StorageMock_GetBatchByTxHash_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetBatchByTxHash_Call
func (*StorageMock_GetBatchByTxHash_Call) Run ¶
func (_c *StorageMock_GetBatchByTxHash_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetBatchByTxHash_Call
func (*StorageMock_GetBatchByTxHash_Call) RunAndReturn ¶
type StorageMock_GetBatchNumberOfL2Block_Call ¶
StorageMock_GetBatchNumberOfL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBatchNumberOfL2Block'
func (*StorageMock_GetBatchNumberOfL2Block_Call) Return ¶
func (_c *StorageMock_GetBatchNumberOfL2Block_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetBatchNumberOfL2Block_Call
func (*StorageMock_GetBatchNumberOfL2Block_Call) Run ¶
func (_c *StorageMock_GetBatchNumberOfL2Block_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBatchNumberOfL2Block_Call
func (*StorageMock_GetBatchNumberOfL2Block_Call) RunAndReturn ¶
func (_c *StorageMock_GetBatchNumberOfL2Block_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetBatchNumberOfL2Block_Call
type StorageMock_GetBlockByNumber_Call ¶
StorageMock_GetBlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockByNumber'
func (*StorageMock_GetBlockByNumber_Call) Return ¶
func (_c *StorageMock_GetBlockByNumber_Call) Return(_a0 *state.Block, _a1 error) *StorageMock_GetBlockByNumber_Call
func (*StorageMock_GetBlockByNumber_Call) Run ¶
func (_c *StorageMock_GetBlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetBlockByNumber_Call
func (*StorageMock_GetBlockByNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetBlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StorageMock_GetBlockByNumber_Call
type StorageMock_GetBlockNumAndMainnetExitRootByGER_Call ¶
StorageMock_GetBlockNumAndMainnetExitRootByGER_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockNumAndMainnetExitRootByGER'
func (*StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) Return ¶
func (_c *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) Return(_a0 uint64, _a1 common.Hash, _a2 error) *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call
func (*StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) Run ¶
func (_c *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) Run(run func(ctx context.Context, ger common.Hash, dbTx pgx.Tx)) *StorageMock_GetBlockNumAndMainnetExitRootByGER_Call
func (*StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) RunAndReturn ¶
type StorageMock_GetBlockNumVirtualBatchByBatchNum_Call ¶
StorageMock_GetBlockNumVirtualBatchByBatchNum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetBlockNumVirtualBatchByBatchNum'
func (*StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) Return ¶
func (_c *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
func (*StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) Run ¶
func (_c *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
func (*StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) RunAndReturn ¶
func (_c *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetBlockNumVirtualBatchByBatchNum_Call
type StorageMock_GetDSBatches_Call ¶
StorageMock_GetDSBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDSBatches'
func (*StorageMock_GetDSBatches_Call) Return ¶
func (_c *StorageMock_GetDSBatches_Call) Return(_a0 []*state.DSBatch, _a1 error) *StorageMock_GetDSBatches_Call
func (*StorageMock_GetDSBatches_Call) Run ¶
func (_c *StorageMock_GetDSBatches_Call) Run(run func(ctx context.Context, firstBatchNumber uint64, lastBatchNumber uint64, readWIPBatch bool, dbTx pgx.Tx)) *StorageMock_GetDSBatches_Call
func (*StorageMock_GetDSBatches_Call) RunAndReturn ¶
type StorageMock_GetDSGenesisBlock_Call ¶
StorageMock_GetDSGenesisBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDSGenesisBlock'
func (*StorageMock_GetDSGenesisBlock_Call) Return ¶
func (_c *StorageMock_GetDSGenesisBlock_Call) Return(_a0 *state.DSL2Block, _a1 error) *StorageMock_GetDSGenesisBlock_Call
func (*StorageMock_GetDSGenesisBlock_Call) Run ¶
func (_c *StorageMock_GetDSGenesisBlock_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetDSGenesisBlock_Call
func (*StorageMock_GetDSGenesisBlock_Call) RunAndReturn ¶
func (_c *StorageMock_GetDSGenesisBlock_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.DSL2Block, error)) *StorageMock_GetDSGenesisBlock_Call
type StorageMock_GetDSL2Blocks_Call ¶
StorageMock_GetDSL2Blocks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDSL2Blocks'
func (*StorageMock_GetDSL2Blocks_Call) Return ¶
func (_c *StorageMock_GetDSL2Blocks_Call) Return(_a0 []*state.DSL2Block, _a1 error) *StorageMock_GetDSL2Blocks_Call
func (*StorageMock_GetDSL2Blocks_Call) Run ¶
func (_c *StorageMock_GetDSL2Blocks_Call) Run(run func(ctx context.Context, firstBatchNumber uint64, lastBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetDSL2Blocks_Call
func (*StorageMock_GetDSL2Blocks_Call) RunAndReturn ¶
type StorageMock_GetDSL2Transactions_Call ¶
StorageMock_GetDSL2Transactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetDSL2Transactions'
func (*StorageMock_GetDSL2Transactions_Call) Return ¶
func (_c *StorageMock_GetDSL2Transactions_Call) Return(_a0 []*state.DSL2Transaction, _a1 error) *StorageMock_GetDSL2Transactions_Call
func (*StorageMock_GetDSL2Transactions_Call) Run ¶
func (_c *StorageMock_GetDSL2Transactions_Call) Run(run func(ctx context.Context, firstL2Block uint64, lastL2Block uint64, dbTx pgx.Tx)) *StorageMock_GetDSL2Transactions_Call
func (*StorageMock_GetDSL2Transactions_Call) RunAndReturn ¶
func (_c *StorageMock_GetDSL2Transactions_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) ([]*state.DSL2Transaction, error)) *StorageMock_GetDSL2Transactions_Call
type StorageMock_GetEncodedTransactionsByBatchNumber_Call ¶
StorageMock_GetEncodedTransactionsByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetEncodedTransactionsByBatchNumber'
func (*StorageMock_GetEncodedTransactionsByBatchNumber_Call) Return ¶
func (_c *StorageMock_GetEncodedTransactionsByBatchNumber_Call) Return(encodedTxs []string, effectivePercentages []uint8, err error) *StorageMock_GetEncodedTransactionsByBatchNumber_Call
func (*StorageMock_GetEncodedTransactionsByBatchNumber_Call) Run ¶
func (_c *StorageMock_GetEncodedTransactionsByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetEncodedTransactionsByBatchNumber_Call
func (*StorageMock_GetEncodedTransactionsByBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetEncodedTransactionsByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]string, []uint8, error)) *StorageMock_GetEncodedTransactionsByBatchNumber_Call
type StorageMock_GetExitRootByGlobalExitRoot_Call ¶
StorageMock_GetExitRootByGlobalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetExitRootByGlobalExitRoot'
func (*StorageMock_GetExitRootByGlobalExitRoot_Call) Return ¶
func (_c *StorageMock_GetExitRootByGlobalExitRoot_Call) Return(_a0 *state.GlobalExitRoot, _a1 error) *StorageMock_GetExitRootByGlobalExitRoot_Call
func (*StorageMock_GetExitRootByGlobalExitRoot_Call) Run ¶
func (_c *StorageMock_GetExitRootByGlobalExitRoot_Call) Run(run func(ctx context.Context, ger common.Hash, dbTx pgx.Tx)) *StorageMock_GetExitRootByGlobalExitRoot_Call
func (*StorageMock_GetExitRootByGlobalExitRoot_Call) RunAndReturn ¶
func (_c *StorageMock_GetExitRootByGlobalExitRoot_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*state.GlobalExitRoot, error)) *StorageMock_GetExitRootByGlobalExitRoot_Call
type StorageMock_GetFirstL2BlockNumberForBatchNumber_Call ¶ added in v0.5.4
StorageMock_GetFirstL2BlockNumberForBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetFirstL2BlockNumberForBatchNumber'
func (*StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) Return ¶ added in v0.5.4
func (_c *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
func (*StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) Run ¶ added in v0.5.4
func (_c *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
func (*StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) RunAndReturn ¶ added in v0.5.4
func (_c *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetFirstL2BlockNumberForBatchNumber_Call
type StorageMock_GetForcedBatchParentHash_Call ¶
StorageMock_GetForcedBatchParentHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForcedBatchParentHash'
func (*StorageMock_GetForcedBatchParentHash_Call) Return ¶
func (_c *StorageMock_GetForcedBatchParentHash_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetForcedBatchParentHash_Call
func (*StorageMock_GetForcedBatchParentHash_Call) Run ¶
func (_c *StorageMock_GetForcedBatchParentHash_Call) Run(run func(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetForcedBatchParentHash_Call
func (*StorageMock_GetForcedBatchParentHash_Call) RunAndReturn ¶
func (_c *StorageMock_GetForcedBatchParentHash_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetForcedBatchParentHash_Call
type StorageMock_GetForcedBatch_Call ¶
StorageMock_GetForcedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForcedBatch'
func (*StorageMock_GetForcedBatch_Call) Return ¶
func (_c *StorageMock_GetForcedBatch_Call) Return(_a0 *state.ForcedBatch, _a1 error) *StorageMock_GetForcedBatch_Call
func (*StorageMock_GetForcedBatch_Call) Run ¶
func (_c *StorageMock_GetForcedBatch_Call) Run(run func(ctx context.Context, forcedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetForcedBatch_Call
func (*StorageMock_GetForcedBatch_Call) RunAndReturn ¶
func (_c *StorageMock_GetForcedBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.ForcedBatch, error)) *StorageMock_GetForcedBatch_Call
type StorageMock_GetForcedBatchesSince_Call ¶
StorageMock_GetForcedBatchesSince_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForcedBatchesSince'
func (*StorageMock_GetForcedBatchesSince_Call) Return ¶
func (_c *StorageMock_GetForcedBatchesSince_Call) Return(_a0 []*state.ForcedBatch, _a1 error) *StorageMock_GetForcedBatchesSince_Call
func (*StorageMock_GetForcedBatchesSince_Call) Run ¶
func (_c *StorageMock_GetForcedBatchesSince_Call) Run(run func(ctx context.Context, forcedBatchNumber uint64, maxBlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetForcedBatchesSince_Call
func (*StorageMock_GetForcedBatchesSince_Call) RunAndReturn ¶
func (_c *StorageMock_GetForcedBatchesSince_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) ([]*state.ForcedBatch, error)) *StorageMock_GetForcedBatchesSince_Call
type StorageMock_GetForkIDByBatchNumber_Call ¶
StorageMock_GetForkIDByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForkIDByBatchNumber'
func (*StorageMock_GetForkIDByBatchNumber_Call) Return ¶
func (_c *StorageMock_GetForkIDByBatchNumber_Call) Return(_a0 uint64) *StorageMock_GetForkIDByBatchNumber_Call
func (*StorageMock_GetForkIDByBatchNumber_Call) Run ¶
func (_c *StorageMock_GetForkIDByBatchNumber_Call) Run(run func(batchNumber uint64)) *StorageMock_GetForkIDByBatchNumber_Call
func (*StorageMock_GetForkIDByBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetForkIDByBatchNumber_Call) RunAndReturn(run func(uint64) uint64) *StorageMock_GetForkIDByBatchNumber_Call
type StorageMock_GetForkIDByBlockNumber_Call ¶
StorageMock_GetForkIDByBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForkIDByBlockNumber'
func (*StorageMock_GetForkIDByBlockNumber_Call) Return ¶
func (_c *StorageMock_GetForkIDByBlockNumber_Call) Return(_a0 uint64) *StorageMock_GetForkIDByBlockNumber_Call
func (*StorageMock_GetForkIDByBlockNumber_Call) Run ¶
func (_c *StorageMock_GetForkIDByBlockNumber_Call) Run(run func(blockNumber uint64)) *StorageMock_GetForkIDByBlockNumber_Call
func (*StorageMock_GetForkIDByBlockNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetForkIDByBlockNumber_Call) RunAndReturn(run func(uint64) uint64) *StorageMock_GetForkIDByBlockNumber_Call
type StorageMock_GetForkIDInMemory_Call ¶ added in v0.5.4
StorageMock_GetForkIDInMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForkIDInMemory'
func (*StorageMock_GetForkIDInMemory_Call) Return ¶ added in v0.5.4
func (_c *StorageMock_GetForkIDInMemory_Call) Return(_a0 *state.ForkIDInterval) *StorageMock_GetForkIDInMemory_Call
func (*StorageMock_GetForkIDInMemory_Call) Run ¶ added in v0.5.4
func (_c *StorageMock_GetForkIDInMemory_Call) Run(run func(forkId uint64)) *StorageMock_GetForkIDInMemory_Call
func (*StorageMock_GetForkIDInMemory_Call) RunAndReturn ¶ added in v0.5.4
func (_c *StorageMock_GetForkIDInMemory_Call) RunAndReturn(run func(uint64) *state.ForkIDInterval) *StorageMock_GetForkIDInMemory_Call
type StorageMock_GetForkIDs_Call ¶
StorageMock_GetForkIDs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetForkIDs'
func (*StorageMock_GetForkIDs_Call) Return ¶
func (_c *StorageMock_GetForkIDs_Call) Return(_a0 []state.ForkIDInterval, _a1 error) *StorageMock_GetForkIDs_Call
func (*StorageMock_GetForkIDs_Call) Run ¶
func (_c *StorageMock_GetForkIDs_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetForkIDs_Call
func (*StorageMock_GetForkIDs_Call) RunAndReturn ¶
func (_c *StorageMock_GetForkIDs_Call) RunAndReturn(run func(context.Context, pgx.Tx) ([]state.ForkIDInterval, error)) *StorageMock_GetForkIDs_Call
type StorageMock_GetL1InfoRootLeafByIndex_Call ¶
StorageMock_GetL1InfoRootLeafByIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoRootLeafByIndex'
func (*StorageMock_GetL1InfoRootLeafByIndex_Call) Return ¶
func (_c *StorageMock_GetL1InfoRootLeafByIndex_Call) Return(_a0 state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetL1InfoRootLeafByIndex_Call
func (*StorageMock_GetL1InfoRootLeafByIndex_Call) Run ¶
func (_c *StorageMock_GetL1InfoRootLeafByIndex_Call) Run(run func(ctx context.Context, l1InfoTreeIndex uint32, dbTx pgx.Tx)) *StorageMock_GetL1InfoRootLeafByIndex_Call
func (*StorageMock_GetL1InfoRootLeafByIndex_Call) RunAndReturn ¶
func (_c *StorageMock_GetL1InfoRootLeafByIndex_Call) RunAndReturn(run func(context.Context, uint32, pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)) *StorageMock_GetL1InfoRootLeafByIndex_Call
type StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call ¶
StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoRootLeafByL1InfoRoot'
func (*StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) Return ¶
func (_c *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) Return(_a0 state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
func (*StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) Run ¶
func (_c *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) Run(run func(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx)) *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
func (*StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) RunAndReturn ¶
func (_c *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)) *StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call
type StorageMock_GetL2BlockByHash_Call ¶
StorageMock_GetL2BlockByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockByHash'
func (*StorageMock_GetL2BlockByHash_Call) Return ¶
func (_c *StorageMock_GetL2BlockByHash_Call) Return(_a0 *state.L2Block, _a1 error) *StorageMock_GetL2BlockByHash_Call
func (*StorageMock_GetL2BlockByHash_Call) Run ¶
func (_c *StorageMock_GetL2BlockByHash_Call) Run(run func(ctx context.Context, hash common.Hash, dbTx pgx.Tx)) *StorageMock_GetL2BlockByHash_Call
func (*StorageMock_GetL2BlockByHash_Call) RunAndReturn ¶
type StorageMock_GetL2BlockByNumber_Call ¶
StorageMock_GetL2BlockByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockByNumber'
func (*StorageMock_GetL2BlockByNumber_Call) Return ¶
func (_c *StorageMock_GetL2BlockByNumber_Call) Return(_a0 *state.L2Block, _a1 error) *StorageMock_GetL2BlockByNumber_Call
func (*StorageMock_GetL2BlockByNumber_Call) Run ¶
func (_c *StorageMock_GetL2BlockByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlockByNumber_Call
func (*StorageMock_GetL2BlockByNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetL2BlockByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Block, error)) *StorageMock_GetL2BlockByNumber_Call
type StorageMock_GetL2BlockHashByNumber_Call ¶ added in v0.5.1
StorageMock_GetL2BlockHashByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockHashByNumber'
func (*StorageMock_GetL2BlockHashByNumber_Call) Return ¶ added in v0.5.1
func (_c *StorageMock_GetL2BlockHashByNumber_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetL2BlockHashByNumber_Call
func (*StorageMock_GetL2BlockHashByNumber_Call) Run ¶ added in v0.5.1
func (_c *StorageMock_GetL2BlockHashByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlockHashByNumber_Call
func (*StorageMock_GetL2BlockHashByNumber_Call) RunAndReturn ¶ added in v0.5.1
func (_c *StorageMock_GetL2BlockHashByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetL2BlockHashByNumber_Call
type StorageMock_GetL2BlockHashesSince_Call ¶
StorageMock_GetL2BlockHashesSince_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockHashesSince'
func (*StorageMock_GetL2BlockHashesSince_Call) Return ¶
func (_c *StorageMock_GetL2BlockHashesSince_Call) Return(_a0 []common.Hash, _a1 error) *StorageMock_GetL2BlockHashesSince_Call
func (*StorageMock_GetL2BlockHashesSince_Call) Run ¶
func (_c *StorageMock_GetL2BlockHashesSince_Call) Run(run func(ctx context.Context, since time.Time, dbTx pgx.Tx)) *StorageMock_GetL2BlockHashesSince_Call
func (*StorageMock_GetL2BlockHashesSince_Call) RunAndReturn ¶
type StorageMock_GetL2BlockHeaderByHash_Call ¶
StorageMock_GetL2BlockHeaderByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockHeaderByHash'
func (*StorageMock_GetL2BlockHeaderByHash_Call) Return ¶
func (_c *StorageMock_GetL2BlockHeaderByHash_Call) Return(_a0 *state.L2Header, _a1 error) *StorageMock_GetL2BlockHeaderByHash_Call
func (*StorageMock_GetL2BlockHeaderByHash_Call) Run ¶
func (_c *StorageMock_GetL2BlockHeaderByHash_Call) Run(run func(ctx context.Context, hash common.Hash, dbTx pgx.Tx)) *StorageMock_GetL2BlockHeaderByHash_Call
func (*StorageMock_GetL2BlockHeaderByHash_Call) RunAndReturn ¶
type StorageMock_GetL2BlockHeaderByNumber_Call ¶
StorageMock_GetL2BlockHeaderByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockHeaderByNumber'
func (*StorageMock_GetL2BlockHeaderByNumber_Call) Return ¶
func (_c *StorageMock_GetL2BlockHeaderByNumber_Call) Return(_a0 *state.L2Header, _a1 error) *StorageMock_GetL2BlockHeaderByNumber_Call
func (*StorageMock_GetL2BlockHeaderByNumber_Call) Run ¶
func (_c *StorageMock_GetL2BlockHeaderByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlockHeaderByNumber_Call
func (*StorageMock_GetL2BlockHeaderByNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetL2BlockHeaderByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Header, error)) *StorageMock_GetL2BlockHeaderByNumber_Call
type StorageMock_GetL2BlockTransactionCountByHash_Call ¶
StorageMock_GetL2BlockTransactionCountByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockTransactionCountByHash'
func (*StorageMock_GetL2BlockTransactionCountByHash_Call) Return ¶
func (_c *StorageMock_GetL2BlockTransactionCountByHash_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetL2BlockTransactionCountByHash_Call
func (*StorageMock_GetL2BlockTransactionCountByHash_Call) Run ¶
func (_c *StorageMock_GetL2BlockTransactionCountByHash_Call) Run(run func(ctx context.Context, blockHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetL2BlockTransactionCountByHash_Call
func (*StorageMock_GetL2BlockTransactionCountByHash_Call) RunAndReturn ¶
func (_c *StorageMock_GetL2BlockTransactionCountByHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (uint64, error)) *StorageMock_GetL2BlockTransactionCountByHash_Call
type StorageMock_GetL2BlockTransactionCountByNumber_Call ¶
StorageMock_GetL2BlockTransactionCountByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlockTransactionCountByNumber'
func (*StorageMock_GetL2BlockTransactionCountByNumber_Call) Return ¶
func (_c *StorageMock_GetL2BlockTransactionCountByNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetL2BlockTransactionCountByNumber_Call
func (*StorageMock_GetL2BlockTransactionCountByNumber_Call) Run ¶
func (_c *StorageMock_GetL2BlockTransactionCountByNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlockTransactionCountByNumber_Call
func (*StorageMock_GetL2BlockTransactionCountByNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetL2BlockTransactionCountByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetL2BlockTransactionCountByNumber_Call
type StorageMock_GetL2BlocksByBatchNumber_Call ¶
StorageMock_GetL2BlocksByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2BlocksByBatchNumber'
func (*StorageMock_GetL2BlocksByBatchNumber_Call) Return ¶
func (_c *StorageMock_GetL2BlocksByBatchNumber_Call) Return(_a0 []state.L2Block, _a1 error) *StorageMock_GetL2BlocksByBatchNumber_Call
func (*StorageMock_GetL2BlocksByBatchNumber_Call) Run ¶
func (_c *StorageMock_GetL2BlocksByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetL2BlocksByBatchNumber_Call
func (*StorageMock_GetL2BlocksByBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetL2BlocksByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]state.L2Block, error)) *StorageMock_GetL2BlocksByBatchNumber_Call
type StorageMock_GetL2TxHashByTxHash_Call ¶
StorageMock_GetL2TxHashByTxHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL2TxHashByTxHash'
func (*StorageMock_GetL2TxHashByTxHash_Call) Return ¶
func (_c *StorageMock_GetL2TxHashByTxHash_Call) Return(_a0 *common.Hash, _a1 error) *StorageMock_GetL2TxHashByTxHash_Call
func (*StorageMock_GetL2TxHashByTxHash_Call) Run ¶
func (_c *StorageMock_GetL2TxHashByTxHash_Call) Run(run func(ctx context.Context, hash common.Hash, dbTx pgx.Tx)) *StorageMock_GetL2TxHashByTxHash_Call
func (*StorageMock_GetL2TxHashByTxHash_Call) RunAndReturn ¶
type StorageMock_GetLastBatchNumber_Call ¶
StorageMock_GetLastBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastBatchNumber'
func (*StorageMock_GetLastBatchNumber_Call) Return ¶
func (_c *StorageMock_GetLastBatchNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastBatchNumber_Call
func (*StorageMock_GetLastBatchNumber_Call) Run ¶
func (_c *StorageMock_GetLastBatchNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastBatchNumber_Call
func (*StorageMock_GetLastBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastBatchNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastBatchNumber_Call
type StorageMock_GetLastBatchTime_Call ¶
StorageMock_GetLastBatchTime_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastBatchTime'
func (*StorageMock_GetLastBatchTime_Call) Return ¶
func (_c *StorageMock_GetLastBatchTime_Call) Return(_a0 time.Time, _a1 error) *StorageMock_GetLastBatchTime_Call
func (*StorageMock_GetLastBatchTime_Call) Run ¶
func (_c *StorageMock_GetLastBatchTime_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastBatchTime_Call
func (*StorageMock_GetLastBatchTime_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastBatchTime_Call) RunAndReturn(run func(context.Context, pgx.Tx) (time.Time, error)) *StorageMock_GetLastBatchTime_Call
type StorageMock_GetLastBlock_Call ¶
StorageMock_GetLastBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastBlock'
func (*StorageMock_GetLastBlock_Call) Return ¶
func (_c *StorageMock_GetLastBlock_Call) Return(_a0 *state.Block, _a1 error) *StorageMock_GetLastBlock_Call
func (*StorageMock_GetLastBlock_Call) Run ¶
func (_c *StorageMock_GetLastBlock_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastBlock_Call
func (*StorageMock_GetLastBlock_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastBlock_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.Block, error)) *StorageMock_GetLastBlock_Call
type StorageMock_GetLastClosedBatchNumber_Call ¶
StorageMock_GetLastClosedBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastClosedBatchNumber'
func (*StorageMock_GetLastClosedBatchNumber_Call) Return ¶
func (_c *StorageMock_GetLastClosedBatchNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastClosedBatchNumber_Call
func (*StorageMock_GetLastClosedBatchNumber_Call) Run ¶
func (_c *StorageMock_GetLastClosedBatchNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastClosedBatchNumber_Call
func (*StorageMock_GetLastClosedBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastClosedBatchNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastClosedBatchNumber_Call
type StorageMock_GetLastClosedBatch_Call ¶
StorageMock_GetLastClosedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastClosedBatch'
func (*StorageMock_GetLastClosedBatch_Call) Return ¶
func (_c *StorageMock_GetLastClosedBatch_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetLastClosedBatch_Call
func (*StorageMock_GetLastClosedBatch_Call) Run ¶
func (_c *StorageMock_GetLastClosedBatch_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastClosedBatch_Call
func (*StorageMock_GetLastClosedBatch_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastClosedBatch_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.Batch, error)) *StorageMock_GetLastClosedBatch_Call
type StorageMock_GetLastConsolidatedL2BlockNumber_Call ¶
StorageMock_GetLastConsolidatedL2BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastConsolidatedL2BlockNumber'
func (*StorageMock_GetLastConsolidatedL2BlockNumber_Call) Return ¶
func (_c *StorageMock_GetLastConsolidatedL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastConsolidatedL2BlockNumber_Call
func (*StorageMock_GetLastConsolidatedL2BlockNumber_Call) Run ¶
func (_c *StorageMock_GetLastConsolidatedL2BlockNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastConsolidatedL2BlockNumber_Call
func (*StorageMock_GetLastConsolidatedL2BlockNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastConsolidatedL2BlockNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastConsolidatedL2BlockNumber_Call
type StorageMock_GetLastL2BlockByBatchNumber_Call ¶ added in v0.6.0
StorageMock_GetLastL2BlockByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL2BlockByBatchNumber'
func (*StorageMock_GetLastL2BlockByBatchNumber_Call) Return ¶ added in v0.6.0
func (_c *StorageMock_GetLastL2BlockByBatchNumber_Call) Return(_a0 *state.L2Block, _a1 error) *StorageMock_GetLastL2BlockByBatchNumber_Call
func (*StorageMock_GetLastL2BlockByBatchNumber_Call) Run ¶ added in v0.6.0
func (_c *StorageMock_GetLastL2BlockByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLastL2BlockByBatchNumber_Call
func (*StorageMock_GetLastL2BlockByBatchNumber_Call) RunAndReturn ¶ added in v0.6.0
func (_c *StorageMock_GetLastL2BlockByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.L2Block, error)) *StorageMock_GetLastL2BlockByBatchNumber_Call
type StorageMock_GetLastL2BlockCreatedAt_Call ¶
StorageMock_GetLastL2BlockCreatedAt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL2BlockCreatedAt'
func (*StorageMock_GetLastL2BlockCreatedAt_Call) Return ¶
func (_c *StorageMock_GetLastL2BlockCreatedAt_Call) Return(_a0 *time.Time, _a1 error) *StorageMock_GetLastL2BlockCreatedAt_Call
func (*StorageMock_GetLastL2BlockCreatedAt_Call) Run ¶
func (_c *StorageMock_GetLastL2BlockCreatedAt_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastL2BlockCreatedAt_Call
func (*StorageMock_GetLastL2BlockCreatedAt_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastL2BlockCreatedAt_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*time.Time, error)) *StorageMock_GetLastL2BlockCreatedAt_Call
type StorageMock_GetLastL2BlockHeader_Call ¶
StorageMock_GetLastL2BlockHeader_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL2BlockHeader'
func (*StorageMock_GetLastL2BlockHeader_Call) Return ¶
func (_c *StorageMock_GetLastL2BlockHeader_Call) Return(_a0 *state.L2Header, _a1 error) *StorageMock_GetLastL2BlockHeader_Call
func (*StorageMock_GetLastL2BlockHeader_Call) Run ¶
func (_c *StorageMock_GetLastL2BlockHeader_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastL2BlockHeader_Call
func (*StorageMock_GetLastL2BlockHeader_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastL2BlockHeader_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.L2Header, error)) *StorageMock_GetLastL2BlockHeader_Call
type StorageMock_GetLastL2BlockNumber_Call ¶
StorageMock_GetLastL2BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL2BlockNumber'
func (*StorageMock_GetLastL2BlockNumber_Call) Return ¶
func (_c *StorageMock_GetLastL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastL2BlockNumber_Call
func (*StorageMock_GetLastL2BlockNumber_Call) Run ¶
func (_c *StorageMock_GetLastL2BlockNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastL2BlockNumber_Call
func (*StorageMock_GetLastL2BlockNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastL2BlockNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastL2BlockNumber_Call
type StorageMock_GetLastL2Block_Call ¶
StorageMock_GetLastL2Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastL2Block'
func (*StorageMock_GetLastL2Block_Call) Return ¶
func (_c *StorageMock_GetLastL2Block_Call) Return(_a0 *state.L2Block, _a1 error) *StorageMock_GetLastL2Block_Call
func (*StorageMock_GetLastL2Block_Call) Run ¶
func (_c *StorageMock_GetLastL2Block_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastL2Block_Call
func (*StorageMock_GetLastL2Block_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastL2Block_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.L2Block, error)) *StorageMock_GetLastL2Block_Call
type StorageMock_GetLastNBatchesByL2BlockNumber_Call ¶
StorageMock_GetLastNBatchesByL2BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastNBatchesByL2BlockNumber'
func (*StorageMock_GetLastNBatchesByL2BlockNumber_Call) Return ¶
func (_c *StorageMock_GetLastNBatchesByL2BlockNumber_Call) Return(_a0 []*state.Batch, _a1 common.Hash, _a2 error) *StorageMock_GetLastNBatchesByL2BlockNumber_Call
func (*StorageMock_GetLastNBatchesByL2BlockNumber_Call) Run ¶
func (_c *StorageMock_GetLastNBatchesByL2BlockNumber_Call) Run(run func(ctx context.Context, l2BlockNumber *uint64, numBatches uint, dbTx pgx.Tx)) *StorageMock_GetLastNBatchesByL2BlockNumber_Call
func (*StorageMock_GetLastNBatchesByL2BlockNumber_Call) RunAndReturn ¶
type StorageMock_GetLastNBatches_Call ¶
StorageMock_GetLastNBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastNBatches'
func (*StorageMock_GetLastNBatches_Call) Return ¶
func (_c *StorageMock_GetLastNBatches_Call) Return(_a0 []*state.Batch, _a1 error) *StorageMock_GetLastNBatches_Call
func (*StorageMock_GetLastNBatches_Call) Run ¶
func (_c *StorageMock_GetLastNBatches_Call) Run(run func(ctx context.Context, numBatches uint, dbTx pgx.Tx)) *StorageMock_GetLastNBatches_Call
func (*StorageMock_GetLastNBatches_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastNBatches_Call) RunAndReturn(run func(context.Context, uint, pgx.Tx) ([]*state.Batch, error)) *StorageMock_GetLastNBatches_Call
type StorageMock_GetLastTrustedForcedBatchNumber_Call ¶
StorageMock_GetLastTrustedForcedBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastTrustedForcedBatchNumber'
func (*StorageMock_GetLastTrustedForcedBatchNumber_Call) Return ¶
func (_c *StorageMock_GetLastTrustedForcedBatchNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastTrustedForcedBatchNumber_Call
func (*StorageMock_GetLastTrustedForcedBatchNumber_Call) Run ¶
func (_c *StorageMock_GetLastTrustedForcedBatchNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastTrustedForcedBatchNumber_Call
func (*StorageMock_GetLastTrustedForcedBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastTrustedForcedBatchNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastTrustedForcedBatchNumber_Call
type StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call ¶
StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVerifiedBatchNumberUntilL1Block'
func (*StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) Return ¶
func (_c *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
func (*StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) Run ¶
func (_c *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) Run(run func(ctx context.Context, l1BlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
func (*StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call
type StorageMock_GetLastVerifiedBatch_Call ¶
StorageMock_GetLastVerifiedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVerifiedBatch'
func (*StorageMock_GetLastVerifiedBatch_Call) Return ¶
func (_c *StorageMock_GetLastVerifiedBatch_Call) Return(_a0 *state.VerifiedBatch, _a1 error) *StorageMock_GetLastVerifiedBatch_Call
func (*StorageMock_GetLastVerifiedBatch_Call) Run ¶
func (_c *StorageMock_GetLastVerifiedBatch_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastVerifiedBatch_Call
func (*StorageMock_GetLastVerifiedBatch_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastVerifiedBatch_Call) RunAndReturn(run func(context.Context, pgx.Tx) (*state.VerifiedBatch, error)) *StorageMock_GetLastVerifiedBatch_Call
type StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call ¶
StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVerifiedL2BlockNumberUntilL1Block'
func (*StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) Return ¶
func (_c *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
func (*StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) Run ¶
func (_c *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) Run(run func(ctx context.Context, l1FinalizedBlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
func (*StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (uint64, error)) *StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call
type StorageMock_GetLastVirtualBatchNum_Call ¶
StorageMock_GetLastVirtualBatchNum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVirtualBatchNum'
func (*StorageMock_GetLastVirtualBatchNum_Call) Return ¶
func (_c *StorageMock_GetLastVirtualBatchNum_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastVirtualBatchNum_Call
func (*StorageMock_GetLastVirtualBatchNum_Call) Run ¶
func (_c *StorageMock_GetLastVirtualBatchNum_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastVirtualBatchNum_Call
func (*StorageMock_GetLastVirtualBatchNum_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastVirtualBatchNum_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastVirtualBatchNum_Call
type StorageMock_GetLastVirtualizedL2BlockNumber_Call ¶
StorageMock_GetLastVirtualizedL2BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLastVirtualizedL2BlockNumber'
func (*StorageMock_GetLastVirtualizedL2BlockNumber_Call) Return ¶
func (_c *StorageMock_GetLastVirtualizedL2BlockNumber_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetLastVirtualizedL2BlockNumber_Call
func (*StorageMock_GetLastVirtualizedL2BlockNumber_Call) Run ¶
func (_c *StorageMock_GetLastVirtualizedL2BlockNumber_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLastVirtualizedL2BlockNumber_Call
func (*StorageMock_GetLastVirtualizedL2BlockNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetLastVirtualizedL2BlockNumber_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetLastVirtualizedL2BlockNumber_Call
type StorageMock_GetLatestBatchGlobalExitRoot_Call ¶
StorageMock_GetLatestBatchGlobalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestBatchGlobalExitRoot'
func (*StorageMock_GetLatestBatchGlobalExitRoot_Call) Return ¶
func (_c *StorageMock_GetLatestBatchGlobalExitRoot_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetLatestBatchGlobalExitRoot_Call
func (*StorageMock_GetLatestBatchGlobalExitRoot_Call) Run ¶
func (_c *StorageMock_GetLatestBatchGlobalExitRoot_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLatestBatchGlobalExitRoot_Call
func (*StorageMock_GetLatestBatchGlobalExitRoot_Call) RunAndReturn ¶
func (_c *StorageMock_GetLatestBatchGlobalExitRoot_Call) RunAndReturn(run func(context.Context, pgx.Tx) (common.Hash, error)) *StorageMock_GetLatestBatchGlobalExitRoot_Call
type StorageMock_GetLatestGer_Call ¶
StorageMock_GetLatestGer_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestGer'
func (*StorageMock_GetLatestGer_Call) Return ¶
func (_c *StorageMock_GetLatestGer_Call) Return(_a0 state.GlobalExitRoot, _a1 time.Time, _a2 error) *StorageMock_GetLatestGer_Call
func (*StorageMock_GetLatestGer_Call) Run ¶
func (_c *StorageMock_GetLatestGer_Call) Run(run func(ctx context.Context, maxBlockNumber uint64)) *StorageMock_GetLatestGer_Call
func (*StorageMock_GetLatestGer_Call) RunAndReturn ¶
func (_c *StorageMock_GetLatestGer_Call) RunAndReturn(run func(context.Context, uint64) (state.GlobalExitRoot, time.Time, error)) *StorageMock_GetLatestGer_Call
type StorageMock_GetLatestGlobalExitRoot_Call ¶
StorageMock_GetLatestGlobalExitRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestGlobalExitRoot'
func (*StorageMock_GetLatestGlobalExitRoot_Call) Return ¶
func (_c *StorageMock_GetLatestGlobalExitRoot_Call) Return(_a0 state.GlobalExitRoot, _a1 time.Time, _a2 error) *StorageMock_GetLatestGlobalExitRoot_Call
func (*StorageMock_GetLatestGlobalExitRoot_Call) Run ¶
func (_c *StorageMock_GetLatestGlobalExitRoot_Call) Run(run func(ctx context.Context, maxBlockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLatestGlobalExitRoot_Call
func (*StorageMock_GetLatestGlobalExitRoot_Call) RunAndReturn ¶
func (_c *StorageMock_GetLatestGlobalExitRoot_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (state.GlobalExitRoot, time.Time, error)) *StorageMock_GetLatestGlobalExitRoot_Call
type StorageMock_GetLatestIndex_Call ¶
StorageMock_GetLatestIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestIndex'
func (*StorageMock_GetLatestIndex_Call) Return ¶
func (_c *StorageMock_GetLatestIndex_Call) Return(_a0 uint32, _a1 error) *StorageMock_GetLatestIndex_Call
func (*StorageMock_GetLatestIndex_Call) Run ¶
func (_c *StorageMock_GetLatestIndex_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLatestIndex_Call
func (*StorageMock_GetLatestIndex_Call) RunAndReturn ¶
func (_c *StorageMock_GetLatestIndex_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint32, error)) *StorageMock_GetLatestIndex_Call
type StorageMock_GetLatestL1InfoRoot_Call ¶
StorageMock_GetLatestL1InfoRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestL1InfoRoot'
func (*StorageMock_GetLatestL1InfoRoot_Call) Return ¶
func (_c *StorageMock_GetLatestL1InfoRoot_Call) Return(_a0 state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetLatestL1InfoRoot_Call
func (*StorageMock_GetLatestL1InfoRoot_Call) Run ¶
func (_c *StorageMock_GetLatestL1InfoRoot_Call) Run(run func(ctx context.Context, maxBlockNumber uint64)) *StorageMock_GetLatestL1InfoRoot_Call
func (*StorageMock_GetLatestL1InfoRoot_Call) RunAndReturn ¶
func (_c *StorageMock_GetLatestL1InfoRoot_Call) RunAndReturn(run func(context.Context, uint64) (state.L1InfoTreeExitRootStorageEntry, error)) *StorageMock_GetLatestL1InfoRoot_Call
type StorageMock_GetLatestVirtualBatchTimestamp_Call ¶
StorageMock_GetLatestVirtualBatchTimestamp_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLatestVirtualBatchTimestamp'
func (*StorageMock_GetLatestVirtualBatchTimestamp_Call) Return ¶
func (_c *StorageMock_GetLatestVirtualBatchTimestamp_Call) Return(_a0 time.Time, _a1 error) *StorageMock_GetLatestVirtualBatchTimestamp_Call
func (*StorageMock_GetLatestVirtualBatchTimestamp_Call) Run ¶
func (_c *StorageMock_GetLatestVirtualBatchTimestamp_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetLatestVirtualBatchTimestamp_Call
func (*StorageMock_GetLatestVirtualBatchTimestamp_Call) RunAndReturn ¶
func (_c *StorageMock_GetLatestVirtualBatchTimestamp_Call) RunAndReturn(run func(context.Context, pgx.Tx) (time.Time, error)) *StorageMock_GetLatestVirtualBatchTimestamp_Call
type StorageMock_GetLeavesByL1InfoRoot_Call ¶ added in v0.6.5
StorageMock_GetLeavesByL1InfoRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLeavesByL1InfoRoot'
func (*StorageMock_GetLeavesByL1InfoRoot_Call) Return ¶ added in v0.6.5
func (_c *StorageMock_GetLeavesByL1InfoRoot_Call) Return(_a0 []state.L1InfoTreeExitRootStorageEntry, _a1 error) *StorageMock_GetLeavesByL1InfoRoot_Call
func (*StorageMock_GetLeavesByL1InfoRoot_Call) Run ¶ added in v0.6.5
func (_c *StorageMock_GetLeavesByL1InfoRoot_Call) Run(run func(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx)) *StorageMock_GetLeavesByL1InfoRoot_Call
func (*StorageMock_GetLeavesByL1InfoRoot_Call) RunAndReturn ¶ added in v0.6.5
func (_c *StorageMock_GetLeavesByL1InfoRoot_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) ([]state.L1InfoTreeExitRootStorageEntry, error)) *StorageMock_GetLeavesByL1InfoRoot_Call
type StorageMock_GetLocalExitRootByBatchNumber_Call ¶
StorageMock_GetLocalExitRootByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLocalExitRootByBatchNumber'
func (*StorageMock_GetLocalExitRootByBatchNumber_Call) Return ¶
func (_c *StorageMock_GetLocalExitRootByBatchNumber_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetLocalExitRootByBatchNumber_Call
func (*StorageMock_GetLocalExitRootByBatchNumber_Call) Run ¶
func (_c *StorageMock_GetLocalExitRootByBatchNumber_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_GetLocalExitRootByBatchNumber_Call
func (*StorageMock_GetLocalExitRootByBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetLocalExitRootByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetLocalExitRootByBatchNumber_Call
type StorageMock_GetLogsByBlockNumber_Call ¶
StorageMock_GetLogsByBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogsByBlockNumber'
func (*StorageMock_GetLogsByBlockNumber_Call) Return ¶
func (_c *StorageMock_GetLogsByBlockNumber_Call) Return(_a0 []*types.Log, _a1 error) *StorageMock_GetLogsByBlockNumber_Call
func (*StorageMock_GetLogsByBlockNumber_Call) Run ¶
func (_c *StorageMock_GetLogsByBlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetLogsByBlockNumber_Call
func (*StorageMock_GetLogsByBlockNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetLogsByBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Log, error)) *StorageMock_GetLogsByBlockNumber_Call
type StorageMock_GetLogs_Call ¶
StorageMock_GetLogs_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetLogs'
func (*StorageMock_GetLogs_Call) Return ¶
func (_c *StorageMock_GetLogs_Call) Return(_a0 []*types.Log, _a1 error) *StorageMock_GetLogs_Call
type StorageMock_GetNativeBlockHashesInRange_Call ¶
StorageMock_GetNativeBlockHashesInRange_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNativeBlockHashesInRange'
func (*StorageMock_GetNativeBlockHashesInRange_Call) Return ¶
func (_c *StorageMock_GetNativeBlockHashesInRange_Call) Return(_a0 []common.Hash, _a1 error) *StorageMock_GetNativeBlockHashesInRange_Call
func (*StorageMock_GetNativeBlockHashesInRange_Call) Run ¶
func (_c *StorageMock_GetNativeBlockHashesInRange_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64, dbTx pgx.Tx)) *StorageMock_GetNativeBlockHashesInRange_Call
func (*StorageMock_GetNativeBlockHashesInRange_Call) RunAndReturn ¶
type StorageMock_GetNextForcedBatches_Call ¶
StorageMock_GetNextForcedBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNextForcedBatches'
func (*StorageMock_GetNextForcedBatches_Call) Return ¶
func (_c *StorageMock_GetNextForcedBatches_Call) Return(_a0 []state.ForcedBatch, _a1 error) *StorageMock_GetNextForcedBatches_Call
func (*StorageMock_GetNextForcedBatches_Call) Run ¶
func (_c *StorageMock_GetNextForcedBatches_Call) Run(run func(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx)) *StorageMock_GetNextForcedBatches_Call
func (*StorageMock_GetNextForcedBatches_Call) RunAndReturn ¶
func (_c *StorageMock_GetNextForcedBatches_Call) RunAndReturn(run func(context.Context, int, pgx.Tx) ([]state.ForcedBatch, error)) *StorageMock_GetNextForcedBatches_Call
type StorageMock_GetNotCheckedBatches_Call ¶ added in v0.5.8
StorageMock_GetNotCheckedBatches_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNotCheckedBatches'
func (*StorageMock_GetNotCheckedBatches_Call) Return ¶ added in v0.5.8
func (_c *StorageMock_GetNotCheckedBatches_Call) Return(_a0 []*state.Batch, _a1 error) *StorageMock_GetNotCheckedBatches_Call
func (*StorageMock_GetNotCheckedBatches_Call) Run ¶ added in v0.5.8
func (_c *StorageMock_GetNotCheckedBatches_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetNotCheckedBatches_Call
func (*StorageMock_GetNotCheckedBatches_Call) RunAndReturn ¶ added in v0.5.8
func (_c *StorageMock_GetNotCheckedBatches_Call) RunAndReturn(run func(context.Context, pgx.Tx) ([]*state.Batch, error)) *StorageMock_GetNotCheckedBatches_Call
type StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call ¶
StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetNumberOfBlocksSinceLastGERUpdate'
func (*StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) Return ¶
func (_c *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) Return(_a0 uint64, _a1 error) *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
func (*StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) Run ¶
func (_c *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
func (*StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) RunAndReturn ¶
func (_c *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) RunAndReturn(run func(context.Context, pgx.Tx) (uint64, error)) *StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call
type StorageMock_GetPreviousBlock_Call ¶
StorageMock_GetPreviousBlock_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetPreviousBlock'
func (*StorageMock_GetPreviousBlock_Call) Return ¶
func (_c *StorageMock_GetPreviousBlock_Call) Return(_a0 *state.Block, _a1 error) *StorageMock_GetPreviousBlock_Call
func (*StorageMock_GetPreviousBlock_Call) Run ¶
func (_c *StorageMock_GetPreviousBlock_Call) Run(run func(ctx context.Context, offset uint64, dbTx pgx.Tx)) *StorageMock_GetPreviousBlock_Call
func (*StorageMock_GetPreviousBlock_Call) RunAndReturn ¶
func (_c *StorageMock_GetPreviousBlock_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Block, error)) *StorageMock_GetPreviousBlock_Call
type StorageMock_GetProcessingContext_Call ¶
StorageMock_GetProcessingContext_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProcessingContext'
func (*StorageMock_GetProcessingContext_Call) Return ¶
func (_c *StorageMock_GetProcessingContext_Call) Return(_a0 *state.ProcessingContext, _a1 error) *StorageMock_GetProcessingContext_Call
func (*StorageMock_GetProcessingContext_Call) Run ¶
func (_c *StorageMock_GetProcessingContext_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetProcessingContext_Call
func (*StorageMock_GetProcessingContext_Call) RunAndReturn ¶
func (_c *StorageMock_GetProcessingContext_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.ProcessingContext, error)) *StorageMock_GetProcessingContext_Call
type StorageMock_GetProofReadyToVerify_Call ¶
StorageMock_GetProofReadyToVerify_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProofReadyToVerify'
func (*StorageMock_GetProofReadyToVerify_Call) Return ¶
func (_c *StorageMock_GetProofReadyToVerify_Call) Return(_a0 *state.Proof, _a1 error) *StorageMock_GetProofReadyToVerify_Call
func (*StorageMock_GetProofReadyToVerify_Call) Run ¶
func (_c *StorageMock_GetProofReadyToVerify_Call) Run(run func(ctx context.Context, lastVerfiedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetProofReadyToVerify_Call
func (*StorageMock_GetProofReadyToVerify_Call) RunAndReturn ¶
func (_c *StorageMock_GetProofReadyToVerify_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Proof, error)) *StorageMock_GetProofReadyToVerify_Call
type StorageMock_GetProofsToAggregate_Call ¶
StorageMock_GetProofsToAggregate_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetProofsToAggregate'
func (*StorageMock_GetProofsToAggregate_Call) Return ¶
func (_c *StorageMock_GetProofsToAggregate_Call) Return(_a0 *state.Proof, _a1 *state.Proof, _a2 error) *StorageMock_GetProofsToAggregate_Call
func (*StorageMock_GetProofsToAggregate_Call) Run ¶
func (_c *StorageMock_GetProofsToAggregate_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetProofsToAggregate_Call
func (*StorageMock_GetProofsToAggregate_Call) RunAndReturn ¶
type StorageMock_GetRawBatchTimestamps_Call ¶
StorageMock_GetRawBatchTimestamps_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetRawBatchTimestamps'
func (*StorageMock_GetRawBatchTimestamps_Call) Return ¶
func (_c *StorageMock_GetRawBatchTimestamps_Call) Return(_a0 *time.Time, _a1 *time.Time, _a2 error) *StorageMock_GetRawBatchTimestamps_Call
func (*StorageMock_GetRawBatchTimestamps_Call) Run ¶
func (_c *StorageMock_GetRawBatchTimestamps_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetRawBatchTimestamps_Call
func (*StorageMock_GetRawBatchTimestamps_Call) RunAndReturn ¶
type StorageMock_GetReorgedTransactions_Call ¶
StorageMock_GetReorgedTransactions_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetReorgedTransactions'
func (*StorageMock_GetReorgedTransactions_Call) Return ¶
func (_c *StorageMock_GetReorgedTransactions_Call) Return(_a0 []*types.Transaction, _a1 error) *StorageMock_GetReorgedTransactions_Call
func (*StorageMock_GetReorgedTransactions_Call) Run ¶
func (_c *StorageMock_GetReorgedTransactions_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetReorgedTransactions_Call
func (*StorageMock_GetReorgedTransactions_Call) RunAndReturn ¶
func (_c *StorageMock_GetReorgedTransactions_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Transaction, error)) *StorageMock_GetReorgedTransactions_Call
type StorageMock_GetSequences_Call ¶
StorageMock_GetSequences_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSequences'
func (*StorageMock_GetSequences_Call) Return ¶
func (_c *StorageMock_GetSequences_Call) Return(_a0 []state.Sequence, _a1 error) *StorageMock_GetSequences_Call
func (*StorageMock_GetSequences_Call) Run ¶
func (_c *StorageMock_GetSequences_Call) Run(run func(ctx context.Context, lastVerifiedBatchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetSequences_Call
func (*StorageMock_GetSequences_Call) RunAndReturn ¶
func (_c *StorageMock_GetSequences_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]state.Sequence, error)) *StorageMock_GetSequences_Call
type StorageMock_GetStateRootByBatchNumber_Call ¶
StorageMock_GetStateRootByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetStateRootByBatchNumber'
func (*StorageMock_GetStateRootByBatchNumber_Call) Return ¶
func (_c *StorageMock_GetStateRootByBatchNumber_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetStateRootByBatchNumber_Call
func (*StorageMock_GetStateRootByBatchNumber_Call) Run ¶
func (_c *StorageMock_GetStateRootByBatchNumber_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_GetStateRootByBatchNumber_Call
func (*StorageMock_GetStateRootByBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetStateRootByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetStateRootByBatchNumber_Call
type StorageMock_GetSyncInfoData_Call ¶ added in v0.5.4
StorageMock_GetSyncInfoData_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetSyncInfoData'
func (*StorageMock_GetSyncInfoData_Call) Return ¶ added in v0.5.4
func (_c *StorageMock_GetSyncInfoData_Call) Return(_a0 state.SyncInfoDataOnStorage, _a1 error) *StorageMock_GetSyncInfoData_Call
func (*StorageMock_GetSyncInfoData_Call) Run ¶ added in v0.5.4
func (_c *StorageMock_GetSyncInfoData_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetSyncInfoData_Call
func (*StorageMock_GetSyncInfoData_Call) RunAndReturn ¶ added in v0.5.4
func (_c *StorageMock_GetSyncInfoData_Call) RunAndReturn(run func(context.Context, pgx.Tx) (state.SyncInfoDataOnStorage, error)) *StorageMock_GetSyncInfoData_Call
type StorageMock_GetTimeForLatestBatchVirtualization_Call ¶
StorageMock_GetTimeForLatestBatchVirtualization_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTimeForLatestBatchVirtualization'
func (*StorageMock_GetTimeForLatestBatchVirtualization_Call) Return ¶
func (_c *StorageMock_GetTimeForLatestBatchVirtualization_Call) Return(_a0 time.Time, _a1 error) *StorageMock_GetTimeForLatestBatchVirtualization_Call
func (*StorageMock_GetTimeForLatestBatchVirtualization_Call) Run ¶
func (_c *StorageMock_GetTimeForLatestBatchVirtualization_Call) Run(run func(ctx context.Context, dbTx pgx.Tx)) *StorageMock_GetTimeForLatestBatchVirtualization_Call
func (*StorageMock_GetTimeForLatestBatchVirtualization_Call) RunAndReturn ¶
func (_c *StorageMock_GetTimeForLatestBatchVirtualization_Call) RunAndReturn(run func(context.Context, pgx.Tx) (time.Time, error)) *StorageMock_GetTimeForLatestBatchVirtualization_Call
type StorageMock_GetTransactionByHash_Call ¶
StorageMock_GetTransactionByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionByHash'
func (*StorageMock_GetTransactionByHash_Call) Return ¶
func (_c *StorageMock_GetTransactionByHash_Call) Return(_a0 *types.Transaction, _a1 error) *StorageMock_GetTransactionByHash_Call
func (*StorageMock_GetTransactionByHash_Call) Run ¶
func (_c *StorageMock_GetTransactionByHash_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTransactionByHash_Call
func (*StorageMock_GetTransactionByHash_Call) RunAndReturn ¶
func (_c *StorageMock_GetTransactionByHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*types.Transaction, error)) *StorageMock_GetTransactionByHash_Call
type StorageMock_GetTransactionByL2BlockHashAndIndex_Call ¶
StorageMock_GetTransactionByL2BlockHashAndIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionByL2BlockHashAndIndex'
func (*StorageMock_GetTransactionByL2BlockHashAndIndex_Call) Return ¶
func (_c *StorageMock_GetTransactionByL2BlockHashAndIndex_Call) Return(_a0 *types.Transaction, _a1 error) *StorageMock_GetTransactionByL2BlockHashAndIndex_Call
func (*StorageMock_GetTransactionByL2BlockHashAndIndex_Call) Run ¶
func (_c *StorageMock_GetTransactionByL2BlockHashAndIndex_Call) Run(run func(ctx context.Context, blockHash common.Hash, index uint64, dbTx pgx.Tx)) *StorageMock_GetTransactionByL2BlockHashAndIndex_Call
func (*StorageMock_GetTransactionByL2BlockHashAndIndex_Call) RunAndReturn ¶
func (_c *StorageMock_GetTransactionByL2BlockHashAndIndex_Call) RunAndReturn(run func(context.Context, common.Hash, uint64, pgx.Tx) (*types.Transaction, error)) *StorageMock_GetTransactionByL2BlockHashAndIndex_Call
type StorageMock_GetTransactionByL2BlockNumberAndIndex_Call ¶
StorageMock_GetTransactionByL2BlockNumberAndIndex_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionByL2BlockNumberAndIndex'
func (*StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) Return ¶
func (_c *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) Return(_a0 *types.Transaction, _a1 error) *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
func (*StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) Run ¶
func (_c *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) Run(run func(ctx context.Context, blockNumber uint64, index uint64, dbTx pgx.Tx)) *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
func (*StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) RunAndReturn ¶
func (_c *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) (*types.Transaction, error)) *StorageMock_GetTransactionByL2BlockNumberAndIndex_Call
type StorageMock_GetTransactionByL2Hash_Call ¶
StorageMock_GetTransactionByL2Hash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionByL2Hash'
func (*StorageMock_GetTransactionByL2Hash_Call) Return ¶
func (_c *StorageMock_GetTransactionByL2Hash_Call) Return(_a0 *types.Transaction, _a1 error) *StorageMock_GetTransactionByL2Hash_Call
func (*StorageMock_GetTransactionByL2Hash_Call) Run ¶
func (_c *StorageMock_GetTransactionByL2Hash_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTransactionByL2Hash_Call
func (*StorageMock_GetTransactionByL2Hash_Call) RunAndReturn ¶
func (_c *StorageMock_GetTransactionByL2Hash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*types.Transaction, error)) *StorageMock_GetTransactionByL2Hash_Call
type StorageMock_GetTransactionEGPLogByHash_Call ¶
StorageMock_GetTransactionEGPLogByHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionEGPLogByHash'
func (*StorageMock_GetTransactionEGPLogByHash_Call) Return ¶
func (_c *StorageMock_GetTransactionEGPLogByHash_Call) Return(_a0 *state.EffectiveGasPriceLog, _a1 error) *StorageMock_GetTransactionEGPLogByHash_Call
func (*StorageMock_GetTransactionEGPLogByHash_Call) Run ¶
func (_c *StorageMock_GetTransactionEGPLogByHash_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTransactionEGPLogByHash_Call
func (*StorageMock_GetTransactionEGPLogByHash_Call) RunAndReturn ¶
func (_c *StorageMock_GetTransactionEGPLogByHash_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (*state.EffectiveGasPriceLog, error)) *StorageMock_GetTransactionEGPLogByHash_Call
type StorageMock_GetTransactionReceipt_Call ¶
StorageMock_GetTransactionReceipt_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionReceipt'
func (*StorageMock_GetTransactionReceipt_Call) Return ¶
func (_c *StorageMock_GetTransactionReceipt_Call) Return(_a0 *types.Receipt, _a1 error) *StorageMock_GetTransactionReceipt_Call
func (*StorageMock_GetTransactionReceipt_Call) Run ¶
func (_c *StorageMock_GetTransactionReceipt_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTransactionReceipt_Call
func (*StorageMock_GetTransactionReceipt_Call) RunAndReturn ¶
type StorageMock_GetTransactionsByBatchNumber_Call ¶
StorageMock_GetTransactionsByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTransactionsByBatchNumber'
func (*StorageMock_GetTransactionsByBatchNumber_Call) Return ¶
func (_c *StorageMock_GetTransactionsByBatchNumber_Call) Return(txs []types.Transaction, effectivePercentages []uint8, err error) *StorageMock_GetTransactionsByBatchNumber_Call
func (*StorageMock_GetTransactionsByBatchNumber_Call) Run ¶
func (_c *StorageMock_GetTransactionsByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetTransactionsByBatchNumber_Call
func (*StorageMock_GetTransactionsByBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetTransactionsByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]types.Transaction, []uint8, error)) *StorageMock_GetTransactionsByBatchNumber_Call
type StorageMock_GetTxsByBatchNumber_Call ¶
StorageMock_GetTxsByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxsByBatchNumber'
func (*StorageMock_GetTxsByBatchNumber_Call) Return ¶
func (_c *StorageMock_GetTxsByBatchNumber_Call) Return(_a0 []*types.Transaction, _a1 error) *StorageMock_GetTxsByBatchNumber_Call
func (*StorageMock_GetTxsByBatchNumber_Call) Run ¶
func (_c *StorageMock_GetTxsByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetTxsByBatchNumber_Call
func (*StorageMock_GetTxsByBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetTxsByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Transaction, error)) *StorageMock_GetTxsByBatchNumber_Call
type StorageMock_GetTxsByBlockNumber_Call ¶
StorageMock_GetTxsByBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxsByBlockNumber'
func (*StorageMock_GetTxsByBlockNumber_Call) Return ¶
func (_c *StorageMock_GetTxsByBlockNumber_Call) Return(_a0 []*types.Transaction, _a1 error) *StorageMock_GetTxsByBlockNumber_Call
func (*StorageMock_GetTxsByBlockNumber_Call) Run ¶
func (_c *StorageMock_GetTxsByBlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_GetTxsByBlockNumber_Call
func (*StorageMock_GetTxsByBlockNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetTxsByBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]*types.Transaction, error)) *StorageMock_GetTxsByBlockNumber_Call
type StorageMock_GetTxsHashesByBatchNumber_Call ¶
StorageMock_GetTxsHashesByBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxsHashesByBatchNumber'
func (*StorageMock_GetTxsHashesByBatchNumber_Call) Return ¶
func (_c *StorageMock_GetTxsHashesByBatchNumber_Call) Return(encoded []common.Hash, err error) *StorageMock_GetTxsHashesByBatchNumber_Call
func (*StorageMock_GetTxsHashesByBatchNumber_Call) Run ¶
func (_c *StorageMock_GetTxsHashesByBatchNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetTxsHashesByBatchNumber_Call
func (*StorageMock_GetTxsHashesByBatchNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetTxsHashesByBatchNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]common.Hash, error)) *StorageMock_GetTxsHashesByBatchNumber_Call
type StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call ¶ added in v0.5.8
StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxsOlderThanNL1BlocksUntilTxHash'
func (*StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) Return ¶ added in v0.5.8
func (_c *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) Return(_a0 []common.Hash, _a1 error) *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call
func (*StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) Run ¶ added in v0.5.8
func (_c *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) Run(run func(ctx context.Context, nL1Blocks uint64, earliestTxHash common.Hash, dbTx pgx.Tx)) *StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call
func (*StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) RunAndReturn ¶ added in v0.5.8
type StorageMock_GetTxsOlderThanNL1Blocks_Call ¶
StorageMock_GetTxsOlderThanNL1Blocks_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetTxsOlderThanNL1Blocks'
func (*StorageMock_GetTxsOlderThanNL1Blocks_Call) Return ¶
func (_c *StorageMock_GetTxsOlderThanNL1Blocks_Call) Return(_a0 []common.Hash, _a1 error) *StorageMock_GetTxsOlderThanNL1Blocks_Call
func (*StorageMock_GetTxsOlderThanNL1Blocks_Call) Run ¶
func (_c *StorageMock_GetTxsOlderThanNL1Blocks_Call) Run(run func(ctx context.Context, nL1Blocks uint64, dbTx pgx.Tx)) *StorageMock_GetTxsOlderThanNL1Blocks_Call
func (*StorageMock_GetTxsOlderThanNL1Blocks_Call) RunAndReturn ¶
func (_c *StorageMock_GetTxsOlderThanNL1Blocks_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) ([]common.Hash, error)) *StorageMock_GetTxsOlderThanNL1Blocks_Call
type StorageMock_GetVerifiedBatch_Call ¶
StorageMock_GetVerifiedBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVerifiedBatch'
func (*StorageMock_GetVerifiedBatch_Call) Return ¶
func (_c *StorageMock_GetVerifiedBatch_Call) Return(_a0 *state.VerifiedBatch, _a1 error) *StorageMock_GetVerifiedBatch_Call
func (*StorageMock_GetVerifiedBatch_Call) Run ¶
func (_c *StorageMock_GetVerifiedBatch_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetVerifiedBatch_Call
func (*StorageMock_GetVerifiedBatch_Call) RunAndReturn ¶
func (_c *StorageMock_GetVerifiedBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.VerifiedBatch, error)) *StorageMock_GetVerifiedBatch_Call
type StorageMock_GetVirtualBatchByNumber_Call ¶
StorageMock_GetVirtualBatchByNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVirtualBatchByNumber'
func (*StorageMock_GetVirtualBatchByNumber_Call) Return ¶
func (_c *StorageMock_GetVirtualBatchByNumber_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetVirtualBatchByNumber_Call
func (*StorageMock_GetVirtualBatchByNumber_Call) Run ¶
func (_c *StorageMock_GetVirtualBatchByNumber_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetVirtualBatchByNumber_Call
func (*StorageMock_GetVirtualBatchByNumber_Call) RunAndReturn ¶
func (_c *StorageMock_GetVirtualBatchByNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetVirtualBatchByNumber_Call
type StorageMock_GetVirtualBatchParentHash_Call ¶
StorageMock_GetVirtualBatchParentHash_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVirtualBatchParentHash'
func (*StorageMock_GetVirtualBatchParentHash_Call) Return ¶
func (_c *StorageMock_GetVirtualBatchParentHash_Call) Return(_a0 common.Hash, _a1 error) *StorageMock_GetVirtualBatchParentHash_Call
func (*StorageMock_GetVirtualBatchParentHash_Call) Run ¶
func (_c *StorageMock_GetVirtualBatchParentHash_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetVirtualBatchParentHash_Call
func (*StorageMock_GetVirtualBatchParentHash_Call) RunAndReturn ¶
func (_c *StorageMock_GetVirtualBatchParentHash_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (common.Hash, error)) *StorageMock_GetVirtualBatchParentHash_Call
type StorageMock_GetVirtualBatchToProve_Call ¶
StorageMock_GetVirtualBatchToProve_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVirtualBatchToProve'
func (*StorageMock_GetVirtualBatchToProve_Call) Return ¶
func (_c *StorageMock_GetVirtualBatchToProve_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetVirtualBatchToProve_Call
func (*StorageMock_GetVirtualBatchToProve_Call) Run ¶
func (_c *StorageMock_GetVirtualBatchToProve_Call) Run(run func(ctx context.Context, lastVerfiedBatchNumber uint64, maxL1Block uint64, dbTx pgx.Tx)) *StorageMock_GetVirtualBatchToProve_Call
func (*StorageMock_GetVirtualBatchToProve_Call) RunAndReturn ¶
type StorageMock_GetVirtualBatch_Call ¶
StorageMock_GetVirtualBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetVirtualBatch'
func (*StorageMock_GetVirtualBatch_Call) Return ¶
func (_c *StorageMock_GetVirtualBatch_Call) Return(_a0 *state.VirtualBatch, _a1 error) *StorageMock_GetVirtualBatch_Call
func (*StorageMock_GetVirtualBatch_Call) Run ¶
func (_c *StorageMock_GetVirtualBatch_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetVirtualBatch_Call
func (*StorageMock_GetVirtualBatch_Call) RunAndReturn ¶
func (_c *StorageMock_GetVirtualBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.VirtualBatch, error)) *StorageMock_GetVirtualBatch_Call
type StorageMock_GetWIPBatchInStorage_Call ¶
StorageMock_GetWIPBatchInStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetWIPBatchInStorage'
func (*StorageMock_GetWIPBatchInStorage_Call) Return ¶
func (_c *StorageMock_GetWIPBatchInStorage_Call) Return(_a0 *state.Batch, _a1 error) *StorageMock_GetWIPBatchInStorage_Call
func (*StorageMock_GetWIPBatchInStorage_Call) Run ¶
func (_c *StorageMock_GetWIPBatchInStorage_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_GetWIPBatchInStorage_Call
func (*StorageMock_GetWIPBatchInStorage_Call) RunAndReturn ¶
func (_c *StorageMock_GetWIPBatchInStorage_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (*state.Batch, error)) *StorageMock_GetWIPBatchInStorage_Call
type StorageMock_IsBatchChecked_Call ¶ added in v0.5.8
StorageMock_IsBatchChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsBatchChecked'
func (*StorageMock_IsBatchChecked_Call) Return ¶ added in v0.5.8
func (_c *StorageMock_IsBatchChecked_Call) Return(_a0 bool, _a1 error) *StorageMock_IsBatchChecked_Call
func (*StorageMock_IsBatchChecked_Call) Run ¶ added in v0.5.8
func (_c *StorageMock_IsBatchChecked_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_IsBatchChecked_Call
func (*StorageMock_IsBatchChecked_Call) RunAndReturn ¶ added in v0.5.8
func (_c *StorageMock_IsBatchChecked_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsBatchChecked_Call
type StorageMock_IsBatchClosed_Call ¶
StorageMock_IsBatchClosed_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsBatchClosed'
func (*StorageMock_IsBatchClosed_Call) Return ¶
func (_c *StorageMock_IsBatchClosed_Call) Return(_a0 bool, _a1 error) *StorageMock_IsBatchClosed_Call
func (*StorageMock_IsBatchClosed_Call) Run ¶
func (_c *StorageMock_IsBatchClosed_Call) Run(run func(ctx context.Context, batchNum uint64, dbTx pgx.Tx)) *StorageMock_IsBatchClosed_Call
func (*StorageMock_IsBatchClosed_Call) RunAndReturn ¶
func (_c *StorageMock_IsBatchClosed_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsBatchClosed_Call
type StorageMock_IsBatchConsolidated_Call ¶
StorageMock_IsBatchConsolidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsBatchConsolidated'
func (*StorageMock_IsBatchConsolidated_Call) Return ¶
func (_c *StorageMock_IsBatchConsolidated_Call) Return(_a0 bool, _a1 error) *StorageMock_IsBatchConsolidated_Call
func (*StorageMock_IsBatchConsolidated_Call) Run ¶
func (_c *StorageMock_IsBatchConsolidated_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_IsBatchConsolidated_Call
func (*StorageMock_IsBatchConsolidated_Call) RunAndReturn ¶
func (_c *StorageMock_IsBatchConsolidated_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsBatchConsolidated_Call
type StorageMock_IsBatchVirtualized_Call ¶
StorageMock_IsBatchVirtualized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsBatchVirtualized'
func (*StorageMock_IsBatchVirtualized_Call) Return ¶
func (_c *StorageMock_IsBatchVirtualized_Call) Return(_a0 bool, _a1 error) *StorageMock_IsBatchVirtualized_Call
func (*StorageMock_IsBatchVirtualized_Call) Run ¶
func (_c *StorageMock_IsBatchVirtualized_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_IsBatchVirtualized_Call
func (*StorageMock_IsBatchVirtualized_Call) RunAndReturn ¶
func (_c *StorageMock_IsBatchVirtualized_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsBatchVirtualized_Call
type StorageMock_IsL2BlockConsolidated_Call ¶
StorageMock_IsL2BlockConsolidated_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsL2BlockConsolidated'
func (*StorageMock_IsL2BlockConsolidated_Call) Return ¶
func (_c *StorageMock_IsL2BlockConsolidated_Call) Return(_a0 bool, _a1 error) *StorageMock_IsL2BlockConsolidated_Call
func (*StorageMock_IsL2BlockConsolidated_Call) Run ¶
func (_c *StorageMock_IsL2BlockConsolidated_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_IsL2BlockConsolidated_Call
func (*StorageMock_IsL2BlockConsolidated_Call) RunAndReturn ¶
func (_c *StorageMock_IsL2BlockConsolidated_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsL2BlockConsolidated_Call
type StorageMock_IsL2BlockVirtualized_Call ¶
StorageMock_IsL2BlockVirtualized_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsL2BlockVirtualized'
func (*StorageMock_IsL2BlockVirtualized_Call) Return ¶
func (_c *StorageMock_IsL2BlockVirtualized_Call) Return(_a0 bool, _a1 error) *StorageMock_IsL2BlockVirtualized_Call
func (*StorageMock_IsL2BlockVirtualized_Call) Run ¶
func (_c *StorageMock_IsL2BlockVirtualized_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_IsL2BlockVirtualized_Call
func (*StorageMock_IsL2BlockVirtualized_Call) RunAndReturn ¶
func (_c *StorageMock_IsL2BlockVirtualized_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) (bool, error)) *StorageMock_IsL2BlockVirtualized_Call
type StorageMock_IsSequencingTXSynced_Call ¶
StorageMock_IsSequencingTXSynced_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'IsSequencingTXSynced'
func (*StorageMock_IsSequencingTXSynced_Call) Return ¶
func (_c *StorageMock_IsSequencingTXSynced_Call) Return(_a0 bool, _a1 error) *StorageMock_IsSequencingTXSynced_Call
func (*StorageMock_IsSequencingTXSynced_Call) Run ¶
func (_c *StorageMock_IsSequencingTXSynced_Call) Run(run func(ctx context.Context, transactionHash common.Hash, dbTx pgx.Tx)) *StorageMock_IsSequencingTXSynced_Call
func (*StorageMock_IsSequencingTXSynced_Call) RunAndReturn ¶
func (_c *StorageMock_IsSequencingTXSynced_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) (bool, error)) *StorageMock_IsSequencingTXSynced_Call
type StorageMock_OpenBatchInStorage_Call ¶
StorageMock_OpenBatchInStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenBatchInStorage'
func (*StorageMock_OpenBatchInStorage_Call) Return ¶
func (_c *StorageMock_OpenBatchInStorage_Call) Return(_a0 error) *StorageMock_OpenBatchInStorage_Call
func (*StorageMock_OpenBatchInStorage_Call) Run ¶
func (_c *StorageMock_OpenBatchInStorage_Call) Run(run func(ctx context.Context, batchContext state.ProcessingContext, dbTx pgx.Tx)) *StorageMock_OpenBatchInStorage_Call
func (*StorageMock_OpenBatchInStorage_Call) RunAndReturn ¶
func (_c *StorageMock_OpenBatchInStorage_Call) RunAndReturn(run func(context.Context, state.ProcessingContext, pgx.Tx) error) *StorageMock_OpenBatchInStorage_Call
type StorageMock_OpenWIPBatchInStorage_Call ¶
StorageMock_OpenWIPBatchInStorage_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'OpenWIPBatchInStorage'
func (*StorageMock_OpenWIPBatchInStorage_Call) Return ¶
func (_c *StorageMock_OpenWIPBatchInStorage_Call) Return(_a0 error) *StorageMock_OpenWIPBatchInStorage_Call
func (*StorageMock_OpenWIPBatchInStorage_Call) Run ¶
func (_c *StorageMock_OpenWIPBatchInStorage_Call) Run(run func(ctx context.Context, batch state.Batch, dbTx pgx.Tx)) *StorageMock_OpenWIPBatchInStorage_Call
func (*StorageMock_OpenWIPBatchInStorage_Call) RunAndReturn ¶
func (_c *StorageMock_OpenWIPBatchInStorage_Call) RunAndReturn(run func(context.Context, state.Batch, pgx.Tx) error) *StorageMock_OpenWIPBatchInStorage_Call
type StorageMock_QueryRow_Call ¶
StorageMock_QueryRow_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'QueryRow'
func (*StorageMock_QueryRow_Call) Return ¶
func (_c *StorageMock_QueryRow_Call) Return(_a0 pgx.Row) *StorageMock_QueryRow_Call
func (*StorageMock_QueryRow_Call) Run ¶
func (_c *StorageMock_QueryRow_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *StorageMock_QueryRow_Call
func (*StorageMock_QueryRow_Call) RunAndReturn ¶
func (_c *StorageMock_QueryRow_Call) RunAndReturn(run func(context.Context, string, ...interface{}) pgx.Row) *StorageMock_QueryRow_Call
type StorageMock_Query_Call ¶
StorageMock_Query_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'Query'
func (*StorageMock_Query_Call) Return ¶
func (_c *StorageMock_Query_Call) Return(_a0 pgx.Rows, _a1 error) *StorageMock_Query_Call
func (*StorageMock_Query_Call) Run ¶
func (_c *StorageMock_Query_Call) Run(run func(ctx context.Context, sql string, args ...interface{})) *StorageMock_Query_Call
func (*StorageMock_Query_Call) RunAndReturn ¶
func (_c *StorageMock_Query_Call) RunAndReturn(run func(context.Context, string, ...interface{}) (pgx.Rows, error)) *StorageMock_Query_Call
type StorageMock_ResetForkID_Call ¶
StorageMock_ResetForkID_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetForkID'
func (*StorageMock_ResetForkID_Call) Return ¶
func (_c *StorageMock_ResetForkID_Call) Return(_a0 error) *StorageMock_ResetForkID_Call
func (*StorageMock_ResetForkID_Call) Run ¶
func (_c *StorageMock_ResetForkID_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_ResetForkID_Call
func (*StorageMock_ResetForkID_Call) RunAndReturn ¶
func (_c *StorageMock_ResetForkID_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_ResetForkID_Call
type StorageMock_ResetToL1BlockNumber_Call ¶ added in v0.5.5
StorageMock_ResetToL1BlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetToL1BlockNumber'
func (*StorageMock_ResetToL1BlockNumber_Call) Return ¶ added in v0.5.5
func (_c *StorageMock_ResetToL1BlockNumber_Call) Return(_a0 error) *StorageMock_ResetToL1BlockNumber_Call
func (*StorageMock_ResetToL1BlockNumber_Call) Run ¶ added in v0.5.5
func (_c *StorageMock_ResetToL1BlockNumber_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StorageMock_ResetToL1BlockNumber_Call
func (*StorageMock_ResetToL1BlockNumber_Call) RunAndReturn ¶ added in v0.5.5
func (_c *StorageMock_ResetToL1BlockNumber_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_ResetToL1BlockNumber_Call
type StorageMock_ResetTrustedState_Call ¶
StorageMock_ResetTrustedState_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'ResetTrustedState'
func (*StorageMock_ResetTrustedState_Call) Return ¶
func (_c *StorageMock_ResetTrustedState_Call) Return(_a0 error) *StorageMock_ResetTrustedState_Call
func (*StorageMock_ResetTrustedState_Call) Run ¶
func (_c *StorageMock_ResetTrustedState_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_ResetTrustedState_Call
func (*StorageMock_ResetTrustedState_Call) RunAndReturn ¶
func (_c *StorageMock_ResetTrustedState_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_ResetTrustedState_Call
type StorageMock_SetInitSyncBatch_Call ¶
StorageMock_SetInitSyncBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetInitSyncBatch'
func (*StorageMock_SetInitSyncBatch_Call) Return ¶
func (_c *StorageMock_SetInitSyncBatch_Call) Return(_a0 error) *StorageMock_SetInitSyncBatch_Call
func (*StorageMock_SetInitSyncBatch_Call) Run ¶
func (_c *StorageMock_SetInitSyncBatch_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_SetInitSyncBatch_Call
func (*StorageMock_SetInitSyncBatch_Call) RunAndReturn ¶
func (_c *StorageMock_SetInitSyncBatch_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_SetInitSyncBatch_Call
type StorageMock_SetLastBatchInfoSeenOnEthereum_Call ¶
StorageMock_SetLastBatchInfoSeenOnEthereum_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'SetLastBatchInfoSeenOnEthereum'
func (*StorageMock_SetLastBatchInfoSeenOnEthereum_Call) Return ¶
func (_c *StorageMock_SetLastBatchInfoSeenOnEthereum_Call) Return(_a0 error) *StorageMock_SetLastBatchInfoSeenOnEthereum_Call
func (*StorageMock_SetLastBatchInfoSeenOnEthereum_Call) Run ¶
func (_c *StorageMock_SetLastBatchInfoSeenOnEthereum_Call) Run(run func(ctx context.Context, lastBatchNumberSeen uint64, lastBatchNumberVerified uint64, dbTx pgx.Tx)) *StorageMock_SetLastBatchInfoSeenOnEthereum_Call
func (*StorageMock_SetLastBatchInfoSeenOnEthereum_Call) RunAndReturn ¶
func (_c *StorageMock_SetLastBatchInfoSeenOnEthereum_Call) RunAndReturn(run func(context.Context, uint64, uint64, pgx.Tx) error) *StorageMock_SetLastBatchInfoSeenOnEthereum_Call
type StorageMock_StoreGenesisBatch_Call ¶
StorageMock_StoreGenesisBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'StoreGenesisBatch'
func (*StorageMock_StoreGenesisBatch_Call) Return ¶
func (_c *StorageMock_StoreGenesisBatch_Call) Return(_a0 error) *StorageMock_StoreGenesisBatch_Call
func (*StorageMock_StoreGenesisBatch_Call) Run ¶
func (_c *StorageMock_StoreGenesisBatch_Call) Run(run func(ctx context.Context, batch state.Batch, closingReason string, dbTx pgx.Tx)) *StorageMock_StoreGenesisBatch_Call
func (*StorageMock_StoreGenesisBatch_Call) RunAndReturn ¶
func (_c *StorageMock_StoreGenesisBatch_Call) RunAndReturn(run func(context.Context, state.Batch, string, pgx.Tx) error) *StorageMock_StoreGenesisBatch_Call
type StorageMock_UpdateBatchAsChecked_Call ¶ added in v0.5.8
StorageMock_UpdateBatchAsChecked_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateBatchAsChecked'
func (*StorageMock_UpdateBatchAsChecked_Call) Return ¶ added in v0.5.8
func (_c *StorageMock_UpdateBatchAsChecked_Call) Return(_a0 error) *StorageMock_UpdateBatchAsChecked_Call
func (*StorageMock_UpdateBatchAsChecked_Call) Run ¶ added in v0.5.8
func (_c *StorageMock_UpdateBatchAsChecked_Call) Run(run func(ctx context.Context, batchNumber uint64, dbTx pgx.Tx)) *StorageMock_UpdateBatchAsChecked_Call
func (*StorageMock_UpdateBatchAsChecked_Call) RunAndReturn ¶ added in v0.5.8
func (_c *StorageMock_UpdateBatchAsChecked_Call) RunAndReturn(run func(context.Context, uint64, pgx.Tx) error) *StorageMock_UpdateBatchAsChecked_Call
type StorageMock_UpdateBatchL2Data_Call ¶
StorageMock_UpdateBatchL2Data_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateBatchL2Data'
func (*StorageMock_UpdateBatchL2Data_Call) Return ¶
func (_c *StorageMock_UpdateBatchL2Data_Call) Return(_a0 error) *StorageMock_UpdateBatchL2Data_Call
func (*StorageMock_UpdateBatchL2Data_Call) Run ¶
func (_c *StorageMock_UpdateBatchL2Data_Call) Run(run func(ctx context.Context, batchNumber uint64, batchL2Data []byte, dbTx pgx.Tx)) *StorageMock_UpdateBatchL2Data_Call
func (*StorageMock_UpdateBatchL2Data_Call) RunAndReturn ¶
func (_c *StorageMock_UpdateBatchL2Data_Call) RunAndReturn(run func(context.Context, uint64, []byte, pgx.Tx) error) *StorageMock_UpdateBatchL2Data_Call
type StorageMock_UpdateForkIDBlockNumber_Call ¶ added in v0.6.3
StorageMock_UpdateForkIDBlockNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForkIDBlockNumber'
func (*StorageMock_UpdateForkIDBlockNumber_Call) Return ¶ added in v0.6.3
func (_c *StorageMock_UpdateForkIDBlockNumber_Call) Return(_a0 error) *StorageMock_UpdateForkIDBlockNumber_Call
func (*StorageMock_UpdateForkIDBlockNumber_Call) Run ¶ added in v0.6.3
func (_c *StorageMock_UpdateForkIDBlockNumber_Call) Run(run func(ctx context.Context, forkdID uint64, newBlockNumber uint64, updateMemCache bool, dbTx pgx.Tx)) *StorageMock_UpdateForkIDBlockNumber_Call
func (*StorageMock_UpdateForkIDBlockNumber_Call) RunAndReturn ¶ added in v0.6.3
func (_c *StorageMock_UpdateForkIDBlockNumber_Call) RunAndReturn(run func(context.Context, uint64, uint64, bool, pgx.Tx) error) *StorageMock_UpdateForkIDBlockNumber_Call
type StorageMock_UpdateForkIDIntervalsInMemory_Call ¶
StorageMock_UpdateForkIDIntervalsInMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForkIDIntervalsInMemory'
func (*StorageMock_UpdateForkIDIntervalsInMemory_Call) Run ¶
func (_c *StorageMock_UpdateForkIDIntervalsInMemory_Call) Run(run func(intervals []state.ForkIDInterval)) *StorageMock_UpdateForkIDIntervalsInMemory_Call
func (*StorageMock_UpdateForkIDIntervalsInMemory_Call) RunAndReturn ¶
func (_c *StorageMock_UpdateForkIDIntervalsInMemory_Call) RunAndReturn(run func([]state.ForkIDInterval)) *StorageMock_UpdateForkIDIntervalsInMemory_Call
type StorageMock_UpdateForkIDToBatchNumber_Call ¶ added in v0.6.3
StorageMock_UpdateForkIDToBatchNumber_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForkIDToBatchNumber'
func (*StorageMock_UpdateForkIDToBatchNumber_Call) Return ¶ added in v0.6.3
func (_c *StorageMock_UpdateForkIDToBatchNumber_Call) Return(_a0 error) *StorageMock_UpdateForkIDToBatchNumber_Call
func (*StorageMock_UpdateForkIDToBatchNumber_Call) Run ¶ added in v0.6.3
func (_c *StorageMock_UpdateForkIDToBatchNumber_Call) Run(run func(ctx context.Context, forkID state.ForkIDInterval, dbTx pgx.Tx)) *StorageMock_UpdateForkIDToBatchNumber_Call
func (*StorageMock_UpdateForkIDToBatchNumber_Call) RunAndReturn ¶ added in v0.6.3
func (_c *StorageMock_UpdateForkIDToBatchNumber_Call) RunAndReturn(run func(context.Context, state.ForkIDInterval, pgx.Tx) error) *StorageMock_UpdateForkIDToBatchNumber_Call
type StorageMock_UpdateGERInOpenBatch_Call ¶
StorageMock_UpdateGERInOpenBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGERInOpenBatch'
func (*StorageMock_UpdateGERInOpenBatch_Call) Return ¶
func (_c *StorageMock_UpdateGERInOpenBatch_Call) Return(_a0 error) *StorageMock_UpdateGERInOpenBatch_Call
func (*StorageMock_UpdateGERInOpenBatch_Call) Run ¶
func (_c *StorageMock_UpdateGERInOpenBatch_Call) Run(run func(ctx context.Context, ger common.Hash, dbTx pgx.Tx)) *StorageMock_UpdateGERInOpenBatch_Call
func (*StorageMock_UpdateGERInOpenBatch_Call) RunAndReturn ¶
func (_c *StorageMock_UpdateGERInOpenBatch_Call) RunAndReturn(run func(context.Context, common.Hash, pgx.Tx) error) *StorageMock_UpdateGERInOpenBatch_Call
type StorageMock_UpdateGeneratedProof_Call ¶
StorageMock_UpdateGeneratedProof_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateGeneratedProof'
func (*StorageMock_UpdateGeneratedProof_Call) Return ¶
func (_c *StorageMock_UpdateGeneratedProof_Call) Return(_a0 error) *StorageMock_UpdateGeneratedProof_Call
func (*StorageMock_UpdateGeneratedProof_Call) Run ¶
func (_c *StorageMock_UpdateGeneratedProof_Call) Run(run func(ctx context.Context, proof *state.Proof, dbTx pgx.Tx)) *StorageMock_UpdateGeneratedProof_Call
func (*StorageMock_UpdateGeneratedProof_Call) RunAndReturn ¶
func (_c *StorageMock_UpdateGeneratedProof_Call) RunAndReturn(run func(context.Context, *state.Proof, pgx.Tx) error) *StorageMock_UpdateGeneratedProof_Call
type StorageMock_UpdateWIPBatch_Call ¶
StorageMock_UpdateWIPBatch_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateWIPBatch'
func (*StorageMock_UpdateWIPBatch_Call) Return ¶
func (_c *StorageMock_UpdateWIPBatch_Call) Return(_a0 error) *StorageMock_UpdateWIPBatch_Call
func (*StorageMock_UpdateWIPBatch_Call) Run ¶
func (_c *StorageMock_UpdateWIPBatch_Call) Run(run func(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx)) *StorageMock_UpdateWIPBatch_Call
func (*StorageMock_UpdateWIPBatch_Call) RunAndReturn ¶
func (_c *StorageMock_UpdateWIPBatch_Call) RunAndReturn(run func(context.Context, state.ProcessingReceipt, pgx.Tx) error) *StorageMock_UpdateWIPBatch_Call