Documentation ¶
Index ¶
- type DbTxMock
- func (_m *DbTxMock) Begin(ctx context.Context) (pgx.Tx, error)
- func (_m *DbTxMock) BeginFunc(ctx context.Context, f func(pgx.Tx) error) error
- func (_m *DbTxMock) Commit(ctx context.Context) error
- func (_m *DbTxMock) Conn() *pgx.Conn
- func (_m *DbTxMock) CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, ...) (int64, error)
- func (_m *DbTxMock) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
- func (_m *DbTxMock) LargeObjects() pgx.LargeObjects
- func (_m *DbTxMock) Prepare(ctx context.Context, name string, sql string) (*pgconn.StatementDescription, error)
- func (_m *DbTxMock) Query(ctx context.Context, sql string, args ...interface{}) (pgx.Rows, error)
- func (_m *DbTxMock) QueryFunc(ctx context.Context, sql string, args []interface{}, scans []interface{}, ...) (pgconn.CommandTag, error)
- func (_m *DbTxMock) QueryRow(ctx context.Context, sql string, args ...interface{}) pgx.Row
- func (_m *DbTxMock) Rollback(ctx context.Context) error
- func (_m *DbTxMock) SendBatch(ctx context.Context, b *pgx.Batch) pgx.BatchResults
- type EthTxManagerClientMock
- func (_m *EthTxManagerClientMock) Add(ctx context.Context, to *common.Address, value *big.Int, data []byte, ...) (common.Hash, error)
- func (_m *EthTxManagerClientMock) AddWithGas(ctx context.Context, to *common.Address, value *big.Int, data []byte, ...) (common.Hash, error)
- func (_m *EthTxManagerClientMock) EncodeBlobData(data []byte) (kzg4844.Blob, error)
- func (_m *EthTxManagerClientMock) MakeBlobSidecar(blobs []kzg4844.Blob) *types.BlobTxSidecar
- func (_m *EthTxManagerClientMock) ProcessPendingMonitoredTxs(ctx context.Context, resultHandler ethtxmanager.ResultHandler)
- func (_m *EthTxManagerClientMock) Remove(ctx context.Context, id common.Hash) error
- func (_m *EthTxManagerClientMock) RemoveAll(ctx context.Context) error
- func (_m *EthTxManagerClientMock) Result(ctx context.Context, id common.Hash) (zkevm_ethtx_managertypes.MonitoredTxResult, error)
- func (_m *EthTxManagerClientMock) ResultsByStatus(ctx context.Context, statuses []zkevm_ethtx_managertypes.MonitoredTxStatus) ([]zkevm_ethtx_managertypes.MonitoredTxResult, error)
- func (_m *EthTxManagerClientMock) Start()
- func (_m *EthTxManagerClientMock) Stop()
- type EthermanMock
- func (_m *EthermanMock) BuildTrustedVerifyBatchesTxData(lastVerifiedBatch uint64, newVerifiedBatch uint64, ...) (*common.Address, []byte, error)
- func (_m *EthermanMock) GetBatchAccInputHash(ctx context.Context, batchNumber uint64) (common.Hash, error)
- func (_m *EthermanMock) GetLatestBlockHeader(ctx context.Context) (*types.Header, error)
- func (_m *EthermanMock) GetLatestVerifiedBatchNum() (uint64, error)
- func (_m *EthermanMock) GetRollupId() uint32
- func (_m *EthermanMock) HeaderByNumber(ctx context.Context, number *big.Int) (*types.Header, error)
- type ProverInterfaceMock
- func (_m *ProverInterfaceMock) Addr() string
- func (_m *ProverInterfaceMock) AggregatedProof(inputProof1 string, inputProof2 string) (*string, error)
- func (_m *ProverInterfaceMock) BatchProof(input *prover.StatelessInputProver) (*string, error)
- func (_m *ProverInterfaceMock) FinalProof(inputProof string, aggregatorAddr string) (*string, error)
- func (_m *ProverInterfaceMock) ID() string
- func (_m *ProverInterfaceMock) IsIdle() (bool, error)
- func (_m *ProverInterfaceMock) Name() string
- func (_m *ProverInterfaceMock) WaitFinalProof(ctx context.Context, proofID string) (*prover.FinalProof, error)
- func (_m *ProverInterfaceMock) WaitRecursiveProof(ctx context.Context, proofID string) (string, common.Hash, common.Hash, error)
- type RPCInterfaceMock
- type StateInterfaceMock
- func (_m *StateInterfaceMock) AddGeneratedProof(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) error
- func (_m *StateInterfaceMock) AddSequence(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx) error
- func (_m *StateInterfaceMock) BeginStateTransaction(ctx context.Context) (pgx.Tx, error)
- func (_m *StateInterfaceMock) CheckProofContainsCompleteSequences(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) (bool, error)
- func (_m *StateInterfaceMock) CheckProofExistsForBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (bool, error)
- func (_m *StateInterfaceMock) CleanupGeneratedProofs(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
- func (_m *StateInterfaceMock) CleanupLockedProofs(ctx context.Context, duration string, dbTx pgx.Tx) (int64, error)
- func (_m *StateInterfaceMock) DeleteGeneratedProofs(ctx context.Context, batchNumber uint64, batchNumberFinal uint64, dbTx pgx.Tx) error
- func (_m *StateInterfaceMock) DeleteUngeneratedProofs(ctx context.Context, dbTx pgx.Tx) error
- func (_m *StateInterfaceMock) GetProofReadyToVerify(ctx context.Context, lastVerfiedBatchNumber uint64, dbTx pgx.Tx) (*state.Proof, error)
- func (_m *StateInterfaceMock) GetProofsToAggregate(ctx context.Context, dbTx pgx.Tx) (*state.Proof, *state.Proof, error)
- func (_m *StateInterfaceMock) UpdateGeneratedProof(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) error
- type SynchronizerInterfaceMock
- func (_m *SynchronizerInterfaceMock) GetL1BlockByNumber(ctx context.Context, blockNumber uint64) (*synchronizer.L1Block, error)
- func (_m *SynchronizerInterfaceMock) GetL1InfoRootPerIndex(ctx context.Context, L1InfoTreeIndex uint32) (common.Hash, error)
- func (_m *SynchronizerInterfaceMock) GetL1InfoTreeLeaves(ctx context.Context, indexLeaves []uint32) (map[uint32]synchronizer.L1InfoTreeLeaf, error)
- func (_m *SynchronizerInterfaceMock) GetLastL1Block(ctx context.Context) (*synchronizer.L1Block, error)
- func (_m *SynchronizerInterfaceMock) GetLastestVirtualBatchNumber(ctx context.Context) (uint64, error)
- func (_m *SynchronizerInterfaceMock) GetLeafsByL1InfoRoot(ctx context.Context, l1InfoRoot common.Hash) ([]synchronizer.L1InfoTreeLeaf, error)
- func (_m *SynchronizerInterfaceMock) GetSequenceByBatchNumber(ctx context.Context, batchNumber uint64) (*synchronizer.SequencedBatches, error)
- func (_m *SynchronizerInterfaceMock) GetVirtualBatchByBatchNumber(ctx context.Context, batchNumber uint64) (*synchronizer.VirtualBatch, error)
- func (_m *SynchronizerInterfaceMock) IsSynced() bool
- func (_m *SynchronizerInterfaceMock) SetCallbackOnReorgDone(callback func(synchronizer.ReorgExecutionResult))
- func (_m *SynchronizerInterfaceMock) SetCallbackOnRollbackBatches(callback func(synchronizer.RollbackBatchesData))
- func (_m *SynchronizerInterfaceMock) Stop()
- func (_m *SynchronizerInterfaceMock) Sync(returnOnSync bool) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DbTxMock ¶
DbTxMock is an autogenerated mock type for the Tx type
func NewDbTxMock ¶
NewDbTxMock creates a new instance of DbTxMock. It also registers a testing interface on the mock and a cleanup function to assert the mocks expectations. The first argument is typically a *testing.T value.
func (*DbTxMock) CopyFrom ¶
func (_m *DbTxMock) CopyFrom(ctx context.Context, tableName pgx.Identifier, columnNames []string, rowSrc pgx.CopyFromSource) (int64, error)
CopyFrom provides a mock function with given fields: ctx, tableName, columnNames, rowSrc
func (*DbTxMock) Exec ¶
func (_m *DbTxMock) Exec(ctx context.Context, sql string, arguments ...interface{}) (pgconn.CommandTag, error)
Exec provides a mock function with given fields: ctx, sql, arguments
func (*DbTxMock) LargeObjects ¶
func (_m *DbTxMock) LargeObjects() pgx.LargeObjects
LargeObjects provides a mock function with given fields:
func (*DbTxMock) Prepare ¶
func (_m *DbTxMock) Prepare(ctx context.Context, name string, sql string) (*pgconn.StatementDescription, error)
Prepare provides a mock function with given fields: ctx, name, sql
func (*DbTxMock) QueryFunc ¶
func (_m *DbTxMock) QueryFunc(ctx context.Context, sql string, args []interface{}, scans []interface{}, f func(pgx.QueryFuncRow) error) (pgconn.CommandTag, error)
QueryFunc provides a mock function with given fields: ctx, sql, args, scans, f
type EthTxManagerClientMock ¶
EthTxManagerClientMock is an autogenerated mock type for the EthTxManagerClient type
func NewEthTxManagerClientMock ¶
func NewEthTxManagerClientMock(t interface { mock.TestingT Cleanup(func()) }) *EthTxManagerClientMock
NewEthTxManagerClientMock creates a new instance of EthTxManagerClientMock. 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 (*EthTxManagerClientMock) Add ¶
func (_m *EthTxManagerClientMock) Add(ctx context.Context, to *common.Address, value *big.Int, data []byte, gasOffset uint64, sidecar *types.BlobTxSidecar) (common.Hash, error)
Add provides a mock function with given fields: ctx, to, value, data, gasOffset, sidecar
func (*EthTxManagerClientMock) AddWithGas ¶
func (_m *EthTxManagerClientMock) AddWithGas(ctx context.Context, to *common.Address, value *big.Int, data []byte, gasOffset uint64, sidecar *types.BlobTxSidecar, gas uint64) (common.Hash, error)
AddWithGas provides a mock function with given fields: ctx, to, value, data, gasOffset, sidecar, gas
func (*EthTxManagerClientMock) EncodeBlobData ¶
func (_m *EthTxManagerClientMock) EncodeBlobData(data []byte) (kzg4844.Blob, error)
EncodeBlobData provides a mock function with given fields: data
func (*EthTxManagerClientMock) MakeBlobSidecar ¶
func (_m *EthTxManagerClientMock) MakeBlobSidecar(blobs []kzg4844.Blob) *types.BlobTxSidecar
MakeBlobSidecar provides a mock function with given fields: blobs
func (*EthTxManagerClientMock) ProcessPendingMonitoredTxs ¶
func (_m *EthTxManagerClientMock) ProcessPendingMonitoredTxs(ctx context.Context, resultHandler ethtxmanager.ResultHandler)
ProcessPendingMonitoredTxs provides a mock function with given fields: ctx, resultHandler
func (*EthTxManagerClientMock) RemoveAll ¶
func (_m *EthTxManagerClientMock) RemoveAll(ctx context.Context) error
RemoveAll provides a mock function with given fields: ctx
func (*EthTxManagerClientMock) Result ¶
func (_m *EthTxManagerClientMock) Result(ctx context.Context, id common.Hash) (zkevm_ethtx_managertypes.MonitoredTxResult, error)
Result provides a mock function with given fields: ctx, id
func (*EthTxManagerClientMock) ResultsByStatus ¶
func (_m *EthTxManagerClientMock) ResultsByStatus(ctx context.Context, statuses []zkevm_ethtx_managertypes.MonitoredTxStatus) ([]zkevm_ethtx_managertypes.MonitoredTxResult, error)
ResultsByStatus provides a mock function with given fields: ctx, statuses
func (*EthTxManagerClientMock) Start ¶
func (_m *EthTxManagerClientMock) Start()
Start provides a mock function with given fields:
func (*EthTxManagerClientMock) Stop ¶
func (_m *EthTxManagerClientMock) Stop()
Stop provides a mock function with given fields:
type EthermanMock ¶
EthermanMock is an autogenerated mock type for the Etherman type
func NewEthermanMock ¶
func NewEthermanMock(t interface { mock.TestingT Cleanup(func()) }) *EthermanMock
NewEthermanMock creates a new instance of EthermanMock. 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 (*EthermanMock) BuildTrustedVerifyBatchesTxData ¶
func (_m *EthermanMock) BuildTrustedVerifyBatchesTxData(lastVerifiedBatch uint64, newVerifiedBatch uint64, inputs *ethmantypes.FinalProofInputs, beneficiary common.Address) (*common.Address, []byte, error)
BuildTrustedVerifyBatchesTxData provides a mock function with given fields: lastVerifiedBatch, newVerifiedBatch, inputs, beneficiary
func (*EthermanMock) GetBatchAccInputHash ¶
func (_m *EthermanMock) GetBatchAccInputHash(ctx context.Context, batchNumber uint64) (common.Hash, error)
GetBatchAccInputHash provides a mock function with given fields: ctx, batchNumber
func (*EthermanMock) GetLatestBlockHeader ¶
GetLatestBlockHeader provides a mock function with given fields: ctx
func (*EthermanMock) GetLatestVerifiedBatchNum ¶
func (_m *EthermanMock) GetLatestVerifiedBatchNum() (uint64, error)
GetLatestVerifiedBatchNum provides a mock function with given fields:
func (*EthermanMock) GetRollupId ¶
func (_m *EthermanMock) GetRollupId() uint32
GetRollupId provides a mock function with given fields:
func (*EthermanMock) HeaderByNumber ¶
HeaderByNumber provides a mock function with given fields: ctx, number
type ProverInterfaceMock ¶
ProverInterfaceMock is an autogenerated mock type for the ProverInterface type
func NewProverInterfaceMock ¶
func NewProverInterfaceMock(t interface { mock.TestingT Cleanup(func()) }) *ProverInterfaceMock
NewProverInterfaceMock creates a new instance of ProverInterfaceMock. 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 (*ProverInterfaceMock) Addr ¶
func (_m *ProverInterfaceMock) Addr() string
Addr provides a mock function with given fields:
func (*ProverInterfaceMock) AggregatedProof ¶
func (_m *ProverInterfaceMock) AggregatedProof(inputProof1 string, inputProof2 string) (*string, error)
AggregatedProof provides a mock function with given fields: inputProof1, inputProof2
func (*ProverInterfaceMock) BatchProof ¶
func (_m *ProverInterfaceMock) BatchProof(input *prover.StatelessInputProver) (*string, error)
BatchProof provides a mock function with given fields: input
func (*ProverInterfaceMock) FinalProof ¶
func (_m *ProverInterfaceMock) FinalProof(inputProof string, aggregatorAddr string) (*string, error)
FinalProof provides a mock function with given fields: inputProof, aggregatorAddr
func (*ProverInterfaceMock) ID ¶
func (_m *ProverInterfaceMock) ID() string
ID provides a mock function with given fields:
func (*ProverInterfaceMock) IsIdle ¶
func (_m *ProverInterfaceMock) IsIdle() (bool, error)
IsIdle provides a mock function with given fields:
func (*ProverInterfaceMock) Name ¶
func (_m *ProverInterfaceMock) Name() string
Name provides a mock function with given fields:
func (*ProverInterfaceMock) WaitFinalProof ¶
func (_m *ProverInterfaceMock) WaitFinalProof(ctx context.Context, proofID string) (*prover.FinalProof, error)
WaitFinalProof provides a mock function with given fields: ctx, proofID
type RPCInterfaceMock ¶ added in v0.4.0
RPCInterfaceMock is an autogenerated mock type for the RPCInterface type
func NewRPCInterfaceMock ¶ added in v0.4.0
func NewRPCInterfaceMock(t interface { mock.TestingT Cleanup(func()) }) *RPCInterfaceMock
NewRPCInterfaceMock creates a new instance of RPCInterfaceMock. 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 (*RPCInterfaceMock) GetBatch ¶ added in v0.4.0
func (_m *RPCInterfaceMock) GetBatch(batchNumber uint64) (*types.RPCBatch, error)
GetBatch provides a mock function with given fields: batchNumber
func (*RPCInterfaceMock) GetWitness ¶ added in v0.4.0
func (_m *RPCInterfaceMock) GetWitness(batchNumber uint64, fullWitness bool) ([]byte, error)
GetWitness provides a mock function with given fields: batchNumber, fullWitness
type StateInterfaceMock ¶
StateInterfaceMock is an autogenerated mock type for the StateInterface type
func NewStateInterfaceMock ¶
func NewStateInterfaceMock(t interface { mock.TestingT Cleanup(func()) }) *StateInterfaceMock
NewStateInterfaceMock creates a new instance of StateInterfaceMock. 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 (*StateInterfaceMock) AddGeneratedProof ¶
func (_m *StateInterfaceMock) AddGeneratedProof(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) error
AddGeneratedProof provides a mock function with given fields: ctx, proof, dbTx
func (*StateInterfaceMock) AddSequence ¶
func (_m *StateInterfaceMock) AddSequence(ctx context.Context, sequence state.Sequence, dbTx pgx.Tx) error
AddSequence provides a mock function with given fields: ctx, sequence, dbTx
func (*StateInterfaceMock) BeginStateTransaction ¶
BeginStateTransaction provides a mock function with given fields: ctx
func (*StateInterfaceMock) CheckProofContainsCompleteSequences ¶
func (_m *StateInterfaceMock) CheckProofContainsCompleteSequences(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) (bool, error)
CheckProofContainsCompleteSequences provides a mock function with given fields: ctx, proof, dbTx
func (*StateInterfaceMock) CheckProofExistsForBatch ¶
func (_m *StateInterfaceMock) CheckProofExistsForBatch(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) (bool, error)
CheckProofExistsForBatch provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StateInterfaceMock) CleanupGeneratedProofs ¶
func (_m *StateInterfaceMock) CleanupGeneratedProofs(ctx context.Context, batchNumber uint64, dbTx pgx.Tx) error
CleanupGeneratedProofs provides a mock function with given fields: ctx, batchNumber, dbTx
func (*StateInterfaceMock) CleanupLockedProofs ¶
func (_m *StateInterfaceMock) CleanupLockedProofs(ctx context.Context, duration string, dbTx pgx.Tx) (int64, error)
CleanupLockedProofs provides a mock function with given fields: ctx, duration, dbTx
func (*StateInterfaceMock) DeleteGeneratedProofs ¶
func (_m *StateInterfaceMock) DeleteGeneratedProofs(ctx context.Context, batchNumber uint64, batchNumberFinal uint64, dbTx pgx.Tx) error
DeleteGeneratedProofs provides a mock function with given fields: ctx, batchNumber, batchNumberFinal, dbTx
func (*StateInterfaceMock) DeleteUngeneratedProofs ¶
DeleteUngeneratedProofs provides a mock function with given fields: ctx, dbTx
func (*StateInterfaceMock) GetProofReadyToVerify ¶
func (_m *StateInterfaceMock) GetProofReadyToVerify(ctx context.Context, lastVerfiedBatchNumber uint64, dbTx pgx.Tx) (*state.Proof, error)
GetProofReadyToVerify provides a mock function with given fields: ctx, lastVerfiedBatchNumber, dbTx
func (*StateInterfaceMock) GetProofsToAggregate ¶
func (_m *StateInterfaceMock) GetProofsToAggregate(ctx context.Context, dbTx pgx.Tx) (*state.Proof, *state.Proof, error)
GetProofsToAggregate provides a mock function with given fields: ctx, dbTx
func (*StateInterfaceMock) UpdateGeneratedProof ¶
func (_m *StateInterfaceMock) UpdateGeneratedProof(ctx context.Context, proof *state.Proof, dbTx pgx.Tx) error
UpdateGeneratedProof provides a mock function with given fields: ctx, proof, dbTx
type SynchronizerInterfaceMock ¶
SynchronizerInterfaceMock is an autogenerated mock type for the Synchronizer type
func NewSynchronizerInterfaceMock ¶
func NewSynchronizerInterfaceMock(t interface { mock.TestingT Cleanup(func()) }) *SynchronizerInterfaceMock
NewSynchronizerInterfaceMock creates a new instance of SynchronizerInterfaceMock. 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 (*SynchronizerInterfaceMock) GetL1BlockByNumber ¶
func (_m *SynchronizerInterfaceMock) GetL1BlockByNumber(ctx context.Context, blockNumber uint64) (*synchronizer.L1Block, error)
GetL1BlockByNumber provides a mock function with given fields: ctx, blockNumber
func (*SynchronizerInterfaceMock) GetL1InfoRootPerIndex ¶
func (_m *SynchronizerInterfaceMock) GetL1InfoRootPerIndex(ctx context.Context, L1InfoTreeIndex uint32) (common.Hash, error)
GetL1InfoRootPerIndex provides a mock function with given fields: ctx, L1InfoTreeIndex
func (*SynchronizerInterfaceMock) GetL1InfoTreeLeaves ¶
func (_m *SynchronizerInterfaceMock) GetL1InfoTreeLeaves(ctx context.Context, indexLeaves []uint32) (map[uint32]synchronizer.L1InfoTreeLeaf, error)
GetL1InfoTreeLeaves provides a mock function with given fields: ctx, indexLeaves
func (*SynchronizerInterfaceMock) GetLastL1Block ¶
func (_m *SynchronizerInterfaceMock) GetLastL1Block(ctx context.Context) (*synchronizer.L1Block, error)
GetLastL1Block provides a mock function with given fields: ctx
func (*SynchronizerInterfaceMock) GetLastestVirtualBatchNumber ¶
func (_m *SynchronizerInterfaceMock) GetLastestVirtualBatchNumber(ctx context.Context) (uint64, error)
GetLastestVirtualBatchNumber provides a mock function with given fields: ctx
func (*SynchronizerInterfaceMock) GetLeafsByL1InfoRoot ¶
func (_m *SynchronizerInterfaceMock) GetLeafsByL1InfoRoot(ctx context.Context, l1InfoRoot common.Hash) ([]synchronizer.L1InfoTreeLeaf, error)
GetLeafsByL1InfoRoot provides a mock function with given fields: ctx, l1InfoRoot
func (*SynchronizerInterfaceMock) GetSequenceByBatchNumber ¶
func (_m *SynchronizerInterfaceMock) GetSequenceByBatchNumber(ctx context.Context, batchNumber uint64) (*synchronizer.SequencedBatches, error)
GetSequenceByBatchNumber provides a mock function with given fields: ctx, batchNumber
func (*SynchronizerInterfaceMock) GetVirtualBatchByBatchNumber ¶
func (_m *SynchronizerInterfaceMock) GetVirtualBatchByBatchNumber(ctx context.Context, batchNumber uint64) (*synchronizer.VirtualBatch, error)
GetVirtualBatchByBatchNumber provides a mock function with given fields: ctx, batchNumber
func (*SynchronizerInterfaceMock) IsSynced ¶
func (_m *SynchronizerInterfaceMock) IsSynced() bool
IsSynced provides a mock function with given fields:
func (*SynchronizerInterfaceMock) SetCallbackOnReorgDone ¶
func (_m *SynchronizerInterfaceMock) SetCallbackOnReorgDone(callback func(synchronizer.ReorgExecutionResult))
SetCallbackOnReorgDone provides a mock function with given fields: callback
func (*SynchronizerInterfaceMock) SetCallbackOnRollbackBatches ¶
func (_m *SynchronizerInterfaceMock) SetCallbackOnRollbackBatches(callback func(synchronizer.RollbackBatchesData))
SetCallbackOnRollbackBatches provides a mock function with given fields: callback
func (*SynchronizerInterfaceMock) Stop ¶
func (_m *SynchronizerInterfaceMock) Stop()
Stop provides a mock function with given fields:
func (*SynchronizerInterfaceMock) Sync ¶
func (_m *SynchronizerInterfaceMock) Sync(returnOnSync bool) error
Sync provides a mock function with given fields: returnOnSync