validator_mock

package
v6.0.0 Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2025 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Overview

Package validator_mock is a generated GoMock package.

Package validator_mock is a generated GoMock package.

Package validator_mock is a generated GoMock package.

Package validator_mock is a generated GoMock package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockChainClient

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

MockChainClient is a mock of ChainClient interface.

func NewMockChainClient

func NewMockChainClient(ctrl *gomock.Controller) *MockChainClient

NewMockChainClient creates a new mock instance.

func (*MockChainClient) ChainHead

func (m *MockChainClient) ChainHead(ctx context.Context, in *empty.Empty) (*eth.ChainHead, error)

ChainHead mocks base method.

func (*MockChainClient) EXPECT

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

func (*MockChainClient) ValidatorBalances

ValidatorBalances mocks base method.

func (*MockChainClient) ValidatorParticipation

ValidatorParticipation mocks base method.

func (*MockChainClient) ValidatorPerformance

ValidatorPerformance mocks base method.

func (*MockChainClient) ValidatorQueue

func (m *MockChainClient) ValidatorQueue(ctx context.Context, in *empty.Empty) (*eth.ValidatorQueue, error)

ValidatorQueue mocks base method.

func (*MockChainClient) Validators

Validators mocks base method.

type MockChainClientMockRecorder

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

MockChainClientMockRecorder is the mock recorder for MockChainClient.

func (*MockChainClientMockRecorder) ChainHead

func (mr *MockChainClientMockRecorder) ChainHead(ctx, in any) *gomock.Call

ChainHead indicates an expected call of ChainHead.

func (*MockChainClientMockRecorder) ValidatorBalances

func (mr *MockChainClientMockRecorder) ValidatorBalances(ctx, in any) *gomock.Call

ValidatorBalances indicates an expected call of ValidatorBalances.

func (*MockChainClientMockRecorder) ValidatorParticipation

func (mr *MockChainClientMockRecorder) ValidatorParticipation(ctx, in any) *gomock.Call

ValidatorParticipation indicates an expected call of ValidatorParticipation.

func (*MockChainClientMockRecorder) ValidatorPerformance

func (mr *MockChainClientMockRecorder) ValidatorPerformance(arg0, arg1 any) *gomock.Call

ValidatorPerformance indicates an expected call of ValidatorPerformance.

func (*MockChainClientMockRecorder) ValidatorQueue

func (mr *MockChainClientMockRecorder) ValidatorQueue(ctx, in any) *gomock.Call

ValidatorQueue indicates an expected call of ValidatorQueue.

func (*MockChainClientMockRecorder) Validators

func (mr *MockChainClientMockRecorder) Validators(ctx, in any) *gomock.Call

Validators indicates an expected call of Validators.

type MockNodeClient

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

MockNodeClient is a mock of NodeClient interface.

func NewMockNodeClient

func NewMockNodeClient(ctrl *gomock.Controller) *MockNodeClient

NewMockNodeClient creates a new mock instance.

func (*MockNodeClient) EXPECT

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

func (*MockNodeClient) Genesis

func (m *MockNodeClient) Genesis(ctx context.Context, in *empty.Empty) (*eth.Genesis, error)

Genesis mocks base method.

func (*MockNodeClient) HealthTracker

func (m *MockNodeClient) HealthTracker() health.Tracker

HealthTracker mocks base method.

func (*MockNodeClient) Peers

func (m *MockNodeClient) Peers(ctx context.Context, in *empty.Empty) (*eth.Peers, error)

Peers mocks base method.

func (*MockNodeClient) SyncStatus

func (m *MockNodeClient) SyncStatus(ctx context.Context, in *empty.Empty) (*eth.SyncStatus, error)

SyncStatus mocks base method.

func (*MockNodeClient) Version

func (m *MockNodeClient) Version(ctx context.Context, in *empty.Empty) (*eth.Version, error)

Version mocks base method.

type MockNodeClientMockRecorder

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

MockNodeClientMockRecorder is the mock recorder for MockNodeClient.

func (*MockNodeClientMockRecorder) Genesis

func (mr *MockNodeClientMockRecorder) Genesis(ctx, in any) *gomock.Call

Genesis indicates an expected call of Genesis.

