validator_mock

package
v4.0.0-...-b8b0360 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2024 License: GPL-3.0 Imports: 6 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.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockBeaconChainClient

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

MockBeaconChainClient is a mock of BeaconChainClient interface.

func NewMockBeaconChainClient

func NewMockBeaconChainClient(ctrl *gomock.Controller) *MockBeaconChainClient

NewMockBeaconChainClient creates a new mock instance.

func (*MockBeaconChainClient) EXPECT

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

func (*MockBeaconChainClient) GetChainHead

func (m *MockBeaconChainClient) GetChainHead(arg0 context.Context, arg1 *emptypb.Empty) (*zond.ChainHead, error)

GetChainHead mocks base method.

func (*MockBeaconChainClient) GetValidatorParticipation

GetValidatorParticipation mocks base method.

func (*MockBeaconChainClient) GetValidatorPerformance

GetValidatorPerformance mocks base method.

func (*MockBeaconChainClient) GetValidatorQueue

func (m *MockBeaconChainClient) GetValidatorQueue(arg0 context.Context, arg1 *emptypb.Empty) (*zond.ValidatorQueue, error)

GetValidatorQueue mocks base method.

func (*MockBeaconChainClient) ListValidatorBalances

ListValidatorBalances mocks base method.

func (*MockBeaconChainClient) ListValidators

ListValidators mocks base method.

type MockBeaconChainClientMockRecorder

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

MockBeaconChainClientMockRecorder is the mock recorder for MockBeaconChainClient.

func (*MockBeaconChainClientMockRecorder) GetChainHead

func (mr *MockBeaconChainClientMockRecorder) GetChainHead(arg0, arg1 interface{}) *gomock.Call

GetChainHead indicates an expected call of GetChainHead.

func (*MockBeaconChainClientMockRecorder) GetValidatorParticipation

func (mr *MockBeaconChainClientMockRecorder) GetValidatorParticipation(arg0, arg1 interface{}) *gomock.Call

GetValidatorParticipation indicates an expected call of GetValidatorParticipation.

func (*MockBeaconChainClientMockRecorder) GetValidatorPerformance

func (mr *MockBeaconChainClientMockRecorder) GetValidatorPerformance(arg0, arg1 interface{}) *gomock.Call

GetValidatorPerformance indicates an expected call of GetValidatorPerformance.

func (*MockBeaconChainClientMockRecorder) GetValidatorQueue

func (mr *MockBeaconChainClientMockRecorder) GetValidatorQueue(arg0, arg1 interface{}) *gomock.Call

GetValidatorQueue indicates an expected call of GetValidatorQueue.

func (*MockBeaconChainClientMockRecorder) ListValidatorBalances

func (mr *MockBeaconChainClientMockRecorder) ListValidatorBalances(arg0, arg1 interface{}) *gomock.Call

ListValidatorBalances indicates an expected call of ListValidatorBalances.

func (*MockBeaconChainClientMockRecorder) ListValidators

func (mr *MockBeaconChainClientMockRecorder) ListValidators(arg0, arg1 interface{}) *gomock.Call

ListValidators indicates an expected call of ListValidators.

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) GetGenesis

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

GetGenesis mocks base method.

func (*MockNodeClient) GetSyncStatus

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

GetSyncStatus mocks base method.

func (*MockNodeClient) GetVersion

func (m *MockNodeClient) GetVersion(arg0 context.Context, arg1 *emptypb.Empty) (*zond.Version, error)

GetVersion mocks base method.

func (*MockNodeClient) ListPeers

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

ListPeers mocks base method.

type MockNodeClientMockRecorder

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

MockNodeClientMockRecorder is the mock recorder for MockNodeClient.

func (*MockNodeClientMockRecorder) GetGenesis

func (mr *MockNodeClientMockRecorder) GetGenesis(arg0, arg1 interface{}) *gomock.Call

GetGenesis indicates an expected call of GetGenesis.

func (*MockNodeClientMockRecorder) GetSyncStatus

func (mr *MockNodeClientMockRecorder) GetSyncStatus(arg0, arg1 interface{}) *gomock.Call

GetSyncStatus indicates an expected call of GetSyncStatus.

func (*MockNodeClientMockRecorder) GetVersion

func (mr *MockNodeClientMockRecorder) GetVersion(arg0, arg1 interface{}) *gomock.Call

GetVersion indicates an expected call of GetVersion.

func (*MockNodeClientMockRecorder) ListPeers

func (mr *MockNodeClientMockRecorder) ListPeers(arg0, arg1 interface{}) *gomock.Call

ListPeers indicates an expected call of ListPeers.

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) CheckDoppelGanger

CheckDoppelGanger mocks base method.

