mocks

package
v0.4.1-beta2 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2025 License: Apache-2.0, MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FEPContractQuerier

type FEPContractQuerier struct {
	mock.Mock
}

FEPContractQuerier is an autogenerated mock type for the FEPContractQuerier type

func NewFEPContractQuerier

func NewFEPContractQuerier(t interface {
	mock.TestingT
	Cleanup(func())
}) *FEPContractQuerier

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

func (*FEPContractQuerier) OptimisticMode

func (_m *FEPContractQuerier) OptimisticMode(opts *bind.CallOpts) (bool, error)

OptimisticMode provides a mock function with given fields: opts

func (*FEPContractQuerier) RangeVkeyCommitment

func (_m *FEPContractQuerier) RangeVkeyCommitment(opts *bind.CallOpts) ([32]byte, error)

RangeVkeyCommitment provides a mock function with given fields: opts

func (*FEPContractQuerier) RollupConfigHash

func (_m *FEPContractQuerier) RollupConfigHash(opts *bind.CallOpts) ([32]byte, error)

RollupConfigHash provides a mock function with given fields: opts

type FEPContractQuerier_Expecter

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

func (*FEPContractQuerier_Expecter) OptimisticMode

func (_e *FEPContractQuerier_Expecter) OptimisticMode(opts interface{}) *FEPContractQuerier_OptimisticMode_Call

OptimisticMode is a helper method to define mock.On call

  • opts *bind.CallOpts

func (*FEPContractQuerier_Expecter) RangeVkeyCommitment

func (_e *FEPContractQuerier_Expecter) RangeVkeyCommitment(opts interface{}) *FEPContractQuerier_RangeVkeyCommitment_Call

RangeVkeyCommitment is a helper method to define mock.On call

  • opts *bind.CallOpts

func (*FEPContractQuerier_Expecter) RollupConfigHash

func (_e *FEPContractQuerier_Expecter) RollupConfigHash(opts interface{}) *FEPContractQuerier_RollupConfigHash_Call

RollupConfigHash is a helper method to define mock.On call

  • opts *bind.CallOpts

type FEPContractQuerier_OptimisticMode_Call

type FEPContractQuerier_OptimisticMode_Call struct {
	*mock.Call
}

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

func (*FEPContractQuerier_OptimisticMode_Call) Return

func (*FEPContractQuerier_OptimisticMode_Call) Run

func (*FEPContractQuerier_OptimisticMode_Call) RunAndReturn

type FEPContractQuerier_RangeVkeyCommitment_Call

type FEPContractQuerier_RangeVkeyCommitment_Call struct {
	*mock.Call
}

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

func (*FEPContractQuerier_RangeVkeyCommitment_Call) Return

func (*FEPContractQuerier_RangeVkeyCommitment_Call) Run

func (*FEPContractQuerier_RangeVkeyCommitment_Call) RunAndReturn

type FEPContractQuerier_RollupConfigHash_Call

type FEPContractQuerier_RollupConfigHash_Call struct {
	*mock.Call
}

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

func (*FEPContractQuerier_RollupConfigHash_Call) Return

func (*FEPContractQuerier_RollupConfigHash_Call) Run

func (*FEPContractQuerier_RollupConfigHash_Call) RunAndReturn

type OpNodeClienter

type OpNodeClienter struct {
	mock.Mock
}

OpNodeClienter is an autogenerated mock type for the OpNodeClienter type

func NewOpNodeClienter

func NewOpNodeClienter(t interface {
	mock.TestingT
	Cleanup(func())
}) *OpNodeClienter

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

func (*OpNodeClienter) OutputAtBlockRoot

func (_m *OpNodeClienter) OutputAtBlockRoot(blockNum uint64) (common.Hash, error)

OutputAtBlockRoot provides a mock function with given fields: blockNum

type OpNodeClienter_Expecter

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

func (*OpNodeClienter_Expecter) OutputAtBlockRoot

func (_e *OpNodeClienter_Expecter) OutputAtBlockRoot(blockNum interface{}) *OpNodeClienter_OutputAtBlockRoot_Call

