mock_services

package
v3.0.0-alpha5.0...-c974331 Latest Latest
Warning

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

Go to latest
Published: Oct 30, 2024 License: LGPL-3.0 Imports: 5 Imported by: 0

Documentation

Overview

Package mock_services is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockSyncContributionPool

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

MockSyncContributionPool is a mock of SyncContributionPool interface.

func NewMockSyncContributionPool

func NewMockSyncContributionPool(ctrl *gomock.Controller) *MockSyncContributionPool

NewMockSyncContributionPool creates a new mock instance.

func (*MockSyncContributionPool) AddSyncCommitteeMessage

func (m *MockSyncContributionPool) AddSyncCommitteeMessage(headState *state.CachingBeaconState, subCommitee uint64, message *cltypes.SyncCommitteeMessage) error

AddSyncCommitteeMessage mocks base method.

func (*MockSyncContributionPool) AddSyncContribution

func (m *MockSyncContributionPool) AddSyncContribution(headState *state.CachingBeaconState, contribution *cltypes.Contribution) error

AddSyncContribution mocks base method.

func (*MockSyncContributionPool) EXPECT

EXPECT returns an object that allows the caller to indicate expected use.

func (*MockSyncContributionPool) GetSyncAggregate

func (m *MockSyncContributionPool) GetSyncAggregate(slot uint64, beaconBlockRoot common.Hash) (*cltypes.SyncAggregate, error)

GetSyncAggregate mocks base method.

func (*MockSyncContributionPool) GetSyncContribution

func (m *MockSyncContributionPool) GetSyncContribution(slot, subcommitteeIndex uint64, beaconBlockRoot common.Hash) *cltypes.Contribution

GetSyncContribution mocks base method.

type MockSyncContributionPoolAddSyncCommitteeMessageCall

type MockSyncContributionPoolAddSyncCommitteeMessageCall struct {
	*gomock.Call
}

MockSyncContributionPoolAddSyncCommitteeMessageCall wrap *gomock.Call

func (*MockSyncContributionPoolAddSyncCommitteeMessageCall) Do

Do rewrite *gomock.Call.Do

func (*MockSyncContributionPoolAddSyncCommitteeMessageCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSyncContributionPoolAddSyncCommitteeMessageCall) Return

Return rewrite *gomock.Call.Return

type MockSyncContributionPoolAddSyncContributionCall

type MockSyncContributionPoolAddSyncContributionCall struct {
	*gomock.Call
}

MockSyncContributionPoolAddSyncContributionCall wrap *gomock.Call

func (*MockSyncContributionPoolAddSyncContributionCall) Do

Do rewrite *gomock.Call.Do

func (*MockSyncContributionPoolAddSyncContributionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSyncContributionPoolAddSyncContributionCall) Return

Return rewrite *gomock.Call.Return

type MockSyncContributionPoolGetSyncAggregateCall

type MockSyncContributionPoolGetSyncAggregateCall struct {
	*gomock.Call
}

MockSyncContributionPoolGetSyncAggregateCall wrap *gomock.Call

func (*MockSyncContributionPoolGetSyncAggregateCall) Do

Do rewrite *gomock.Call.Do

func (*MockSyncContributionPoolGetSyncAggregateCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSyncContributionPoolGetSyncAggregateCall) Return

Return rewrite *gomock.Call.Return

type MockSyncContributionPoolGetSyncContributionCall

type MockSyncContributionPoolGetSyncContributionCall struct {
	*gomock.Call
}

MockSyncContributionPoolGetSyncContributionCall wrap *gomock.Call

func (*MockSyncContributionPoolGetSyncContributionCall) Do

Do rewrite *gomock.Call.Do

func (*MockSyncContributionPoolGetSyncContributionCall) DoAndReturn

DoAndReturn rewrite *gomock.Call.DoAndReturn

func (*MockSyncContributionPoolGetSyncContributionCall) Return

Return rewrite *gomock.Call.Return

type MockSyncContributionPoolMockRecorder

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

MockSyncContributionPoolMockRecorder is the mock recorder for MockSyncContributionPool.

func (*MockSyncContributionPoolMockRecorder) AddSyncCommitteeMessage

func (mr *MockSyncContributionPoolMockRecorder) AddSyncCommitteeMessage(headState, subCommitee, message any) *MockSyncContributionPoolAddSyncCommitteeMessageCall

AddSyncCommitteeMessage indicates an expected call of AddSyncCommitteeMessage.

func (*MockSyncContributionPoolMockRecorder) AddSyncContribution

func (mr *MockSyncContributionPoolMockRecorder) AddSyncContribution(headState, contribution any) *MockSyncContributionPoolAddSyncContributionCall

AddSyncContribution indicates an expected call of AddSyncContribution.

func (*MockSyncContributionPoolMockRecorder) GetSyncAggregate

func (mr *MockSyncContributionPoolMockRecorder) GetSyncAggregate(slot, beaconBlockRoot any) *MockSyncContributionPoolGetSyncAggregateCall

GetSyncAggregate indicates an expected call of GetSyncAggregate.

func (*MockSyncContributionPoolMockRecorder) GetSyncContribution

func (mr *MockSyncContributionPoolMockRecorder) GetSyncContribution(slot, subcommitteeIndex, beaconBlockRoot any) *MockSyncContributionPoolGetSyncContributionCall

GetSyncContribution indicates an expected call of GetSyncContribution.

Jump to

Keyboard shortcuts

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