validator_mock

package
v5.2.0 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2024 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 added in v5.0.4

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

MockChainClient is a mock of ChainClient interface.

func NewMockChainClient added in v5.0.4

func NewMockChainClient(ctrl *gomock.Controller) *MockChainClient

NewMockChainClient creates a new mock instance.

func (*MockChainClient) ChainHead added in v5.1.0

func (m *MockChainClient) ChainHead(arg0 context.Context, arg1 *emptypb.Empty) (*eth.ChainHead, error)

ChainHead mocks base method.

func (*MockChainClient) EXPECT added in v5.0.4

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

func (*MockChainClient) ValidatorBalances added in v5.1.0

ValidatorBalances mocks base method.

func (*MockChainClient) ValidatorParticipation added in v5.1.0

ValidatorParticipation mocks base method.

func (*MockChainClient) ValidatorPerformance added in v5.1.0

ValidatorPerformance mocks base method.

func (*MockChainClient) ValidatorQueue added in v5.1.0

func (m *MockChainClient) ValidatorQueue(arg0 context.Context, arg1 *emptypb.Empty) (*eth.ValidatorQueue, error)

ValidatorQueue mocks base method.

func (*MockChainClient) Validators added in v5.1.0

Validators mocks base method.

type MockChainClientMockRecorder added in v5.0.4

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

MockChainClientMockRecorder is the mock recorder for MockChainClient.

func (*MockChainClientMockRecorder) ChainHead added in v5.1.0

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

ChainHead indicates an expected call of ChainHead.

func (*MockChainClientMockRecorder) ValidatorBalances added in v5.1.0

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

ValidatorBalances indicates an expected call of ValidatorBalances.

func (*MockChainClientMockRecorder) ValidatorParticipation added in v5.1.0

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

ValidatorParticipation indicates an expected call of ValidatorParticipation.

func (*MockChainClientMockRecorder) ValidatorPerformance added in v5.1.0

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

ValidatorPerformance indicates an expected call of ValidatorPerformance.

func (*MockChainClientMockRecorder) ValidatorQueue added in v5.1.0

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

ValidatorQueue indicates an expected call of ValidatorQueue.

func (*MockChainClientMockRecorder) Validators added in v5.1.0

