mocks

package
v0.6.5-RC4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 4, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DbTxMock

type DbTxMock struct {
	mock.Mock
}

DbTxMock is an autogenerated mock type for the Tx type

func NewDbTxMock

func NewDbTxMock(t interface {
	mock.TestingT
	Cleanup(func())
}) *DbTxMock

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) Begin

func (_m *DbTxMock) Begin(ctx context.Context) (pgx.Tx, error)

Begin provides a mock function with given fields: ctx

func (*DbTxMock) BeginFunc

func (_m *DbTxMock) BeginFunc(ctx context.Context, f func(pgx.Tx) error) error

BeginFunc provides a mock function with given fields: ctx, f

func (*DbTxMock) Commit

func (_m *DbTxMock) Commit(ctx context.Context) error

Commit provides a mock function with given fields: ctx

func (*DbTxMock) Conn

func (_m *DbTxMock) Conn() *pgx.Conn

Conn provides a mock function with given fields:

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) Query

func (_m *DbTxMock) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)

Query provides a mock function with given fields: ctx, sql, args

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

func (*DbTxMock) QueryRow

func (_m *DbTxMock) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row

QueryRow provides a mock function with given fields: ctx, sql, args

func (*DbTxMock) Rollback

func (_m *DbTxMock) Rollback(ctx context.Context) error

Rollback provides a mock function with given fields: ctx

func (*DbTxMock) SendBatch

func (_m *DbTxMock) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults

SendBatch provides a mock function with given fields: ctx, b

type DbTxMock_BeginFunc_Call

