mock_syncinterfaces

package
v0.7.0-fork11-RC1 Latest Latest
Warning

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

Go to latest
Published: Jul 17, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AsyncL1BlockChecker added in v0.6.6

type AsyncL1BlockChecker struct {
	mock.Mock
}

AsyncL1BlockChecker is an autogenerated mock type for the AsyncL1BlockChecker type

func NewAsyncL1BlockChecker added in v0.6.6

func NewAsyncL1BlockChecker(t interface {
	mock.TestingT
	Cleanup(func())
}) *AsyncL1BlockChecker

NewAsyncL1BlockChecker creates a new instance of AsyncL1BlockChecker. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*AsyncL1BlockChecker) EXPECT added in v0.6.6

func (*AsyncL1BlockChecker) GetResult added in v0.6.6

GetResult provides a mock function with given fields:

func (*AsyncL1BlockChecker) Run added in v0.6.6

func (_m *AsyncL1BlockChecker) Run(ctx context.Context, onFinish func())

Run provides a mock function with given fields: ctx, onFinish

func (*AsyncL1BlockChecker) RunSynchronous added in v0.6.6

RunSynchronous provides a mock function with given fields: ctx

func (*AsyncL1BlockChecker) Stop added in v0.6.6

func (_m *AsyncL1BlockChecker) Stop()

Stop provides a mock function with given fields:

type AsyncL1BlockChecker_Expecter added in v0.6.6

type AsyncL1BlockChecker_Expecter struct {
	// contains filtered or unexported fields
}

func (*AsyncL1BlockChecker_Expecter) GetResult added in v0.6.6

GetResult is a helper method to define mock.On call

func (*AsyncL1BlockChecker_Expecter) Run added in v0.6.6

func (_e *AsyncL1BlockChecker_Expecter) Run(ctx interface{}, onFinish interface{}) *AsyncL1BlockChecker_Run_Call

Run is a helper method to define mock.On call

  • ctx context.Context
  • onFinish func()

func (*AsyncL1BlockChecker_Expecter) RunSynchronous added in v0.6.6

func (_e *AsyncL1BlockChecker_Expecter) RunSynchronous(ctx interface{}) *AsyncL1BlockChecker_RunSynchronous_Call

RunSynchronous is a helper method to define mock.On call

  • ctx context.Context

func (*AsyncL1BlockChecker_Expecter) Stop added in v0.6.6

Stop is a helper method to define mock.On call

type AsyncL1BlockChecker_GetResult_Call added in v0.6.6

type AsyncL1BlockChecker_GetResult_Call struct {
	*mock.Call
}

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

func (*AsyncL1BlockChecker_GetResult_Call) Return added in v0.6.6

func (*AsyncL1BlockChecker_GetResult_Call) Run added in v0.6.6

func (*AsyncL1BlockChecker_GetResult_Call) RunAndReturn added in v0.6.6

type AsyncL1BlockChecker_RunSynchronous_Call added in v0.6.6

type AsyncL1BlockChecker_RunSynchronous_Call struct {
	*mock.Call
}

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

func (*AsyncL1BlockChecker_RunSynchronous_Call) Return added in v0.6.6

func (*AsyncL1BlockChecker_RunSynchronous_Call) Run added in v0.6.6

func (*AsyncL1BlockChecker_RunSynchronous_Call) RunAndReturn added in v0.6.6

type AsyncL1BlockChecker_Run_Call added in v0.6.6

type AsyncL1BlockChecker_Run_Call struct {
	*mock.Call
}

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

func (*AsyncL1BlockChecker_Run_Call) Return added in v0.6.6

func (*AsyncL1BlockChecker_Run_Call) Run added in v0.6.6

func (_c *AsyncL1BlockChecker_Run_Call) Run(run func(ctx context.Context, onFinish func())) *AsyncL1BlockChecker_Run_Call

func (*AsyncL1BlockChecker_Run_Call) RunAndReturn added in v0.6.6

func (_c *AsyncL1BlockChecker_Run_Call) RunAndReturn(run func(context.Context, func())) *AsyncL1BlockChecker_Run_Call

type AsyncL1BlockChecker_Stop_Call added in v0.6.6

type AsyncL1BlockChecker_Stop_Call struct {
	*mock.Call
}

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

func (*AsyncL1BlockChecker_Stop_Call) Return added in v0.6.6

func (*AsyncL1BlockChecker_Stop_Call) Run added in v0.6.6

func (*AsyncL1BlockChecker_Stop_Call) RunAndReturn added in v0.6.6

func (_c *AsyncL1BlockChecker_Stop_Call) RunAndReturn(run func()) *AsyncL1BlockChecker_Stop_Call

type CriticalErrorHandler

type CriticalErrorHandler struct {
	mock.Mock
}

CriticalErrorHandler is an autogenerated mock type for the CriticalErrorHandler type

func NewCriticalErrorHandler

func NewCriticalErrorHandler(t interface {
	mock.TestingT
	Cleanup(func())
}) *CriticalErrorHandler

NewCriticalErrorHandler creates a new instance of CriticalErrorHandler. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*CriticalErrorHandler) CriticalError

func (_m *CriticalErrorHandler) CriticalError(ctx context.Context, err error)

CriticalError provides a mock function with given fields: ctx, err

func (*CriticalErrorHandler) EXPECT

type CriticalErrorHandler_CriticalError_Call

type CriticalErrorHandler_CriticalError_Call struct {
	*mock.Call
}

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

func (*CriticalErrorHandler_CriticalError_Call) Return

func (*CriticalErrorHandler_CriticalError_Call) Run

func (*CriticalErrorHandler_CriticalError_Call) RunAndReturn

type CriticalErrorHandler_Expecter

type CriticalErrorHandler_Expecter struct {
	// contains filtered or unexported fields
}

func (*CriticalErrorHandler_Expecter) CriticalError

func (_e *CriticalErrorHandler_Expecter) CriticalError(ctx interface{}, err interface{}) *CriticalErrorHandler_CriticalError_Call

CriticalError is a helper method to define mock.On call

  • ctx context.Context
  • err error

type EthTxManager

type EthTxManager struct {
	mock.Mock
}

EthTxManager is an autogenerated mock type for the EthTxManager type

func NewEthTxManager

func NewEthTxManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *EthTxManager

NewEthTxManager creates a new instance of EthTxManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EthTxManager) EXPECT

func (_m *EthTxManager) EXPECT() *EthTxManager_Expecter

func (*EthTxManager) Reorg

func (_m *EthTxManager) Reorg(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx) error

Reorg provides a mock function with given fields: ctx, fromBlockNumber, dbTx

type EthTxManager_Expecter

type EthTxManager_Expecter struct {
	// contains filtered or unexported fields
}

func (*EthTxManager_Expecter) Reorg

func (_e *EthTxManager_Expecter) Reorg(ctx interface{}, fromBlockNumber interface{}, dbTx interface{}) *EthTxManager_Reorg_Call

Reorg is a helper method to define mock.On call

  • ctx context.Context
  • fromBlockNumber uint64
  • dbTx pgx.Tx

type EthTxManager_Reorg_Call

type EthTxManager_Reorg_Call struct {
	*mock.Call
}

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

func (*EthTxManager_Reorg_Call) Return

func (*EthTxManager_Reorg_Call) Run

func (_c *EthTxManager_Reorg_Call) Run(run func(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx)) *EthTxManager_Reorg_Call

func (*EthTxManager_Reorg_Call) RunAndReturn

type EthermanFullInterface

type EthermanFullInterface struct {
	mock.Mock
}

EthermanFullInterface is an autogenerated mock type for the EthermanFullInterface type

func NewEthermanFullInterface

func NewEthermanFullInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *EthermanFullInterface

NewEthermanFullInterface creates a new instance of EthermanFullInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EthermanFullInterface) EXPECT

func (*EthermanFullInterface) EthBlockByNumber

func (_m *EthermanFullInterface) EthBlockByNumber(ctx context.Context, blockNumber uint64) (*types.Block, error)

EthBlockByNumber provides a mock function with given fields: ctx, blockNumber

func (*EthermanFullInterface) GetFinalizedBlockNumber added in v0.6.6

func (_m *EthermanFullInterface) GetFinalizedBlockNumber(ctx context.Context) (uint64, error)

GetFinalizedBlockNumber provides a mock function with given fields: ctx

func (*EthermanFullInterface) GetLatestBatchNumber

func (_m *EthermanFullInterface) GetLatestBatchNumber() (uint64, error)

GetLatestBatchNumber provides a mock function with given fields:

func (*EthermanFullInterface) GetLatestVerifiedBatchNum

func (_m *EthermanFullInterface) GetLatestVerifiedBatchNum() (uint64, error)

GetLatestVerifiedBatchNum provides a mock function with given fields:

func (*EthermanFullInterface) GetRollupInfoByBlockRange

func (_m *EthermanFullInterface) GetRollupInfoByBlockRange(ctx context.Context, fromBlock uint64, toBlock *uint64) ([]etherman.Block, map[common.Hash][]etherman.Order, error)

GetRollupInfoByBlockRange provides a mock function with given fields: ctx, fromBlock, toBlock

func (*EthermanFullInterface) GetTrustedSequencerURL

func (_m *EthermanFullInterface) GetTrustedSequencerURL() (string, error)

GetTrustedSequencerURL provides a mock function with given fields:

func (*EthermanFullInterface) HeaderByNumber

func (_m *EthermanFullInterface) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)

HeaderByNumber provides a mock function with given fields: ctx, number

func (*EthermanFullInterface) VerifyGenBlockNumber

func (_m *EthermanFullInterface) VerifyGenBlockNumber(ctx context.Context, genBlockNumber uint64) (bool, error)

VerifyGenBlockNumber provides a mock function with given fields: ctx, genBlockNumber

type EthermanFullInterface_EthBlockByNumber_Call

type EthermanFullInterface_EthBlockByNumber_Call struct {
	*mock.Call
}

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

func (*EthermanFullInterface_EthBlockByNumber_Call) Return

func (*EthermanFullInterface_EthBlockByNumber_Call) Run

func (*EthermanFullInterface_EthBlockByNumber_Call) RunAndReturn

type EthermanFullInterface_Expecter

type EthermanFullInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*EthermanFullInterface_Expecter) EthBlockByNumber

func (_e *EthermanFullInterface_Expecter) EthBlockByNumber(ctx interface{}, blockNumber interface{}) *EthermanFullInterface_EthBlockByNumber_Call

EthBlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • blockNumber uint64

func (*EthermanFullInterface_Expecter) GetFinalizedBlockNumber added in v0.6.6

func (_e *EthermanFullInterface_Expecter) GetFinalizedBlockNumber(ctx interface{}) *EthermanFullInterface_GetFinalizedBlockNumber_Call

GetFinalizedBlockNumber is a helper method to define mock.On call

  • ctx context.Context

func (*EthermanFullInterface_Expecter) GetLatestBatchNumber

GetLatestBatchNumber is a helper method to define mock.On call

func (*EthermanFullInterface_Expecter) GetLatestVerifiedBatchNum

GetLatestVerifiedBatchNum is a helper method to define mock.On call

func (*EthermanFullInterface_Expecter) GetRollupInfoByBlockRange

func (_e *EthermanFullInterface_Expecter) GetRollupInfoByBlockRange(ctx interface{}, fromBlock interface{}, toBlock interface{}) *EthermanFullInterface_GetRollupInfoByBlockRange_Call

GetRollupInfoByBlockRange is a helper method to define mock.On call

  • ctx context.Context
  • fromBlock uint64
  • toBlock *uint64

func (*EthermanFullInterface_Expecter) GetTrustedSequencerURL

GetTrustedSequencerURL is a helper method to define mock.On call

func (*EthermanFullInterface_Expecter) HeaderByNumber

func (_e *EthermanFullInterface_Expecter) HeaderByNumber(ctx interface{}, number interface{}) *EthermanFullInterface_HeaderByNumber_Call

HeaderByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*EthermanFullInterface_Expecter) VerifyGenBlockNumber

func (_e *EthermanFullInterface_Expecter) VerifyGenBlockNumber(ctx interface{}, genBlockNumber interface{}) *EthermanFullInterface_VerifyGenBlockNumber_Call

VerifyGenBlockNumber is a helper method to define mock.On call

  • ctx context.Context
  • genBlockNumber uint64

type EthermanFullInterface_GetFinalizedBlockNumber_Call added in v0.6.6

type EthermanFullInterface_GetFinalizedBlockNumber_Call struct {
	*mock.Call
}

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

func (*EthermanFullInterface_GetFinalizedBlockNumber_Call) Return added in v0.6.6

func (*EthermanFullInterface_GetFinalizedBlockNumber_Call) Run added in v0.6.6

func (*EthermanFullInterface_GetFinalizedBlockNumber_Call) RunAndReturn added in v0.6.6

type EthermanFullInterface_GetLatestBatchNumber_Call

type EthermanFullInterface_GetLatestBatchNumber_Call struct {
	*mock.Call
}

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

func (*EthermanFullInterface_GetLatestBatchNumber_Call) Return

func (*EthermanFullInterface_GetLatestBatchNumber_Call) Run

func (*EthermanFullInterface_GetLatestBatchNumber_Call) RunAndReturn

type EthermanFullInterface_GetLatestVerifiedBatchNum_Call

type EthermanFullInterface_GetLatestVerifiedBatchNum_Call struct {
	*mock.Call
}

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

func (*EthermanFullInterface_GetLatestVerifiedBatchNum_Call) Return

func (*EthermanFullInterface_GetLatestVerifiedBatchNum_Call) Run

func (*EthermanFullInterface_GetLatestVerifiedBatchNum_Call) RunAndReturn

type EthermanFullInterface_GetRollupInfoByBlockRange_Call

type EthermanFullInterface_GetRollupInfoByBlockRange_Call struct {
	*mock.Call
}

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

func (*EthermanFullInterface_GetRollupInfoByBlockRange_Call) Return

func (*EthermanFullInterface_GetRollupInfoByBlockRange_Call) Run

func (*EthermanFullInterface_GetRollupInfoByBlockRange_Call) RunAndReturn

type EthermanFullInterface_GetTrustedSequencerURL_Call

type EthermanFullInterface_GetTrustedSequencerURL_Call struct {
	*mock.Call
}

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

func (*EthermanFullInterface_GetTrustedSequencerURL_Call) Return

func (*EthermanFullInterface_GetTrustedSequencerURL_Call) Run

func (*EthermanFullInterface_GetTrustedSequencerURL_Call) RunAndReturn

type EthermanFullInterface_HeaderByNumber_Call

type EthermanFullInterface_HeaderByNumber_Call struct {
	*mock.Call
}

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

func (*EthermanFullInterface_HeaderByNumber_Call) Return

func (*EthermanFullInterface_HeaderByNumber_Call) Run

func (*EthermanFullInterface_HeaderByNumber_Call) RunAndReturn

type EthermanFullInterface_VerifyGenBlockNumber_Call

type EthermanFullInterface_VerifyGenBlockNumber_Call struct {
	*mock.Call
}

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

func (*EthermanFullInterface_VerifyGenBlockNumber_Call) Return

func (*EthermanFullInterface_VerifyGenBlockNumber_Call) Run

func (*EthermanFullInterface_VerifyGenBlockNumber_Call) RunAndReturn

type EthermanGetLatestBatchNumber

type EthermanGetLatestBatchNumber struct {
	mock.Mock
}

EthermanGetLatestBatchNumber is an autogenerated mock type for the EthermanGetLatestBatchNumber type

func NewEthermanGetLatestBatchNumber

func NewEthermanGetLatestBatchNumber(t interface {
	mock.TestingT
	Cleanup(func())
}) *EthermanGetLatestBatchNumber

NewEthermanGetLatestBatchNumber creates a new instance of EthermanGetLatestBatchNumber. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EthermanGetLatestBatchNumber) EXPECT

func (*EthermanGetLatestBatchNumber) GetLatestBatchNumber

func (_m *EthermanGetLatestBatchNumber) GetLatestBatchNumber() (uint64, error)

GetLatestBatchNumber provides a mock function with given fields:

type EthermanGetLatestBatchNumber_Expecter

type EthermanGetLatestBatchNumber_Expecter struct {
	// contains filtered or unexported fields
}

func (*EthermanGetLatestBatchNumber_Expecter) GetLatestBatchNumber

GetLatestBatchNumber is a helper method to define mock.On call

type EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call

type EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call struct {
	*mock.Call
}

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

func (*EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) Return

func (*EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) Run

func (*EthermanGetLatestBatchNumber_GetLatestBatchNumber_Call) RunAndReturn

type EventLogInterface

type EventLogInterface struct {
	mock.Mock
}

EventLogInterface is an autogenerated mock type for the EventLogInterface type

func NewEventLogInterface

func NewEventLogInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *EventLogInterface

NewEventLogInterface creates a new instance of EventLogInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*EventLogInterface) EXPECT

func (*EventLogInterface) LogEvent

func (_m *EventLogInterface) LogEvent(ctx context.Context, _a1 *event.Event) error

LogEvent provides a mock function with given fields: ctx, _a1

type EventLogInterface_Expecter

type EventLogInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*EventLogInterface_Expecter) LogEvent

func (_e *EventLogInterface_Expecter) LogEvent(ctx interface{}, _a1 interface{}) *EventLogInterface_LogEvent_Call

LogEvent is a helper method to define mock.On call

  • ctx context.Context
  • _a1 *event.Event

type EventLogInterface_LogEvent_Call

type EventLogInterface_LogEvent_Call struct {
	*mock.Call
}

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

func (*EventLogInterface_LogEvent_Call) Return

func (*EventLogInterface_LogEvent_Call) Run

func (*EventLogInterface_LogEvent_Call) RunAndReturn

type L1BlockCheckerIntegrator added in v0.6.6

type L1BlockCheckerIntegrator struct {
	mock.Mock
}

L1BlockCheckerIntegrator is an autogenerated mock type for the L1BlockCheckerIntegrator type

func NewL1BlockCheckerIntegrator added in v0.6.6

func NewL1BlockCheckerIntegrator(t interface {
	mock.TestingT
	Cleanup(func())
}) *L1BlockCheckerIntegrator

NewL1BlockCheckerIntegrator creates a new instance of L1BlockCheckerIntegrator. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*L1BlockCheckerIntegrator) CheckReorgWrapper added in v0.6.6

func (_m *L1BlockCheckerIntegrator) CheckReorgWrapper(ctx context.Context, reorgFirstBlockOk *state.Block, errReportedByReorgFunc error) (*state.Block, error)

CheckReorgWrapper provides a mock function with given fields: ctx, reorgFirstBlockOk, errReportedByReorgFunc

func (*L1BlockCheckerIntegrator) EXPECT added in v0.6.6

func (*L1BlockCheckerIntegrator) OnResetState added in v0.6.6

func (_m *L1BlockCheckerIntegrator) OnResetState(ctx context.Context)

OnResetState provides a mock function with given fields: ctx

func (*L1BlockCheckerIntegrator) OnStart added in v0.6.6

func (_m *L1BlockCheckerIntegrator) OnStart(ctx context.Context) error

OnStart provides a mock function with given fields: ctx

type L1BlockCheckerIntegrator_CheckReorgWrapper_Call added in v0.6.6

type L1BlockCheckerIntegrator_CheckReorgWrapper_Call struct {
	*mock.Call
}

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

func (*L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Return added in v0.6.6

func (*L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Run added in v0.6.6

func (_c *L1BlockCheckerIntegrator_CheckReorgWrapper_Call) Run(run func(ctx context.Context, reorgFirstBlockOk *state.Block, errReportedByReorgFunc error)) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call

func (*L1BlockCheckerIntegrator_CheckReorgWrapper_Call) RunAndReturn added in v0.6.6

type L1BlockCheckerIntegrator_Expecter added in v0.6.6

type L1BlockCheckerIntegrator_Expecter struct {
	// contains filtered or unexported fields
}

func (*L1BlockCheckerIntegrator_Expecter) CheckReorgWrapper added in v0.6.6

func (_e *L1BlockCheckerIntegrator_Expecter) CheckReorgWrapper(ctx interface{}, reorgFirstBlockOk interface{}, errReportedByReorgFunc interface{}) *L1BlockCheckerIntegrator_CheckReorgWrapper_Call

CheckReorgWrapper is a helper method to define mock.On call

  • ctx context.Context
  • reorgFirstBlockOk *state.Block
  • errReportedByReorgFunc error

func (*L1BlockCheckerIntegrator_Expecter) OnResetState added in v0.6.6

OnResetState is a helper method to define mock.On call

  • ctx context.Context

func (*L1BlockCheckerIntegrator_Expecter) OnStart added in v0.6.6

OnStart is a helper method to define mock.On call

  • ctx context.Context

type L1BlockCheckerIntegrator_OnResetState_Call added in v0.6.6

type L1BlockCheckerIntegrator_OnResetState_Call struct {
	*mock.Call
}

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

func (*L1BlockCheckerIntegrator_OnResetState_Call) Return added in v0.6.6

func (*L1BlockCheckerIntegrator_OnResetState_Call) Run added in v0.6.6

func (*L1BlockCheckerIntegrator_OnResetState_Call) RunAndReturn added in v0.6.6

type L1BlockCheckerIntegrator_OnStart_Call added in v0.6.6

type L1BlockCheckerIntegrator_OnStart_Call struct {
	*mock.Call
}

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

func (*L1BlockCheckerIntegrator_OnStart_Call) Return added in v0.6.6

func (*L1BlockCheckerIntegrator_OnStart_Call) Run added in v0.6.6

func (*L1BlockCheckerIntegrator_OnStart_Call) RunAndReturn added in v0.6.6

type PoolInterface

type PoolInterface struct {
	mock.Mock
}

PoolInterface is an autogenerated mock type for the PoolInterface type

func NewPoolInterface

func NewPoolInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *PoolInterface

NewPoolInterface creates a new instance of PoolInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*PoolInterface) DeleteReorgedTransactions

func (_m *PoolInterface) DeleteReorgedTransactions(ctx context.Context, txs []*types.Transaction) error

DeleteReorgedTransactions provides a mock function with given fields: ctx, txs

func (*PoolInterface) EXPECT

func (_m *PoolInterface) EXPECT() *PoolInterface_Expecter

func (*PoolInterface) StoreTx

func (_m *PoolInterface) StoreTx(ctx context.Context, tx types.Transaction, ip string, isWIP bool) error

StoreTx provides a mock function with given fields: ctx, tx, ip, isWIP

type PoolInterface_DeleteReorgedTransactions_Call

type PoolInterface_DeleteReorgedTransactions_Call struct {
	*mock.Call
}

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

func (*PoolInterface_DeleteReorgedTransactions_Call) Return

func (*PoolInterface_DeleteReorgedTransactions_Call) Run

func (*PoolInterface_DeleteReorgedTransactions_Call) RunAndReturn

type PoolInterface_Expecter

type PoolInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*PoolInterface_Expecter) DeleteReorgedTransactions

func (_e *PoolInterface_Expecter) DeleteReorgedTransactions(ctx interface{}, txs interface{}) *PoolInterface_DeleteReorgedTransactions_Call

DeleteReorgedTransactions is a helper method to define mock.On call

  • ctx context.Context
  • txs []*types.Transaction

func (*PoolInterface_Expecter) StoreTx

func (_e *PoolInterface_Expecter) StoreTx(ctx interface{}, tx interface{}, ip interface{}, isWIP interface{}) *PoolInterface_StoreTx_Call

StoreTx is a helper method to define mock.On call

  • ctx context.Context
  • tx types.Transaction
  • ip string
  • isWIP bool

type PoolInterface_StoreTx_Call

type PoolInterface_StoreTx_Call struct {
	*mock.Call
}

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

func (*PoolInterface_StoreTx_Call) Return

func (*PoolInterface_StoreTx_Call) Run

func (*PoolInterface_StoreTx_Call) RunAndReturn

type StateBeginTransactionInterface

type StateBeginTransactionInterface struct {
	mock.Mock
}

StateBeginTransactionInterface is an autogenerated mock type for the StateBeginTransactionInterface type

func NewStateBeginTransactionInterface

func NewStateBeginTransactionInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *StateBeginTransactionInterface

NewStateBeginTransactionInterface creates a new instance of StateBeginTransactionInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*StateBeginTransactionInterface) BeginStateTransaction

func (_m *StateBeginTransactionInterface) BeginStateTransaction(ctx context.Context) (pgx.Tx, error)

BeginStateTransaction provides a mock function with given fields: ctx

func (*StateBeginTransactionInterface) EXPECT

type StateBeginTransactionInterface_BeginStateTransaction_Call

type StateBeginTransactionInterface_BeginStateTransaction_Call struct {
	*mock.Call
}

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

func (*StateBeginTransactionInterface_BeginStateTransaction_Call) Return

func (*StateBeginTransactionInterface_BeginStateTransaction_Call) Run

func (*StateBeginTransactionInterface_BeginStateTransaction_Call) RunAndReturn

type StateBeginTransactionInterface_Expecter

type StateBeginTransactionInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*StateBeginTransactionInterface_Expecter) BeginStateTransaction

BeginStateTransaction is a helper method to define mock.On call

  • ctx context.Context

type StateFullInterface

type StateFullInterface struct {
	mock.Mock
}

StateFullInterface is an autogenerated mock type for the StateFullInterface type

func NewStateFullInterface

func NewStateFullInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *StateFullInterface

NewStateFullInterface creates a new instance of StateFullInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*StateFullInterface) AddAccumulatedInputHash

func (_m *StateFullInterface) AddAccumulatedInputHash(ctx context.Context, batchNum uint64, accInputHash common.Hash, dbTx pgx.Tx) error

AddAccumulatedInputHash provides a mock function with given fields: ctx, batchNum, accInputHash, dbTx

func (*StateFullInterface) AddBlock

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

AddBlock provides a mock function with given fields: ctx, block, dbTx

func (*StateFullInterface) AddForcedBatch

func (_m *StateFullInterface) AddForcedBatch(ctx context.Context, forcedBatch *state.ForcedBatch, dbTx pgx.Tx) error

AddForcedBatch provides a mock function with given fields: ctx, forcedBatch, dbTx

func (*StateFullInterface) AddForkIDInterval

func (_m *StateFullInterface) AddForkIDInterval(ctx context.Context, newForkID state.ForkIDInterval, dbTx pgx.Tx) error

AddForkIDInterval provides a mock function with given fields: ctx, newForkID, dbTx

func (*StateFullInterface) AddGlobalExitRoot

func (_m *StateFullInterface) AddGlobalExitRoot(ctx context.Context, exitRoot *state.GlobalExitRoot, dbTx pgx.Tx) error

AddGlobalExitRoot provides a mock function with given fields: ctx, exitRoot, dbTx

func (*StateFullInterface) AddL1InfoTreeLeaf

func (_m *StateFullInterface) AddL1InfoTreeLeaf(ctx context.Context, L1InfoTreeLeaf *state.L1InfoTreeLeaf, dbTx pgx.Tx) (*state.L1InfoTreeExitRootStorageEntry, error)

AddL1InfoTreeLeaf provides a mock function with given fields: ctx, L1InfoTreeLeaf, dbTx

func (*StateFullInterface) AddSequence

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

AddSequence provides a mock function with given fields: ctx, sequence, dbTx

func (*StateFullInterface) AddTrustedReorg

func (_m *StateFullInterface) AddTrustedReorg(ctx context.Context, trustedReorg *state.TrustedReorg, dbTx pgx.Tx) error

AddTrustedReorg provides a mock function with given fields: ctx, trustedReorg, dbTx

func (*StateFullInterface) AddVerifiedBatch

func (_m *StateFullInterface) AddVerifiedBatch(ctx context.Context, verifiedBatch *state.VerifiedBatch, dbTx pgx.Tx) error

AddVerifiedBatch provides a mock function with given fields: ctx, verifiedBatch, dbTx

func (*StateFullInterface) AddVirtualBatch

func (_m *StateFullInterface) AddVirtualBatch(ctx context.Context, virtualBatch *state.VirtualBatch, dbTx pgx.Tx) error

AddVirtualBatch provides a mock function with given fields: ctx, virtualBatch, dbTx

func (*StateFullInterface) BeginStateTransaction

func (_m *StateFullInterface) BeginStateTransaction(ctx context.Context) (pgx.Tx, error)

BeginStateTransaction provides a mock function with given fields: ctx

func (*StateFullInterface) CloseBatch

func (_m *StateFullInterface) CloseBatch(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error

CloseBatch provides a mock function with given fields: ctx, receipt, dbTx

func (*StateFullInterface) EXPECT

func (*StateFullInterface) ExecuteBatch

func (_m *StateFullInterface) ExecuteBatch(ctx context.Context, batch state.Batch, updateMerkleTree bool, dbTx pgx.Tx) (*executor.ProcessBatchResponse, error)

ExecuteBatch provides a mock function with given fields: ctx, batch, updateMerkleTree, dbTx

func (*StateFullInterface) ExecuteBatchV2

func (_m *StateFullInterface) ExecuteBatchV2(ctx context.Context, batch state.Batch, L1InfoTreeRoot common.Hash, l1InfoTreeData map[uint32]state.L1DataV2, timestampLimit time.Time, updateMerkleTree bool, skipVerifyL1InfoRoot uint32, forcedBlockHashL1 *common.Hash, dbTx pgx.Tx) (*executor.ProcessBatchResponseV2, error)

ExecuteBatchV2 provides a mock function with given fields: ctx, batch, L1InfoTreeRoot, l1InfoTreeData, timestampLimit, updateMerkleTree, skipVerifyL1InfoRoot, forcedBlockHashL1, dbTx

func (*StateFullInterface) GetBatchByNumber

func (_m *StateFullInterface) GetBatchByNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)

GetBatchByNumber provides a mock function with given fields: ctx, batchNumber, dbTx

func (*StateFullInterface) GetBlockByNumber added in v0.6.6

func (_m *StateFullInterface) GetBlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.Block, error)

GetBlockByNumber provides a mock function with given fields: ctx, blockNumber, dbTx

func (*StateFullInterface) GetExitRootByGlobalExitRoot

func (_m *StateFullInterface) GetExitRootByGlobalExitRoot(ctx context.Context, ger common.Hash, dbTx pgx.Tx) (*state.GlobalExitRoot, error)

GetExitRootByGlobalExitRoot provides a mock function with given fields: ctx, ger, dbTx

func (*StateFullInterface) GetFirstUncheckedBlock added in v0.6.5

func (_m *StateFullInterface) GetFirstUncheckedBlock(ctx context.Context, fromBlockNumber uint64, dbTx pgx.Tx) (*state.Block, error)

GetFirstUncheckedBlock provides a mock function with given fields: ctx, fromBlockNumber, dbTx

func (*StateFullInterface) GetForkIDByBatchNumber

func (_m *StateFullInterface) GetForkIDByBatchNumber(batchNumber uint64) uint64

GetForkIDByBatchNumber provides a mock function with given fields: batchNumber

func (*StateFullInterface) GetForkIDByBlockNumber

func (_m *StateFullInterface) GetForkIDByBlockNumber(blockNumber uint64) uint64

GetForkIDByBlockNumber provides a mock function with given fields: blockNumber

func (*StateFullInterface) GetForkIDInMemory added in v0.5.4

func (_m *StateFullInterface) GetForkIDInMemory(forkId uint64) *state.ForkIDInterval

GetForkIDInMemory provides a mock function with given fields: forkId

func (*StateFullInterface) GetForkIDs

func (_m *StateFullInterface) GetForkIDs(ctx context.Context, dbTx pgx.Tx) ([]state.ForkIDInterval, error)

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

func (*StateFullInterface) GetL1InfoRootLeafByL1InfoRoot

func (_m *StateFullInterface) GetL1InfoRootLeafByL1InfoRoot(ctx context.Context, l1InfoRoot common.Hash, dbTx pgx.Tx) (state.L1InfoTreeExitRootStorageEntry, error)

GetL1InfoRootLeafByL1InfoRoot provides a mock function with given fields: ctx, l1InfoRoot, dbTx

func (*StateFullInterface) GetL1InfoTreeDataFromBatchL2Data

func (_m *StateFullInterface) GetL1InfoTreeDataFromBatchL2Data(ctx context.Context, batchL2Data []byte, dbTx pgx.Tx) (map[uint32]state.L1DataV2, common.Hash, common.Hash, error)

GetL1InfoTreeDataFromBatchL2Data provides a mock function with given fields: ctx, batchL2Data, dbTx

func (*StateFullInterface) GetL2BlockByNumber added in v0.6.3

func (_m *StateFullInterface) GetL2BlockByNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)

GetL2BlockByNumber provides a mock function with given fields: ctx, blockNumber, dbTx

func (*StateFullInterface) GetLastBatchNumber

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

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

func (*StateFullInterface) GetLastBlock

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

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

func (*StateFullInterface) GetLastL2BlockByBatchNumber added in v0.6.0

func (_m *StateFullInterface) GetLastL2BlockByBatchNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.L2Block, error)

GetLastL2BlockByBatchNumber provides a mock function with given fields: ctx, batchNumber, dbTx

func (*StateFullInterface) GetLastL2BlockNumber added in v0.6.3

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

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

func (*StateFullInterface) GetLastVerifiedBatch

func (_m *StateFullInterface) GetLastVerifiedBatch(ctx context.Context, dbTx pgx.Tx) (*state.VerifiedBatch, error)

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

func (*StateFullInterface) GetLastVirtualBatchNum

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

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

func (*StateFullInterface) GetNextForcedBatches

func (_m *StateFullInterface) GetNextForcedBatches(ctx context.Context, nextForcedBatches int, dbTx pgx.Tx) ([]state.ForcedBatch, error)

GetNextForcedBatches provides a mock function with given fields: ctx, nextForcedBatches, dbTx

func (*StateFullInterface) GetPreviousBlock

func (_m *StateFullInterface) GetPreviousBlock(ctx context.Context, offset uint64, dbTx pgx.Tx) (*state.Block, error)

GetPreviousBlock provides a mock function with given fields: ctx, offset, dbTx

func (*StateFullInterface) GetPreviousBlockToBlockNumber added in v0.6.6

func (_m *StateFullInterface) GetPreviousBlockToBlockNumber(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) (*state.Block, error)

GetPreviousBlockToBlockNumber provides a mock function with given fields: ctx, blockNumber, dbTx

func (*StateFullInterface) GetReorgedTransactions

func (_m *StateFullInterface) GetReorgedTransactions(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) ([]*types.Transaction, error)

GetReorgedTransactions provides a mock function with given fields: ctx, batchNumber, dbTx

func (*StateFullInterface) GetStateRootByBatchNumber

func (_m *StateFullInterface) GetStateRootByBatchNumber(ctx context.Context, batchNum uint64, dbTx pgx.Tx) (common.Hash, error)

GetStateRootByBatchNumber provides a mock function with given fields: ctx, batchNum, dbTx

func (*StateFullInterface) GetStoredFlushID

func (_m *StateFullInterface) GetStoredFlushID(ctx context.Context) (uint64, string, error)

GetStoredFlushID provides a mock function with given fields: ctx

func (*StateFullInterface) GetUncheckedBlocks added in v0.6.6

func (_m *StateFullInterface) GetUncheckedBlocks(ctx context.Context, fromBlockNumber uint64, toBlockNumber uint64, dbTx pgx.Tx) ([]*state.Block, error)

GetUncheckedBlocks provides a mock function with given fields: ctx, fromBlockNumber, toBlockNumber, dbTx

func (*StateFullInterface) OpenBatch

func (_m *StateFullInterface) OpenBatch(ctx context.Context, processingContext state.ProcessingContext, dbTx pgx.Tx) error

OpenBatch provides a mock function with given fields: ctx, processingContext, dbTx

func (*StateFullInterface) ProcessAndStoreClosedBatch

func (_m *StateFullInterface) ProcessAndStoreClosedBatch(ctx context.Context, processingCtx state.ProcessingContext, encodedTxs []byte, dbTx pgx.Tx, caller metrics.CallerLabel) (common.Hash, uint64, string, error)

ProcessAndStoreClosedBatch provides a mock function with given fields: ctx, processingCtx, encodedTxs, dbTx, caller

func (*StateFullInterface) ProcessAndStoreClosedBatchV2

func (_m *StateFullInterface) ProcessAndStoreClosedBatchV2(ctx context.Context, processingCtx state.ProcessingContextV2, dbTx pgx.Tx, caller metrics.CallerLabel) (common.Hash, uint64, string, error)

ProcessAndStoreClosedBatchV2 provides a mock function with given fields: ctx, processingCtx, dbTx, caller

func (*StateFullInterface) ProcessBatch

func (_m *StateFullInterface) ProcessBatch(ctx context.Context, request state.ProcessRequest, updateMerkleTree bool) (*state.ProcessBatchResponse, error)

ProcessBatch provides a mock function with given fields: ctx, request, updateMerkleTree

func (*StateFullInterface) ProcessBatchV2

func (_m *StateFullInterface) ProcessBatchV2(ctx context.Context, request state.ProcessRequest, updateMerkleTree bool) (*state.ProcessBatchResponse, string, error)

ProcessBatchV2 provides a mock function with given fields: ctx, request, updateMerkleTree

func (*StateFullInterface) Reset

func (_m *StateFullInterface) Reset(ctx context.Context, blockNumber uint64, dbTx pgx.Tx) error

Reset provides a mock function with given fields: ctx, blockNumber, dbTx

func (*StateFullInterface) ResetForkID

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

ResetForkID provides a mock function with given fields: ctx, batchNumber, dbTx

func (*StateFullInterface) ResetTrustedState

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

ResetTrustedState provides a mock function with given fields: ctx, batchNumber, dbTx

func (*StateFullInterface) SetGenesis

func (_m *StateFullInterface) SetGenesis(ctx context.Context, block state.Block, genesis state.Genesis, m metrics.CallerLabel, dbTx pgx.Tx) (common.Hash, error)

SetGenesis provides a mock function with given fields: ctx, block, genesis, m, dbTx

func (*StateFullInterface) SetInitSyncBatch

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

SetInitSyncBatch provides a mock function with given fields: ctx, batchNumber, dbTx

func (*StateFullInterface) SetLastBatchInfoSeenOnEthereum

func (_m *StateFullInterface) SetLastBatchInfoSeenOnEthereum(ctx context.Context, lastBatchNumberSeen uint64, lastBatchNumberVerified uint64, dbTx pgx.Tx) error

SetLastBatchInfoSeenOnEthereum provides a mock function with given fields: ctx, lastBatchNumberSeen, lastBatchNumberVerified, dbTx

func (*StateFullInterface) StoreL2Block

func (_m *StateFullInterface) StoreL2Block(ctx context.Context, batchNumber uint64, l2Block *state.ProcessBlockResponse, txsEGPLog []*state.EffectiveGasPriceLog, dbTx pgx.Tx) (common.Hash, error)

StoreL2Block provides a mock function with given fields: ctx, batchNumber, l2Block, txsEGPLog, dbTx

func (*StateFullInterface) StoreTransaction

func (_m *StateFullInterface) StoreTransaction(ctx context.Context, batchNumber uint64, processedTx *state.ProcessTransactionResponse, coinbase common.Address, timestamp uint64, egpLog *state.EffectiveGasPriceLog, globalExitRoot common.Hash, blockInfoRoot common.Hash, dbTx pgx.Tx) (*state.L2Header, error)

StoreTransaction provides a mock function with given fields: ctx, batchNumber, processedTx, coinbase, timestamp, egpLog, globalExitRoot, blockInfoRoot, dbTx

func (*StateFullInterface) UpdateBatchL2Data

func (_m *StateFullInterface) UpdateBatchL2Data(ctx context.Context, batchNumber uint64, batchL2Data []byte, dbTx pgx.Tx) error

UpdateBatchL2Data provides a mock function with given fields: ctx, batchNumber, batchL2Data, dbTx

func (*StateFullInterface) UpdateBatchTimestamp added in v0.6.7

func (_m *StateFullInterface) UpdateBatchTimestamp(ctx context.Context, batchNumber uint64, timestamp time.Time, dbTx pgx.Tx) error

UpdateBatchTimestamp provides a mock function with given fields: ctx, batchNumber, timestamp, dbTx

func (*StateFullInterface) UpdateCheckedBlockByNumber added in v0.6.5

func (_m *StateFullInterface) UpdateCheckedBlockByNumber(ctx context.Context, blockNumber uint64, newCheckedStatus bool, dbTx pgx.Tx) error

UpdateCheckedBlockByNumber provides a mock function with given fields: ctx, blockNumber, newCheckedStatus, dbTx

func (*StateFullInterface) UpdateForkIDBlockNumber added in v0.6.3

func (_m *StateFullInterface) UpdateForkIDBlockNumber(ctx context.Context, forkdID uint64, newBlockNumber uint64, updateMemCache bool, dbTx pgx.Tx) error

UpdateForkIDBlockNumber provides a mock function with given fields: ctx, forkdID, newBlockNumber, updateMemCache, dbTx

func (*StateFullInterface) UpdateWIPBatch

func (_m *StateFullInterface) UpdateWIPBatch(ctx context.Context, receipt state.ProcessingReceipt, dbTx pgx.Tx) error

UpdateWIPBatch provides a mock function with given fields: ctx, receipt, dbTx

type StateFullInterface_AddAccumulatedInputHash_Call

type StateFullInterface_AddAccumulatedInputHash_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddAccumulatedInputHash_Call) Return

func (*StateFullInterface_AddAccumulatedInputHash_Call) Run

func (*StateFullInterface_AddAccumulatedInputHash_Call) RunAndReturn

type StateFullInterface_AddBlock_Call

type StateFullInterface_AddBlock_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddBlock_Call) Return

func (*StateFullInterface_AddBlock_Call) Run

func (*StateFullInterface_AddBlock_Call) RunAndReturn

type StateFullInterface_AddForcedBatch_Call

type StateFullInterface_AddForcedBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddForcedBatch_Call) Return

func (*StateFullInterface_AddForcedBatch_Call) Run

func (*StateFullInterface_AddForcedBatch_Call) RunAndReturn

type StateFullInterface_AddForkIDInterval_Call

type StateFullInterface_AddForkIDInterval_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddForkIDInterval_Call) Return

func (*StateFullInterface_AddForkIDInterval_Call) Run

func (*StateFullInterface_AddForkIDInterval_Call) RunAndReturn

type StateFullInterface_AddGlobalExitRoot_Call

type StateFullInterface_AddGlobalExitRoot_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddGlobalExitRoot_Call) Return

func (*StateFullInterface_AddGlobalExitRoot_Call) Run

func (*StateFullInterface_AddGlobalExitRoot_Call) RunAndReturn

type StateFullInterface_AddL1InfoTreeLeaf_Call

type StateFullInterface_AddL1InfoTreeLeaf_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddL1InfoTreeLeaf_Call) Return

func (*StateFullInterface_AddL1InfoTreeLeaf_Call) Run

type StateFullInterface_AddSequence_Call

type StateFullInterface_AddSequence_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddSequence_Call) Return

func (*StateFullInterface_AddSequence_Call) Run

func (*StateFullInterface_AddSequence_Call) RunAndReturn

type StateFullInterface_AddTrustedReorg_Call

type StateFullInterface_AddTrustedReorg_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddTrustedReorg_Call) Return

func (*StateFullInterface_AddTrustedReorg_Call) Run

func (*StateFullInterface_AddTrustedReorg_Call) RunAndReturn

type StateFullInterface_AddVerifiedBatch_Call

type StateFullInterface_AddVerifiedBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddVerifiedBatch_Call) Return

func (*StateFullInterface_AddVerifiedBatch_Call) Run

func (*StateFullInterface_AddVerifiedBatch_Call) RunAndReturn

type StateFullInterface_AddVirtualBatch_Call

type StateFullInterface_AddVirtualBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_AddVirtualBatch_Call) Return

func (*StateFullInterface_AddVirtualBatch_Call) Run

func (*StateFullInterface_AddVirtualBatch_Call) RunAndReturn

type StateFullInterface_BeginStateTransaction_Call

type StateFullInterface_BeginStateTransaction_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_BeginStateTransaction_Call) Return

func (*StateFullInterface_BeginStateTransaction_Call) Run

func (*StateFullInterface_BeginStateTransaction_Call) RunAndReturn

type StateFullInterface_CloseBatch_Call

type StateFullInterface_CloseBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_CloseBatch_Call) Return

func (*StateFullInterface_CloseBatch_Call) Run

func (*StateFullInterface_CloseBatch_Call) RunAndReturn

type StateFullInterface_ExecuteBatchV2_Call

type StateFullInterface_ExecuteBatchV2_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_ExecuteBatchV2_Call) Return

func (*StateFullInterface_ExecuteBatchV2_Call) Run

func (_c *StateFullInterface_ExecuteBatchV2_Call) Run(run func(ctx context.Context, batch state.Batch, L1InfoTreeRoot common.Hash, l1InfoTreeData map[uint32]state.L1DataV2, timestampLimit time.Time, updateMerkleTree bool, skipVerifyL1InfoRoot uint32, forcedBlockHashL1 *common.Hash, dbTx pgx.Tx)) *StateFullInterface_ExecuteBatchV2_Call

type StateFullInterface_ExecuteBatch_Call

type StateFullInterface_ExecuteBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_ExecuteBatch_Call) Return

func (*StateFullInterface_ExecuteBatch_Call) Run

func (_c *StateFullInterface_ExecuteBatch_Call) Run(run func(ctx context.Context, batch state.Batch, updateMerkleTree bool, dbTx pgx.Tx)) *StateFullInterface_ExecuteBatch_Call

func (*StateFullInterface_ExecuteBatch_Call) RunAndReturn

type StateFullInterface_Expecter

type StateFullInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*StateFullInterface_Expecter) AddAccumulatedInputHash

func (_e *StateFullInterface_Expecter) AddAccumulatedInputHash(ctx interface{}, batchNum interface{}, accInputHash interface{}, dbTx interface{}) *StateFullInterface_AddAccumulatedInputHash_Call

AddAccumulatedInputHash is a helper method to define mock.On call

  • ctx context.Context
  • batchNum uint64
  • accInputHash common.Hash
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddBlock

func (_e *StateFullInterface_Expecter) AddBlock(ctx interface{}, block interface{}, dbTx interface{}) *StateFullInterface_AddBlock_Call

AddBlock is a helper method to define mock.On call

  • ctx context.Context
  • block *state.Block
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddForcedBatch

func (_e *StateFullInterface_Expecter) AddForcedBatch(ctx interface{}, forcedBatch interface{}, dbTx interface{}) *StateFullInterface_AddForcedBatch_Call

AddForcedBatch is a helper method to define mock.On call

  • ctx context.Context
  • forcedBatch *state.ForcedBatch
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddForkIDInterval

func (_e *StateFullInterface_Expecter) AddForkIDInterval(ctx interface{}, newForkID interface{}, dbTx interface{}) *StateFullInterface_AddForkIDInterval_Call

AddForkIDInterval is a helper method to define mock.On call

  • ctx context.Context
  • newForkID state.ForkIDInterval
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddGlobalExitRoot

func (_e *StateFullInterface_Expecter) AddGlobalExitRoot(ctx interface{}, exitRoot interface{}, dbTx interface{}) *StateFullInterface_AddGlobalExitRoot_Call

AddGlobalExitRoot is a helper method to define mock.On call

  • ctx context.Context
  • exitRoot *state.GlobalExitRoot
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddL1InfoTreeLeaf

func (_e *StateFullInterface_Expecter) AddL1InfoTreeLeaf(ctx interface{}, L1InfoTreeLeaf interface{}, dbTx interface{}) *StateFullInterface_AddL1InfoTreeLeaf_Call

AddL1InfoTreeLeaf is a helper method to define mock.On call

  • ctx context.Context
  • L1InfoTreeLeaf *state.L1InfoTreeLeaf
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddSequence

func (_e *StateFullInterface_Expecter) AddSequence(ctx interface{}, sequence interface{}, dbTx interface{}) *StateFullInterface_AddSequence_Call

AddSequence is a helper method to define mock.On call

  • ctx context.Context
  • sequence state.Sequence
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddTrustedReorg

func (_e *StateFullInterface_Expecter) AddTrustedReorg(ctx interface{}, trustedReorg interface{}, dbTx interface{}) *StateFullInterface_AddTrustedReorg_Call

AddTrustedReorg is a helper method to define mock.On call

  • ctx context.Context
  • trustedReorg *state.TrustedReorg
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddVerifiedBatch

func (_e *StateFullInterface_Expecter) AddVerifiedBatch(ctx interface{}, verifiedBatch interface{}, dbTx interface{}) *StateFullInterface_AddVerifiedBatch_Call

AddVerifiedBatch is a helper method to define mock.On call

  • ctx context.Context
  • verifiedBatch *state.VerifiedBatch
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) AddVirtualBatch

func (_e *StateFullInterface_Expecter) AddVirtualBatch(ctx interface{}, virtualBatch interface{}, dbTx interface{}) *StateFullInterface_AddVirtualBatch_Call

AddVirtualBatch is a helper method to define mock.On call

  • ctx context.Context
  • virtualBatch *state.VirtualBatch
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) BeginStateTransaction

func (_e *StateFullInterface_Expecter) BeginStateTransaction(ctx interface{}) *StateFullInterface_BeginStateTransaction_Call

BeginStateTransaction is a helper method to define mock.On call

  • ctx context.Context

func (*StateFullInterface_Expecter) CloseBatch

func (_e *StateFullInterface_Expecter) CloseBatch(ctx interface{}, receipt interface{}, dbTx interface{}) *StateFullInterface_CloseBatch_Call

CloseBatch is a helper method to define mock.On call

  • ctx context.Context
  • receipt state.ProcessingReceipt
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) ExecuteBatch

func (_e *StateFullInterface_Expecter) ExecuteBatch(ctx interface{}, batch interface{}, updateMerkleTree interface{}, dbTx interface{}) *StateFullInterface_ExecuteBatch_Call

ExecuteBatch is a helper method to define mock.On call

  • ctx context.Context
  • batch state.Batch
  • updateMerkleTree bool
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) ExecuteBatchV2

func (_e *StateFullInterface_Expecter) ExecuteBatchV2(ctx interface{}, batch interface{}, L1InfoTreeRoot interface{}, l1InfoTreeData interface{}, timestampLimit interface{}, updateMerkleTree interface{}, skipVerifyL1InfoRoot interface{}, forcedBlockHashL1 interface{}, dbTx interface{}) *StateFullInterface_ExecuteBatchV2_Call

ExecuteBatchV2 is a helper method to define mock.On call

  • ctx context.Context
  • batch state.Batch
  • L1InfoTreeRoot common.Hash
  • l1InfoTreeData map[uint32]state.L1DataV2
  • timestampLimit time.Time
  • updateMerkleTree bool
  • skipVerifyL1InfoRoot uint32
  • forcedBlockHashL1 *common.Hash
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetBatchByNumber

func (_e *StateFullInterface_Expecter) GetBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetBatchByNumber_Call

GetBatchByNumber is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetBlockByNumber added in v0.6.6

func (_e *StateFullInterface_Expecter) GetBlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetBlockByNumber_Call

GetBlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • blockNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetExitRootByGlobalExitRoot

func (_e *StateFullInterface_Expecter) GetExitRootByGlobalExitRoot(ctx interface{}, ger interface{}, dbTx interface{}) *StateFullInterface_GetExitRootByGlobalExitRoot_Call

GetExitRootByGlobalExitRoot is a helper method to define mock.On call

  • ctx context.Context
  • ger common.Hash
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetFirstUncheckedBlock added in v0.6.5

func (_e *StateFullInterface_Expecter) GetFirstUncheckedBlock(ctx interface{}, fromBlockNumber interface{}, dbTx interface{}) *StateFullInterface_GetFirstUncheckedBlock_Call

GetFirstUncheckedBlock is a helper method to define mock.On call

  • ctx context.Context
  • fromBlockNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetForkIDByBatchNumber

func (_e *StateFullInterface_Expecter) GetForkIDByBatchNumber(batchNumber interface{}) *StateFullInterface_GetForkIDByBatchNumber_Call

GetForkIDByBatchNumber is a helper method to define mock.On call

  • batchNumber uint64

func (*StateFullInterface_Expecter) GetForkIDByBlockNumber

func (_e *StateFullInterface_Expecter) GetForkIDByBlockNumber(blockNumber interface{}) *StateFullInterface_GetForkIDByBlockNumber_Call

GetForkIDByBlockNumber is a helper method to define mock.On call

  • blockNumber uint64

func (*StateFullInterface_Expecter) GetForkIDInMemory added in v0.5.4

func (_e *StateFullInterface_Expecter) GetForkIDInMemory(forkId interface{}) *StateFullInterface_GetForkIDInMemory_Call

GetForkIDInMemory is a helper method to define mock.On call

  • forkId uint64

func (*StateFullInterface_Expecter) GetForkIDs

func (_e *StateFullInterface_Expecter) GetForkIDs(ctx interface{}, dbTx interface{}) *StateFullInterface_GetForkIDs_Call

GetForkIDs is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetL1InfoRootLeafByL1InfoRoot

func (_e *StateFullInterface_Expecter) GetL1InfoRootLeafByL1InfoRoot(ctx interface{}, l1InfoRoot interface{}, dbTx interface{}) *StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call

GetL1InfoRootLeafByL1InfoRoot is a helper method to define mock.On call

  • ctx context.Context
  • l1InfoRoot common.Hash
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetL1InfoTreeDataFromBatchL2Data

func (_e *StateFullInterface_Expecter) GetL1InfoTreeDataFromBatchL2Data(ctx interface{}, batchL2Data interface{}, dbTx interface{}) *StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call

GetL1InfoTreeDataFromBatchL2Data is a helper method to define mock.On call

  • ctx context.Context
  • batchL2Data []byte
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetL2BlockByNumber added in v0.6.3

func (_e *StateFullInterface_Expecter) GetL2BlockByNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetL2BlockByNumber_Call

GetL2BlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • blockNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetLastBatchNumber

func (_e *StateFullInterface_Expecter) GetLastBatchNumber(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastBatchNumber_Call

GetLastBatchNumber is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetLastBlock

func (_e *StateFullInterface_Expecter) GetLastBlock(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastBlock_Call

GetLastBlock is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetLastL2BlockByBatchNumber added in v0.6.0

func (_e *StateFullInterface_Expecter) GetLastL2BlockByBatchNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetLastL2BlockByBatchNumber_Call

GetLastL2BlockByBatchNumber is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetLastL2BlockNumber added in v0.6.3

func (_e *StateFullInterface_Expecter) GetLastL2BlockNumber(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastL2BlockNumber_Call

GetLastL2BlockNumber is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetLastVerifiedBatch

func (_e *StateFullInterface_Expecter) GetLastVerifiedBatch(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastVerifiedBatch_Call

GetLastVerifiedBatch is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetLastVirtualBatchNum

func (_e *StateFullInterface_Expecter) GetLastVirtualBatchNum(ctx interface{}, dbTx interface{}) *StateFullInterface_GetLastVirtualBatchNum_Call

GetLastVirtualBatchNum is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetNextForcedBatches

func (_e *StateFullInterface_Expecter) GetNextForcedBatches(ctx interface{}, nextForcedBatches interface{}, dbTx interface{}) *StateFullInterface_GetNextForcedBatches_Call

GetNextForcedBatches is a helper method to define mock.On call

  • ctx context.Context
  • nextForcedBatches int
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetPreviousBlock

func (_e *StateFullInterface_Expecter) GetPreviousBlock(ctx interface{}, offset interface{}, dbTx interface{}) *StateFullInterface_GetPreviousBlock_Call

GetPreviousBlock is a helper method to define mock.On call

  • ctx context.Context
  • offset uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetPreviousBlockToBlockNumber added in v0.6.6

func (_e *StateFullInterface_Expecter) GetPreviousBlockToBlockNumber(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_GetPreviousBlockToBlockNumber_Call

GetPreviousBlockToBlockNumber is a helper method to define mock.On call

  • ctx context.Context
  • blockNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetReorgedTransactions

func (_e *StateFullInterface_Expecter) GetReorgedTransactions(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_GetReorgedTransactions_Call

GetReorgedTransactions is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetStateRootByBatchNumber

func (_e *StateFullInterface_Expecter) GetStateRootByBatchNumber(ctx interface{}, batchNum interface{}, dbTx interface{}) *StateFullInterface_GetStateRootByBatchNumber_Call

GetStateRootByBatchNumber is a helper method to define mock.On call

  • ctx context.Context
  • batchNum uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) GetStoredFlushID

func (_e *StateFullInterface_Expecter) GetStoredFlushID(ctx interface{}) *StateFullInterface_GetStoredFlushID_Call

GetStoredFlushID is a helper method to define mock.On call

  • ctx context.Context

func (*StateFullInterface_Expecter) GetUncheckedBlocks added in v0.6.6

func (_e *StateFullInterface_Expecter) GetUncheckedBlocks(ctx interface{}, fromBlockNumber interface{}, toBlockNumber interface{}, dbTx interface{}) *StateFullInterface_GetUncheckedBlocks_Call

GetUncheckedBlocks is a helper method to define mock.On call

  • ctx context.Context
  • fromBlockNumber uint64
  • toBlockNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) OpenBatch

func (_e *StateFullInterface_Expecter) OpenBatch(ctx interface{}, processingContext interface{}, dbTx interface{}) *StateFullInterface_OpenBatch_Call

OpenBatch is a helper method to define mock.On call

  • ctx context.Context
  • processingContext state.ProcessingContext
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) ProcessAndStoreClosedBatch

func (_e *StateFullInterface_Expecter) ProcessAndStoreClosedBatch(ctx interface{}, processingCtx interface{}, encodedTxs interface{}, dbTx interface{}, caller interface{}) *StateFullInterface_ProcessAndStoreClosedBatch_Call

ProcessAndStoreClosedBatch is a helper method to define mock.On call

  • ctx context.Context
  • processingCtx state.ProcessingContext
  • encodedTxs []byte
  • dbTx pgx.Tx
  • caller metrics.CallerLabel

func (*StateFullInterface_Expecter) ProcessAndStoreClosedBatchV2

func (_e *StateFullInterface_Expecter) ProcessAndStoreClosedBatchV2(ctx interface{}, processingCtx interface{}, dbTx interface{}, caller interface{}) *StateFullInterface_ProcessAndStoreClosedBatchV2_Call

ProcessAndStoreClosedBatchV2 is a helper method to define mock.On call

  • ctx context.Context
  • processingCtx state.ProcessingContextV2
  • dbTx pgx.Tx
  • caller metrics.CallerLabel

func (*StateFullInterface_Expecter) ProcessBatch

func (_e *StateFullInterface_Expecter) ProcessBatch(ctx interface{}, request interface{}, updateMerkleTree interface{}) *StateFullInterface_ProcessBatch_Call

ProcessBatch is a helper method to define mock.On call

  • ctx context.Context
  • request state.ProcessRequest
  • updateMerkleTree bool

func (*StateFullInterface_Expecter) ProcessBatchV2

func (_e *StateFullInterface_Expecter) ProcessBatchV2(ctx interface{}, request interface{}, updateMerkleTree interface{}) *StateFullInterface_ProcessBatchV2_Call

ProcessBatchV2 is a helper method to define mock.On call

  • ctx context.Context
  • request state.ProcessRequest
  • updateMerkleTree bool

func (*StateFullInterface_Expecter) Reset

func (_e *StateFullInterface_Expecter) Reset(ctx interface{}, blockNumber interface{}, dbTx interface{}) *StateFullInterface_Reset_Call

Reset is a helper method to define mock.On call

  • ctx context.Context
  • blockNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) ResetForkID

func (_e *StateFullInterface_Expecter) ResetForkID(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_ResetForkID_Call

ResetForkID is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) ResetTrustedState

func (_e *StateFullInterface_Expecter) ResetTrustedState(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_ResetTrustedState_Call

ResetTrustedState is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) SetGenesis

func (_e *StateFullInterface_Expecter) SetGenesis(ctx interface{}, block interface{}, genesis interface{}, m interface{}, dbTx interface{}) *StateFullInterface_SetGenesis_Call

SetGenesis is a helper method to define mock.On call

  • ctx context.Context
  • block state.Block
  • genesis state.Genesis
  • m metrics.CallerLabel
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) SetInitSyncBatch

func (_e *StateFullInterface_Expecter) SetInitSyncBatch(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateFullInterface_SetInitSyncBatch_Call

SetInitSyncBatch is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) SetLastBatchInfoSeenOnEthereum

func (_e *StateFullInterface_Expecter) SetLastBatchInfoSeenOnEthereum(ctx interface{}, lastBatchNumberSeen interface{}, lastBatchNumberVerified interface{}, dbTx interface{}) *StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call

SetLastBatchInfoSeenOnEthereum is a helper method to define mock.On call

  • ctx context.Context
  • lastBatchNumberSeen uint64
  • lastBatchNumberVerified uint64
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) StoreL2Block

func (_e *StateFullInterface_Expecter) StoreL2Block(ctx interface{}, batchNumber interface{}, l2Block interface{}, txsEGPLog interface{}, dbTx interface{}) *StateFullInterface_StoreL2Block_Call

StoreL2Block is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • l2Block *state.ProcessBlockResponse
  • txsEGPLog []*state.EffectiveGasPriceLog
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) StoreTransaction

func (_e *StateFullInterface_Expecter) StoreTransaction(ctx interface{}, batchNumber interface{}, processedTx interface{}, coinbase interface{}, timestamp interface{}, egpLog interface{}, globalExitRoot interface{}, blockInfoRoot interface{}, dbTx interface{}) *StateFullInterface_StoreTransaction_Call

StoreTransaction is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • processedTx *state.ProcessTransactionResponse
  • coinbase common.Address
  • timestamp uint64
  • egpLog *state.EffectiveGasPriceLog
  • globalExitRoot common.Hash
  • blockInfoRoot common.Hash
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) UpdateBatchL2Data

func (_e *StateFullInterface_Expecter) UpdateBatchL2Data(ctx interface{}, batchNumber interface{}, batchL2Data interface{}, dbTx interface{}) *StateFullInterface_UpdateBatchL2Data_Call

UpdateBatchL2Data is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • batchL2Data []byte
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) UpdateBatchTimestamp added in v0.6.7

func (_e *StateFullInterface_Expecter) UpdateBatchTimestamp(ctx interface{}, batchNumber interface{}, timestamp interface{}, dbTx interface{}) *StateFullInterface_UpdateBatchTimestamp_Call

UpdateBatchTimestamp is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • timestamp time.Time
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) UpdateCheckedBlockByNumber added in v0.6.5

func (_e *StateFullInterface_Expecter) UpdateCheckedBlockByNumber(ctx interface{}, blockNumber interface{}, newCheckedStatus interface{}, dbTx interface{}) *StateFullInterface_UpdateCheckedBlockByNumber_Call

UpdateCheckedBlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • blockNumber uint64
  • newCheckedStatus bool
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) UpdateForkIDBlockNumber added in v0.6.3

func (_e *StateFullInterface_Expecter) UpdateForkIDBlockNumber(ctx interface{}, forkdID interface{}, newBlockNumber interface{}, updateMemCache interface{}, dbTx interface{}) *StateFullInterface_UpdateForkIDBlockNumber_Call

UpdateForkIDBlockNumber is a helper method to define mock.On call

  • ctx context.Context
  • forkdID uint64
  • newBlockNumber uint64
  • updateMemCache bool
  • dbTx pgx.Tx

func (*StateFullInterface_Expecter) UpdateWIPBatch

func (_e *StateFullInterface_Expecter) UpdateWIPBatch(ctx interface{}, receipt interface{}, dbTx interface{}) *StateFullInterface_UpdateWIPBatch_Call

UpdateWIPBatch is a helper method to define mock.On call

  • ctx context.Context
  • receipt state.ProcessingReceipt
  • dbTx pgx.Tx

type StateFullInterface_GetBatchByNumber_Call

type StateFullInterface_GetBatchByNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetBatchByNumber_Call) Return

func (*StateFullInterface_GetBatchByNumber_Call) Run

func (*StateFullInterface_GetBatchByNumber_Call) RunAndReturn

type StateFullInterface_GetBlockByNumber_Call added in v0.6.6

type StateFullInterface_GetBlockByNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetBlockByNumber_Call) Return added in v0.6.6

func (*StateFullInterface_GetBlockByNumber_Call) Run added in v0.6.6

func (*StateFullInterface_GetBlockByNumber_Call) RunAndReturn added in v0.6.6

type StateFullInterface_GetExitRootByGlobalExitRoot_Call

type StateFullInterface_GetExitRootByGlobalExitRoot_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetExitRootByGlobalExitRoot_Call) Return

func (*StateFullInterface_GetExitRootByGlobalExitRoot_Call) Run

func (*StateFullInterface_GetExitRootByGlobalExitRoot_Call) RunAndReturn

type StateFullInterface_GetFirstUncheckedBlock_Call added in v0.6.5

type StateFullInterface_GetFirstUncheckedBlock_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetFirstUncheckedBlock_Call) Return added in v0.6.5

func (*StateFullInterface_GetFirstUncheckedBlock_Call) Run added in v0.6.5

func (*StateFullInterface_GetFirstUncheckedBlock_Call) RunAndReturn added in v0.6.5

type StateFullInterface_GetForkIDByBatchNumber_Call

type StateFullInterface_GetForkIDByBatchNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetForkIDByBatchNumber_Call) Return

func (*StateFullInterface_GetForkIDByBatchNumber_Call) Run

func (*StateFullInterface_GetForkIDByBatchNumber_Call) RunAndReturn

type StateFullInterface_GetForkIDByBlockNumber_Call

type StateFullInterface_GetForkIDByBlockNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetForkIDByBlockNumber_Call) Return

func (*StateFullInterface_GetForkIDByBlockNumber_Call) Run

func (*StateFullInterface_GetForkIDByBlockNumber_Call) RunAndReturn

type StateFullInterface_GetForkIDInMemory_Call added in v0.5.4

type StateFullInterface_GetForkIDInMemory_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetForkIDInMemory_Call) Return added in v0.5.4

func (*StateFullInterface_GetForkIDInMemory_Call) Run added in v0.5.4

func (*StateFullInterface_GetForkIDInMemory_Call) RunAndReturn added in v0.5.4

type StateFullInterface_GetForkIDs_Call

type StateFullInterface_GetForkIDs_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetForkIDs_Call) Return

func (*StateFullInterface_GetForkIDs_Call) Run

func (*StateFullInterface_GetForkIDs_Call) RunAndReturn

type StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call

type StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetL1InfoRootLeafByL1InfoRoot_Call) Run

type StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call

type StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) Return

func (*StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) Run

func (*StateFullInterface_GetL1InfoTreeDataFromBatchL2Data_Call) RunAndReturn

type StateFullInterface_GetL2BlockByNumber_Call added in v0.6.3

type StateFullInterface_GetL2BlockByNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetL2BlockByNumber_Call) Return added in v0.6.3

func (*StateFullInterface_GetL2BlockByNumber_Call) Run added in v0.6.3

func (*StateFullInterface_GetL2BlockByNumber_Call) RunAndReturn added in v0.6.3

type StateFullInterface_GetLastBatchNumber_Call

type StateFullInterface_GetLastBatchNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetLastBatchNumber_Call) Return

func (*StateFullInterface_GetLastBatchNumber_Call) Run

func (*StateFullInterface_GetLastBatchNumber_Call) RunAndReturn

type StateFullInterface_GetLastBlock_Call

type StateFullInterface_GetLastBlock_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetLastBlock_Call) Return

func (*StateFullInterface_GetLastBlock_Call) Run

func (*StateFullInterface_GetLastBlock_Call) RunAndReturn

type StateFullInterface_GetLastL2BlockByBatchNumber_Call added in v0.6.0

type StateFullInterface_GetLastL2BlockByBatchNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetLastL2BlockByBatchNumber_Call) Return added in v0.6.0

func (*StateFullInterface_GetLastL2BlockByBatchNumber_Call) Run added in v0.6.0

func (*StateFullInterface_GetLastL2BlockByBatchNumber_Call) RunAndReturn added in v0.6.0

type StateFullInterface_GetLastL2BlockNumber_Call added in v0.6.3

type StateFullInterface_GetLastL2BlockNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetLastL2BlockNumber_Call) Return added in v0.6.3

func (*StateFullInterface_GetLastL2BlockNumber_Call) Run added in v0.6.3

func (*StateFullInterface_GetLastL2BlockNumber_Call) RunAndReturn added in v0.6.3

type StateFullInterface_GetLastVerifiedBatch_Call

type StateFullInterface_GetLastVerifiedBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetLastVerifiedBatch_Call) Return

func (*StateFullInterface_GetLastVerifiedBatch_Call) Run

func (*StateFullInterface_GetLastVerifiedBatch_Call) RunAndReturn

type StateFullInterface_GetLastVirtualBatchNum_Call

type StateFullInterface_GetLastVirtualBatchNum_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetLastVirtualBatchNum_Call) Return

func (*StateFullInterface_GetLastVirtualBatchNum_Call) Run

func (*StateFullInterface_GetLastVirtualBatchNum_Call) RunAndReturn

type StateFullInterface_GetNextForcedBatches_Call

type StateFullInterface_GetNextForcedBatches_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetNextForcedBatches_Call) Return

func (*StateFullInterface_GetNextForcedBatches_Call) Run

func (*StateFullInterface_GetNextForcedBatches_Call) RunAndReturn

type StateFullInterface_GetPreviousBlockToBlockNumber_Call added in v0.6.6

type StateFullInterface_GetPreviousBlockToBlockNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetPreviousBlockToBlockNumber_Call) Return added in v0.6.6

func (*StateFullInterface_GetPreviousBlockToBlockNumber_Call) Run added in v0.6.6

func (*StateFullInterface_GetPreviousBlockToBlockNumber_Call) RunAndReturn added in v0.6.6

type StateFullInterface_GetPreviousBlock_Call

type StateFullInterface_GetPreviousBlock_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetPreviousBlock_Call) Return

func (*StateFullInterface_GetPreviousBlock_Call) Run

func (*StateFullInterface_GetPreviousBlock_Call) RunAndReturn

type StateFullInterface_GetReorgedTransactions_Call

type StateFullInterface_GetReorgedTransactions_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetReorgedTransactions_Call) Return

func (*StateFullInterface_GetReorgedTransactions_Call) Run

func (*StateFullInterface_GetReorgedTransactions_Call) RunAndReturn

type StateFullInterface_GetStateRootByBatchNumber_Call

type StateFullInterface_GetStateRootByBatchNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetStateRootByBatchNumber_Call) Return

func (*StateFullInterface_GetStateRootByBatchNumber_Call) Run

func (*StateFullInterface_GetStateRootByBatchNumber_Call) RunAndReturn

type StateFullInterface_GetStoredFlushID_Call

type StateFullInterface_GetStoredFlushID_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetStoredFlushID_Call) Return

func (*StateFullInterface_GetStoredFlushID_Call) Run

func (*StateFullInterface_GetStoredFlushID_Call) RunAndReturn

type StateFullInterface_GetUncheckedBlocks_Call added in v0.6.6

type StateFullInterface_GetUncheckedBlocks_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_GetUncheckedBlocks_Call) Return added in v0.6.6

func (*StateFullInterface_GetUncheckedBlocks_Call) Run added in v0.6.6

func (_c *StateFullInterface_GetUncheckedBlocks_Call) Run(run func(ctx context.Context, fromBlockNumber uint64, toBlockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_GetUncheckedBlocks_Call

func (*StateFullInterface_GetUncheckedBlocks_Call) RunAndReturn added in v0.6.6

type StateFullInterface_OpenBatch_Call

type StateFullInterface_OpenBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_OpenBatch_Call) Return

func (*StateFullInterface_OpenBatch_Call) Run

func (*StateFullInterface_OpenBatch_Call) RunAndReturn

type StateFullInterface_ProcessAndStoreClosedBatchV2_Call

type StateFullInterface_ProcessAndStoreClosedBatchV2_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_ProcessAndStoreClosedBatchV2_Call) Return

func (*StateFullInterface_ProcessAndStoreClosedBatchV2_Call) Run

type StateFullInterface_ProcessAndStoreClosedBatch_Call

type StateFullInterface_ProcessAndStoreClosedBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_ProcessAndStoreClosedBatch_Call) Return

func (*StateFullInterface_ProcessAndStoreClosedBatch_Call) Run

type StateFullInterface_ProcessBatchV2_Call

type StateFullInterface_ProcessBatchV2_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_ProcessBatchV2_Call) Return

func (*StateFullInterface_ProcessBatchV2_Call) Run

type StateFullInterface_ProcessBatch_Call

type StateFullInterface_ProcessBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_ProcessBatch_Call) Return

func (*StateFullInterface_ProcessBatch_Call) Run

type StateFullInterface_ResetForkID_Call

type StateFullInterface_ResetForkID_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_ResetForkID_Call) Return

func (*StateFullInterface_ResetForkID_Call) Run

func (*StateFullInterface_ResetForkID_Call) RunAndReturn

type StateFullInterface_ResetTrustedState_Call

type StateFullInterface_ResetTrustedState_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_ResetTrustedState_Call) Return

func (*StateFullInterface_ResetTrustedState_Call) Run

func (*StateFullInterface_ResetTrustedState_Call) RunAndReturn

type StateFullInterface_Reset_Call

type StateFullInterface_Reset_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_Reset_Call) Return

func (*StateFullInterface_Reset_Call) Run

func (_c *StateFullInterface_Reset_Call) Run(run func(ctx context.Context, blockNumber uint64, dbTx pgx.Tx)) *StateFullInterface_Reset_Call

func (*StateFullInterface_Reset_Call) RunAndReturn

type StateFullInterface_SetGenesis_Call

type StateFullInterface_SetGenesis_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_SetGenesis_Call) Return

func (*StateFullInterface_SetGenesis_Call) Run

func (*StateFullInterface_SetGenesis_Call) RunAndReturn

type StateFullInterface_SetInitSyncBatch_Call

type StateFullInterface_SetInitSyncBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_SetInitSyncBatch_Call) Return

func (*StateFullInterface_SetInitSyncBatch_Call) Run

func (*StateFullInterface_SetInitSyncBatch_Call) RunAndReturn

type StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call

type StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) Return

func (*StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) Run

func (*StateFullInterface_SetLastBatchInfoSeenOnEthereum_Call) RunAndReturn

type StateFullInterface_StoreL2Block_Call

type StateFullInterface_StoreL2Block_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_StoreL2Block_Call) Return

func (*StateFullInterface_StoreL2Block_Call) Run

type StateFullInterface_StoreTransaction_Call

type StateFullInterface_StoreTransaction_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_StoreTransaction_Call) Return

func (*StateFullInterface_StoreTransaction_Call) Run

func (_c *StateFullInterface_StoreTransaction_Call) Run(run func(ctx context.Context, batchNumber uint64, processedTx *state.ProcessTransactionResponse, coinbase common.Address, timestamp uint64, egpLog *state.EffectiveGasPriceLog, globalExitRoot common.Hash, blockInfoRoot common.Hash, dbTx pgx.Tx)) *StateFullInterface_StoreTransaction_Call

type StateFullInterface_UpdateBatchL2Data_Call

type StateFullInterface_UpdateBatchL2Data_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_UpdateBatchL2Data_Call) Return

func (*StateFullInterface_UpdateBatchL2Data_Call) Run

func (_c *StateFullInterface_UpdateBatchL2Data_Call) Run(run func(ctx context.Context, batchNumber uint64, batchL2Data []byte, dbTx pgx.Tx)) *StateFullInterface_UpdateBatchL2Data_Call

func (*StateFullInterface_UpdateBatchL2Data_Call) RunAndReturn

type StateFullInterface_UpdateBatchTimestamp_Call added in v0.6.7

type StateFullInterface_UpdateBatchTimestamp_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_UpdateBatchTimestamp_Call) Return added in v0.6.7

func (*StateFullInterface_UpdateBatchTimestamp_Call) Run added in v0.6.7

func (*StateFullInterface_UpdateBatchTimestamp_Call) RunAndReturn added in v0.6.7

type StateFullInterface_UpdateCheckedBlockByNumber_Call added in v0.6.5

type StateFullInterface_UpdateCheckedBlockByNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_UpdateCheckedBlockByNumber_Call) Return added in v0.6.5

func (*StateFullInterface_UpdateCheckedBlockByNumber_Call) Run added in v0.6.5

func (*StateFullInterface_UpdateCheckedBlockByNumber_Call) RunAndReturn added in v0.6.5

type StateFullInterface_UpdateForkIDBlockNumber_Call added in v0.6.3

type StateFullInterface_UpdateForkIDBlockNumber_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_UpdateForkIDBlockNumber_Call) Return added in v0.6.3

func (*StateFullInterface_UpdateForkIDBlockNumber_Call) Run added in v0.6.3

func (_c *StateFullInterface_UpdateForkIDBlockNumber_Call) Run(run func(ctx context.Context, forkdID uint64, newBlockNumber uint64, updateMemCache bool, dbTx pgx.Tx)) *StateFullInterface_UpdateForkIDBlockNumber_Call

func (*StateFullInterface_UpdateForkIDBlockNumber_Call) RunAndReturn added in v0.6.3

type StateFullInterface_UpdateWIPBatch_Call

type StateFullInterface_UpdateWIPBatch_Call struct {
	*mock.Call
}

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

func (*StateFullInterface_UpdateWIPBatch_Call) Return

func (*StateFullInterface_UpdateWIPBatch_Call) Run

func (*StateFullInterface_UpdateWIPBatch_Call) RunAndReturn

type StateGetBatchByNumberInterface

type StateGetBatchByNumberInterface struct {
	mock.Mock
}

StateGetBatchByNumberInterface is an autogenerated mock type for the StateGetBatchByNumberInterface type

func NewStateGetBatchByNumberInterface

func NewStateGetBatchByNumberInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *StateGetBatchByNumberInterface

NewStateGetBatchByNumberInterface creates a new instance of StateGetBatchByNumberInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*StateGetBatchByNumberInterface) EXPECT

func (*StateGetBatchByNumberInterface) GetBatchByNumber

func (_m *StateGetBatchByNumberInterface) GetBatchByNumber(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (*state.Batch, error)

GetBatchByNumber provides a mock function with given fields: ctx, batchNumber, dbTx

type StateGetBatchByNumberInterface_Expecter

type StateGetBatchByNumberInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*StateGetBatchByNumberInterface_Expecter) GetBatchByNumber

func (_e *StateGetBatchByNumberInterface_Expecter) GetBatchByNumber(ctx interface{}, batchNumber interface{}, dbTx interface{}) *StateGetBatchByNumberInterface_GetBatchByNumber_Call

GetBatchByNumber is a helper method to define mock.On call

  • ctx context.Context
  • batchNumber uint64
  • dbTx pgx.Tx

type StateGetBatchByNumberInterface_GetBatchByNumber_Call

type StateGetBatchByNumberInterface_GetBatchByNumber_Call struct {
	*mock.Call
}

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

func (*StateGetBatchByNumberInterface_GetBatchByNumber_Call) Return

func (*StateGetBatchByNumberInterface_GetBatchByNumber_Call) Run

func (*StateGetBatchByNumberInterface_GetBatchByNumber_Call) RunAndReturn

type SyncTrustedStateExecutor

type SyncTrustedStateExecutor struct {
	mock.Mock
}

SyncTrustedStateExecutor is an autogenerated mock type for the SyncTrustedStateExecutor type

func NewSyncTrustedStateExecutor

func NewSyncTrustedStateExecutor(t interface {
	mock.TestingT
	Cleanup(func())
}) *SyncTrustedStateExecutor

NewSyncTrustedStateExecutor creates a new instance of SyncTrustedStateExecutor. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SyncTrustedStateExecutor) CleanTrustedState

func (_m *SyncTrustedStateExecutor) CleanTrustedState()

CleanTrustedState provides a mock function with given fields:

func (*SyncTrustedStateExecutor) EXPECT

func (*SyncTrustedStateExecutor) GetCachedBatch added in v0.5.4

func (_m *SyncTrustedStateExecutor) GetCachedBatch(batchNumber uint64) *state.Batch

GetCachedBatch provides a mock function with given fields: batchNumber

func (*SyncTrustedStateExecutor) SyncTrustedState

func (_m *SyncTrustedStateExecutor) SyncTrustedState(ctx context.Context, latestSyncedBatch uint64, maximumBatchNumberToProcess uint64) error

SyncTrustedState provides a mock function with given fields: ctx, latestSyncedBatch, maximumBatchNumberToProcess

type SyncTrustedStateExecutor_CleanTrustedState_Call

type SyncTrustedStateExecutor_CleanTrustedState_Call struct {
	*mock.Call
}

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

func (*SyncTrustedStateExecutor_CleanTrustedState_Call) Return

func (*SyncTrustedStateExecutor_CleanTrustedState_Call) Run

func (*SyncTrustedStateExecutor_CleanTrustedState_Call) RunAndReturn

type SyncTrustedStateExecutor_Expecter

type SyncTrustedStateExecutor_Expecter struct {
	// contains filtered or unexported fields
}

func (*SyncTrustedStateExecutor_Expecter) CleanTrustedState

CleanTrustedState is a helper method to define mock.On call

func (*SyncTrustedStateExecutor_Expecter) GetCachedBatch added in v0.5.4

func (_e *SyncTrustedStateExecutor_Expecter) GetCachedBatch(batchNumber interface{}) *SyncTrustedStateExecutor_GetCachedBatch_Call

GetCachedBatch is a helper method to define mock.On call

  • batchNumber uint64

func (*SyncTrustedStateExecutor_Expecter) SyncTrustedState

func (_e *SyncTrustedStateExecutor_Expecter) SyncTrustedState(ctx interface{}, latestSyncedBatch interface{}, maximumBatchNumberToProcess interface{}) *SyncTrustedStateExecutor_SyncTrustedState_Call

SyncTrustedState is a helper method to define mock.On call

  • ctx context.Context
  • latestSyncedBatch uint64
  • maximumBatchNumberToProcess uint64

type SyncTrustedStateExecutor_GetCachedBatch_Call added in v0.5.4

type SyncTrustedStateExecutor_GetCachedBatch_Call struct {
	*mock.Call
}

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

func (*SyncTrustedStateExecutor_GetCachedBatch_Call) Return added in v0.5.4

func (*SyncTrustedStateExecutor_GetCachedBatch_Call) Run added in v0.5.4

func (*SyncTrustedStateExecutor_GetCachedBatch_Call) RunAndReturn added in v0.5.4

type SyncTrustedStateExecutor_SyncTrustedState_Call

type SyncTrustedStateExecutor_SyncTrustedState_Call struct {
	*mock.Call
}

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

func (*SyncTrustedStateExecutor_SyncTrustedState_Call) Return

func (*SyncTrustedStateExecutor_SyncTrustedState_Call) Run

func (_c *SyncTrustedStateExecutor_SyncTrustedState_Call) Run(run func(ctx context.Context, latestSyncedBatch uint64, maximumBatchNumberToProcess uint64)) *SyncTrustedStateExecutor_SyncTrustedState_Call

func (*SyncTrustedStateExecutor_SyncTrustedState_Call) RunAndReturn

type SynchronizerCleanTrustedState

type SynchronizerCleanTrustedState struct {
	mock.Mock
}

SynchronizerCleanTrustedState is an autogenerated mock type for the SynchronizerCleanTrustedState type

func NewSynchronizerCleanTrustedState

func NewSynchronizerCleanTrustedState(t interface {
	mock.TestingT
	Cleanup(func())
}) *SynchronizerCleanTrustedState

NewSynchronizerCleanTrustedState creates a new instance of SynchronizerCleanTrustedState. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SynchronizerCleanTrustedState) CleanTrustedState

func (_m *SynchronizerCleanTrustedState) CleanTrustedState()

CleanTrustedState provides a mock function with given fields:

func (*SynchronizerCleanTrustedState) EXPECT

type SynchronizerCleanTrustedState_CleanTrustedState_Call

type SynchronizerCleanTrustedState_CleanTrustedState_Call struct {
	*mock.Call
}

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

func (*SynchronizerCleanTrustedState_CleanTrustedState_Call) Return

func (*SynchronizerCleanTrustedState_CleanTrustedState_Call) Run

func (*SynchronizerCleanTrustedState_CleanTrustedState_Call) RunAndReturn

type SynchronizerCleanTrustedState_Expecter

type SynchronizerCleanTrustedState_Expecter struct {
	// contains filtered or unexported fields
}

func (*SynchronizerCleanTrustedState_Expecter) CleanTrustedState

CleanTrustedState is a helper method to define mock.On call

type SynchronizerFlushIDManager

type SynchronizerFlushIDManager struct {
	mock.Mock
}

SynchronizerFlushIDManager is an autogenerated mock type for the SynchronizerFlushIDManager type

func NewSynchronizerFlushIDManager

func NewSynchronizerFlushIDManager(t interface {
	mock.TestingT
	Cleanup(func())
}) *SynchronizerFlushIDManager

NewSynchronizerFlushIDManager creates a new instance of SynchronizerFlushIDManager. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SynchronizerFlushIDManager) CheckFlushID

func (_m *SynchronizerFlushIDManager) CheckFlushID(dbTx pgx.Tx) error

CheckFlushID provides a mock function with given fields: dbTx

func (*SynchronizerFlushIDManager) EXPECT

func (*SynchronizerFlushIDManager) PendingFlushID

func (_m *SynchronizerFlushIDManager) PendingFlushID(flushID uint64, proverID string)

PendingFlushID provides a mock function with given fields: flushID, proverID

type SynchronizerFlushIDManager_CheckFlushID_Call

type SynchronizerFlushIDManager_CheckFlushID_Call struct {
	*mock.Call
}

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

func (*SynchronizerFlushIDManager_CheckFlushID_Call) Return

func (*SynchronizerFlushIDManager_CheckFlushID_Call) Run

func (*SynchronizerFlushIDManager_CheckFlushID_Call) RunAndReturn

type SynchronizerFlushIDManager_Expecter

type SynchronizerFlushIDManager_Expecter struct {
	// contains filtered or unexported fields
}

func (*SynchronizerFlushIDManager_Expecter) CheckFlushID

CheckFlushID is a helper method to define mock.On call

  • dbTx pgx.Tx

func (*SynchronizerFlushIDManager_Expecter) PendingFlushID

func (_e *SynchronizerFlushIDManager_Expecter) PendingFlushID(flushID interface{}, proverID interface{}) *SynchronizerFlushIDManager_PendingFlushID_Call

PendingFlushID is a helper method to define mock.On call

  • flushID uint64
  • proverID string

type SynchronizerFlushIDManager_PendingFlushID_Call

type SynchronizerFlushIDManager_PendingFlushID_Call struct {
	*mock.Call
}

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

func (*SynchronizerFlushIDManager_PendingFlushID_Call) Return

func (*SynchronizerFlushIDManager_PendingFlushID_Call) Run

func (*SynchronizerFlushIDManager_PendingFlushID_Call) RunAndReturn

type SynchronizerFullInterface

type SynchronizerFullInterface struct {
	mock.Mock
}

SynchronizerFullInterface is an autogenerated mock type for the SynchronizerFullInterface type

func NewSynchronizerFullInterface

func NewSynchronizerFullInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *SynchronizerFullInterface

NewSynchronizerFullInterface creates a new instance of SynchronizerFullInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SynchronizerFullInterface) CheckFlushID

func (_m *SynchronizerFullInterface) CheckFlushID(dbTx pgx.Tx) error

CheckFlushID provides a mock function with given fields: dbTx

func (*SynchronizerFullInterface) CleanTrustedState

func (_m *SynchronizerFullInterface) CleanTrustedState()

CleanTrustedState provides a mock function with given fields:

func (*SynchronizerFullInterface) EXPECT

func (*SynchronizerFullInterface) IsTrustedSequencer

func (_m *SynchronizerFullInterface) IsTrustedSequencer() bool

IsTrustedSequencer provides a mock function with given fields:

func (*SynchronizerFullInterface) PendingFlushID

func (_m *SynchronizerFullInterface) PendingFlushID(flushID uint64, proverID string)

PendingFlushID provides a mock function with given fields: flushID, proverID

type SynchronizerFullInterface_CheckFlushID_Call

type SynchronizerFullInterface_CheckFlushID_Call struct {
	*mock.Call
}

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

func (*SynchronizerFullInterface_CheckFlushID_Call) Return

func (*SynchronizerFullInterface_CheckFlushID_Call) Run

func (*SynchronizerFullInterface_CheckFlushID_Call) RunAndReturn

type SynchronizerFullInterface_CleanTrustedState_Call

type SynchronizerFullInterface_CleanTrustedState_Call struct {
	*mock.Call
}

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

func (*SynchronizerFullInterface_CleanTrustedState_Call) Return

func (*SynchronizerFullInterface_CleanTrustedState_Call) Run

func (*SynchronizerFullInterface_CleanTrustedState_Call) RunAndReturn

type SynchronizerFullInterface_Expecter

type SynchronizerFullInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*SynchronizerFullInterface_Expecter) CheckFlushID

CheckFlushID is a helper method to define mock.On call

  • dbTx pgx.Tx

func (*SynchronizerFullInterface_Expecter) CleanTrustedState

CleanTrustedState is a helper method to define mock.On call

func (*SynchronizerFullInterface_Expecter) IsTrustedSequencer

IsTrustedSequencer is a helper method to define mock.On call

func (*SynchronizerFullInterface_Expecter) PendingFlushID

func (_e *SynchronizerFullInterface_Expecter) PendingFlushID(flushID interface{}, proverID interface{}) *SynchronizerFullInterface_PendingFlushID_Call

PendingFlushID is a helper method to define mock.On call

  • flushID uint64
  • proverID string

type SynchronizerFullInterface_IsTrustedSequencer_Call

type SynchronizerFullInterface_IsTrustedSequencer_Call struct {
	*mock.Call
}

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

func (*SynchronizerFullInterface_IsTrustedSequencer_Call) Return

func (*SynchronizerFullInterface_IsTrustedSequencer_Call) Run

func (*SynchronizerFullInterface_IsTrustedSequencer_Call) RunAndReturn

type SynchronizerFullInterface_PendingFlushID_Call

type SynchronizerFullInterface_PendingFlushID_Call struct {
	*mock.Call
}

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

func (*SynchronizerFullInterface_PendingFlushID_Call) Return

func (*SynchronizerFullInterface_PendingFlushID_Call) Run

func (*SynchronizerFullInterface_PendingFlushID_Call) RunAndReturn

type SynchronizerIsTrustedSequencer

type SynchronizerIsTrustedSequencer struct {
	mock.Mock
}

SynchronizerIsTrustedSequencer is an autogenerated mock type for the SynchronizerIsTrustedSequencer type

func NewSynchronizerIsTrustedSequencer

func NewSynchronizerIsTrustedSequencer(t interface {
	mock.TestingT
	Cleanup(func())
}) *SynchronizerIsTrustedSequencer

NewSynchronizerIsTrustedSequencer creates a new instance of SynchronizerIsTrustedSequencer. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*SynchronizerIsTrustedSequencer) EXPECT

func (*SynchronizerIsTrustedSequencer) IsTrustedSequencer

func (_m *SynchronizerIsTrustedSequencer) IsTrustedSequencer() bool

IsTrustedSequencer provides a mock function with given fields:

type SynchronizerIsTrustedSequencer_Expecter

type SynchronizerIsTrustedSequencer_Expecter struct {
	// contains filtered or unexported fields
}

func (*SynchronizerIsTrustedSequencer_Expecter) IsTrustedSequencer

IsTrustedSequencer is a helper method to define mock.On call

type SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call

type SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call struct {
	*mock.Call
}

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

func (*SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) Return

func (*SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) Run

func (*SynchronizerIsTrustedSequencer_IsTrustedSequencer_Call) RunAndReturn

type ZKEVMClientEthereumCompatibleInterface added in v0.6.5

type ZKEVMClientEthereumCompatibleInterface struct {
	mock.Mock
}

ZKEVMClientEthereumCompatibleInterface is an autogenerated mock type for the ZKEVMClientEthereumCompatibleInterface type

func NewZKEVMClientEthereumCompatibleInterface added in v0.6.5

func NewZKEVMClientEthereumCompatibleInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ZKEVMClientEthereumCompatibleInterface

NewZKEVMClientEthereumCompatibleInterface creates a new instance of ZKEVMClientEthereumCompatibleInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ZKEVMClientEthereumCompatibleInterface) BlockByNumber added in v0.6.5

func (_m *ZKEVMClientEthereumCompatibleInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*ZKEVMClientEthereumCompatibleInterface) EXPECT added in v0.6.5

type ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call added in v0.6.5

type ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) Return added in v0.6.5

func (*ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) Run added in v0.6.5

func (*ZKEVMClientEthereumCompatibleInterface_BlockByNumber_Call) RunAndReturn added in v0.6.5

type ZKEVMClientEthereumCompatibleInterface_Expecter added in v0.6.5

type ZKEVMClientEthereumCompatibleInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*ZKEVMClientEthereumCompatibleInterface_Expecter) BlockByNumber added in v0.6.5

BlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

type ZKEVMClientEthereumCompatibleL2BlockGetter added in v0.6.6

type ZKEVMClientEthereumCompatibleL2BlockGetter struct {
	mock.Mock
}

ZKEVMClientEthereumCompatibleL2BlockGetter is an autogenerated mock type for the ZKEVMClientEthereumCompatibleL2BlockGetter type

func NewZKEVMClientEthereumCompatibleL2BlockGetter added in v0.6.6

func NewZKEVMClientEthereumCompatibleL2BlockGetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ZKEVMClientEthereumCompatibleL2BlockGetter

NewZKEVMClientEthereumCompatibleL2BlockGetter creates a new instance of ZKEVMClientEthereumCompatibleL2BlockGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ZKEVMClientEthereumCompatibleL2BlockGetter) BlockByNumber added in v0.6.6

func (_m *ZKEVMClientEthereumCompatibleL2BlockGetter) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*ZKEVMClientEthereumCompatibleL2BlockGetter) EXPECT added in v0.6.6

type ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call added in v0.6.6

type ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) Return added in v0.6.6

func (*ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) Run added in v0.6.6

func (*ZKEVMClientEthereumCompatibleL2BlockGetter_BlockByNumber_Call) RunAndReturn added in v0.6.6

type ZKEVMClientEthereumCompatibleL2BlockGetter_Expecter added in v0.6.6

type ZKEVMClientEthereumCompatibleL2BlockGetter_Expecter struct {
	// contains filtered or unexported fields
}

func (*ZKEVMClientEthereumCompatibleL2BlockGetter_Expecter) BlockByNumber added in v0.6.6

BlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

type ZKEVMClientGetL2BlockByNumber added in v0.6.3

type ZKEVMClientGetL2BlockByNumber struct {
	mock.Mock
}

ZKEVMClientGetL2BlockByNumber is an autogenerated mock type for the ZKEVMClientGetL2BlockByNumber type

func NewZKEVMClientGetL2BlockByNumber added in v0.6.3

func NewZKEVMClientGetL2BlockByNumber(t interface {
	mock.TestingT
	Cleanup(func())
}) *ZKEVMClientGetL2BlockByNumber

NewZKEVMClientGetL2BlockByNumber creates a new instance of ZKEVMClientGetL2BlockByNumber. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ZKEVMClientGetL2BlockByNumber) BlockByNumber added in v0.6.3

func (_m *ZKEVMClientGetL2BlockByNumber) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*ZKEVMClientGetL2BlockByNumber) EXPECT added in v0.6.3

type ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call added in v0.6.3

type ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) Return added in v0.6.3

func (*ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) Run added in v0.6.3

func (*ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call) RunAndReturn added in v0.6.3

type ZKEVMClientGetL2BlockByNumber_Expecter added in v0.6.3

type ZKEVMClientGetL2BlockByNumber_Expecter struct {
	// contains filtered or unexported fields
}

func (*ZKEVMClientGetL2BlockByNumber_Expecter) BlockByNumber added in v0.6.3

func (_e *ZKEVMClientGetL2BlockByNumber_Expecter) BlockByNumber(ctx interface{}, number interface{}) *ZKEVMClientGetL2BlockByNumber_BlockByNumber_Call

BlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

type ZKEVMClientGlobalExitRootGetter

type ZKEVMClientGlobalExitRootGetter struct {
	mock.Mock
}

ZKEVMClientGlobalExitRootGetter is an autogenerated mock type for the ZKEVMClientGlobalExitRootGetter type

func NewZKEVMClientGlobalExitRootGetter

func NewZKEVMClientGlobalExitRootGetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ZKEVMClientGlobalExitRootGetter

NewZKEVMClientGlobalExitRootGetter creates a new instance of ZKEVMClientGlobalExitRootGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ZKEVMClientGlobalExitRootGetter) EXPECT

func (*ZKEVMClientGlobalExitRootGetter) ExitRootsByGER

func (_m *ZKEVMClientGlobalExitRootGetter) ExitRootsByGER(ctx context.Context, globalExitRoot common.Hash) (*types.ExitRoots, error)

ExitRootsByGER provides a mock function with given fields: ctx, globalExitRoot

type ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call

type ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) Return

func (*ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) Run

func (*ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call) RunAndReturn

type ZKEVMClientGlobalExitRootGetter_Expecter

type ZKEVMClientGlobalExitRootGetter_Expecter struct {
	// contains filtered or unexported fields
}

func (*ZKEVMClientGlobalExitRootGetter_Expecter) ExitRootsByGER

func (_e *ZKEVMClientGlobalExitRootGetter_Expecter) ExitRootsByGER(ctx interface{}, globalExitRoot interface{}) *ZKEVMClientGlobalExitRootGetter_ExitRootsByGER_Call

ExitRootsByGER is a helper method to define mock.On call

  • ctx context.Context
  • globalExitRoot common.Hash

type ZKEVMClientInterface

type ZKEVMClientInterface struct {
	mock.Mock
}

ZKEVMClientInterface is an autogenerated mock type for the ZKEVMClientInterface type

func NewZKEVMClientInterface

func NewZKEVMClientInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *ZKEVMClientInterface

NewZKEVMClientInterface creates a new instance of ZKEVMClientInterface. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ZKEVMClientInterface) BatchByNumber

func (_m *ZKEVMClientInterface) BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error)

BatchByNumber provides a mock function with given fields: ctx, number

func (*ZKEVMClientInterface) BatchNumber

func (_m *ZKEVMClientInterface) BatchNumber(ctx context.Context) (uint64, error)

BatchNumber provides a mock function with given fields: ctx

func (*ZKEVMClientInterface) BlockByNumber added in v0.6.3

func (_m *ZKEVMClientInterface) BlockByNumber(ctx context.Context, number *big.Int) (*types.Block, error)

BlockByNumber provides a mock function with given fields: ctx, number

func (*ZKEVMClientInterface) EXPECT

func (*ZKEVMClientInterface) ExitRootsByGER

func (_m *ZKEVMClientInterface) ExitRootsByGER(ctx context.Context, globalExitRoot common.Hash) (*types.ExitRoots, error)

ExitRootsByGER provides a mock function with given fields: ctx, globalExitRoot

type ZKEVMClientInterface_BatchByNumber_Call

type ZKEVMClientInterface_BatchByNumber_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientInterface_BatchByNumber_Call) Return

func (*ZKEVMClientInterface_BatchByNumber_Call) Run

func (*ZKEVMClientInterface_BatchByNumber_Call) RunAndReturn

type ZKEVMClientInterface_BatchNumber_Call

type ZKEVMClientInterface_BatchNumber_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientInterface_BatchNumber_Call) Return

func (*ZKEVMClientInterface_BatchNumber_Call) Run

func (*ZKEVMClientInterface_BatchNumber_Call) RunAndReturn

type ZKEVMClientInterface_BlockByNumber_Call added in v0.6.3

type ZKEVMClientInterface_BlockByNumber_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientInterface_BlockByNumber_Call) Return added in v0.6.3

func (*ZKEVMClientInterface_BlockByNumber_Call) Run added in v0.6.3

func (*ZKEVMClientInterface_BlockByNumber_Call) RunAndReturn added in v0.6.3

type ZKEVMClientInterface_ExitRootsByGER_Call

type ZKEVMClientInterface_ExitRootsByGER_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientInterface_ExitRootsByGER_Call) Return

func (*ZKEVMClientInterface_ExitRootsByGER_Call) Run

func (*ZKEVMClientInterface_ExitRootsByGER_Call) RunAndReturn

type ZKEVMClientInterface_Expecter

type ZKEVMClientInterface_Expecter struct {
	// contains filtered or unexported fields
}

func (*ZKEVMClientInterface_Expecter) BatchByNumber

func (_e *ZKEVMClientInterface_Expecter) BatchByNumber(ctx interface{}, number interface{}) *ZKEVMClientInterface_BatchByNumber_Call

BatchByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*ZKEVMClientInterface_Expecter) BatchNumber

func (_e *ZKEVMClientInterface_Expecter) BatchNumber(ctx interface{}) *ZKEVMClientInterface_BatchNumber_Call

BatchNumber is a helper method to define mock.On call

  • ctx context.Context

func (*ZKEVMClientInterface_Expecter) BlockByNumber added in v0.6.3

func (_e *ZKEVMClientInterface_Expecter) BlockByNumber(ctx interface{}, number interface{}) *ZKEVMClientInterface_BlockByNumber_Call

BlockByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*ZKEVMClientInterface_Expecter) ExitRootsByGER

func (_e *ZKEVMClientInterface_Expecter) ExitRootsByGER(ctx interface{}, globalExitRoot interface{}) *ZKEVMClientInterface_ExitRootsByGER_Call

ExitRootsByGER is a helper method to define mock.On call

  • ctx context.Context
  • globalExitRoot common.Hash

type ZKEVMClientTrustedBatchesGetter

type ZKEVMClientTrustedBatchesGetter struct {
	mock.Mock
}

ZKEVMClientTrustedBatchesGetter is an autogenerated mock type for the ZKEVMClientTrustedBatchesGetter type

func NewZKEVMClientTrustedBatchesGetter

func NewZKEVMClientTrustedBatchesGetter(t interface {
	mock.TestingT
	Cleanup(func())
}) *ZKEVMClientTrustedBatchesGetter

NewZKEVMClientTrustedBatchesGetter creates a new instance of ZKEVMClientTrustedBatchesGetter. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.

func (*ZKEVMClientTrustedBatchesGetter) BatchByNumber

func (_m *ZKEVMClientTrustedBatchesGetter) BatchByNumber(ctx context.Context, number *big.Int) (*types.Batch, error)

BatchByNumber provides a mock function with given fields: ctx, number

func (*ZKEVMClientTrustedBatchesGetter) BatchNumber

BatchNumber provides a mock function with given fields: ctx

func (*ZKEVMClientTrustedBatchesGetter) EXPECT

type ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call

type ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) Return

func (*ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) Run

func (*ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call) RunAndReturn

type ZKEVMClientTrustedBatchesGetter_BatchNumber_Call

type ZKEVMClientTrustedBatchesGetter_BatchNumber_Call struct {
	*mock.Call
}

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

func (*ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) Return

func (*ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) Run

func (*ZKEVMClientTrustedBatchesGetter_BatchNumber_Call) RunAndReturn

type ZKEVMClientTrustedBatchesGetter_Expecter

type ZKEVMClientTrustedBatchesGetter_Expecter struct {
	// contains filtered or unexported fields
}

func (*ZKEVMClientTrustedBatchesGetter_Expecter) BatchByNumber

func (_e *ZKEVMClientTrustedBatchesGetter_Expecter) BatchByNumber(ctx interface{}, number interface{}) *ZKEVMClientTrustedBatchesGetter_BatchByNumber_Call

BatchByNumber is a helper method to define mock.On call

  • ctx context.Context
  • number *big.Int

func (*ZKEVMClientTrustedBatchesGetter_Expecter) BatchNumber

BatchNumber is a helper method to define mock.On call

  • ctx context.Context

Jump to

Keyboard shortcuts

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