func (mr *MockChainClientMockRecorder) Validators(arg0, arg1 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 added in v5.1.0

func (m *MockNodeClient) Genesis(arg0 context.Context, arg1 *emptypb.Empty) (*eth.Genesis, error)

Genesis mocks base method.

func (*MockNodeClient) HealthTracker added in v5.0.2

func (m *MockNodeClient) HealthTracker() *beacon.NodeHealthTracker

HealthTracker mocks base method.

func (*MockNodeClient) Peers added in v5.1.0

func (m *MockNodeClient) Peers(arg0 context.Context, arg1 *emptypb.Empty) (*eth.Peers, error)

Peers mocks base method.

func (*MockNodeClient) SyncStatus added in v5.1.0

func (m *MockNodeClient) SyncStatus(arg0 context.Context, arg1 *emptypb.Empty) (*eth.SyncStatus, error)

SyncStatus mocks base method.

func (*MockNodeClient) Version added in v5.1.0

func (m *MockNodeClient) Version(arg0 context.Context, arg1 *emptypb.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 added in v5.1.0

func (mr *MockNodeClientMockRecorder) Genesis(arg0, arg1 any) *gomock.Call

Genesis indicates an expected call of Genesis.

func (*MockNodeClientMockRecorder) HealthTracker added in v5.1.0

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

HealthTracker indicates an expected call of HealthTracker.

func (*MockNodeClientMockRecorder) Peers added in v5.1.0

func (mr *MockNodeClientMockRecorder) Peers(arg0, arg1 any) *gomock.Call

Peers indicates an expected call of Peers.

func (*MockNodeClientMockRecorder) SyncStatus added in v5.1.0

func (mr *MockNodeClientMockRecorder) SyncStatus(arg0, arg1 any) *gomock.Call

SyncStatus indicates an expected call of SyncStatus.

func (*MockNodeClientMockRecorder) Version added in v5.1.0

func (mr *MockNodeClientMockRecorder) Version(arg0, arg1 any) *gomock.Call

Version indicates an expected call of Version.

type MockPrysmChainClient added in v5.0.4

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

MockPrysmChainClient is a mock of PrysmChainClient interface.

func NewMockPrysmChainClient added in v5.0.4

func NewMockPrysmChainClient(ctrl *gomock.Controller) *MockPrysmChainClient

NewMockPrysmChainClient creates a new mock instance.

func (*MockPrysmChainClient) EXPECT added in v5.0.4

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

func (*MockPrysmChainClient) ValidatorCount added in v5.1.0

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

ValidatorCount mocks base method.

type MockPrysmChainClientMockRecorder added in v5.0.4

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

MockPrysmChainClientMockRecorder is the mock recorder for MockPrysmChainClient.

func (*MockPrysmChainClientMockRecorder) ValidatorCount added in v5.1.0

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

ValidatorCount indicates an expected call of ValidatorCount.

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 added in v5.1.0

AggregatedSelections mocks base method.

func (*MockValidatorClient) AggregatedSyncSelections added in v5.1.0

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

AggregatedSyncSelections mocks base method.

func (*MockValidatorClient) AttestationData added in v5.1.0

AttestationData mocks base method.

func (*MockValidatorClient) BeaconBlock added in v5.1.0

BeaconBlock mocks base method.

func (*MockValidatorClient) CheckDoppelGanger

CheckDoppelGanger mocks base method.

func (*MockValidatorClient) DomainData

DomainData mocks base method.

func (*MockValidatorClient) Duties added in v5.1.0

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 added in v5.1.0

FeeRecipientByPubKey mocks base method.

func (*MockValidatorClient) Host added in v5.1.0

func (m *MockValidatorClient) Host() string

Host mocks base method.

func (*MockValidatorClient) MultipleValidatorStatus

MultipleValidatorStatus mocks base method.

func (*MockValidatorClient) PrepareBeaconProposer

func (m *MockValidatorClient) PrepareBeaconProposer(arg0 context.Context, arg1 *eth.PrepareBeaconProposerRequest) (*emptypb.Empty, error)

PrepareBeaconProposer mocks base method.

func (*MockValidatorClient) ProposeAttestation

func (m *MockValidatorClient) ProposeAttestation(arg0 context.Context, arg1 *eth.Attestation) (*eth.AttestResponse, error)

ProposeAttestation mocks base method.

func (*MockValidatorClient) ProposeAttestationElectra added in v5.1.0

func (m *MockValidatorClient) ProposeAttestationElectra(arg0 context.Context, arg1 *eth.AttestationElectra) (*eth.AttestResponse, error)

ProposeAttestationElectra mocks base method.

func (*MockValidatorClient) ProposeBeaconBlock

ProposeBeaconBlock mocks base method.

func (*MockValidatorClient) ProposeExit

ProposeExit mocks base method.

func (*MockValidatorClient) SetHost added in v5.1.0

func (m *MockValidatorClient) SetHost(arg0 string)

SetHost mocks base method.

func (*MockValidatorClient) StartEventStream

func (m *MockValidatorClient) StartEventStream(arg0 context.Context, arg1 []string, arg2 chan<- *event.Event)

StartEventStream mocks base method.

func (*MockValidatorClient) SubmitAggregateSelectionProof

SubmitAggregateSelectionProof mocks base method.

func (*MockValidatorClient) SubmitAggregateSelectionProofElectra added in v5.1.0

func (m *MockValidatorClient) SubmitAggregateSelectionProofElectra(arg0 context.Context, arg1 *eth.AggregateSelectionRequest, arg2 primitives.ValidatorIndex, arg3 uint64) (*eth.AggregateSelectionElectraResponse, error)

SubmitAggregateSelectionProofElectra mocks base method.

func (*MockValidatorClient) SubmitSignedAggregateSelectionProof

func (m *MockValidatorClient) SubmitSignedAggregateSelectionProof(arg0 context.Context, arg1 *eth.SignedAggregateSubmitRequest) (*eth.SignedAggregateSubmitResponse, error)

SubmitSignedAggregateSelectionProof mocks base method.

func (*MockValidatorClient) SubmitSignedAggregateSelectionProofElectra added in v5.1.0

func (m *MockValidatorClient) SubmitSignedAggregateSelectionProofElectra(arg0 context.Context, arg1 *eth.SignedAggregateSubmitElectraRequest) (*eth.SignedAggregateSubmitResponse, error)

SubmitSignedAggregateSelectionProofElectra mocks base method.

func (*MockValidatorClient) SubmitSignedContributionAndProof

func (m *MockValidatorClient) SubmitSignedContributionAndProof(arg0 context.Context, arg1 *eth.SignedContributionAndProof) (*emptypb.Empty, error)

SubmitSignedContributionAndProof mocks base method.

func (*MockValidatorClient) SubmitSyncMessage

func (m *MockValidatorClient) SubmitSyncMessage(arg0 context.Context, arg1 *eth.SyncCommitteeMessage) (*emptypb.Empty, error)

SubmitSyncMessage mocks base method.

func (*MockValidatorClient) SubmitValidatorRegistrations

func (m *MockValidatorClient) SubmitValidatorRegistrations(arg0 context.Context, arg1 *eth.SignedValidatorRegistrationsV1) (*emptypb.Empty, error)

SubmitValidatorRegistrations mocks base method.

func (*MockValidatorClient) SubscribeCommitteeSubnets

func (m *MockValidatorClient) SubscribeCommitteeSubnets(arg0 context.Context, arg1 *eth.CommitteeSubnetsSubscribeRequest, arg2 []*eth.DutiesResponse_Duty) (*emptypb.Empty, error)

SubscribeCommitteeSubnets mocks base method.

func (*MockValidatorClient) SyncCommitteeContribution added in v5.1.0

SyncCommitteeContribution mocks base method.

func (*MockValidatorClient) SyncMessageBlockRoot added in v5.1.0

func (m *MockValidatorClient) SyncMessageBlockRoot(arg0 context.Context, arg1 *emptypb.Empty) (*eth.SyncMessageBlockRootResponse, error)

SyncMessageBlockRoot mocks base method.

func (*MockValidatorClient) SyncSubcommitteeIndex added in v5.1.0

SyncSubcommitteeIndex mocks base method.

func (*MockValidatorClient) ValidatorIndex

ValidatorIndex mocks base method.

func (*MockValidatorClient) ValidatorStatus

ValidatorStatus mocks base method.

func (*MockValidatorClient) WaitForActivation

WaitForActivation mocks base method.

func (*MockValidatorClient) WaitForChainStart

func (m *MockValidatorClient) WaitForChainStart(arg0 context.Context, arg1 *emptypb.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 added in v5.1.0

func (mr *MockValidatorClientMockRecorder) AggregatedSelections(arg0, arg1 any) *gomock.Call

AggregatedSelections indicates an expected call of AggregatedSelections.

func (*MockValidatorClientMockRecorder) AggregatedSyncSelections added in v5.1.0

func (mr *MockValidatorClientMockRecorder) AggregatedSyncSelections(arg0, arg1 any) *gomock.Call

AggregatedSyncSelections indicates an expected call of AggregatedSyncSelections.

func (*MockValidatorClientMockRecorder) AttestationData added in v5.1.0

func (mr *MockValidatorClientMockRecorder) AttestationData(arg0, arg1 any) *gomock.Call

AttestationData indicates an expected call of AttestationData.

func (*MockValidatorClientMockRecorder) BeaconBlock added in v5.1.0

func (mr *MockValidatorClientMockRecorder) BeaconBlock(arg0, arg1 any) *gomock.Call

BeaconBlock indicates an expected call of BeaconBlock.

func (*MockValidatorClientMockRecorder) CheckDoppelGanger

func (mr *MockValidatorClientMockRecorder) CheckDoppelGanger(arg0, arg1 any) *gomock.Call

CheckDoppelGanger indicates an expected call of CheckDoppelGanger.

func (*MockValidatorClientMockRecorder) DomainData

func (mr *MockValidatorClientMockRecorder) DomainData(arg0, arg1 any) *gomock.Call

DomainData indicates an expected call of DomainData.

func (*MockValidatorClientMockRecorder) Duties added in v5.1.0

func (mr *MockValidatorClientMockRecorder) Duties(arg0, arg1 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 added in v5.1.0

func (mr *MockValidatorClientMockRecorder) FeeRecipientByPubKey(arg0, arg1 any) *gomock.Call

FeeRecipientByPubKey indicates an expected call of FeeRecipientByPubKey.

func (*MockValidatorClientMockRecorder) Host added in v5.1.0

Host indicates an expected call of Host.

func (*MockValidatorClientMockRecorder) MultipleValidatorStatus

func (mr *MockValidatorClientMockRecorder) MultipleValidatorStatus(arg0, arg1 any) *gomock.Call

MultipleValidatorStatus indicates an expected call of MultipleValidatorStatus.

func (*MockValidatorClientMockRecorder) PrepareBeaconProposer

func (mr *MockValidatorClientMockRecorder) PrepareBeaconProposer(arg0, arg1 any) *gomock.Call

PrepareBeaconProposer indicates an expected call of PrepareBeaconProposer.

func (*MockValidatorClientMockRecorder) ProposeAttestation

func (mr *MockValidatorClientMockRecorder) ProposeAttestation(arg0, arg1 any) *gomock.Call

ProposeAttestation indicates an expected call of ProposeAttestation.

func (*MockValidatorClientMockRecorder) ProposeAttestationElectra added in v5.1.0

func (mr *MockValidatorClientMockRecorder) ProposeAttestationElectra(arg0, arg1 any) *gomock.Call

ProposeAttestationElectra indicates an expected call of ProposeAttestationElectra.

func (*MockValidatorClientMockRecorder) ProposeBeaconBlock

func (mr *MockValidatorClientMockRecorder) ProposeBeaconBlock(arg0, arg1 any) *gomock.Call

ProposeBeaconBlock indicates an expected call of ProposeBeaconBlock.

func (*MockValidatorClientMockRecorder) ProposeExit

func (mr *MockValidatorClientMockRecorder) ProposeExit(arg0, arg1 any) *gomock.Call

ProposeExit indicates an expected call of ProposeExit.

func (*MockValidatorClientMockRecorder) SetHost added in v5.1.0

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

SetHost indicates an expected call of SetHost.

func (*MockValidatorClientMockRecorder) StartEventStream

func (mr *MockValidatorClientMockRecorder) StartEventStream(arg0, arg1, arg2 any) *gomock.Call

StartEventStream indicates an expected call of StartEventStream.

func (*MockValidatorClientMockRecorder) SubmitAggregateSelectionProof

func (mr *MockValidatorClientMockRecorder) SubmitAggregateSelectionProof(arg0, arg1, arg2, arg3 any) *gomock.Call

SubmitAggregateSelectionProof indicates an expected call of SubmitAggregateSelectionProof.

func (*MockValidatorClientMockRecorder) SubmitAggregateSelectionProofElectra added in v5.1.0

func (mr *MockValidatorClientMockRecorder) SubmitAggregateSelectionProofElectra(arg0, arg1, arg2, arg3 any) *gomock.Call

SubmitAggregateSelectionProofElectra indicates an expected call of SubmitAggregateSelectionProofElectra.

func (*MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProof

func (mr *MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProof(arg0, arg1 any) *gomock.Call

SubmitSignedAggregateSelectionProof indicates an expected call of SubmitSignedAggregateSelectionProof.

func (*MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProofElectra added in v5.1.0

func (mr *MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProofElectra(arg0, arg1 any) *gomock.Call

SubmitSignedAggregateSelectionProofElectra indicates an expected call of SubmitSignedAggregateSelectionProofElectra.

func (*MockValidatorClientMockRecorder) SubmitSignedContributionAndProof

func (mr *MockValidatorClientMockRecorder) SubmitSignedContributionAndProof(arg0, arg1 any) *gomock.Call

SubmitSignedContributionAndProof indicates an expected call of SubmitSignedContributionAndProof.

func (*MockValidatorClientMockRecorder) SubmitSyncMessage

func (mr *MockValidatorClientMockRecorder) SubmitSyncMessage(arg0, arg1 any) *gomock.Call

SubmitSyncMessage indicates an expected call of SubmitSyncMessage.

func (*MockValidatorClientMockRecorder) SubmitValidatorRegistrations

func (mr *MockValidatorClientMockRecorder) SubmitValidatorRegistrations(arg0, arg1 any) *gomock.Call

SubmitValidatorRegistrations indicates an expected call of SubmitValidatorRegistrations.

func (*MockValidatorClientMockRecorder) SubscribeCommitteeSubnets

func (mr *MockValidatorClientMockRecorder) SubscribeCommitteeSubnets(arg0, arg1, arg2 any) *gomock.Call

SubscribeCommitteeSubnets indicates an expected call of SubscribeCommitteeSubnets.

func (*MockValidatorClientMockRecorder) SyncCommitteeContribution added in v5.1.0

func (mr *MockValidatorClientMockRecorder) SyncCommitteeContribution(arg0, arg1 any) *gomock.Call

SyncCommitteeContribution indicates an expected call of SyncCommitteeContribution.

func (*MockValidatorClientMockRecorder) SyncMessageBlockRoot added in v5.1.0

func (mr *MockValidatorClientMockRecorder) SyncMessageBlockRoot(arg0, arg1 any) *gomock.Call

SyncMessageBlockRoot indicates an expected call of SyncMessageBlockRoot.

func (*MockValidatorClientMockRecorder) SyncSubcommitteeIndex added in v5.1.0

func (mr *MockValidatorClientMockRecorder) SyncSubcommitteeIndex(arg0, arg1 any) *gomock.Call

SyncSubcommitteeIndex indicates an expected call of SyncSubcommitteeIndex.

func (*MockValidatorClientMockRecorder) ValidatorIndex

func (mr *MockValidatorClientMockRecorder) ValidatorIndex(arg0, arg1 any) *gomock.Call

ValidatorIndex indicates an expected call of ValidatorIndex.

func (*MockValidatorClientMockRecorder) ValidatorStatus

func (mr *MockValidatorClientMockRecorder) ValidatorStatus(arg0, arg1 any) *gomock.Call

ValidatorStatus indicates an expected call of ValidatorStatus.

func (*MockValidatorClientMockRecorder) WaitForActivation

func (mr *MockValidatorClientMockRecorder) WaitForActivation(arg0, arg1 any) *gomock.Call

WaitForActivation indicates an expected call of WaitForActivation.

func (*MockValidatorClientMockRecorder) WaitForChainStart

func (mr *MockValidatorClientMockRecorder) WaitForChainStart(arg0, arg1 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