func (*MockValidatorClient) DomainData

DomainData mocks base method.

func (*MockValidatorClient) EXPECT

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

func (*MockValidatorClient) GetAttestationData

GetAttestationData mocks base method.

func (*MockValidatorClient) GetBeaconBlock

func (m *MockValidatorClient) GetBeaconBlock(arg0 context.Context, arg1 *zond.BlockRequest) (*zond.GenericBeaconBlock, error)

GetBeaconBlock mocks base method.

func (*MockValidatorClient) GetDuties

GetDuties mocks base method.

func (*MockValidatorClient) GetFeeRecipientByPubKey

GetFeeRecipientByPubKey mocks base method.

func (*MockValidatorClient) GetSyncCommitteeContribution

GetSyncCommitteeContribution mocks base method.

func (*MockValidatorClient) GetSyncMessageBlockRoot

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

GetSyncMessageBlockRoot mocks base method.

func (*MockValidatorClient) GetSyncSubcommitteeIndex

GetSyncSubcommitteeIndex mocks base method.

func (*MockValidatorClient) MultipleValidatorStatus

MultipleValidatorStatus mocks base method.

func (*MockValidatorClient) PrepareBeaconProposer

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

PrepareBeaconProposer mocks base method.

func (*MockValidatorClient) ProposeAttestation

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

ProposeAttestation mocks base method.

func (*MockValidatorClient) ProposeBeaconBlock

ProposeBeaconBlock mocks base method.

func (*MockValidatorClient) ProposeExit

ProposeExit mocks base method.

func (*MockValidatorClient) StreamBlocksAltair

StreamBlocksAltair mocks base method.

func (*MockValidatorClient) SubmitAggregateSelectionProof

func (m *MockValidatorClient) SubmitAggregateSelectionProof(arg0 context.Context, arg1 *zond.AggregateSelectionRequest) (*zond.AggregateSelectionResponse, error)

SubmitAggregateSelectionProof mocks base method.

func (*MockValidatorClient) SubmitSignedAggregateSelectionProof

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

SubmitSignedAggregateSelectionProof mocks base method.

func (*MockValidatorClient) SubmitSignedContributionAndProof

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

SubmitSignedContributionAndProof mocks base method.

func (*MockValidatorClient) SubmitSyncMessage

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

SubmitSyncMessage mocks base method.

func (*MockValidatorClient) SubmitValidatorRegistrations

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

SubmitValidatorRegistrations mocks base method.

func (*MockValidatorClient) SubscribeCommitteeSubnets

SubscribeCommitteeSubnets 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) (*zond.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) CheckDoppelGanger

func (mr *MockValidatorClientMockRecorder) CheckDoppelGanger(arg0, arg1 interface{}) *gomock.Call

CheckDoppelGanger indicates an expected call of CheckDoppelGanger.

func (*MockValidatorClientMockRecorder) DomainData

func (mr *MockValidatorClientMockRecorder) DomainData(arg0, arg1 interface{}) *gomock.Call

DomainData indicates an expected call of DomainData.

func (*MockValidatorClientMockRecorder) GetAttestationData

func (mr *MockValidatorClientMockRecorder) GetAttestationData(arg0, arg1 interface{}) *gomock.Call

GetAttestationData indicates an expected call of GetAttestationData.

func (*MockValidatorClientMockRecorder) GetBeaconBlock

func (mr *MockValidatorClientMockRecorder) GetBeaconBlock(arg0, arg1 interface{}) *gomock.Call

GetBeaconBlock indicates an expected call of GetBeaconBlock.

func (*MockValidatorClientMockRecorder) GetDuties

func (mr *MockValidatorClientMockRecorder) GetDuties(arg0, arg1 interface{}) *gomock.Call

GetDuties indicates an expected call of GetDuties.

func (*MockValidatorClientMockRecorder) GetFeeRecipientByPubKey

func (mr *MockValidatorClientMockRecorder) GetFeeRecipientByPubKey(arg0, arg1 interface{}) *gomock.Call

GetFeeRecipientByPubKey indicates an expected call of GetFeeRecipientByPubKey.

func (*MockValidatorClientMockRecorder) GetSyncCommitteeContribution

func (mr *MockValidatorClientMockRecorder) GetSyncCommitteeContribution(arg0, arg1 interface{}) *gomock.Call

GetSyncCommitteeContribution indicates an expected call of GetSyncCommitteeContribution.

func (*MockValidatorClientMockRecorder) GetSyncMessageBlockRoot

func (mr *MockValidatorClientMockRecorder) GetSyncMessageBlockRoot(arg0, arg1 interface{}) *gomock.Call

GetSyncMessageBlockRoot indicates an expected call of GetSyncMessageBlockRoot.