type DbTxMock_BeginFunc_Call struct {
	*mock.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 (*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

type DbTxMock_Begin_Call struct {
	*mock.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

type DbTxMock_Commit_Call struct {
	*mock.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 (*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

type DbTxMock_Conn_Call struct {
	*mock.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

type DbTxMock_CopyFrom_Call struct {
	*mock.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 (*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

type DbTxMock_Exec_Call

type DbTxMock_Exec_Call struct {
	*mock.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

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

type DbTxMock_LargeObjects_Call struct {
	*mock.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 (*DbTxMock_LargeObjects_Call) Run

func (*DbTxMock_LargeObjects_Call) RunAndReturn

type DbTxMock_Prepare_Call

type DbTxMock_Prepare_Call struct {
	*mock.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 (*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

type DbTxMock_QueryFunc_Call

type DbTxMock_QueryFunc_Call struct {
	*mock.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 (*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

type DbTxMock_QueryRow_Call struct {
	*mock.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 (*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

type DbTxMock_Query_Call struct {
	*mock.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

type DbTxMock_Rollback_Call struct {
	*mock.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 (*DbTxMock_Rollback_Call) Run

func (*DbTxMock_Rollback_Call) RunAndReturn

func (_c *DbTxMock_Rollback_Call) RunAndReturn(run func(context.Context) error) *DbTxMock_Rollback_Call

type DbTxMock_SendBatch_Call

type DbTxMock_SendBatch_Call struct {
	*mock.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 (*DbTxMock_SendBatch_Call) Run

func (*DbTxMock_SendBatch_Call) RunAndReturn

type ExecutorServiceClientMock

type ExecutorServiceClientMock struct {
	mock.Mock
}

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 (*ExecutorServiceClientMock) GetFlushStatus

GetFlushStatus provides a mock function with given fields: ctx, in, opts

func (*ExecutorServiceClientMock) ProcessBatch

ProcessBatch provides a mock function with given fields: ctx, in, opts

func (*ExecutorServiceClientMock) ProcessBatchV2

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

type ExecutorServiceClientMock_GetFlushStatus_Call struct {
	*mock.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 (*ExecutorServiceClientMock_GetFlushStatus_Call) Run

type ExecutorServiceClientMock_ProcessBatchV2_Call

type ExecutorServiceClientMock_ProcessBatchV2_Call struct {
	*mock.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 (*ExecutorServiceClientMock_ProcessBatchV2_Call) Run

type ExecutorServiceClientMock_ProcessBatch_Call

type ExecutorServiceClientMock_ProcessBatch_Call struct {
	*mock.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 (*ExecutorServiceClientMock_ProcessBatch_Call) Run

type StorageMock

type StorageMock struct {
	mock.Mock
}

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

func (_m *StorageMock) AddBlock(ctx context.Context, block *state.Block, dbTx pgx.Tx) error

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) AddLog

func (_m *StorageMock) AddLog(ctx context.Context, l *types.Log, dbTx pgx.Tx) error

AddLog provides a mock function with given fields: ctx, l, 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

func (_m *StorageMock) AddSequence(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx) error

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) Begin

func (_m *StorageMock) Begin(ctx context.Context) (pgx.Tx, error)

Begin provides a mock function with given fields: ctx

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

func (_m *StorageMock) CountReorgs(ctx context.Context, dbTx pgx.Tx) (uint64, error)

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

func (_m *StorageMock) DeleteUngeneratedProofs(ctx context.Context, dbTx pgx.Tx) error

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

func (_m *StorageMock) GetLastBatchNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)

GetLastBatchNumber provides a mock function with given fields: ctx, dbTx

func (*StorageMock) GetLastBatchTime

func (_m *StorageMock) GetLastBatchTime(ctx context.Context, dbTx pgx.Tx) (time.Time, error)

GetLastBatchTime provides a mock function with given fields: ctx, dbTx

func (*StorageMock) GetLastBlock

func (_m *StorageMock) GetLastBlock(ctx context.Context, dbTx pgx.Tx) (*state.Block, error)

GetLastBlock provides a mock function with given fields: ctx, dbTx

func (*StorageMock) GetLastClosedBatch

func (_m *StorageMock) GetLastClosedBatch(ctx context.Context, dbTx pgx.Tx) (*state.Batch, error)

GetLastClosedBatch provides a mock function with given fields: ctx, dbTx

func (*StorageMock) GetLastClosedBatchNumber

func (_m *StorageMock) GetLastClosedBatchNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)

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

func (_m *StorageMock) GetLastL2Block(ctx context.Context, dbTx pgx.Tx) (*state.L2Block, error)

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

func (_m *StorageMock) GetLastL2BlockNumber(ctx context.Context, dbTx pgx.Tx) (uint64, error)

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

func (_m *StorageMock) GetLastVirtualBatchNum(ctx context.Context, dbTx pgx.Tx) (uint64, error)

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

func (_m *StorageMock) GetLatestIndex(ctx context.Context, dbTx pgx.Tx) (uint32, error)

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) QueryRow

func (_m *StorageMock) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row

QueryRow provides a mock function with given fields: ctx, sql, args

func (*StorageMock) ResetForkID

func (_m *StorageMock) ResetForkID(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error

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

func (_m *StorageMock) SetInitSyncBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error

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

type StorageMock_AddAccumulatedInputHash_Call struct {
	*mock.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 (*StorageMock_AddAccumulatedInputHash_Call) Run

func (*StorageMock_AddAccumulatedInputHash_Call) RunAndReturn

type StorageMock_AddBlock_Call

type StorageMock_AddBlock_Call struct {
	*mock.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 (*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

type StorageMock_AddForcedBatch_Call

type StorageMock_AddForcedBatch_Call struct {
	*mock.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 (*StorageMock_AddForcedBatch_Call) Run

func (*StorageMock_AddForcedBatch_Call) RunAndReturn

type StorageMock_AddForkIDInterval_Call

type StorageMock_AddForkIDInterval_Call struct {
	*mock.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 (*StorageMock_AddForkIDInterval_Call) Run

func (*StorageMock_AddForkIDInterval_Call) RunAndReturn

type StorageMock_AddForkID_Call

type StorageMock_AddForkID_Call struct {
	*mock.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 (*StorageMock_AddForkID_Call) Run

func (*StorageMock_AddForkID_Call) RunAndReturn

type StorageMock_AddGeneratedProof_Call

type StorageMock_AddGeneratedProof_Call struct {
	*mock.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 (*StorageMock_AddGeneratedProof_Call) Run

func (*StorageMock_AddGeneratedProof_Call) RunAndReturn

type StorageMock_AddGlobalExitRoot_Call

type StorageMock_AddGlobalExitRoot_Call struct {
	*mock.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 (*StorageMock_AddGlobalExitRoot_Call) Run

func (*StorageMock_AddGlobalExitRoot_Call) RunAndReturn

type StorageMock_AddL1InfoRootToExitRoot_Call

type StorageMock_AddL1InfoRootToExitRoot_Call struct {
	*mock.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 (*StorageMock_AddL1InfoRootToExitRoot_Call) Run

type StorageMock_AddL2Block_Call

type StorageMock_AddL2Block_Call struct {
	*mock.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 (*StorageMock_AddL2Block_Call) Run

func (_c *StorageMock_AddL2Block_Call) Run(run func(ctx context.Context, batchNumber uint64, l2Block *state.L2Block, receipts []*types.Receipt, txsL2Hash []common.Hash, txsEGPData []state.StoreTxEGPData, imStateRoots []common.Hash, dbTx pgx.Tx)) *StorageMock_AddL2Block_Call

func (*StorageMock_AddL2Block_Call) RunAndReturn

type StorageMock_AddLog_Call

type StorageMock_AddLog_Call struct {
	*mock.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 (*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

type StorageMock_AddReceipt_Call

type StorageMock_AddReceipt_Call struct {
	*mock.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 (*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

type StorageMock_AddSequence_Call struct {
	*mock.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 (*StorageMock_AddSequence_Call) Run

func (*StorageMock_AddSequence_Call) RunAndReturn

type StorageMock_AddTrustedReorg_Call

type StorageMock_AddTrustedReorg_Call struct {
	*mock.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 (*StorageMock_AddTrustedReorg_Call) Run

func (*StorageMock_AddTrustedReorg_Call) RunAndReturn

type StorageMock_AddVerifiedBatch_Call

type StorageMock_AddVerifiedBatch_Call struct {
	*mock.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 (*StorageMock_AddVerifiedBatch_Call) Run

func (*StorageMock_AddVerifiedBatch_Call) RunAndReturn

type StorageMock_AddVirtualBatch_Call

type StorageMock_AddVirtualBatch_Call struct {
	*mock.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 (*StorageMock_AddVirtualBatch_Call) Run

func (*StorageMock_AddVirtualBatch_Call) RunAndReturn

type StorageMock_BatchNumberByL2BlockNumber_Call

type StorageMock_BatchNumberByL2BlockNumber_Call struct {
	*mock.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 (*StorageMock_BatchNumberByL2BlockNumber_Call) Run

func (*StorageMock_BatchNumberByL2BlockNumber_Call) RunAndReturn

type StorageMock_Begin_Call

type StorageMock_Begin_Call struct {
	*mock.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 (*StorageMock_Begin_Call) Run

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

type StorageMock_BuildChangeL2Block_Call struct {
	*mock.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 (*StorageMock_BuildChangeL2Block_Call) Run

func (_c *StorageMock_BuildChangeL2Block_Call) Run(run func(deltaTimestamp uint32, l1InfoTreeIndex uint32)) *StorageMock_BuildChangeL2Block_Call

func (*StorageMock_BuildChangeL2Block_Call) RunAndReturn

type StorageMock_CheckProofContainsCompleteSequences_Call

type StorageMock_CheckProofContainsCompleteSequences_Call struct {
	*mock.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 (*StorageMock_CheckProofContainsCompleteSequences_Call) Run

func (*StorageMock_CheckProofContainsCompleteSequences_Call) RunAndReturn

type StorageMock_CleanupGeneratedProofs_Call

type StorageMock_CleanupGeneratedProofs_Call struct {
	*mock.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 (*StorageMock_CleanupGeneratedProofs_Call) Run

func (*StorageMock_CleanupGeneratedProofs_Call) RunAndReturn

type StorageMock_CleanupLockedProofs_Call

type StorageMock_CleanupLockedProofs_Call struct {
	*mock.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 (*StorageMock_CleanupLockedProofs_Call) Run

func (*StorageMock_CleanupLockedProofs_Call) RunAndReturn

type StorageMock_CloseBatchInStorage_Call

type StorageMock_CloseBatchInStorage_Call struct {
	*mock.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 (*StorageMock_CloseBatchInStorage_Call) Run

func (*StorageMock_CloseBatchInStorage_Call) RunAndReturn

type StorageMock_CloseWIPBatchInStorage_Call

type StorageMock_CloseWIPBatchInStorage_Call struct {
	*mock.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 (*StorageMock_CloseWIPBatchInStorage_Call) Run

func (*StorageMock_CloseWIPBatchInStorage_Call) RunAndReturn

type StorageMock_CountReorgs_Call

type StorageMock_CountReorgs_Call struct {
	*mock.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 (*StorageMock_CountReorgs_Call) Run

func (*StorageMock_CountReorgs_Call) RunAndReturn

type StorageMock_DeleteGeneratedProofs_Call

type StorageMock_DeleteGeneratedProofs_Call struct {
	*mock.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 (*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

type StorageMock_DeleteUngeneratedProofs_Call

type StorageMock_DeleteUngeneratedProofs_Call struct {
	*mock.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 (*StorageMock_DeleteUngeneratedProofs_Call) Run

func (*StorageMock_DeleteUngeneratedProofs_Call) RunAndReturn

type StorageMock_Exec_Call

type StorageMock_Exec_Call struct {
	*mock.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

type StorageMock_GetAllL1InfoRootEntries_Call struct {
	*mock.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 (*StorageMock_GetAllL1InfoRootEntries_Call) Run

func (*StorageMock_GetAllL1InfoRootEntries_Call) RunAndReturn

type StorageMock_GetBatchByForcedBatchNum_Call

type StorageMock_GetBatchByForcedBatchNum_Call struct {
	*mock.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 (*StorageMock_GetBatchByForcedBatchNum_Call) Run

func (*StorageMock_GetBatchByForcedBatchNum_Call) RunAndReturn

type StorageMock_GetBatchByL2BlockNumber_Call

type StorageMock_GetBatchByL2BlockNumber_Call struct {
	*mock.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 (*StorageMock_GetBatchByL2BlockNumber_Call) Run

func (*StorageMock_GetBatchByL2BlockNumber_Call) RunAndReturn

type StorageMock_GetBatchByNumber_Call

type StorageMock_GetBatchByNumber_Call struct {
	*mock.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 (*StorageMock_GetBatchByNumber_Call) Run

func (*StorageMock_GetBatchByNumber_Call) RunAndReturn

type StorageMock_GetBatchByTxHash_Call

type StorageMock_GetBatchByTxHash_Call struct {
	*mock.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 (*StorageMock_GetBatchByTxHash_Call) Run

func (*StorageMock_GetBatchByTxHash_Call) RunAndReturn

type StorageMock_GetBatchNumberOfL2Block_Call

type StorageMock_GetBatchNumberOfL2Block_Call struct {
	*mock.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 (*StorageMock_GetBatchNumberOfL2Block_Call) Run

func (*StorageMock_GetBatchNumberOfL2Block_Call) RunAndReturn

type StorageMock_GetBlockByNumber_Call

type StorageMock_GetBlockByNumber_Call struct {
	*mock.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 (*StorageMock_GetBlockByNumber_Call) Run

func (*StorageMock_GetBlockByNumber_Call) RunAndReturn

type StorageMock_GetBlockNumAndMainnetExitRootByGER_Call

type StorageMock_GetBlockNumAndMainnetExitRootByGER_Call struct {
	*mock.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 (*StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) Run

func (*StorageMock_GetBlockNumAndMainnetExitRootByGER_Call) RunAndReturn

type StorageMock_GetBlockNumVirtualBatchByBatchNum_Call

type StorageMock_GetBlockNumVirtualBatchByBatchNum_Call struct {
	*mock.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 (*StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) Run

func (*StorageMock_GetBlockNumVirtualBatchByBatchNum_Call) RunAndReturn

type StorageMock_GetDSBatches_Call

type StorageMock_GetDSBatches_Call struct {
	*mock.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 (*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

type StorageMock_GetDSGenesisBlock_Call struct {
	*mock.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 (*StorageMock_GetDSGenesisBlock_Call) Run

func (*StorageMock_GetDSGenesisBlock_Call) RunAndReturn

type StorageMock_GetDSL2Blocks_Call

type StorageMock_GetDSL2Blocks_Call struct {
	*mock.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 (*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

type StorageMock_GetDSL2Transactions_Call struct {
	*mock.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 (*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

type StorageMock_GetEncodedTransactionsByBatchNumber_Call

type StorageMock_GetEncodedTransactionsByBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetEncodedTransactionsByBatchNumber_Call) Run

func (*StorageMock_GetEncodedTransactionsByBatchNumber_Call) RunAndReturn

type StorageMock_GetExitRootByGlobalExitRoot_Call

type StorageMock_GetExitRootByGlobalExitRoot_Call struct {
	*mock.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 (*StorageMock_GetExitRootByGlobalExitRoot_Call) Run

func (*StorageMock_GetExitRootByGlobalExitRoot_Call) RunAndReturn

type StorageMock_GetFirstL2BlockNumberForBatchNumber_Call added in v0.5.4

type StorageMock_GetFirstL2BlockNumberForBatchNumber_Call struct {
	*mock.Call
}

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 (*StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) Run added in v0.5.4

func (*StorageMock_GetFirstL2BlockNumberForBatchNumber_Call) RunAndReturn added in v0.5.4

type StorageMock_GetForcedBatchParentHash_Call

type StorageMock_GetForcedBatchParentHash_Call struct {
	*mock.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 (*StorageMock_GetForcedBatchParentHash_Call) Run

func (*StorageMock_GetForcedBatchParentHash_Call) RunAndReturn

type StorageMock_GetForcedBatch_Call

type StorageMock_GetForcedBatch_Call struct {
	*mock.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 (*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

type StorageMock_GetForcedBatchesSince_Call

type StorageMock_GetForcedBatchesSince_Call struct {
	*mock.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 (*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

type StorageMock_GetForkIDByBatchNumber_Call

type StorageMock_GetForkIDByBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetForkIDByBatchNumber_Call) Run

func (*StorageMock_GetForkIDByBatchNumber_Call) RunAndReturn

type StorageMock_GetForkIDByBlockNumber_Call

type StorageMock_GetForkIDByBlockNumber_Call struct {
	*mock.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 (*StorageMock_GetForkIDByBlockNumber_Call) Run

func (*StorageMock_GetForkIDByBlockNumber_Call) RunAndReturn

type StorageMock_GetForkIDInMemory_Call added in v0.5.4

type StorageMock_GetForkIDInMemory_Call struct {
	*mock.Call
}

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 (*StorageMock_GetForkIDInMemory_Call) Run added in v0.5.4

func (*StorageMock_GetForkIDInMemory_Call) RunAndReturn added in v0.5.4

type StorageMock_GetForkIDs_Call

type StorageMock_GetForkIDs_Call struct {
	*mock.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 (*StorageMock_GetForkIDs_Call) Run

func (*StorageMock_GetForkIDs_Call) RunAndReturn

type StorageMock_GetL1InfoRootLeafByIndex_Call

type StorageMock_GetL1InfoRootLeafByIndex_Call struct {
	*mock.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 (*StorageMock_GetL1InfoRootLeafByIndex_Call) Run

type StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call

type StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call struct {
	*mock.Call
}

StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'GetL1InfoRootLeafByL1InfoRoot'

func (*StorageMock_GetL1InfoRootLeafByL1InfoRoot_Call) Run

type StorageMock_GetL2BlockByHash_Call

type StorageMock_GetL2BlockByHash_Call struct {
	*mock.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 (*StorageMock_GetL2BlockByHash_Call) Run

func (*StorageMock_GetL2BlockByHash_Call) RunAndReturn

type StorageMock_GetL2BlockByNumber_Call

type StorageMock_GetL2BlockByNumber_Call struct {
	*mock.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 (*StorageMock_GetL2BlockByNumber_Call) Run

func (*StorageMock_GetL2BlockByNumber_Call) RunAndReturn

type StorageMock_GetL2BlockHashByNumber_Call added in v0.5.1

type StorageMock_GetL2BlockHashByNumber_Call struct {
	*mock.Call
}

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 (*StorageMock_GetL2BlockHashByNumber_Call) Run added in v0.5.1

func (*StorageMock_GetL2BlockHashByNumber_Call) RunAndReturn added in v0.5.1

type StorageMock_GetL2BlockHashesSince_Call

type StorageMock_GetL2BlockHashesSince_Call struct {
	*mock.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 (*StorageMock_GetL2BlockHashesSince_Call) Run

func (*StorageMock_GetL2BlockHashesSince_Call) RunAndReturn

type StorageMock_GetL2BlockHeaderByHash_Call

type StorageMock_GetL2BlockHeaderByHash_Call struct {
	*mock.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 (*StorageMock_GetL2BlockHeaderByHash_Call) Run

func (*StorageMock_GetL2BlockHeaderByHash_Call) RunAndReturn

type StorageMock_GetL2BlockHeaderByNumber_Call

type StorageMock_GetL2BlockHeaderByNumber_Call struct {
	*mock.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 (*StorageMock_GetL2BlockHeaderByNumber_Call) Run

func (*StorageMock_GetL2BlockHeaderByNumber_Call) RunAndReturn

type StorageMock_GetL2BlockTransactionCountByHash_Call

type StorageMock_GetL2BlockTransactionCountByHash_Call struct {
	*mock.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 (*StorageMock_GetL2BlockTransactionCountByHash_Call) Run

func (*StorageMock_GetL2BlockTransactionCountByHash_Call) RunAndReturn

type StorageMock_GetL2BlockTransactionCountByNumber_Call

type StorageMock_GetL2BlockTransactionCountByNumber_Call struct {
	*mock.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 (*StorageMock_GetL2BlockTransactionCountByNumber_Call) Run

func (*StorageMock_GetL2BlockTransactionCountByNumber_Call) RunAndReturn

type StorageMock_GetL2BlocksByBatchNumber_Call

type StorageMock_GetL2BlocksByBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetL2BlocksByBatchNumber_Call) Run

func (*StorageMock_GetL2BlocksByBatchNumber_Call) RunAndReturn

type StorageMock_GetL2TxHashByTxHash_Call

type StorageMock_GetL2TxHashByTxHash_Call struct {
	*mock.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 (*StorageMock_GetL2TxHashByTxHash_Call) Run

func (*StorageMock_GetL2TxHashByTxHash_Call) RunAndReturn

type StorageMock_GetLastBatchNumber_Call

type StorageMock_GetLastBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetLastBatchNumber_Call) Run

func (*StorageMock_GetLastBatchNumber_Call) RunAndReturn

type StorageMock_GetLastBatchTime_Call

type StorageMock_GetLastBatchTime_Call struct {
	*mock.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 (*StorageMock_GetLastBatchTime_Call) Run

func (*StorageMock_GetLastBatchTime_Call) RunAndReturn

type StorageMock_GetLastBlock_Call

type StorageMock_GetLastBlock_Call struct {
	*mock.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 (*StorageMock_GetLastBlock_Call) Run

func (*StorageMock_GetLastBlock_Call) RunAndReturn

type StorageMock_GetLastClosedBatchNumber_Call

type StorageMock_GetLastClosedBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetLastClosedBatchNumber_Call) Run

func (*StorageMock_GetLastClosedBatchNumber_Call) RunAndReturn

type StorageMock_GetLastClosedBatch_Call

type StorageMock_GetLastClosedBatch_Call struct {
	*mock.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 (*StorageMock_GetLastClosedBatch_Call) Run

func (*StorageMock_GetLastClosedBatch_Call) RunAndReturn

type StorageMock_GetLastConsolidatedL2BlockNumber_Call

type StorageMock_GetLastConsolidatedL2BlockNumber_Call struct {
	*mock.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 (*StorageMock_GetLastConsolidatedL2BlockNumber_Call) Run

func (*StorageMock_GetLastConsolidatedL2BlockNumber_Call) RunAndReturn

type StorageMock_GetLastL2BlockByBatchNumber_Call added in v0.6.0

type StorageMock_GetLastL2BlockByBatchNumber_Call struct {
	*mock.Call
}

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 (*StorageMock_GetLastL2BlockByBatchNumber_Call) Run added in v0.6.0

func (*StorageMock_GetLastL2BlockByBatchNumber_Call) RunAndReturn added in v0.6.0

type StorageMock_GetLastL2BlockCreatedAt_Call

type StorageMock_GetLastL2BlockCreatedAt_Call struct {
	*mock.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 (*StorageMock_GetLastL2BlockCreatedAt_Call) Run

func (*StorageMock_GetLastL2BlockCreatedAt_Call) RunAndReturn

type StorageMock_GetLastL2BlockHeader_Call

type StorageMock_GetLastL2BlockHeader_Call struct {
	*mock.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 (*StorageMock_GetLastL2BlockHeader_Call) Run

func (*StorageMock_GetLastL2BlockHeader_Call) RunAndReturn

type StorageMock_GetLastL2BlockNumber_Call

type StorageMock_GetLastL2BlockNumber_Call struct {
	*mock.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 (*StorageMock_GetLastL2BlockNumber_Call) Run

func (*StorageMock_GetLastL2BlockNumber_Call) RunAndReturn

type StorageMock_GetLastL2Block_Call

type StorageMock_GetLastL2Block_Call struct {
	*mock.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 (*StorageMock_GetLastL2Block_Call) Run

func (*StorageMock_GetLastL2Block_Call) RunAndReturn

type StorageMock_GetLastNBatchesByL2BlockNumber_Call

type StorageMock_GetLastNBatchesByL2BlockNumber_Call struct {
	*mock.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 (*StorageMock_GetLastNBatchesByL2BlockNumber_Call) Run

func (*StorageMock_GetLastNBatchesByL2BlockNumber_Call) RunAndReturn

type StorageMock_GetLastNBatches_Call

type StorageMock_GetLastNBatches_Call struct {
	*mock.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 (*StorageMock_GetLastNBatches_Call) Run

func (*StorageMock_GetLastNBatches_Call) RunAndReturn

type StorageMock_GetLastTrustedForcedBatchNumber_Call

type StorageMock_GetLastTrustedForcedBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetLastTrustedForcedBatchNumber_Call) Run

func (*StorageMock_GetLastTrustedForcedBatchNumber_Call) RunAndReturn

type StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call

type StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call struct {
	*mock.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 (*StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) Run

func (*StorageMock_GetLastVerifiedBatchNumberUntilL1Block_Call) RunAndReturn

type StorageMock_GetLastVerifiedBatch_Call

type StorageMock_GetLastVerifiedBatch_Call struct {
	*mock.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 (*StorageMock_GetLastVerifiedBatch_Call) Run

func (*StorageMock_GetLastVerifiedBatch_Call) RunAndReturn

type StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call

type StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call struct {
	*mock.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 (*StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) Run

func (*StorageMock_GetLastVerifiedL2BlockNumberUntilL1Block_Call) RunAndReturn

type StorageMock_GetLastVirtualBatchNum_Call

type StorageMock_GetLastVirtualBatchNum_Call struct {
	*mock.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 (*StorageMock_GetLastVirtualBatchNum_Call) Run

func (*StorageMock_GetLastVirtualBatchNum_Call) RunAndReturn

type StorageMock_GetLastVirtualizedL2BlockNumber_Call

type StorageMock_GetLastVirtualizedL2BlockNumber_Call struct {
	*mock.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 (*StorageMock_GetLastVirtualizedL2BlockNumber_Call) Run

func (*StorageMock_GetLastVirtualizedL2BlockNumber_Call) RunAndReturn

type StorageMock_GetLatestBatchGlobalExitRoot_Call

type StorageMock_GetLatestBatchGlobalExitRoot_Call struct {
	*mock.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 (*StorageMock_GetLatestBatchGlobalExitRoot_Call) Run

func (*StorageMock_GetLatestBatchGlobalExitRoot_Call) RunAndReturn

type StorageMock_GetLatestGer_Call

type StorageMock_GetLatestGer_Call struct {
	*mock.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 (*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

type StorageMock_GetLatestGlobalExitRoot_Call

type StorageMock_GetLatestGlobalExitRoot_Call struct {
	*mock.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 (*StorageMock_GetLatestGlobalExitRoot_Call) Run

func (*StorageMock_GetLatestGlobalExitRoot_Call) RunAndReturn

type StorageMock_GetLatestIndex_Call

type StorageMock_GetLatestIndex_Call struct {
	*mock.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 (*StorageMock_GetLatestIndex_Call) Run

func (*StorageMock_GetLatestIndex_Call) RunAndReturn

type StorageMock_GetLatestL1InfoRoot_Call

type StorageMock_GetLatestL1InfoRoot_Call struct {
	*mock.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 (*StorageMock_GetLatestL1InfoRoot_Call) Run

type StorageMock_GetLatestVirtualBatchTimestamp_Call

type StorageMock_GetLatestVirtualBatchTimestamp_Call struct {
	*mock.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 (*StorageMock_GetLatestVirtualBatchTimestamp_Call) Run

func (*StorageMock_GetLatestVirtualBatchTimestamp_Call) RunAndReturn

type StorageMock_GetLeavesByL1InfoRoot_Call added in v0.6.5

type StorageMock_GetLeavesByL1InfoRoot_Call struct {
	*mock.Call
}

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 (*StorageMock_GetLeavesByL1InfoRoot_Call) Run added in v0.6.5

func (*StorageMock_GetLeavesByL1InfoRoot_Call) RunAndReturn added in v0.6.5

type StorageMock_GetLocalExitRootByBatchNumber_Call

type StorageMock_GetLocalExitRootByBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetLocalExitRootByBatchNumber_Call) Run

func (*StorageMock_GetLocalExitRootByBatchNumber_Call) RunAndReturn

type StorageMock_GetLogsByBlockNumber_Call

type StorageMock_GetLogsByBlockNumber_Call struct {
	*mock.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 (*StorageMock_GetLogsByBlockNumber_Call) Run

func (*StorageMock_GetLogsByBlockNumber_Call) RunAndReturn

type StorageMock_GetLogs_Call

type StorageMock_GetLogs_Call struct {
	*mock.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 (*StorageMock_GetLogs_Call) Run

func (_c *StorageMock_GetLogs_Call) Run(run func(ctx context.Context, fromBlock uint64, toBlock uint64, addresses []common.Address, topics [][]common.Hash, blockHash *common.Hash, since *time.Time, dbTx pgx.Tx)) *StorageMock_GetLogs_Call

func (*StorageMock_GetLogs_Call) RunAndReturn

type StorageMock_GetNativeBlockHashesInRange_Call

type StorageMock_GetNativeBlockHashesInRange_Call struct {
	*mock.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 (*StorageMock_GetNativeBlockHashesInRange_Call) Run

func (*StorageMock_GetNativeBlockHashesInRange_Call) RunAndReturn

type StorageMock_GetNextForcedBatches_Call

type StorageMock_GetNextForcedBatches_Call struct {
	*mock.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 (*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

type StorageMock_GetNotCheckedBatches_Call added in v0.5.8

type StorageMock_GetNotCheckedBatches_Call struct {
	*mock.Call
}

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 (*StorageMock_GetNotCheckedBatches_Call) Run added in v0.5.8

func (*StorageMock_GetNotCheckedBatches_Call) RunAndReturn added in v0.5.8

type StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call

type StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call struct {
	*mock.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 (*StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) Run

func (*StorageMock_GetNumberOfBlocksSinceLastGERUpdate_Call) RunAndReturn

type StorageMock_GetPreviousBlock_Call

type StorageMock_GetPreviousBlock_Call struct {
	*mock.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 (*StorageMock_GetPreviousBlock_Call) Run

func (*StorageMock_GetPreviousBlock_Call) RunAndReturn

type StorageMock_GetProcessingContext_Call

type StorageMock_GetProcessingContext_Call struct {
	*mock.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 (*StorageMock_GetProcessingContext_Call) Run

func (*StorageMock_GetProcessingContext_Call) RunAndReturn

type StorageMock_GetProofReadyToVerify_Call

type StorageMock_GetProofReadyToVerify_Call struct {
	*mock.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 (*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

type StorageMock_GetProofsToAggregate_Call

type StorageMock_GetProofsToAggregate_Call struct {
	*mock.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 (*StorageMock_GetProofsToAggregate_Call) Run

func (*StorageMock_GetProofsToAggregate_Call) RunAndReturn

type StorageMock_GetRawBatchTimestamps_Call

type StorageMock_GetRawBatchTimestamps_Call struct {
	*mock.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 (*StorageMock_GetRawBatchTimestamps_Call) Run

func (*StorageMock_GetRawBatchTimestamps_Call) RunAndReturn

type StorageMock_GetReorgedTransactions_Call

type StorageMock_GetReorgedTransactions_Call struct {
	*mock.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 (*StorageMock_GetReorgedTransactions_Call) Run

func (*StorageMock_GetReorgedTransactions_Call) RunAndReturn

type StorageMock_GetSequences_Call

type StorageMock_GetSequences_Call struct {
	*mock.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 (*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

type StorageMock_GetStateRootByBatchNumber_Call

type StorageMock_GetStateRootByBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetStateRootByBatchNumber_Call) Run

func (*StorageMock_GetStateRootByBatchNumber_Call) RunAndReturn

type StorageMock_GetSyncInfoData_Call added in v0.5.4

type StorageMock_GetSyncInfoData_Call struct {
	*mock.Call
}

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 (*StorageMock_GetSyncInfoData_Call) Run added in v0.5.4

func (*StorageMock_GetSyncInfoData_Call) RunAndReturn added in v0.5.4

type StorageMock_GetTimeForLatestBatchVirtualization_Call

type StorageMock_GetTimeForLatestBatchVirtualization_Call struct {
	*mock.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 (*StorageMock_GetTimeForLatestBatchVirtualization_Call) Run

func (*StorageMock_GetTimeForLatestBatchVirtualization_Call) RunAndReturn

type StorageMock_GetTransactionByHash_Call

type StorageMock_GetTransactionByHash_Call struct {
	*mock.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 (*StorageMock_GetTransactionByHash_Call) Run

func (*StorageMock_GetTransactionByHash_Call) RunAndReturn

type StorageMock_GetTransactionByL2BlockHashAndIndex_Call

type StorageMock_GetTransactionByL2BlockHashAndIndex_Call struct {
	*mock.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 (*StorageMock_GetTransactionByL2BlockHashAndIndex_Call) Run

func (*StorageMock_GetTransactionByL2BlockHashAndIndex_Call) RunAndReturn

type StorageMock_GetTransactionByL2BlockNumberAndIndex_Call

type StorageMock_GetTransactionByL2BlockNumberAndIndex_Call struct {
	*mock.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 (*StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) Run

func (*StorageMock_GetTransactionByL2BlockNumberAndIndex_Call) RunAndReturn

type StorageMock_GetTransactionByL2Hash_Call

type StorageMock_GetTransactionByL2Hash_Call struct {
	*mock.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 (*StorageMock_GetTransactionByL2Hash_Call) Run

func (*StorageMock_GetTransactionByL2Hash_Call) RunAndReturn

type StorageMock_GetTransactionEGPLogByHash_Call

type StorageMock_GetTransactionEGPLogByHash_Call struct {
	*mock.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 (*StorageMock_GetTransactionEGPLogByHash_Call) Run

func (*StorageMock_GetTransactionEGPLogByHash_Call) RunAndReturn

type StorageMock_GetTransactionReceipt_Call

type StorageMock_GetTransactionReceipt_Call struct {
	*mock.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 (*StorageMock_GetTransactionReceipt_Call) Run

func (*StorageMock_GetTransactionReceipt_Call) RunAndReturn

type StorageMock_GetTransactionsByBatchNumber_Call

type StorageMock_GetTransactionsByBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetTransactionsByBatchNumber_Call) Run

func (*StorageMock_GetTransactionsByBatchNumber_Call) RunAndReturn

type StorageMock_GetTxsByBatchNumber_Call

type StorageMock_GetTxsByBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetTxsByBatchNumber_Call) Run

func (*StorageMock_GetTxsByBatchNumber_Call) RunAndReturn

type StorageMock_GetTxsByBlockNumber_Call

type StorageMock_GetTxsByBlockNumber_Call struct {
	*mock.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 (*StorageMock_GetTxsByBlockNumber_Call) Run

func (*StorageMock_GetTxsByBlockNumber_Call) RunAndReturn

type StorageMock_GetTxsHashesByBatchNumber_Call

type StorageMock_GetTxsHashesByBatchNumber_Call struct {
	*mock.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 (*StorageMock_GetTxsHashesByBatchNumber_Call) Run

func (*StorageMock_GetTxsHashesByBatchNumber_Call) RunAndReturn

type StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call added in v0.5.8

type StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call struct {
	*mock.Call
}

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 (*StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) Run added in v0.5.8

func (*StorageMock_GetTxsOlderThanNL1BlocksUntilTxHash_Call) RunAndReturn added in v0.5.8

type StorageMock_GetTxsOlderThanNL1Blocks_Call

type StorageMock_GetTxsOlderThanNL1Blocks_Call struct {
	*mock.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 (*StorageMock_GetTxsOlderThanNL1Blocks_Call) Run

func (*StorageMock_GetTxsOlderThanNL1Blocks_Call) RunAndReturn

type StorageMock_GetVerifiedBatch_Call

type StorageMock_GetVerifiedBatch_Call struct {
	*mock.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 (*StorageMock_GetVerifiedBatch_Call) Run

func (*StorageMock_GetVerifiedBatch_Call) RunAndReturn

type StorageMock_GetVirtualBatchByNumber_Call

type StorageMock_GetVirtualBatchByNumber_Call struct {
	*mock.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 (*StorageMock_GetVirtualBatchByNumber_Call) Run

func (*StorageMock_GetVirtualBatchByNumber_Call) RunAndReturn

type StorageMock_GetVirtualBatchParentHash_Call

type StorageMock_GetVirtualBatchParentHash_Call struct {
	*mock.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 (*StorageMock_GetVirtualBatchParentHash_Call) Run

func (*StorageMock_GetVirtualBatchParentHash_Call) RunAndReturn

type StorageMock_GetVirtualBatchToProve_Call

type StorageMock_GetVirtualBatchToProve_Call struct {
	*mock.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 (*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

type StorageMock_GetVirtualBatch_Call struct {
	*mock.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 (*StorageMock_GetVirtualBatch_Call) Run

func (*StorageMock_GetVirtualBatch_Call) RunAndReturn

type StorageMock_GetWIPBatchInStorage_Call

type StorageMock_GetWIPBatchInStorage_Call struct {
	*mock.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 (*StorageMock_GetWIPBatchInStorage_Call) Run

func (*StorageMock_GetWIPBatchInStorage_Call) RunAndReturn

type StorageMock_IsBatchChecked_Call added in v0.5.8

type StorageMock_IsBatchChecked_Call struct {
	*mock.Call
}

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 (*StorageMock_IsBatchChecked_Call) Run added in v0.5.8

func (*StorageMock_IsBatchChecked_Call) RunAndReturn added in v0.5.8

type StorageMock_IsBatchClosed_Call

type StorageMock_IsBatchClosed_Call struct {
	*mock.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 (*StorageMock_IsBatchClosed_Call) Run

func (*StorageMock_IsBatchClosed_Call) RunAndReturn

type StorageMock_IsBatchConsolidated_Call

type StorageMock_IsBatchConsolidated_Call struct {
	*mock.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 (*StorageMock_IsBatchConsolidated_Call) Run

func (*StorageMock_IsBatchConsolidated_Call) RunAndReturn

type StorageMock_IsBatchVirtualized_Call

type StorageMock_IsBatchVirtualized_Call struct {
	*mock.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 (*StorageMock_IsBatchVirtualized_Call) Run

func (*StorageMock_IsBatchVirtualized_Call) RunAndReturn

type StorageMock_IsL2BlockConsolidated_Call

type StorageMock_IsL2BlockConsolidated_Call struct {
	*mock.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 (*StorageMock_IsL2BlockConsolidated_Call) Run

func (*StorageMock_IsL2BlockConsolidated_Call) RunAndReturn

type StorageMock_IsL2BlockVirtualized_Call

type StorageMock_IsL2BlockVirtualized_Call struct {
	*mock.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 (*StorageMock_IsL2BlockVirtualized_Call) Run

func (*StorageMock_IsL2BlockVirtualized_Call) RunAndReturn

type StorageMock_IsSequencingTXSynced_Call

type StorageMock_IsSequencingTXSynced_Call struct {
	*mock.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 (*StorageMock_IsSequencingTXSynced_Call) Run

func (*StorageMock_IsSequencingTXSynced_Call) RunAndReturn

type StorageMock_OpenBatchInStorage_Call

type StorageMock_OpenBatchInStorage_Call struct {
	*mock.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 (*StorageMock_OpenBatchInStorage_Call) Run

func (*StorageMock_OpenBatchInStorage_Call) RunAndReturn

type StorageMock_OpenWIPBatchInStorage_Call

type StorageMock_OpenWIPBatchInStorage_Call struct {
	*mock.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 (*StorageMock_OpenWIPBatchInStorage_Call) Run

func (*StorageMock_OpenWIPBatchInStorage_Call) RunAndReturn

type StorageMock_QueryRow_Call

type StorageMock_QueryRow_Call struct {
	*mock.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 (*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

type StorageMock_Query_Call struct {
	*mock.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 (*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

type StorageMock_ResetForkID_Call struct {
	*mock.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 (*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

type StorageMock_ResetToL1BlockNumber_Call added in v0.5.5

type StorageMock_ResetToL1BlockNumber_Call struct {
	*mock.Call
}

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 (*StorageMock_ResetToL1BlockNumber_Call) Run added in v0.5.5

func (*StorageMock_ResetToL1BlockNumber_Call) RunAndReturn added in v0.5.5

type StorageMock_ResetTrustedState_Call

type StorageMock_ResetTrustedState_Call struct {
	*mock.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 (*StorageMock_ResetTrustedState_Call) Run

func (*StorageMock_ResetTrustedState_Call) RunAndReturn

type StorageMock_SetInitSyncBatch_Call

type StorageMock_SetInitSyncBatch_Call struct {
	*mock.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 (*StorageMock_SetInitSyncBatch_Call) Run

func (*StorageMock_SetInitSyncBatch_Call) RunAndReturn

type StorageMock_SetLastBatchInfoSeenOnEthereum_Call

type StorageMock_SetLastBatchInfoSeenOnEthereum_Call struct {
	*mock.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 (*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

type StorageMock_StoreGenesisBatch_Call

type StorageMock_StoreGenesisBatch_Call struct {
	*mock.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 (*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

type StorageMock_UpdateBatchAsChecked_Call added in v0.5.8

type StorageMock_UpdateBatchAsChecked_Call struct {
	*mock.Call
}

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 (*StorageMock_UpdateBatchAsChecked_Call) Run added in v0.5.8

func (*StorageMock_UpdateBatchAsChecked_Call) RunAndReturn added in v0.5.8

type StorageMock_UpdateBatchL2Data_Call

type StorageMock_UpdateBatchL2Data_Call struct {
	*mock.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 (*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

type StorageMock_UpdateForkIDBlockNumber_Call added in v0.6.3

type StorageMock_UpdateForkIDBlockNumber_Call struct {
	*mock.Call
}

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 (*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

type StorageMock_UpdateForkIDIntervalsInMemory_Call

type StorageMock_UpdateForkIDIntervalsInMemory_Call struct {
	*mock.Call
}

StorageMock_UpdateForkIDIntervalsInMemory_Call is a *mock.Call that shadows Run/Return methods with type explicit version for method 'UpdateForkIDIntervalsInMemory'

func (*StorageMock_UpdateForkIDIntervalsInMemory_Call) Return

func (*StorageMock_UpdateForkIDIntervalsInMemory_Call) Run

func (*StorageMock_UpdateForkIDIntervalsInMemory_Call) RunAndReturn

type StorageMock_UpdateForkIDToBatchNumber_Call added in v0.6.3

type StorageMock_UpdateForkIDToBatchNumber_Call struct {
	*mock.Call
}

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 (*StorageMock_UpdateForkIDToBatchNumber_Call) Run added in v0.6.3

func (*StorageMock_UpdateForkIDToBatchNumber_Call) RunAndReturn added in v0.6.3

type StorageMock_UpdateGERInOpenBatch_Call

type StorageMock_UpdateGERInOpenBatch_Call struct {
	*mock.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 (*StorageMock_UpdateGERInOpenBatch_Call) Run

func (*StorageMock_UpdateGERInOpenBatch_Call) RunAndReturn

type StorageMock_UpdateGeneratedProof_Call

type StorageMock_UpdateGeneratedProof_Call struct {
	*mock.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 (*StorageMock_UpdateGeneratedProof_Call) Run

func (*StorageMock_UpdateGeneratedProof_Call) RunAndReturn

type StorageMock_UpdateWIPBatch_Call

type StorageMock_UpdateWIPBatch_Call struct {
	*mock.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 (*StorageMock_UpdateWIPBatch_Call) Run

func (*StorageMock_UpdateWIPBatch_Call) RunAndReturn

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL