mock_txcompressor

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2024 License: AGPL-3.0, AGPL-3.0-or-later Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type EthermanI

type EthermanI struct {
	mock.Mock
}

EthermanI is an autogenerated mock type for the EthermanI type

func NewEthermanI

func NewEthermanI(t interface {
	mock.TestingT
	Cleanup(func())
}) *EthermanI

NewEthermanI creates a new instance of EthermanI. 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 (*EthermanI) CompressClaimCall

func (_m *EthermanI) CompressClaimCall(mainnetExitRoot common.Hash, rollupExitRoot common.Hash, claimData []claimcompressor.ClaimCompressorCompressClaimCallData) ([]byte, error)

CompressClaimCall provides a mock function with given fields: mainnetExitRoot, rollupExitRoot, claimData

func (*EthermanI) EXPECT

func (_m *EthermanI) EXPECT() *EthermanI_Expecter

func (*EthermanI) SendCompressedClaims

func (_m *EthermanI) SendCompressedClaims(auth *bind.TransactOpts, compressedTxData []byte) (*types.Transaction, error)

SendCompressedClaims provides a mock function with given fields: auth, compressedTxData

type EthermanI_CompressClaimCall_Call

type EthermanI_CompressClaimCall_Call struct {
	*mock.Call
}

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

func (*EthermanI_CompressClaimCall_Call) Return

func (*EthermanI_CompressClaimCall_Call) Run

type EthermanI_Expecter

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

func (*EthermanI_Expecter) CompressClaimCall

func (_e *EthermanI_Expecter) CompressClaimCall(mainnetExitRoot interface{}, rollupExitRoot interface{}, claimData interface{}) *EthermanI_CompressClaimCall_Call

CompressClaimCall is a helper method to define mock.On call

  • mainnetExitRoot common.Hash
  • rollupExitRoot common.Hash
  • claimData []claimcompressor.ClaimCompressorCompressClaimCallData

func (*EthermanI_Expecter) SendCompressedClaims

func (_e *EthermanI_Expecter) SendCompressedClaims(auth interface{}, compressedTxData interface{}) *EthermanI_SendCompressedClaims_Call

SendCompressedClaims is a helper method to define mock.On call

  • auth *bind.TransactOpts
  • compressedTxData []byte

type EthermanI_SendCompressedClaims_Call

type EthermanI_SendCompressedClaims_Call struct {
	*mock.Call
}

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

func (*EthermanI_SendCompressedClaims_Call) Return

func (*EthermanI_SendCompressedClaims_Call) Run

func (*EthermanI_SendCompressedClaims_Call) RunAndReturn

type StorageCompressedInterface

type StorageCompressedInterface struct {
	mock.Mock
}

StorageCompressedInterface is an autogenerated mock type for the StorageCompressedInterface type

func NewStorageCompressedInterface

func NewStorageCompressedInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *StorageCompressedInterface

NewStorageCompressedInterface creates a new instance of StorageCompressedInterface. 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 (*StorageCompressedInterface) AddMonitoredTxsGroup

func (_m *StorageCompressedInterface) AddMonitoredTxsGroup(ctx context.Context, mTxGroup *types.MonitoredTxGroupDBEntry, dbTx pgx.Tx) error

AddMonitoredTxsGroup provides a mock function with given fields: ctx, mTxGroup, dbTx

func (*StorageCompressedInterface) BeginDBTransaction

func (_m *StorageCompressedInterface) BeginDBTransaction(ctx context.Context) (pgx.Tx, error)

BeginDBTransaction provides a mock function with given fields: ctx

func (*StorageCompressedInterface) Commit

func (_m *StorageCompressedInterface) Commit(ctx context.Context, dbTx pgx.Tx) error

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

func (*StorageCompressedInterface) EXPECT

func (*StorageCompressedInterface) GetClaimTxsByStatus

func (_m *StorageCompressedInterface) GetClaimTxsByStatus(ctx context.Context, statuses []types.MonitoredTxStatus, rollupID uint, dbTx pgx.Tx) ([]types.MonitoredTx, error)

GetClaimTxsByStatus provides a mock function with given fields: ctx, statuses, rollupID, dbTx

func (*StorageCompressedInterface) GetLatestMonitoredTxGroupID

func (_m *StorageCompressedInterface) GetLatestMonitoredTxGroupID(ctx context.Context, dbTx pgx.Tx) (uint64, error)

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

func (*StorageCompressedInterface) GetMonitoredTxsGroups

func (_m *StorageCompressedInterface) GetMonitoredTxsGroups(ctx context.Context, groupIds []uint64, dbTx pgx.Tx) (map[uint64]types.MonitoredTxGroupDBEntry, error)

GetMonitoredTxsGroups provides a mock function with given fields: ctx, groupIds, dbTx

func (*StorageCompressedInterface) Rollback

func (_m *StorageCompressedInterface) Rollback(ctx context.Context, dbTx pgx.Tx) error

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

func (*StorageCompressedInterface) UpdateClaimTx

func (_m *StorageCompressedInterface) UpdateClaimTx(ctx context.Context, mTx types.MonitoredTx, dbTx pgx.Tx) error

UpdateClaimTx provides a mock function with given fields: ctx, mTx, dbTx

func (*StorageCompressedInterface) UpdateMonitoredTxsGroup

func (_m *StorageCompressedInterface) UpdateMonitoredTxsGroup(ctx context.Context, mTxGroup *types.MonitoredTxGroupDBEntry, dbTx pgx.Tx) error

UpdateMonitoredTxsGroup provides a mock function with given fields: ctx, mTxGroup, dbTx

type StorageCompressedInterface_AddMonitoredTxsGroup_Call

type StorageCompressedInterface_AddMonitoredTxsGroup_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_AddMonitoredTxsGroup_Call) Return

func (*StorageCompressedInterface_AddMonitoredTxsGroup_Call) Run

type StorageCompressedInterface_BeginDBTransaction_Call

type StorageCompressedInterface_BeginDBTransaction_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_BeginDBTransaction_Call) Return

func (*StorageCompressedInterface_BeginDBTransaction_Call) Run

func (*StorageCompressedInterface_BeginDBTransaction_Call) RunAndReturn

type StorageCompressedInterface_Commit_Call

type StorageCompressedInterface_Commit_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_Commit_Call) Return

func (*StorageCompressedInterface_Commit_Call) Run

func (*StorageCompressedInterface_Commit_Call) RunAndReturn

type StorageCompressedInterface_Expecter

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

func (*StorageCompressedInterface_Expecter) AddMonitoredTxsGroup

func (_e *StorageCompressedInterface_Expecter) AddMonitoredTxsGroup(ctx interface{}, mTxGroup interface{}, dbTx interface{}) *StorageCompressedInterface_AddMonitoredTxsGroup_Call

AddMonitoredTxsGroup is a helper method to define mock.On call

  • ctx context.Context
  • mTxGroup *types.MonitoredTxGroupDBEntry
  • dbTx pgx.Tx

func (*StorageCompressedInterface_Expecter) BeginDBTransaction

BeginDBTransaction is a helper method to define mock.On call

  • ctx context.Context

func (*StorageCompressedInterface_Expecter) Commit

func (_e *StorageCompressedInterface_Expecter) Commit(ctx interface{}, dbTx interface{}) *StorageCompressedInterface_Commit_Call

Commit is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StorageCompressedInterface_Expecter) GetClaimTxsByStatus

func (_e *StorageCompressedInterface_Expecter) GetClaimTxsByStatus(ctx interface{}, statuses interface{}, rollupID interface{}, dbTx interface{}) *StorageCompressedInterface_GetClaimTxsByStatus_Call

GetClaimTxsByStatus is a helper method to define mock.On call

  • ctx context.Context
  • statuses []types.MonitoredTxStatus
  • rollupID uint
  • dbTx pgx.Tx

func (*StorageCompressedInterface_Expecter) GetLatestMonitoredTxGroupID

func (_e *StorageCompressedInterface_Expecter) GetLatestMonitoredTxGroupID(ctx interface{}, dbTx interface{}) *StorageCompressedInterface_GetLatestMonitoredTxGroupID_Call

GetLatestMonitoredTxGroupID is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StorageCompressedInterface_Expecter) GetMonitoredTxsGroups

func (_e *StorageCompressedInterface_Expecter) GetMonitoredTxsGroups(ctx interface{}, groupIds interface{}, dbTx interface{}) *StorageCompressedInterface_GetMonitoredTxsGroups_Call

GetMonitoredTxsGroups is a helper method to define mock.On call

  • ctx context.Context
  • groupIds []uint64
  • dbTx pgx.Tx

func (*StorageCompressedInterface_Expecter) Rollback

func (_e *StorageCompressedInterface_Expecter) Rollback(ctx interface{}, dbTx interface{}) *StorageCompressedInterface_Rollback_Call

Rollback is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StorageCompressedInterface_Expecter) UpdateClaimTx

func (_e *StorageCompressedInterface_Expecter) UpdateClaimTx(ctx interface{}, mTx interface{}, dbTx interface{}) *StorageCompressedInterface_UpdateClaimTx_Call

UpdateClaimTx is a helper method to define mock.On call

  • ctx context.Context
  • mTx types.MonitoredTx
  • dbTx pgx.Tx

func (*StorageCompressedInterface_Expecter) UpdateMonitoredTxsGroup

func (_e *StorageCompressedInterface_Expecter) UpdateMonitoredTxsGroup(ctx interface{}, mTxGroup interface{}, dbTx interface{}) *StorageCompressedInterface_UpdateMonitoredTxsGroup_Call

UpdateMonitoredTxsGroup is a helper method to define mock.On call

  • ctx context.Context
  • mTxGroup *types.MonitoredTxGroupDBEntry
  • dbTx pgx.Tx

type StorageCompressedInterface_GetClaimTxsByStatus_Call

type StorageCompressedInterface_GetClaimTxsByStatus_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_GetClaimTxsByStatus_Call) Return

func (*StorageCompressedInterface_GetClaimTxsByStatus_Call) Run

type StorageCompressedInterface_GetLatestMonitoredTxGroupID_Call

type StorageCompressedInterface_GetLatestMonitoredTxGroupID_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_GetLatestMonitoredTxGroupID_Call) Return

func (*StorageCompressedInterface_GetLatestMonitoredTxGroupID_Call) Run

func (*StorageCompressedInterface_GetLatestMonitoredTxGroupID_Call) RunAndReturn

type StorageCompressedInterface_GetMonitoredTxsGroups_Call

type StorageCompressedInterface_GetMonitoredTxsGroups_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_GetMonitoredTxsGroups_Call) Return

func (*StorageCompressedInterface_GetMonitoredTxsGroups_Call) Run

func (*StorageCompressedInterface_GetMonitoredTxsGroups_Call) RunAndReturn

type StorageCompressedInterface_Rollback_Call

type StorageCompressedInterface_Rollback_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_Rollback_Call) Return

func (*StorageCompressedInterface_Rollback_Call) Run

func (*StorageCompressedInterface_Rollback_Call) RunAndReturn

type StorageCompressedInterface_UpdateClaimTx_Call

type StorageCompressedInterface_UpdateClaimTx_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_UpdateClaimTx_Call) Return

func (*StorageCompressedInterface_UpdateClaimTx_Call) Run

func (*StorageCompressedInterface_UpdateClaimTx_Call) RunAndReturn

type StorageCompressedInterface_UpdateMonitoredTxsGroup_Call

type StorageCompressedInterface_UpdateMonitoredTxsGroup_Call struct {
	*mock.Call
}

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

func (*StorageCompressedInterface_UpdateMonitoredTxsGroup_Call) Return

func (*StorageCompressedInterface_UpdateMonitoredTxsGroup_Call) Run

type StorageInterface

type StorageInterface struct {
	mock.Mock
}

StorageInterface is an autogenerated mock type for the StorageInterface type

func NewStorageInterface

func NewStorageInterface(t interface {
	mock.TestingT
	Cleanup(func())
}) *StorageInterface

NewStorageInterface creates a new instance of StorageInterface. 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 (*StorageInterface) AddBlock

func (_m *StorageInterface) AddBlock(ctx context.Context, block *etherman.Block, dbTx pgx.Tx) (uint64, error)

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

func (*StorageInterface) AddClaimTx

func (_m *StorageInterface) AddClaimTx(ctx context.Context, mTx types.MonitoredTx, dbTx pgx.Tx) error

AddClaimTx provides a mock function with given fields: ctx, mTx, dbTx

func (*StorageInterface) BeginDBTransaction

func (_m *StorageInterface) BeginDBTransaction(ctx context.Context) (pgx.Tx, error)

BeginDBTransaction provides a mock function with given fields: ctx

func (*StorageInterface) Commit

func (_m *StorageInterface) Commit(ctx context.Context, dbTx pgx.Tx) error

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

func (*StorageInterface) EXPECT

func (*StorageInterface) GetClaimTxsByStatus

func (_m *StorageInterface) GetClaimTxsByStatus(ctx context.Context, statuses []types.MonitoredTxStatus, rollupID uint, dbTx pgx.Tx) ([]types.MonitoredTx, error)

GetClaimTxsByStatus provides a mock function with given fields: ctx, statuses, rollupID, dbTx

func (*StorageInterface) Rollback

func (_m *StorageInterface) Rollback(ctx context.Context, dbTx pgx.Tx) error

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

func (*StorageInterface) UpdateClaimTx

func (_m *StorageInterface) UpdateClaimTx(ctx context.Context, mTx types.MonitoredTx, dbTx pgx.Tx) error

UpdateClaimTx provides a mock function with given fields: ctx, mTx, dbTx

func (*StorageInterface) UpdateL1DepositsStatus

func (_m *StorageInterface) UpdateL1DepositsStatus(ctx context.Context, exitRoot []byte, destinationNetwork uint, dbTx pgx.Tx) ([]*etherman.Deposit, error)

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

func (*StorageInterface) UpdateL2DepositsStatus

func (_m *StorageInterface) UpdateL2DepositsStatus(ctx context.Context, exitRoot []byte, rollupID uint, networkID uint, dbTx pgx.Tx) error

UpdateL2DepositsStatus provides a mock function with given fields: ctx, exitRoot, rollupID, networkID, dbTx

type StorageInterface_AddBlock_Call

type StorageInterface_AddBlock_Call struct {
	*mock.Call
}

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

func (*StorageInterface_AddBlock_Call) Return

func (*StorageInterface_AddBlock_Call) Run

func (*StorageInterface_AddBlock_Call) RunAndReturn

type StorageInterface_AddClaimTx_Call

type StorageInterface_AddClaimTx_Call struct {
	*mock.Call
}

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

func (*StorageInterface_AddClaimTx_Call) Return

func (*StorageInterface_AddClaimTx_Call) Run

func (*StorageInterface_AddClaimTx_Call) RunAndReturn

type StorageInterface_BeginDBTransaction_Call

type StorageInterface_BeginDBTransaction_Call struct {
	*mock.Call
}

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

func (*StorageInterface_BeginDBTransaction_Call) Return

func (*StorageInterface_BeginDBTransaction_Call) Run

func (*StorageInterface_BeginDBTransaction_Call) RunAndReturn

type StorageInterface_Commit_Call

type StorageInterface_Commit_Call struct {
	*mock.Call
}

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

func (*StorageInterface_Commit_Call) Return

func (*StorageInterface_Commit_Call) Run

func (*StorageInterface_Commit_Call) RunAndReturn

type StorageInterface_Expecter

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

func (*StorageInterface_Expecter) AddBlock

func (_e *StorageInterface_Expecter) AddBlock(ctx interface{}, block interface{}, dbTx interface{}) *StorageInterface_AddBlock_Call

AddBlock is a helper method to define mock.On call

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

func (*StorageInterface_Expecter) AddClaimTx

func (_e *StorageInterface_Expecter) AddClaimTx(ctx interface{}, mTx interface{}, dbTx interface{}) *StorageInterface_AddClaimTx_Call

AddClaimTx is a helper method to define mock.On call

  • ctx context.Context
  • mTx types.MonitoredTx
  • dbTx pgx.Tx

func (*StorageInterface_Expecter) BeginDBTransaction

func (_e *StorageInterface_Expecter) BeginDBTransaction(ctx interface{}) *StorageInterface_BeginDBTransaction_Call

BeginDBTransaction is a helper method to define mock.On call

  • ctx context.Context

func (*StorageInterface_Expecter) Commit

func (_e *StorageInterface_Expecter) Commit(ctx interface{}, dbTx interface{}) *StorageInterface_Commit_Call

Commit is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StorageInterface_Expecter) GetClaimTxsByStatus

func (_e *StorageInterface_Expecter) GetClaimTxsByStatus(ctx interface{}, statuses interface{}, rollupID interface{}, dbTx interface{}) *StorageInterface_GetClaimTxsByStatus_Call

GetClaimTxsByStatus is a helper method to define mock.On call

  • ctx context.Context
  • statuses []types.MonitoredTxStatus
  • rollupID uint
  • dbTx pgx.Tx

func (*StorageInterface_Expecter) Rollback

func (_e *StorageInterface_Expecter) Rollback(ctx interface{}, dbTx interface{}) *StorageInterface_Rollback_Call

Rollback is a helper method to define mock.On call

  • ctx context.Context
  • dbTx pgx.Tx

func (*StorageInterface_Expecter) UpdateClaimTx

func (_e *StorageInterface_Expecter) UpdateClaimTx(ctx interface{}, mTx interface{}, dbTx interface{}) *StorageInterface_UpdateClaimTx_Call

UpdateClaimTx is a helper method to define mock.On call

  • ctx context.Context
  • mTx types.MonitoredTx
  • dbTx pgx.Tx

func (*StorageInterface_Expecter) UpdateL1DepositsStatus

func (_e *StorageInterface_Expecter) UpdateL1DepositsStatus(ctx interface{}, exitRoot interface{}, destinationNetwork interface{}, dbTx interface{}) *StorageInterface_UpdateL1DepositsStatus_Call

UpdateL1DepositsStatus is a helper method to define mock.On call

  • ctx context.Context
  • exitRoot []byte
  • destinationNetwork uint
  • dbTx pgx.Tx

func (*StorageInterface_Expecter) UpdateL2DepositsStatus

func (_e *StorageInterface_Expecter) UpdateL2DepositsStatus(ctx interface{}, exitRoot interface{}, rollupID interface{}, networkID interface{}, dbTx interface{}) *StorageInterface_UpdateL2DepositsStatus_Call

UpdateL2DepositsStatus is a helper method to define mock.On call

  • ctx context.Context
  • exitRoot []byte
  • rollupID uint
  • networkID uint
  • dbTx pgx.Tx

type StorageInterface_GetClaimTxsByStatus_Call

type StorageInterface_GetClaimTxsByStatus_Call struct {
	*mock.Call
}

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

func (*StorageInterface_GetClaimTxsByStatus_Call) Return

func (*StorageInterface_GetClaimTxsByStatus_Call) Run

func (*StorageInterface_GetClaimTxsByStatus_Call) RunAndReturn

type StorageInterface_Rollback_Call

type StorageInterface_Rollback_Call struct {
	*mock.Call
}

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

func (*StorageInterface_Rollback_Call) Return

func (*StorageInterface_Rollback_Call) Run

func (*StorageInterface_Rollback_Call) RunAndReturn

type StorageInterface_UpdateClaimTx_Call

type StorageInterface_UpdateClaimTx_Call struct {
	*mock.Call
}

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

func (*StorageInterface_UpdateClaimTx_Call) Return

func (*StorageInterface_UpdateClaimTx_Call) Run

func (*StorageInterface_UpdateClaimTx_Call) RunAndReturn

type StorageInterface_UpdateL1DepositsStatus_Call

type StorageInterface_UpdateL1DepositsStatus_Call struct {
	*mock.Call
}

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

func (*StorageInterface_UpdateL1DepositsStatus_Call) Return

func (*StorageInterface_UpdateL1DepositsStatus_Call) Run

func (_c *StorageInterface_UpdateL1DepositsStatus_Call) Run(run func(ctx context.Context, exitRoot []byte, destinationNetwork uint, dbTx pgx.Tx)) *StorageInterface_UpdateL1DepositsStatus_Call

func (*StorageInterface_UpdateL1DepositsStatus_Call) RunAndReturn

type StorageInterface_UpdateL2DepositsStatus_Call

type StorageInterface_UpdateL2DepositsStatus_Call struct {
	*mock.Call
}

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

func (*StorageInterface_UpdateL2DepositsStatus_Call) Return

func (*StorageInterface_UpdateL2DepositsStatus_Call) Run

func (_c *StorageInterface_UpdateL2DepositsStatus_Call) Run(run func(ctx context.Context, exitRoot []byte, rollupID uint, networkID uint, dbTx pgx.Tx)) *StorageInterface_UpdateL2DepositsStatus_Call

func (*StorageInterface_UpdateL2DepositsStatus_Call) RunAndReturn

type TxMonitorer

type TxMonitorer struct {
	mock.Mock
}

TxMonitorer is an autogenerated mock type for the TxMonitorer type

func NewTxMonitorer

func NewTxMonitorer(t interface {
	mock.TestingT
	Cleanup(func())
}) *TxMonitorer

NewTxMonitorer creates a new instance of TxMonitorer. 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 (*TxMonitorer) EXPECT

func (_m *TxMonitorer) EXPECT() *TxMonitorer_Expecter

func (*TxMonitorer) MonitorTxs

func (_m *TxMonitorer) MonitorTxs(ctx context.Context) error

MonitorTxs provides a mock function with given fields: ctx

type TxMonitorer_Expecter

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

func (*TxMonitorer_Expecter) MonitorTxs

func (_e *TxMonitorer_Expecter) MonitorTxs(ctx interface{}) *TxMonitorer_MonitorTxs_Call

MonitorTxs is a helper method to define mock.On call

  • ctx context.Context

type TxMonitorer_MonitorTxs_Call

type TxMonitorer_MonitorTxs_Call struct {
	*mock.Call
}

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

func (*TxMonitorer_MonitorTxs_Call) Return

func (*TxMonitorer_MonitorTxs_Call) Run

func (*TxMonitorer_MonitorTxs_Call) RunAndReturn

Jump to

Keyboard shortcuts

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