func (*MockValidatorClientMockRecorder) GetSyncSubcommitteeIndex

func (mr *MockValidatorClientMockRecorder) GetSyncSubcommitteeIndex(arg0, arg1 interface{}) *gomock.Call

GetSyncSubcommitteeIndex indicates an expected call of GetSyncSubcommitteeIndex.

func (*MockValidatorClientMockRecorder) MultipleValidatorStatus

func (mr *MockValidatorClientMockRecorder) MultipleValidatorStatus(arg0, arg1 interface{}) *gomock.Call

MultipleValidatorStatus indicates an expected call of MultipleValidatorStatus.

func (*MockValidatorClientMockRecorder) PrepareBeaconProposer

func (mr *MockValidatorClientMockRecorder) PrepareBeaconProposer(arg0, arg1 interface{}) *gomock.Call

PrepareBeaconProposer indicates an expected call of PrepareBeaconProposer.

func (*MockValidatorClientMockRecorder) ProposeAttestation

func (mr *MockValidatorClientMockRecorder) ProposeAttestation(arg0, arg1 interface{}) *gomock.Call

ProposeAttestation indicates an expected call of ProposeAttestation.

func (*MockValidatorClientMockRecorder) ProposeBeaconBlock

func (mr *MockValidatorClientMockRecorder) ProposeBeaconBlock(arg0, arg1 interface{}) *gomock.Call

ProposeBeaconBlock indicates an expected call of ProposeBeaconBlock.

func (*MockValidatorClientMockRecorder) ProposeExit

func (mr *MockValidatorClientMockRecorder) ProposeExit(arg0, arg1 interface{}) *gomock.Call

ProposeExit indicates an expected call of ProposeExit.

func (*MockValidatorClientMockRecorder) StreamBlocksAltair

func (mr *MockValidatorClientMockRecorder) StreamBlocksAltair(arg0, arg1 interface{}) *gomock.Call

StreamBlocksAltair indicates an expected call of StreamBlocksAltair.

func (*MockValidatorClientMockRecorder) SubmitAggregateSelectionProof

func (mr *MockValidatorClientMockRecorder) SubmitAggregateSelectionProof(arg0, arg1 interface{}) *gomock.Call

SubmitAggregateSelectionProof indicates an expected call of SubmitAggregateSelectionProof.

func (*MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProof

func (mr *MockValidatorClientMockRecorder) SubmitSignedAggregateSelectionProof(arg0, arg1 interface{}) *gomock.Call

SubmitSignedAggregateSelectionProof indicates an expected call of SubmitSignedAggregateSelectionProof.

func (*MockValidatorClientMockRecorder) SubmitSignedContributionAndProof

func (mr *MockValidatorClientMockRecorder) SubmitSignedContributionAndProof(arg0, arg1 interface{}) *gomock.Call

SubmitSignedContributionAndProof indicates an expected call of SubmitSignedContributionAndProof.

func (*MockValidatorClientMockRecorder) SubmitSyncMessage

func (mr *MockValidatorClientMockRecorder) SubmitSyncMessage(arg0, arg1 interface{}) *gomock.Call

SubmitSyncMessage indicates an expected call of SubmitSyncMessage.

func (*MockValidatorClientMockRecorder) SubmitValidatorRegistrations

func (mr *MockValidatorClientMockRecorder) SubmitValidatorRegistrations(arg0, arg1 interface{}) *gomock.Call

SubmitValidatorRegistrations indicates an expected call of SubmitValidatorRegistrations.

func (*MockValidatorClientMockRecorder) SubscribeCommitteeSubnets

func (mr *MockValidatorClientMockRecorder) SubscribeCommitteeSubnets(arg0, arg1, arg2 interface{}) *gomock.Call

SubscribeCommitteeSubnets indicates an expected call of SubscribeCommitteeSubnets.

func (*MockValidatorClientMockRecorder) ValidatorIndex

func (mr *MockValidatorClientMockRecorder) ValidatorIndex(arg0, arg1 interface{}) *gomock.Call

ValidatorIndex indicates an expected call of ValidatorIndex.

func (*MockValidatorClientMockRecorder) ValidatorStatus

func (mr *MockValidatorClientMockRecorder) ValidatorStatus(arg0, arg1 interface{}) *gomock.Call

ValidatorStatus indicates an expected call of ValidatorStatus.

func (*MockValidatorClientMockRecorder) WaitForActivation

func (mr *MockValidatorClientMockRecorder) WaitForActivation(arg0, arg1 interface{}) *gomock.Call

WaitForActivation indicates an expected call of WaitForActivation.

func (*MockValidatorClientMockRecorder) WaitForChainStart

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