OutputAtBlockRoot is a helper method to define mock.On call

  • blockNum uint64

type OpNodeClienter_OutputAtBlockRoot_Call

type OpNodeClienter_OutputAtBlockRoot_Call struct {
	*mock.Call
}

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

func (*OpNodeClienter_OutputAtBlockRoot_Call) Return

func (*OpNodeClienter_OutputAtBlockRoot_Call) Run

func (*OpNodeClienter_OutputAtBlockRoot_Call) RunAndReturn

type OptimisticAggregationProofPublicValuesQuerier

type OptimisticAggregationProofPublicValuesQuerier struct {
	mock.Mock
}

OptimisticAggregationProofPublicValuesQuerier is an autogenerated mock type for the OptimisticAggregationProofPublicValuesQuerier type

func NewOptimisticAggregationProofPublicValuesQuerier

func NewOptimisticAggregationProofPublicValuesQuerier(t interface {
	mock.TestingT
	Cleanup(func())
}) *OptimisticAggregationProofPublicValuesQuerier

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

func (*OptimisticAggregationProofPublicValuesQuerier) GetAggregationProofPublicValuesData

func (_m *OptimisticAggregationProofPublicValuesQuerier) GetAggregationProofPublicValuesData(lastProvenBlock uint64, requestedEndBlock uint64, l1InfoTreeLeafHash common.Hash) (*optimistichash.AggregationProofPublicValues, error)

GetAggregationProofPublicValuesData provides a mock function with given fields: lastProvenBlock, requestedEndBlock, l1InfoTreeLeafHash

type OptimisticAggregationProofPublicValuesQuerier_Expecter

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

func (*OptimisticAggregationProofPublicValuesQuerier_Expecter) GetAggregationProofPublicValuesData

func (_e *OptimisticAggregationProofPublicValuesQuerier_Expecter) GetAggregationProofPublicValuesData(lastProvenBlock interface{}, requestedEndBlock interface{}, l1InfoTreeLeafHash interface{}) *OptimisticAggregationProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call

GetAggregationProofPublicValuesData is a helper method to define mock.On call

  • lastProvenBlock uint64
  • requestedEndBlock uint64
  • l1InfoTreeLeafHash common.Hash

type OptimisticAggregationProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call

type OptimisticAggregationProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call struct {
	*mock.Call
}

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

func (*OptimisticAggregationProofPublicValuesQuerier_GetAggregationProofPublicValuesData_Call) Run

type OptimisticSignatureCalculator

type OptimisticSignatureCalculator struct {
	mock.Mock
}

OptimisticSignatureCalculator is an autogenerated mock type for the OptimisticSignatureCalculator type

func NewOptimisticSignatureCalculator

func NewOptimisticSignatureCalculator(t interface {
	mock.TestingT
	Cleanup(func())
}) *OptimisticSignatureCalculator

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

func (*OptimisticSignatureCalculator) Sign

func (_m *OptimisticSignatureCalculator) Sign(ctx context.Context, aggchainReq types.AggchainProofRequest, newLocalExitRoot common.Hash, claims []bridgesync.Claim) (common.Hash, error)

Sign provides a mock function with given fields: ctx, aggchainReq, newLocalExitRoot, claims

type OptimisticSignatureCalculator_Expecter

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

func (*OptimisticSignatureCalculator_Expecter) Sign

func (_e *OptimisticSignatureCalculator_Expecter) Sign(ctx interface{}, aggchainReq interface{}, newLocalExitRoot interface{}, claims interface{}) *OptimisticSignatureCalculator_Sign_Call

Sign is a helper method to define mock.On call

  • ctx context.Context
  • aggchainReq types.AggchainProofRequest
  • newLocalExitRoot common.Hash
  • claims []bridgesync.Claim

type OptimisticSignatureCalculator_Sign_Call

type OptimisticSignatureCalculator_Sign_Call struct {
	*mock.Call
}

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

func (*OptimisticSignatureCalculator_Sign_Call) Return

func (*OptimisticSignatureCalculator_Sign_Call) Run

Jump to

Keyboard shortcuts

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