func (*MockNodeClientMockRecorder) HealthTracker

func (mr *MockNodeClientMockRecorder) HealthTracker() *gomock.Call

HealthTracker indicates an expected call of HealthTracker.

func (*MockNodeClientMockRecorder) Peers

func (mr *MockNodeClientMockRecorder) Peers(ctx, in any) *gomock.Call

Peers indicates an expected call of Peers.

func (*MockNodeClientMockRecorder) SyncStatus

func (mr *MockNodeClientMockRecorder) SyncStatus(ctx, in any) *gomock.Call

SyncStatus indicates an expected call of SyncStatus.

func (*MockNodeClientMockRecorder) Version

func (mr *MockNodeClientMockRecorder) Version(ctx, in any) *gomock.Call

Version indicates an expected call of Version.

type MockPrysmChainClient

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

MockPrysmChainClient is a mock of PrysmChainClient interface.

func NewMockPrysmChainClient

func NewMockPrysmChainClient(ctrl *gomock.Controller) *MockPrysmChainClient

NewMockPrysmChainClient creates a new mock instance.

func (*MockPrysmChainClient) EXPECT

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

func (*MockPrysmChainClient) ValidatorCount

func (m *MockPrysmChainClient) ValidatorCount(arg0 context.Context, arg1 string, arg2 []validator.Status) ([]iface.ValidatorCount, error)

ValidatorCount mocks base method.

func (*MockPrysmChainClient) ValidatorPerformance

ValidatorPerformance mocks base method.

type MockPrysmChainClientMockRecorder

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

MockPrysmChainClientMockRecorder is the mock recorder for MockPrysmChainClient.

func (*MockPrysmChainClientMockRecorder) ValidatorCount

func (mr *MockPrysmChainClientMockRecorder) ValidatorCount(arg0, arg1, arg2 any) *gomock.Call

ValidatorCount indicates an expected call of ValidatorCount.

func (*MockPrysmChainClientMockRecorder) ValidatorPerformance

func (mr *MockPrysmChainClientMockRecorder) ValidatorPerformance(arg0, arg1 any) *gomock.Call

ValidatorPerformance indicates an expected call of ValidatorPerformance.

type MockValidatorClient

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

MockValidatorClient is a mock of ValidatorClient interface.

func NewMockValidatorClient

func NewMockValidatorClient(ctrl *gomock.Controller) *MockValidatorClient

NewMockValidatorClient creates a new mock instance.

func (*MockValidatorClient) AggregatedSelections

func (m *MockValidatorClient) AggregatedSelections(ctx context.Context, selections []iface.BeaconCommitteeSelection) ([]iface.BeaconCommitteeSelection, error)

AggregatedSelections mocks base method.

func (*MockValidatorClient) AggregatedSyncSelections

func (m *MockValidatorClient) AggregatedSyncSelections(ctx context.Context, selections []iface.SyncCommitteeSelection) ([]iface.SyncCommitteeSelection, error)

AggregatedSyncSelections mocks base method.

func (*MockValidatorClient) AttestationData

AttestationData mocks base method.

func (*MockValidatorClient) BeaconBlock

BeaconBlock mocks base method.

func (*MockValidatorClient) CheckDoppelGanger

CheckDoppelGanger mocks base method.

func (*MockValidatorClient) DomainData

DomainData mocks base method.

func (*MockValidatorClient) Duties

Duties mocks base method.

func (*MockValidatorClient) EXPECT

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

func (*MockValidatorClient) EventStreamIsRunning

func (m *MockValidatorClient) EventStreamIsRunning() bool

EventStreamIsRunning mocks base method.

func (*MockValidatorClient) FeeRecipientByPubKey

FeeRecipientByPubKey mocks base method.

func (*MockValidatorClient) Host

func (m *MockValidatorClient) Host() string

Host mocks base method.

func (*MockValidatorClient) MultipleValidatorStatus

MultipleValidatorStatus mocks base method.

func (*MockValidatorClient) PrepareBeaconProposer

func (m *MockValidatorClient) PrepareBeaconProposer(ctx context.Context, in *eth.PrepareBeaconProposerRequest) (*empty.Empty, error)

PrepareBeaconProposer mocks base method.

func (*MockValidatorClient) ProposeAttestation

func (m *MockValidatorClient) ProposeAttestation(ctx context.Context, in *eth.Attestation) (*eth.AttestResponse, error)

ProposeAttestation mocks base method.

func (*MockValidatorClient) ProposeAttestationElectra

func (m *MockValidatorClient) ProposeAttestationElectra(ctx context.Context, in *eth.SingleAttestation) (*eth.AttestResponse, error)

ProposeAttestationElectra mocks base method.

func (*MockValidatorClient) ProposeBeaconBlock

ProposeBeaconBlock mocks base method.

func (*MockValidatorClient) ProposeExit

ProposeExit mocks base method.

func (*MockValidatorClient) SetHost

func (m *MockValidatorClient) SetHost(host string)

SetHost mocks base method.

func (*MockValidatorClient) StartEventStream

func (m *MockValidatorClient) StartEventStream(ctx context.Context, topics []string, eventsChannel chan<- *event.Event)

StartEventStream mocks base method.

func (*MockValidatorClient) SubmitAggregateSelectionProof

func (m *MockValidatorClient) SubmitAggregateSelectionProof(ctx context.Context, in *eth.AggregateSelectionRequest, index primitives.ValidatorIndex, committeeLength uint64) (*eth.AggregateSelectionResponse, error)

SubmitAggregateSelectionProof mocks base method.

func (*MockValidatorClient) SubmitAggregateSelectionProofElectra

SubmitAggregateSelectionProofElectra mocks base method.

func (*MockValidatorClient) SubmitSignedAggregateSelectionProof

func (m *MockValidatorClient) SubmitSignedAggregateSelectionProof(ctx context.Context, in *eth.SignedAggregateSubmitRequest) (*eth.SignedAggregateSubmitResponse, error)

SubmitSignedAggregateSelectionProof mocks base method.

func (*MockValidatorClient) SubmitSignedAggregateSelectionProofElectra

func (m *MockValidatorClient) SubmitSignedAggregateSelectionProofElectra(ctx context.Context, in *eth.SignedAggregateSubmitElectraRequest) (*eth.SignedAggregateSubmitResponse, error)

SubmitSignedAggregateSelectionProofElectra mocks base method.

func (*MockValidatorClient) SubmitSignedContributionAndProof

func (m *MockValidatorClient) SubmitSignedContributionAndProof(ctx context.Context, in *eth.SignedContributionAndProof) (*empty.Empty, error)

SubmitSignedContributionAndProof mocks base method.

func (*MockValidatorClient) SubmitSyncMessage

func (m *MockValidatorClient) SubmitSyncMessage(ctx context.Context, in *eth.SyncCommitteeMessage) (*empty.Empty, error)

SubmitSyncMessage mocks base method.

func (*MockValidatorClient) SubmitValidatorRegistrations

func (m *MockValidatorClient) SubmitValidatorRegistrations(ctx context.Context, in *eth.SignedValidatorRegistrationsV1) (*empty.Empty, error)

SubmitValidatorRegistrations mocks base method.

func (*MockValidatorClient) SubscribeCommitteeSubnets

func (m *MockValidatorClient) SubscribeCommitteeSubnets(ctx context.Context, in *eth.CommitteeSubnetsSubscribeRequest, duties []*eth.ValidatorDuty) (*empty.Empty, error)

SubscribeCommitteeSubnets mocks base method.

func (*MockValidatorClient) SyncCommitteeContribution

SyncCommitteeContribution mocks base method.

func (*MockValidatorClient) SyncMessageBlockRoot

func (m *MockValidatorClient) SyncMessageBlockRoot(ctx context.Context, in *empty.Empty) (*eth.SyncMessageBlockRootResponse, error)

SyncMessageBlockRoot mocks base method.

func (*MockValidatorClient) SyncSubcommitteeIndex

SyncSubcommitteeIndex mocks base method.

func (*MockValidatorClient) ValidatorIndex

ValidatorIndex mocks base method.

func (*MockValidatorClient) ValidatorStatus

ValidatorStatus mocks base method.

func (*MockValidatorClient) WaitForChainStart

func (m *MockValidatorClient) WaitForChainStart(ctx context.Context, in *empty.Empty) (*eth.ChainStartResponse, error)

WaitForChainStart mocks base method.

type MockValidatorClientMockRecorder

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

MockValidatorClientMockRecorder is the mock recorder for MockValidatorClient.

func (*MockValidatorClientMockRecorder) AggregatedSelections

func (mr *MockValidatorClientMockRecorder) AggregatedSelections(ctx, selections any) *gomock.Call

AggregatedSelections indicates an expected call of AggregatedSelections.

func (*MockValidatorClientMockRecorder) AggregatedSyncSelections

func (mr *MockValidatorClientMockRecorder) AggregatedSyncSelections(ctx, selections any) *gomock.Call

AggregatedSyncSelections indicates an expected call of AggregatedSyncSelections.

func (*MockValidatorClientMockRecorder) AttestationData

func (mr *MockValidatorClientMockRecorder) AttestationData(ctx, in any) *gomock.Call

AttestationData indicates an expected call of AttestationData.

func (*MockValidatorClientMockRecorder) BeaconBlock

func (mr *MockValidatorClientMockRecorder) BeaconBlock(ctx, in any) *gomock.Call

BeaconBlock indicates an expected call of BeaconBlock.

func (*MockValidatorClientMockRecorder) CheckDoppelGanger

func (mr *MockValidatorClientMockRecorder) CheckDoppelGanger(ctx, in any) *gomock.Call

CheckDoppelGanger indicates an expected call of CheckDoppelGanger.

func (*MockValidatorClientMockRecorder) DomainData

func (mr *MockValidatorClientMockRecorder) DomainData(ctx, in any) *gomock.Call

DomainData indicates an expected call of DomainData.

func (*MockValidatorClientMockRecorder) Duties

func (mr *MockValidatorClientMockRecorder) Duties(ctx, in any) *gomock.Call

Duties indicates an expected call of Duties.

func (*MockValidatorClientMockRecorder) EventStreamIsRunning

func (mr *MockValidatorClientMockRecorder) EventStreamIsRunning() *gomock.Call

EventStreamIsRunning indicates an expected call of EventStreamIsRunning.

func (*MockValidatorClientMockRecorder) FeeRecipientByPubKey

func (mr *MockValidatorClientMockRecorder) FeeRecipientByPubKey(ctx, in any) *gomock.Call

FeeRecipientByPubKey indicates an expected call of FeeRecipientByPubKey.

func (*MockValidatorClientMockRecorder) Host

Host indicates an expected call of Host.

func (*MockValidatorClientMockRecorder) MultipleValidatorStatus

func (mr *MockValidatorClientMockRecorder) MultipleValidatorStatus(ctx, in any) *gomock.Call

MultipleValidatorStatus indicates an expected call of MultipleValidatorStatus.

func (*MockValidatorClientMockRecorder) PrepareBeaconProposer

func (mr *MockValidatorClientMockRecorder) PrepareBeaconProposer(ctx, in any) *gomock.Call

PrepareBeaconProposer indicates an expected call of PrepareBeaconProposer.

func (*MockValidatorClientMockRecorder) ProposeAttestation

func (mr *MockValidatorClientMockRecorder) ProposeAttestation(ctx, in any) *gomock.Call

ProposeAttestation indicates an expected call of ProposeAttestation.

func (*MockValidatorClientMockRecorder) ProposeAttestationElectra

func (mr *MockValidatorClientMockRecorder) ProposeAttestationElectra(ctx, in any) *gomock.Call

ProposeAttestationElectra indicates an expected call of ProposeAttestationElectra.

func (*MockValidatorClientMockRecorder) ProposeBeaconBlock

func (mr *MockValidatorClientMockRecorder) ProposeBeaconBlock(ctx, in any) *gomock.Call

ProposeBeaconBlock indicates an expected call of ProposeBeaconBlock.

func (*MockValidatorClientMockRecorder) ProposeExit

func (mr *MockValidatorClientMockRecorder) ProposeExit(ctx, in any) *gomock.Call

ProposeExit indicates an expected call of ProposeExit.

func (*MockValidatorClientMockRecorder) SetHost

func (mr *MockValidatorClientMockRecorder) SetHost(host any) *gomock.Call

SetHost indicates an expected call of SetHost.

func (*MockValidatorClientMockRecorder) StartEventStream

func (mr *MockValidatorClientMockRecorder) StartEventStream(ctx, topics, eventsChannel any) *gomock.Call

StartEventStream indicates an expected call of StartEventStream.

func (*MockValidatorClientMockRecorder) SubmitAggregateSelectionProof

func (mr *MockValidatorClientMockRecorder) SubmitAggregateSelectionProof(ctx, in, index, committeeLength any) *gomock.Call

SubmitAggregateSelectionProof indicates an expected call of SubmitAggregateSelectionProof.

func (*MockValidatorClientMockRecorder) SubmitAggregateSelectionProofElectra

func (mr *MockValidatorClientMockRecorder) SubmitAggregateSelectionProofElectra(ctx, in, arg2, arg3 any) *gomock.Call

SubmitAggregateSelectionProofElectra indicates an expected call of SubmitAggregateSelectionProofElectra.

func (*MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProof

func (mr *MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProof(ctx, in any) *gomock.Call

SubmitSignedAggregateSelectionProof indicates an expected call of SubmitSignedAggregateSelectionProof.

func (*MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProofElectra

func (mr *MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProofElectra(ctx, in any) *gomock.Call

SubmitSignedAggregateSelectionProofElectra indicates an expected call of SubmitSignedAggregateSelectionProofElectra.

func (*MockValidatorClientMockRecorder) SubmitSignedContributionAndProof

func (mr *MockValidatorClientMockRecorder) SubmitSignedContributionAndProof(ctx, in any) *gomock.Call

SubmitSignedContributionAndProof indicates an expected call of SubmitSignedContributionAndProof.

func (*MockValidatorClientMockRecorder) SubmitSyncMessage

func (mr *MockValidatorClientMockRecorder) SubmitSyncMessage(ctx, in any) *gomock.Call

SubmitSyncMessage indicates an expected call of SubmitSyncMessage.

func (*MockValidatorClientMockRecorder) SubmitValidatorRegistrations

func (mr *MockValidatorClientMockRecorder) SubmitValidatorRegistrations(ctx, in any) *gomock.Call

SubmitValidatorRegistrations indicates an expected call of SubmitValidatorRegistrations.

func (*MockValidatorClientMockRecorder) SubscribeCommitteeSubnets

func (mr *MockValidatorClientMockRecorder) SubscribeCommitteeSubnets(ctx, in, duties any) *gomock.Call

SubscribeCommitteeSubnets indicates an expected call of SubscribeCommitteeSubnets.

func (*MockValidatorClientMockRecorder) SyncCommitteeContribution

func (mr *MockValidatorClientMockRecorder) SyncCommitteeContribution(ctx, in any) *gomock.Call

SyncCommitteeContribution indicates an expected call of SyncCommitteeContribution.

func (*MockValidatorClientMockRecorder) SyncMessageBlockRoot

func (mr *MockValidatorClientMockRecorder) SyncMessageBlockRoot(ctx, in any) *gomock.Call

SyncMessageBlockRoot indicates an expected call of SyncMessageBlockRoot.

func (*MockValidatorClientMockRecorder) SyncSubcommitteeIndex

func (mr *MockValidatorClientMockRecorder) SyncSubcommitteeIndex(ctx, in any) *gomock.Call

SyncSubcommitteeIndex indicates an expected call of SyncSubcommitteeIndex.

func (*MockValidatorClientMockRecorder) ValidatorIndex

func (mr *MockValidatorClientMockRecorder) ValidatorIndex(ctx, in any) *gomock.Call

ValidatorIndex indicates an expected call of ValidatorIndex.

func (*MockValidatorClientMockRecorder) ValidatorStatus

func (mr *MockValidatorClientMockRecorder) ValidatorStatus(ctx, in any) *gomock.Call

ValidatorStatus indicates an expected call of ValidatorStatus.

func (*MockValidatorClientMockRecorder) WaitForChainStart

func (mr *MockValidatorClientMockRecorder) WaitForChainStart(ctx, in any) *gomock.Call

WaitForChainStart indicates an expected call of WaitForChainStart.

Jump to

Keyboard shortcuts

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