Documentation ¶
Index ¶
- func NewAggregateAttestationProvider() eth2client.AggregateAttestationProvider
- func NewAggregateAttestationsSubmitter() eth2client.AggregateAttestationsSubmitter
- func NewAttestationDataProvider() eth2client.AttestationDataProvider
- func NewAttestationsSubmitter() eth2client.AttestationsSubmitter
- func NewAttesterDutiesProvider() eth2client.AttesterDutiesProvider
- func NewBeaconBlockHeadersProvider() eth2client.BeaconBlockHeadersProvider
- func NewBeaconBlockRootProvider() eth2client.BeaconBlockRootProvider
- func NewBeaconCommitteeSubscriptionsSubmitter() eth2client.BeaconCommitteeSubscriptionsSubmitter
- func NewBlindedProposalSubmitter() eth2client.BlindedProposalSubmitter
- func NewDomainProvider() eth2client.DomainProvider
- func NewErroringAggregateAttestationProvider() eth2client.AggregateAttestationProvider
- func NewErroringAggregateAttestationsSubmitter() eth2client.AggregateAttestationsSubmitter
- func NewErroringAttestationDataProvider() eth2client.AttestationDataProvider
- func NewErroringAttestationsSubmitter() eth2client.AttestationsSubmitter
- func NewErroringBeaconBlockHeadersProvider() eth2client.BeaconBlockHeadersProvider
- func NewErroringBeaconBlockRootProvider() eth2client.BeaconBlockRootProvider
- func NewErroringBeaconCommitteeSubscriptionsSubmitter() eth2client.BeaconCommitteeSubscriptionsSubmitter
- func NewErroringBlindedProposalSubmitter() eth2client.BlindedProposalSubmitter
- func NewErroringDomainProvider() eth2client.DomainProvider
- func NewErroringEventsProvider() eth2client.EventsProvider
- func NewErroringProposalPreparationsSubmitter() eth2client.ProposalPreparationsSubmitter
- func NewErroringProposalProvider() eth2client.ProposalProvider
- func NewErroringProposalSubmitter() eth2client.ProposalSubmitter
- func NewErroringSignedBeaconBlockProvider() eth2client.SignedBeaconBlockProvider
- func NewErroringSpecProvider() eth2client.SpecProvider
- func NewErroringSyncCommitteeContributionProvider() eth2client.SyncCommitteeContributionProvider
- func NewErroringSyncCommitteeContributionsSubmitter() eth2client.SyncCommitteeContributionsSubmitter
- func NewErroringSyncCommitteeMessagesSubmitter() eth2client.SyncCommitteeMessagesSubmitter
- func NewErroringSyncCommitteeSubscriptionsSubmitter() eth2client.SyncCommitteeSubscriptionsSubmitter
- func NewEventsProvider() eth2client.EventsProvider
- func NewFarFutureEpochProvider(farFutureEpoch phase0.Epoch) eth2client.FarFutureEpochProvider
- func NewForkScheduleProvider() eth2client.ForkScheduleProvider
- func NewGenesisProvider(genesisTime time.Time) eth2client.GenesisProvider
- func NewProposalPreparationsSubmitter() eth2client.ProposalPreparationsSubmitter
- func NewProposalProvider() eth2client.ProposalProvider
- func NewProposalSubmitter() eth2client.ProposalSubmitter
- func NewProposerDutiesProvider() eth2client.ProposerDutiesProvider
- func NewSignedBeaconBlockProvider() eth2client.SignedBeaconBlockProvider
- func NewSleepyAggregateAttestationProvider(wait time.Duration, next eth2client.AggregateAttestationProvider) eth2client.AggregateAttestationProvider
- func NewSleepyAggregateAttestationsSubmitter(wait time.Duration, next eth2client.AggregateAttestationsSubmitter) eth2client.AggregateAttestationsSubmitter
- func NewSleepyAttestationDataProvider(wait time.Duration, next eth2client.AttestationDataProvider) eth2client.AttestationDataProvider
- func NewSleepyAttestationsSubmitter(wait time.Duration, next eth2client.AttestationsSubmitter) eth2client.AttestationsSubmitter
- func NewSleepyBeaconBlockHeadersProvider(wait time.Duration, next eth2client.BeaconBlockHeadersProvider) eth2client.BeaconBlockHeadersProvider
- func NewSleepyBeaconBlockRootProvider(wait time.Duration, next eth2client.BeaconBlockRootProvider) eth2client.BeaconBlockRootProvider
- func NewSleepyBeaconCommitteeSubscriptionsSubmitter(wait time.Duration, next eth2client.BeaconCommitteeSubscriptionsSubmitter) eth2client.BeaconCommitteeSubscriptionsSubmitter
- func NewSleepyBlindedProposalSubmitter(wait time.Duration, next eth2client.BlindedProposalSubmitter) eth2client.BlindedProposalSubmitter
- func NewSleepyProposalPreparationsSubmitter(wait time.Duration, next eth2client.ProposalPreparationsSubmitter) eth2client.ProposalPreparationsSubmitter
- func NewSleepyProposalProvider(wait time.Duration, next eth2client.ProposalProvider) eth2client.ProposalProvider
- func NewSleepyProposalSubmitter(wait time.Duration, next eth2client.ProposalSubmitter) eth2client.ProposalSubmitter
- func NewSleepySignedBeaconBlockProvider(wait time.Duration, next eth2client.SignedBeaconBlockProvider) eth2client.SignedBeaconBlockProvider
- func NewSleepySyncCommitteeContributionProvider(wait time.Duration, next eth2client.SyncCommitteeContributionProvider) eth2client.SyncCommitteeContributionProvider
- func NewSleepySyncCommitteeContributionsSubmitter(wait time.Duration, next eth2client.SyncCommitteeContributionsSubmitter) eth2client.SyncCommitteeContributionsSubmitter
- func NewSleepySyncCommitteeMessagesSubmitter(wait time.Duration, next eth2client.SyncCommitteeMessagesSubmitter) eth2client.SyncCommitteeMessagesSubmitter
- func NewSleepySyncCommitteeSubscriptionsSubmitter(wait time.Duration, next eth2client.SyncCommitteeSubscriptionsSubmitter) eth2client.SyncCommitteeSubscriptionsSubmitter
- func NewSpecProvider() eth2client.SpecProvider
- func NewSyncCommitteeContributionProvider() eth2client.SyncCommitteeContributionProvider
- func NewSyncCommitteeContributionsSubmitter() eth2client.SyncCommitteeContributionsSubmitter
- func NewSyncCommitteeDutiesProvider() eth2client.SyncCommitteeDutiesProvider
- func NewSyncCommitteeMessagesSubmitter() eth2client.SyncCommitteeMessagesSubmitter
- func NewSyncCommitteeSubscriptionsSubmitter() eth2client.SyncCommitteeSubscriptionsSubmitter
- func NewValidatorsManager() validatorsmanager.Service
- func NewValidatorsProvider() eth2client.ValidatorsProvider
- type AggregateAttestationProvider
- type AggregateAttestationsSubmitter
- type AttestationDataProvider
- type AttestationsSubmitter
- type AttesterDutiesProvider
- type BeaconBlockHeadersProvider
- type BeaconBlockRootProvider
- type BeaconCommitteeSubscriptionsSubmitter
- type BlindedProposalSubmitter
- type BuilderBidProvider
- type BuilderClient
- type DomainProvider
- type ErroringAggregateAttestationProvider
- type ErroringAggregateAttestationsSubmitter
- type ErroringAttestationDataProvider
- type ErroringAttestationsSubmitter
- type ErroringBeaconBlockHeadersProvider
- type ErroringBeaconBlockRootProvider
- type ErroringBeaconCommitteeSubscriptionsSubmitter
- type ErroringBlindedProposalSubmitter
- type ErroringDomainProvider
- type ErroringEventsProvider
- type ErroringProposalPreparationsSubmitter
- type ErroringProposalProvider
- type ErroringProposalSubmitter
- type ErroringSignedBeaconBlockProvider
- type ErroringSpecProvider
- type ErroringSyncCommitteeContributionProvider
- type ErroringSyncCommitteeContributionsSubmitter
- type ErroringSyncCommitteeMessagesSubmitter
- type ErroringSyncCommitteeSubscriptionsSubmitter
- type EventsProvider
- type FarFutureEpochProvider
- type ForkScheduleProvider
- type GenesisProvider
- type PrimedSignedBeaconBlockProvider
- type ProposalPreparationsSubmitter
- type ProposalProvider
- type ProposalSubmitter
- type ProposerDutiesProvider
- type SignedBeaconBlockProvider
- type SleepyAggregateAttestationProvider
- type SleepyAggregateAttestationsSubmitter
- type SleepyAttestationDataProvider
- type SleepyAttestationsSubmitter
- type SleepyBeaconBlockHeadersProvider
- type SleepyBeaconBlockRootProvider
- type SleepyBeaconCommitteeSubscriptionsSubmitter
- type SleepyBlindedProposalSubmitter
- type SleepyProposalPreparationsSubmitter
- type SleepyProposalProvider
- type SleepyProposalSubmitter
- type SleepySignedBeaconBlockProvider
- type SleepySyncCommitteeContributionProvider
- type SleepySyncCommitteeContributionsSubmitter
- type SleepySyncCommitteeMessagesSubmitter
- type SleepySyncCommitteeSubscriptionsSubmitter
- type SpecProvider
- type SyncCommitteeContributionProvider
- type SyncCommitteeContributionsSubmitter
- type SyncCommitteeDutiesProvider
- type SyncCommitteeMessagesSubmitter
- type SyncCommitteeSubscriptionsSubmitter
- type ValidatorsProvider
- func (*ValidatorsProvider) Validators(ctx context.Context, opts *api.ValidatorsOpts) (*api.Response[map[phase0.ValidatorIndex]*apiv1.Validator], error)
- func (*ValidatorsProvider) ValidatorsByPubKey(_ context.Context, _ string, validators []phase0.BLSPubKey) (map[phase0.ValidatorIndex]*apiv1.Validator, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAggregateAttestationProvider ¶ added in v1.2.0
func NewAggregateAttestationProvider() eth2client.AggregateAttestationProvider
NewAggregateAttestationProvider returns a mock attestation data provider.
func NewAggregateAttestationsSubmitter ¶
func NewAggregateAttestationsSubmitter() eth2client.AggregateAttestationsSubmitter
NewAggregateAttestationsSubmitter returns a mock aggregate attestation submitter.
func NewAttestationDataProvider ¶ added in v0.9.0
func NewAttestationDataProvider() eth2client.AttestationDataProvider
NewAttestationDataProvider returns a mock attestation data provider.
func NewAttestationsSubmitter ¶ added in v1.0.0
func NewAttestationsSubmitter() eth2client.AttestationsSubmitter
NewAttestationsSubmitter returns a mock attestations submitter.
func NewAttesterDutiesProvider ¶ added in v1.2.0
func NewAttesterDutiesProvider() eth2client.AttesterDutiesProvider
NewAttesterDutiesProvider returns a mock attester duties provider.
func NewBeaconBlockHeadersProvider ¶ added in v1.3.1
func NewBeaconBlockHeadersProvider() eth2client.BeaconBlockHeadersProvider
NewBeaconBlockHeadersProvider returns a mock beacon block header provider.
func NewBeaconBlockRootProvider ¶ added in v1.7.6
func NewBeaconBlockRootProvider() eth2client.BeaconBlockRootProvider
NewBeaconBlockRootProvider returns a mock beacon block proposal provider.
func NewBeaconCommitteeSubscriptionsSubmitter ¶
func NewBeaconCommitteeSubscriptionsSubmitter() eth2client.BeaconCommitteeSubscriptionsSubmitter
NewBeaconCommitteeSubscriptionsSubmitter returns a mock beacon committee subscriptions submitter.
func NewBlindedProposalSubmitter ¶ added in v1.8.0
func NewBlindedProposalSubmitter() eth2client.BlindedProposalSubmitter
NewBlindedProposalSubmitter returns a mock blinded proposal submitter.
func NewDomainProvider ¶ added in v0.9.0
func NewDomainProvider() eth2client.DomainProvider
NewDomainProvider returns a mock domain provider.
func NewErroringAggregateAttestationProvider ¶ added in v1.2.0
func NewErroringAggregateAttestationProvider() eth2client.AggregateAttestationProvider
NewErroringAggregateAttestationProvider returns a mock attestation data provider.
func NewErroringAggregateAttestationsSubmitter ¶ added in v0.6.1
func NewErroringAggregateAttestationsSubmitter() eth2client.AggregateAttestationsSubmitter
NewErroringAggregateAttestationsSubmitter returns a mock aggregate attestation submitter.
func NewErroringAttestationDataProvider ¶ added in v0.9.0
func NewErroringAttestationDataProvider() eth2client.AttestationDataProvider
NewErroringAttestationDataProvider returns a mock attestation data provider.
func NewErroringAttestationsSubmitter ¶ added in v1.0.0
func NewErroringAttestationsSubmitter() eth2client.AttestationsSubmitter
NewErroringAttestationsSubmitter returns a mock attestation submitter.
func NewErroringBeaconBlockHeadersProvider ¶ added in v1.9.0
func NewErroringBeaconBlockHeadersProvider() eth2client.BeaconBlockHeadersProvider
NewErroringBeaconBlockHeadersProvider returns a mock beacon block proposal provider.
func NewErroringBeaconBlockRootProvider ¶ added in v1.7.6
func NewErroringBeaconBlockRootProvider() eth2client.BeaconBlockRootProvider
NewErroringBeaconBlockRootProvider returns a mock beacon block proposal provider.
func NewErroringBeaconCommitteeSubscriptionsSubmitter ¶ added in v0.6.1
func NewErroringBeaconCommitteeSubscriptionsSubmitter() eth2client.BeaconCommitteeSubscriptionsSubmitter
NewErroringBeaconCommitteeSubscriptionsSubmitter returns a mock beacon committee subscriptions submitter.
func NewErroringBlindedProposalSubmitter ¶ added in v1.8.0
func NewErroringBlindedProposalSubmitter() eth2client.BlindedProposalSubmitter
NewErroringBlindedProposalSubmitter returns a mock blinded proposal submitter.
func NewErroringDomainProvider ¶ added in v0.9.0
func NewErroringDomainProvider() eth2client.DomainProvider
NewErroringDomainProvider returns a mock signature domain provider that errors.
func NewErroringEventsProvider ¶ added in v1.4.0
func NewErroringEventsProvider() eth2client.EventsProvider
NewErroringEventsProvider returns a mock events provider.
func NewErroringProposalPreparationsSubmitter ¶ added in v1.5.0
func NewErroringProposalPreparationsSubmitter() eth2client.ProposalPreparationsSubmitter
NewErroringProposalPreparationsSubmitter returns a mock aggregate attestation submitter.
func NewErroringProposalProvider ¶ added in v1.8.0
func NewErroringProposalProvider() eth2client.ProposalProvider
NewErroringProposalProvider returns a mock beacon block proposal provider.
func NewErroringProposalSubmitter ¶ added in v1.8.0
func NewErroringProposalSubmitter() eth2client.ProposalSubmitter
NewErroringProposalSubmitter returns a mock beacon block submitter.
func NewErroringSignedBeaconBlockProvider ¶ added in v1.9.0
func NewErroringSignedBeaconBlockProvider() eth2client.SignedBeaconBlockProvider
NewErroringSignedBeaconBlockProvider returns a mock signed beacon block provider.
func NewErroringSpecProvider ¶ added in v1.2.0
func NewErroringSpecProvider() eth2client.SpecProvider
NewErroringSpecProvider returns a mock spec provider.
func NewErroringSyncCommitteeContributionProvider ¶ added in v1.2.0
func NewErroringSyncCommitteeContributionProvider() eth2client.SyncCommitteeContributionProvider
NewErroringSyncCommitteeContributionProvider returns a mock attestation data provider.
func NewErroringSyncCommitteeContributionsSubmitter ¶ added in v1.2.0
func NewErroringSyncCommitteeContributionsSubmitter() eth2client.SyncCommitteeContributionsSubmitter
NewErroringSyncCommitteeContributionsSubmitter returns a mock attester duties submitter.
func NewErroringSyncCommitteeMessagesSubmitter ¶ added in v1.2.0
func NewErroringSyncCommitteeMessagesSubmitter() eth2client.SyncCommitteeMessagesSubmitter
NewErroringSyncCommitteeMessagesSubmitter returns a mock attester duties submitter.
func NewErroringSyncCommitteeSubscriptionsSubmitter ¶ added in v1.2.0
func NewErroringSyncCommitteeSubscriptionsSubmitter() eth2client.SyncCommitteeSubscriptionsSubmitter
NewErroringSyncCommitteeSubscriptionsSubmitter returns a mock attester duties submitter.
func NewEventsProvider ¶ added in v1.2.0
func NewEventsProvider() eth2client.EventsProvider
NewEventsProvider returns a mock events provider.
func NewFarFutureEpochProvider ¶ added in v1.0.0
func NewFarFutureEpochProvider(farFutureEpoch phase0.Epoch) eth2client.FarFutureEpochProvider
NewFarFutureEpochProvider returns a mock far future epoch provider with the provided value.
func NewForkScheduleProvider ¶ added in v1.2.0
func NewForkScheduleProvider() eth2client.ForkScheduleProvider
NewForkScheduleProvider returns a mock fork schedule provider.
func NewGenesisProvider ¶ added in v1.8.0
func NewGenesisProvider(genesisTime time.Time) eth2client.GenesisProvider
NewGenesisProvider returns a mock genesis provider with the provided value.
func NewProposalPreparationsSubmitter ¶ added in v1.5.0
func NewProposalPreparationsSubmitter() eth2client.ProposalPreparationsSubmitter
NewProposalPreparationsSubmitter returns a mock proposal preparations submitter.
func NewProposalProvider ¶ added in v1.8.0
func NewProposalProvider() eth2client.ProposalProvider
NewProposalProvider returns a mock beacon block proposal provider.
func NewProposalSubmitter ¶ added in v1.8.0
func NewProposalSubmitter() eth2client.ProposalSubmitter
NewProposalSubmitter returns a mock proposal submitter.
func NewProposerDutiesProvider ¶ added in v1.2.0
func NewProposerDutiesProvider() eth2client.ProposerDutiesProvider
NewProposerDutiesProvider returns a mock proposer duties provider.
func NewSignedBeaconBlockProvider ¶ added in v0.9.0
func NewSignedBeaconBlockProvider() eth2client.SignedBeaconBlockProvider
NewSignedBeaconBlockProvider returns a mock beacon block proposal provider.
func NewSleepyAggregateAttestationProvider ¶ added in v1.2.0
func NewSleepyAggregateAttestationProvider(wait time.Duration, next eth2client.AggregateAttestationProvider) eth2client.AggregateAttestationProvider
NewSleepyAggregateAttestationProvider returns a mock attestation data provider.
func NewSleepyAggregateAttestationsSubmitter ¶ added in v1.4.0
func NewSleepyAggregateAttestationsSubmitter(wait time.Duration, next eth2client.AggregateAttestationsSubmitter) eth2client.AggregateAttestationsSubmitter
NewSleepyAggregateAttestationsSubmitter returns a mock aggregate attestations submitter.
func NewSleepyAttestationDataProvider ¶ added in v0.9.0
func NewSleepyAttestationDataProvider(wait time.Duration, next eth2client.AttestationDataProvider) eth2client.AttestationDataProvider
NewSleepyAttestationDataProvider returns a mock attestation data provider.
func NewSleepyAttestationsSubmitter ¶ added in v1.4.0
func NewSleepyAttestationsSubmitter(wait time.Duration, next eth2client.AttestationsSubmitter) eth2client.AttestationsSubmitter
NewSleepyAttestationsSubmitter returns a mock attestations submitter.
func NewSleepyBeaconBlockHeadersProvider ¶ added in v1.9.0
func NewSleepyBeaconBlockHeadersProvider(wait time.Duration, next eth2client.BeaconBlockHeadersProvider) eth2client.BeaconBlockHeadersProvider
NewSleepyBeaconBlockHeadersProvider returns a mock beacon block root.
func NewSleepyBeaconBlockRootProvider ¶ added in v1.7.6
func NewSleepyBeaconBlockRootProvider(wait time.Duration, next eth2client.BeaconBlockRootProvider) eth2client.BeaconBlockRootProvider
NewSleepyBeaconBlockRootProvider returns a mock beacon block root.
func NewSleepyBeaconCommitteeSubscriptionsSubmitter ¶ added in v1.4.0
func NewSleepyBeaconCommitteeSubscriptionsSubmitter(wait time.Duration, next eth2client.BeaconCommitteeSubscriptionsSubmitter) eth2client.BeaconCommitteeSubscriptionsSubmitter
NewSleepyBeaconCommitteeSubscriptionsSubmitter returns a mock beacon committee subscriptions submitter.
func NewSleepyBlindedProposalSubmitter ¶ added in v1.8.0
func NewSleepyBlindedProposalSubmitter(wait time.Duration, next eth2client.BlindedProposalSubmitter) eth2client.BlindedProposalSubmitter
NewSleepyBlindedProposalSubmitter returns a mock blinded proposal submitter.
func NewSleepyProposalPreparationsSubmitter ¶ added in v1.5.0
func NewSleepyProposalPreparationsSubmitter(wait time.Duration, next eth2client.ProposalPreparationsSubmitter) eth2client.ProposalPreparationsSubmitter
NewSleepyProposalPreparationsSubmitter returns a mock aggregate attestations submitter.
func NewSleepyProposalProvider ¶ added in v1.8.0
func NewSleepyProposalProvider(wait time.Duration, next eth2client.ProposalProvider) eth2client.ProposalProvider
NewSleepyProposalProvider returns a mock beacon block proposal.
func NewSleepyProposalSubmitter ¶ added in v1.8.0
func NewSleepyProposalSubmitter(wait time.Duration, next eth2client.ProposalSubmitter) eth2client.ProposalSubmitter
NewSleepyProposalSubmitter returns a mock beacon block submitter.
func NewSleepySignedBeaconBlockProvider ¶ added in v1.9.0
func NewSleepySignedBeaconBlockProvider(wait time.Duration, next eth2client.SignedBeaconBlockProvider) eth2client.SignedBeaconBlockProvider
NewSleepySignedBeaconBlockProvider returns a mock beacon block root.
func NewSleepySyncCommitteeContributionProvider ¶ added in v1.2.0
func NewSleepySyncCommitteeContributionProvider(wait time.Duration, next eth2client.SyncCommitteeContributionProvider) eth2client.SyncCommitteeContributionProvider
NewSleepySyncCommitteeContributionProvider returns a mock attestation data provider.
func NewSleepySyncCommitteeContributionsSubmitter ¶ added in v1.4.0
func NewSleepySyncCommitteeContributionsSubmitter(wait time.Duration, next eth2client.SyncCommitteeContributionsSubmitter) eth2client.SyncCommitteeContributionsSubmitter
NewSleepySyncCommitteeContributionsSubmitter returns a mock contribution and proofs submitter.
func NewSleepySyncCommitteeMessagesSubmitter ¶ added in v1.4.0
func NewSleepySyncCommitteeMessagesSubmitter(wait time.Duration, next eth2client.SyncCommitteeMessagesSubmitter) eth2client.SyncCommitteeMessagesSubmitter
NewSleepySyncCommitteeMessagesSubmitter returns a mock sync committee messages submitter.
func NewSleepySyncCommitteeSubscriptionsSubmitter ¶ added in v1.4.0
func NewSleepySyncCommitteeSubscriptionsSubmitter(wait time.Duration, next eth2client.SyncCommitteeSubscriptionsSubmitter) eth2client.SyncCommitteeSubscriptionsSubmitter
NewSleepySyncCommitteeSubscriptionsSubmitter returns a mock sync committee subscriptions submitter.
func NewSpecProvider ¶ added in v1.2.0
func NewSpecProvider() eth2client.SpecProvider
NewSpecProvider returns a mock spec provider.
func NewSyncCommitteeContributionProvider ¶ added in v1.2.0
func NewSyncCommitteeContributionProvider() eth2client.SyncCommitteeContributionProvider
NewSyncCommitteeContributionProvider returns a mock attestation data provider.
func NewSyncCommitteeContributionsSubmitter ¶ added in v1.2.0
func NewSyncCommitteeContributionsSubmitter() eth2client.SyncCommitteeContributionsSubmitter
NewSyncCommitteeContributionsSubmitter returns a mock attester duties submitter.
func NewSyncCommitteeDutiesProvider ¶ added in v1.2.0
func NewSyncCommitteeDutiesProvider() eth2client.SyncCommitteeDutiesProvider
NewSyncCommitteeDutiesProvider returns a mock attester duties provider.
func NewSyncCommitteeMessagesSubmitter ¶ added in v1.2.0
func NewSyncCommitteeMessagesSubmitter() eth2client.SyncCommitteeMessagesSubmitter
NewSyncCommitteeMessagesSubmitter returns a mock attester duties submitter.
func NewSyncCommitteeSubscriptionsSubmitter ¶ added in v1.2.0
func NewSyncCommitteeSubscriptionsSubmitter() eth2client.SyncCommitteeSubscriptionsSubmitter
NewSyncCommitteeSubscriptionsSubmitter returns a mock attester duties submitter.
func NewValidatorsManager ¶ added in v1.0.0
func NewValidatorsManager() validatorsmanager.Service
NewValidatorsManager creates a mock validators manager.
func NewValidatorsProvider ¶ added in v0.6.2
func NewValidatorsProvider() eth2client.ValidatorsProvider
NewValidatorsProvider returns a mock validators provider.
Types ¶
type AggregateAttestationProvider ¶ added in v1.2.0
type AggregateAttestationProvider struct{}
AggregateAttestationProvider is a mock for eth2client.AggregateAttestationProvider.
func (*AggregateAttestationProvider) AggregateAttestation ¶ added in v1.2.0
func (*AggregateAttestationProvider) AggregateAttestation(_ context.Context, opts *api.AggregateAttestationOpts, ) ( *api.Response[*phase0.Attestation], error, )
AggregateAttestation is a mock.
type AggregateAttestationsSubmitter ¶
type AggregateAttestationsSubmitter struct{}
AggregateAttestationsSubmitter is a mock for eth2client.AggregateAttestationsSubmitter.
func (*AggregateAttestationsSubmitter) SubmitAggregateAttestations ¶
func (*AggregateAttestationsSubmitter) SubmitAggregateAttestations(_ context.Context, _ []*phase0.SignedAggregateAndProof) error
SubmitAggregateAttestations is a mock.
type AttestationDataProvider ¶ added in v0.9.0
type AttestationDataProvider struct{}
AttestationDataProvider is a mock for eth2client.AttestationDataProvider.
func (*AttestationDataProvider) AttestationData ¶ added in v0.9.0
func (*AttestationDataProvider) AttestationData(_ context.Context, opts *api.AttestationDataOpts, ) ( *api.Response[*phase0.AttestationData], error, )
AttestationData is a mock.
type AttestationsSubmitter ¶ added in v1.0.0
type AttestationsSubmitter struct{}
AttestationsSubmitter is a mock for eth2client.AttestationsSubmitter.
func (*AttestationsSubmitter) SubmitAttestations ¶ added in v1.0.0
func (*AttestationsSubmitter) SubmitAttestations(_ context.Context, _ []*phase0.Attestation) error
SubmitAttestations is a mock.
type AttesterDutiesProvider ¶ added in v1.2.0
type AttesterDutiesProvider struct{}
AttesterDutiesProvider is a mock for eth2client.AttesterDutiesProvider.
func (*AttesterDutiesProvider) AttesterDuties ¶ added in v1.2.0
func (*AttesterDutiesProvider) AttesterDuties(_ context.Context, _ *api.AttesterDutiesOpts, ) ( *api.Response[[]*apiv1.AttesterDuty], error, )
AttesterDuties is a mock.
type BeaconBlockHeadersProvider ¶ added in v1.3.1
type BeaconBlockHeadersProvider struct{}
BeaconBlockHeadersProvider is a mock for eth2client.BeaconBlockHeadersProvider.
func (*BeaconBlockHeadersProvider) BeaconBlockHeader ¶ added in v1.3.1
func (*BeaconBlockHeadersProvider) BeaconBlockHeader(_ context.Context, _ *api.BeaconBlockHeaderOpts, ) ( *api.Response[*apiv1.BeaconBlockHeader], error, )
BeaconBlockHeader provides the block header of a given block ID.
type BeaconBlockRootProvider ¶ added in v1.7.6
type BeaconBlockRootProvider struct{}
BeaconBlockRootProvider is a mock for eth2client.BeaconBlockRootProvider.
func (*BeaconBlockRootProvider) BeaconBlockRoot ¶ added in v1.7.6
func (*BeaconBlockRootProvider) BeaconBlockRoot(_ context.Context, _ *api.BeaconBlockRootOpts) (*api.Response[*phase0.Root], error)
BeaconBlockRoot is a mock.
type BeaconCommitteeSubscriptionsSubmitter ¶
type BeaconCommitteeSubscriptionsSubmitter struct{}
BeaconCommitteeSubscriptionsSubmitter is a mock for eth2client.BeaconCommitteeSubscriptionsSubmitter.
func (*BeaconCommitteeSubscriptionsSubmitter) SubmitBeaconCommitteeSubscriptions ¶
func (*BeaconCommitteeSubscriptionsSubmitter) SubmitBeaconCommitteeSubscriptions(_ context.Context, _ []*apiv1.BeaconCommitteeSubscription) error
SubmitBeaconCommitteeSubscriptions is a mock.
type BlindedProposalSubmitter ¶ added in v1.8.0
type BlindedProposalSubmitter struct{}
BlindedProposalSubmitter is a mock for eth2client.BlindedProposalSubmitter.
func (*BlindedProposalSubmitter) SubmitBlindedProposal ¶ added in v1.8.0
func (*BlindedProposalSubmitter) SubmitBlindedProposal(_ context.Context, _ *api.SubmitBlindedProposalOpts) error
SubmitBlindedProposal is a mock.
type BuilderBidProvider ¶ added in v1.8.0
type BuilderBidProvider struct{}
func (BuilderBidProvider) BuilderBid ¶ added in v1.8.0
func (BuilderBidProvider) BuilderBid(_ context.Context, _ phase0.Slot, _ phase0.Hash32, _ phase0.BLSPubKey, _ *beaconblockproposer.ProposerConfig, _ map[phase0.BLSPubKey]*blockrelay.BuilderConfig, ) ( *blockauctioneer.Results, error, )
BuilderBid returns a builder bid.
type BuilderClient ¶ added in v1.7.0
func (*BuilderClient) Address ¶ added in v1.7.0
func (*BuilderClient) Address() string
Address returns the address of the builder.
func (*BuilderClient) BuilderBid ¶ added in v1.7.0
func (*BuilderClient) BuilderBid(_ context.Context, _ *builderapi.BuilderBidOpts, ) ( *builderapi.Response[*builderspec.VersionedSignedBuilderBid], error, )
BuilderBidProvider obtains a builder bid.
func (*BuilderClient) Name ¶ added in v1.7.0
func (*BuilderClient) Name() string
Name returns the name of the builder implementation.
func (*BuilderClient) Pubkey ¶ added in v1.7.0
func (m *BuilderClient) Pubkey() *phase0.BLSPubKey
Pubkey returns the public key of the builder (if any).
type DomainProvider ¶ added in v0.9.0
type DomainProvider struct{}
DomainProvider is a mock for eth2client.DomainProvider.
func (*DomainProvider) Domain ¶ added in v0.9.0
func (*DomainProvider) Domain(_ context.Context, domainType phase0.DomainType, _ phase0.Epoch) (phase0.Domain, error)
Domain is a mock.
func (*DomainProvider) GenesisDomain ¶ added in v1.7.0
func (*DomainProvider) GenesisDomain(_ context.Context, domainType phase0.DomainType) (phase0.Domain, error)
GenesisDomain is a mock.
type ErroringAggregateAttestationProvider ¶ added in v1.2.0
type ErroringAggregateAttestationProvider struct{}
ErroringAggregateAttestationProvider is a mock for eth2client.AggregateAttestationProvider.
func (*ErroringAggregateAttestationProvider) AggregateAttestation ¶ added in v1.2.0
func (*ErroringAggregateAttestationProvider) AggregateAttestation(_ context.Context, _ *api.AggregateAttestationOpts, ) ( *api.Response[*phase0.Attestation], error, )
AggregateAttestation is a mock.
type ErroringAggregateAttestationsSubmitter ¶ added in v0.6.1
type ErroringAggregateAttestationsSubmitter struct{}
ErroringAggregateAttestationsSubmitter is a mock for eth2client.AggregateAttestationsSubmitter that returns errors.
func (*ErroringAggregateAttestationsSubmitter) SubmitAggregateAttestations ¶ added in v0.6.1
func (*ErroringAggregateAttestationsSubmitter) SubmitAggregateAttestations(_ context.Context, _ []*phase0.SignedAggregateAndProof) error
SubmitAggregateAttestations is a mock.
type ErroringAttestationDataProvider ¶ added in v0.9.0
type ErroringAttestationDataProvider struct{}
ErroringAttestationDataProvider is a mock for eth2client.AttestationDataProvider.
func (*ErroringAttestationDataProvider) AttestationData ¶ added in v0.9.0
func (*ErroringAttestationDataProvider) AttestationData(_ context.Context, _ *api.AttestationDataOpts, ) ( *api.Response[*phase0.AttestationData], error, )
AttestationData is a mock.
type ErroringAttestationsSubmitter ¶ added in v1.0.0
type ErroringAttestationsSubmitter struct{}
ErroringAttestationsSubmitter is a mock for eth2client.AttestationsSubmitter that returns errors.
func (*ErroringAttestationsSubmitter) SubmitAttestations ¶ added in v1.0.0
func (*ErroringAttestationsSubmitter) SubmitAttestations(_ context.Context, _ []*phase0.Attestation) error
SubmitAttestations is a mock.
type ErroringBeaconBlockHeadersProvider ¶ added in v1.9.0
type ErroringBeaconBlockHeadersProvider struct{}
ErroringBeaconBlockHeadersProvider is a mock for eth2client.BeaconBlockHeadersProvider.
func (*ErroringBeaconBlockHeadersProvider) BeaconBlockHeader ¶ added in v1.9.0
func (*ErroringBeaconBlockHeadersProvider) BeaconBlockHeader(_ context.Context, _ *api.BeaconBlockHeaderOpts) (*api.Response[*apiv1.BeaconBlockHeader], error)
BeaconBlockHeader is a mock.
type ErroringBeaconBlockRootProvider ¶ added in v1.7.6
type ErroringBeaconBlockRootProvider struct{}
ErroringBeaconBlockRootProvider is a mock for eth2client.BeaconBlockRootProvider.
func (*ErroringBeaconBlockRootProvider) BeaconBlockRoot ¶ added in v1.7.6
func (*ErroringBeaconBlockRootProvider) BeaconBlockRoot(_ context.Context, _ *api.BeaconBlockRootOpts) (*api.Response[*phase0.Root], error)
BeaconBlockRoot is a mock.
type ErroringBeaconCommitteeSubscriptionsSubmitter ¶ added in v0.6.1
type ErroringBeaconCommitteeSubscriptionsSubmitter struct{}
ErroringBeaconCommitteeSubscriptionsSubmitter is a mock for eth2client.BeaconCommitteeSubscriptionsSubmitter that returns errors.
func (*ErroringBeaconCommitteeSubscriptionsSubmitter) SubmitBeaconCommitteeSubscriptions ¶ added in v0.6.1
func (*ErroringBeaconCommitteeSubscriptionsSubmitter) SubmitBeaconCommitteeSubscriptions(_ context.Context, _ []*apiv1.BeaconCommitteeSubscription) error
SubmitBeaconCommitteeSubscriptions is a mock.
type ErroringBlindedProposalSubmitter ¶ added in v1.8.0
type ErroringBlindedProposalSubmitter struct{}
ErroringBlindedProposalSubmitter is a mock for eth2client.BlindedProposalSubmitter that returns errors.
func (*ErroringBlindedProposalSubmitter) SubmitBlindedProposal ¶ added in v1.8.0
func (*ErroringBlindedProposalSubmitter) SubmitBlindedProposal(_ context.Context, _ *api.SubmitBlindedProposalOpts) error
SubmitBlindedProposal is a mock.
type ErroringDomainProvider ¶ added in v0.9.0
type ErroringDomainProvider struct{}
ErroringDomainProvider is a mock for eth2client.DomainProvider.
func (*ErroringDomainProvider) Domain ¶ added in v0.9.0
func (*ErroringDomainProvider) Domain(_ context.Context, _ phase0.DomainType, _ phase0.Epoch) (phase0.Domain, error)
Domain is a mock.
func (*ErroringDomainProvider) GenesisDomain ¶ added in v1.7.0
func (*ErroringDomainProvider) GenesisDomain(_ context.Context, _ phase0.DomainType) (phase0.Domain, error)
GenesisDomain is a mock.
type ErroringEventsProvider ¶ added in v1.4.0
type ErroringEventsProvider struct{}
ErroringEventsProvider is a mock for eth2client.EventsProvider.
func (*ErroringEventsProvider) Events ¶ added in v1.4.0
func (*ErroringEventsProvider) Events(_ context.Context, _ []string, _ eth2client.EventHandlerFunc) error
Events submits sync committee contributions.
type ErroringProposalPreparationsSubmitter ¶ added in v1.5.0
type ErroringProposalPreparationsSubmitter struct{}
ErroringProposalPreparationsSubmitter is a mock for eth2client.ProposalPreparationsSubmitter that returns errors.
func (*ErroringProposalPreparationsSubmitter) SubmitProposalPreparations ¶ added in v1.5.0
func (*ErroringProposalPreparationsSubmitter) SubmitProposalPreparations(_ context.Context, _ []*apiv1.ProposalPreparation) error
SubmitProposalPreparations is a mock.
type ErroringProposalProvider ¶ added in v1.8.0
type ErroringProposalProvider struct{}
ErroringProposalProvider is a mock for eth2client.ProposalProvider.
func (*ErroringProposalProvider) Proposal ¶ added in v1.8.0
func (*ErroringProposalProvider) Proposal(_ context.Context, _ *api.ProposalOpts, ) ( *api.Response[*api.VersionedProposal], error, )
Proposal is a mock.
type ErroringProposalSubmitter ¶ added in v1.8.0
type ErroringProposalSubmitter struct{}
ErroringProposalSubmitter is a mock for eth2client.ProposalSubmitter that returns errors.
func (*ErroringProposalSubmitter) SubmitProposal ¶ added in v1.8.0
func (*ErroringProposalSubmitter) SubmitProposal(_ context.Context, _ *api.SubmitProposalOpts) error
SubmitProposal is a mock.
type ErroringSignedBeaconBlockProvider ¶ added in v1.9.0
type ErroringSignedBeaconBlockProvider struct{}
ErroringSignedBeaconBlockProvider is a mock for eth2client.SignedBeaconBlockProvider.
func (*ErroringSignedBeaconBlockProvider) SignedBeaconBlock ¶ added in v1.9.0
func (*ErroringSignedBeaconBlockProvider) SignedBeaconBlock(_ context.Context, _ *api.SignedBeaconBlockOpts) (*api.Response[*spec.VersionedSignedBeaconBlock], error)
SignedBeaconBlock is a mock.
type ErroringSpecProvider ¶ added in v1.2.0
type ErroringSpecProvider struct{}
ErroringSpecProvider is a mock for eth2client.SpecProvider.
type ErroringSyncCommitteeContributionProvider ¶ added in v1.2.0
type ErroringSyncCommitteeContributionProvider struct{}
ErroringSyncCommitteeContributionProvider is a mock for eth2client.SyncCommitteeContributionProvider.
func (*ErroringSyncCommitteeContributionProvider) SyncCommitteeContribution ¶ added in v1.2.0
func (*ErroringSyncCommitteeContributionProvider) SyncCommitteeContribution(_ context.Context, _ *api.SyncCommitteeContributionOpts, ) ( *api.Response[*altair.SyncCommitteeContribution], error, )
SyncCommitteeContribution is a mock.
type ErroringSyncCommitteeContributionsSubmitter ¶ added in v1.2.0
type ErroringSyncCommitteeContributionsSubmitter struct{}
ErroringSyncCommitteeContributionsSubmitter is a mock for eth2client.SyncCommitteeContributionsSubmitter.
func (*ErroringSyncCommitteeContributionsSubmitter) SubmitSyncCommitteeContributions ¶ added in v1.2.0
func (*ErroringSyncCommitteeContributionsSubmitter) SubmitSyncCommitteeContributions(_ context.Context, _ []*altair.SignedContributionAndProof) error
SubmitSyncCommitteeContributions submits sync committee contributions.
type ErroringSyncCommitteeMessagesSubmitter ¶ added in v1.2.0
type ErroringSyncCommitteeMessagesSubmitter struct{}
ErroringSyncCommitteeMessagesSubmitter is a mock for eth2client.SyncCommitteeMessagesSubmitter.
func (*ErroringSyncCommitteeMessagesSubmitter) SubmitSyncCommitteeMessages ¶ added in v1.2.0
func (*ErroringSyncCommitteeMessagesSubmitter) SubmitSyncCommitteeMessages(_ context.Context, _ []*altair.SyncCommitteeMessage) error
SubmitSyncCommitteeMessages submits sync committee messages.
type ErroringSyncCommitteeSubscriptionsSubmitter ¶ added in v1.2.0
type ErroringSyncCommitteeSubscriptionsSubmitter struct{}
ErroringSyncCommitteeSubscriptionsSubmitter is a mock for eth2client.SyncCommitteeSubscriptionsSubmitter.
func (*ErroringSyncCommitteeSubscriptionsSubmitter) SubmitSyncCommitteeSubscriptions ¶ added in v1.2.0
func (*ErroringSyncCommitteeSubscriptionsSubmitter) SubmitSyncCommitteeSubscriptions(_ context.Context, _ []*apiv1.SyncCommitteeSubscription) error
SubmitSyncCommitteeSubscriptions is a mock.
type EventsProvider ¶ added in v1.2.0
type EventsProvider struct{}
EventsProvider is a mock for eth2client.EventsProvider.
func (*EventsProvider) Events ¶ added in v1.2.0
func (*EventsProvider) Events(_ context.Context, _ []string, _ eth2client.EventHandlerFunc) error
Events is a mock.
type FarFutureEpochProvider ¶ added in v1.0.0
type FarFutureEpochProvider struct {
// contains filtered or unexported fields
}
FarFutureEpochProvider is a mock for eth2client.FarFutureEpochProvider.
func (*FarFutureEpochProvider) FarFutureEpoch ¶ added in v1.0.0
FarFutureEpoch is a mock.
type ForkScheduleProvider ¶ added in v1.2.0
type ForkScheduleProvider struct{}
ForkScheduleProvider is a mock for eth2client.ForkScheduleProvider.
func (*ForkScheduleProvider) ForkSchedule ¶ added in v1.2.0
func (*ForkScheduleProvider) ForkSchedule(_ context.Context, _ *api.ForkScheduleOpts) (*api.Response[[]*phase0.Fork], error)
ForkSchedule is a mock.
type GenesisProvider ¶ added in v1.8.0
type GenesisProvider struct {
// contains filtered or unexported fields
}
GenesisProvider is a mock for eth2client.GenesisProvider.
type PrimedSignedBeaconBlockProvider ¶ added in v1.9.0
type PrimedSignedBeaconBlockProvider struct {
// contains filtered or unexported fields
}
PrimedSignedBeaconBlockProvider is a mock for eth2client.SignedBeaconBlockProvider.
func NewPrimedSignedBeaconBlockProvider ¶ added in v1.9.0
func NewPrimedSignedBeaconBlockProvider() *PrimedSignedBeaconBlockProvider
NewPrimedSignedBeaconBlockProvider returns a mock beacon block proposal provider.
func (*PrimedSignedBeaconBlockProvider) PrimeResponse ¶ added in v1.9.0
func (p *PrimedSignedBeaconBlockProvider) PrimeResponse(response *api.Response[*spec.VersionedSignedBeaconBlock])
PrimeResponse is a mock.
func (*PrimedSignedBeaconBlockProvider) SignedBeaconBlock ¶ added in v1.9.0
func (p *PrimedSignedBeaconBlockProvider) SignedBeaconBlock(_ context.Context, _ *api.SignedBeaconBlockOpts) (*api.Response[*spec.VersionedSignedBeaconBlock], error)
SignedBeaconBlock is a mock.
type ProposalPreparationsSubmitter ¶ added in v1.5.0
type ProposalPreparationsSubmitter struct{}
ProposalPreparationsSubmitter is a mock for eth2client.ProposalPreparationsSubmitter.
func (*ProposalPreparationsSubmitter) SubmitProposalPreparations ¶ added in v1.5.0
func (*ProposalPreparationsSubmitter) SubmitProposalPreparations(_ context.Context, _ []*apiv1.ProposalPreparation) error
SubmitProposalPreparations is a mock.
type ProposalProvider ¶ added in v1.8.0
type ProposalProvider struct{}
ProposalProvider is a mock for eth2client.ProposalProvider.
func (*ProposalProvider) Proposal ¶ added in v1.8.0
func (*ProposalProvider) Proposal(_ context.Context, opts *api.ProposalOpts, ) ( *api.Response[*api.VersionedProposal], error, )
Proposal is a mock.
type ProposalSubmitter ¶ added in v1.8.0
type ProposalSubmitter struct{}
ProposalSubmitter is a mock for eth2client.ProposalSubmitter.
func (*ProposalSubmitter) SubmitProposal ¶ added in v1.8.0
func (*ProposalSubmitter) SubmitProposal(_ context.Context, _ *api.SubmitProposalOpts) error
SubmitProposal is a mock.
type ProposerDutiesProvider ¶ added in v1.2.0
type ProposerDutiesProvider struct{}
ProposerDutiesProvider is a mock for eth2client.ProposerDutiesProvider.
func (*ProposerDutiesProvider) ProposerDuties ¶ added in v1.2.0
func (*ProposerDutiesProvider) ProposerDuties(_ context.Context, _ *api.ProposerDutiesOpts, ) ( *api.Response[[]*apiv1.ProposerDuty], error, )
ProposerDuties is a mock.
type SignedBeaconBlockProvider ¶ added in v0.9.0
type SignedBeaconBlockProvider struct{}
SignedBeaconBlockProvider is a mock for eth2client.SignedBeaconBlockProvider.
func (*SignedBeaconBlockProvider) SignedBeaconBlock ¶ added in v0.9.0
func (*SignedBeaconBlockProvider) SignedBeaconBlock(_ context.Context, _ *api.SignedBeaconBlockOpts, ) ( *api.Response[*spec.VersionedSignedBeaconBlock], error, )
SignedBeaconBlock is a mock.
type SleepyAggregateAttestationProvider ¶ added in v1.2.0
type SleepyAggregateAttestationProvider struct {
// contains filtered or unexported fields
}
SleepyAggregateAttestationProvider is a mock for eth2client.AggregateAttestationProvider.
func (*SleepyAggregateAttestationProvider) AggregateAttestation ¶ added in v1.2.0
func (m *SleepyAggregateAttestationProvider) AggregateAttestation(ctx context.Context, opts *api.AggregateAttestationOpts, ) ( *api.Response[*phase0.Attestation], error, )
AggregateAttestation is a mock.
type SleepyAggregateAttestationsSubmitter ¶ added in v1.4.0
type SleepyAggregateAttestationsSubmitter struct {
// contains filtered or unexported fields
}
SleepyAggregateAttestationsSubmitter is a mock for eth2client.AggregateAttestationsSubmitter.
func (*SleepyAggregateAttestationsSubmitter) SubmitAggregateAttestations ¶ added in v1.4.0
func (m *SleepyAggregateAttestationsSubmitter) SubmitAggregateAttestations(ctx context.Context, aggregateAndProofs []*phase0.SignedAggregateAndProof) error
SubmitAggregateAttestations is a mock.
type SleepyAttestationDataProvider ¶ added in v0.9.0
type SleepyAttestationDataProvider struct {
// contains filtered or unexported fields
}
SleepyAttestationDataProvider is a mock for eth2client.AttestationDataProvider.
func (*SleepyAttestationDataProvider) AttestationData ¶ added in v0.9.0
func (m *SleepyAttestationDataProvider) AttestationData(ctx context.Context, opts *api.AttestationDataOpts, ) ( *api.Response[*phase0.AttestationData], error, )
AttestationData is a mock.
type SleepyAttestationsSubmitter ¶ added in v1.4.0
type SleepyAttestationsSubmitter struct {
// contains filtered or unexported fields
}
SleepyAttestationsSubmitter is a mock for eth2client.AttestationsSubmitter.
func (*SleepyAttestationsSubmitter) SubmitAttestations ¶ added in v1.4.0
func (m *SleepyAttestationsSubmitter) SubmitAttestations(ctx context.Context, attestations []*phase0.Attestation) error
SubmitAttestations is a mock.
type SleepyBeaconBlockHeadersProvider ¶ added in v1.9.0
type SleepyBeaconBlockHeadersProvider struct {
// contains filtered or unexported fields
}
SleepyBeaconBlockHeadersProvider is a mock for eth2client.BeaconBlockHeadersProvider.
func (*SleepyBeaconBlockHeadersProvider) BeaconBlockHeader ¶ added in v1.9.0
func (m *SleepyBeaconBlockHeadersProvider) BeaconBlockHeader(ctx context.Context, opts *api.BeaconBlockHeaderOpts) (*api.Response[*apiv1.BeaconBlockHeader], error)
BeaconBlockHeader is a mock.
type SleepyBeaconBlockRootProvider ¶ added in v1.7.6
type SleepyBeaconBlockRootProvider struct {
// contains filtered or unexported fields
}
SleepyBeaconBlockRootProvider is a mock for eth2client.BeaconBlockRootProvider.
func (*SleepyBeaconBlockRootProvider) BeaconBlockRoot ¶ added in v1.7.6
func (m *SleepyBeaconBlockRootProvider) BeaconBlockRoot(ctx context.Context, opts *api.BeaconBlockRootOpts) (*api.Response[*phase0.Root], error)
BeaconBlockRoot is a mock.
type SleepyBeaconCommitteeSubscriptionsSubmitter ¶ added in v1.4.0
type SleepyBeaconCommitteeSubscriptionsSubmitter struct {
// contains filtered or unexported fields
}
SleepyBeaconCommitteeSubscriptionsSubmitter is a mock for eth2client.BeaconCommitteeSubscriptionsSubmitter.
func (*SleepyBeaconCommitteeSubscriptionsSubmitter) SubmitBeaconCommitteeSubscriptions ¶ added in v1.4.0
func (m *SleepyBeaconCommitteeSubscriptionsSubmitter) SubmitBeaconCommitteeSubscriptions(ctx context.Context, subscriptions []*apiv1.BeaconCommitteeSubscription) error
SubmitBeaconCommitteeSubscriptions is a mock.
type SleepyBlindedProposalSubmitter ¶ added in v1.8.0
type SleepyBlindedProposalSubmitter struct {
// contains filtered or unexported fields
}
SleepyBlindedProposalSubmitter is a mock for eth2client.BlindedProposalSubmitter.
func (*SleepyBlindedProposalSubmitter) SubmitBlindedProposal ¶ added in v1.8.0
func (m *SleepyBlindedProposalSubmitter) SubmitBlindedProposal(ctx context.Context, block *api.SubmitBlindedProposalOpts) error
SubmitBlindedProposal is a mock.
type SleepyProposalPreparationsSubmitter ¶ added in v1.5.0
type SleepyProposalPreparationsSubmitter struct {
// contains filtered or unexported fields
}
SleepyProposalPreparationsSubmitter is a mock for eth2client.ProposalPreparationsSubmitter.
func (*SleepyProposalPreparationsSubmitter) SubmitProposalPreparations ¶ added in v1.5.0
func (m *SleepyProposalPreparationsSubmitter) SubmitProposalPreparations(ctx context.Context, preparations []*apiv1.ProposalPreparation) error
SubmitProposalPreparations is a mock.
type SleepyProposalProvider ¶ added in v1.8.0
type SleepyProposalProvider struct {
// contains filtered or unexported fields
}
SleepyProposalProvider is a mock for eth2client.ProposalProvider.
func (*SleepyProposalProvider) Proposal ¶ added in v1.8.0
func (m *SleepyProposalProvider) Proposal(ctx context.Context, opts *api.ProposalOpts, ) ( *api.Response[*api.VersionedProposal], error, )
Proposal is a mock.
type SleepyProposalSubmitter ¶ added in v1.8.0
type SleepyProposalSubmitter struct {
// contains filtered or unexported fields
}
SleepyProposalSubmitter is a mock for eth2client.ProposalSubmitter.
func (*SleepyProposalSubmitter) SubmitProposal ¶ added in v1.8.0
func (m *SleepyProposalSubmitter) SubmitProposal(ctx context.Context, proposal *api.SubmitProposalOpts) error
SubmitProposal is a mock.
type SleepySignedBeaconBlockProvider ¶ added in v1.9.0
type SleepySignedBeaconBlockProvider struct {
// contains filtered or unexported fields
}
SleepySignedBeaconBlockProvider is a mock for eth2client.SignedBeaconBlockProvider.
func (*SleepySignedBeaconBlockProvider) SignedBeaconBlock ¶ added in v1.9.0
func (m *SleepySignedBeaconBlockProvider) SignedBeaconBlock(ctx context.Context, opts *api.SignedBeaconBlockOpts) (*api.Response[*spec.VersionedSignedBeaconBlock], error)
SignedBeaconBlock is a mock.
type SleepySyncCommitteeContributionProvider ¶ added in v1.2.0
type SleepySyncCommitteeContributionProvider struct {
// contains filtered or unexported fields
}
SleepySyncCommitteeContributionProvider is a mock for eth2client.SyncCommitteeContributionProvider.
func (*SleepySyncCommitteeContributionProvider) SyncCommitteeContribution ¶ added in v1.2.0
func (m *SleepySyncCommitteeContributionProvider) SyncCommitteeContribution(ctx context.Context, opts *api.SyncCommitteeContributionOpts, ) ( *api.Response[*altair.SyncCommitteeContribution], error, )
SyncCommitteeContribution is a mock.
type SleepySyncCommitteeContributionsSubmitter ¶ added in v1.4.0
type SleepySyncCommitteeContributionsSubmitter struct {
// contains filtered or unexported fields
}
SleepySyncCommitteeContributionsSubmitter is a mock for eth2client.SyncCommitteeContributionsSubmitter.
func (*SleepySyncCommitteeContributionsSubmitter) SubmitSyncCommitteeContributions ¶ added in v1.4.0
func (m *SleepySyncCommitteeContributionsSubmitter) SubmitSyncCommitteeContributions(ctx context.Context, proofs []*altair.SignedContributionAndProof) error
SubmitSyncCommitteeContributions is a mock.
type SleepySyncCommitteeMessagesSubmitter ¶ added in v1.4.0
type SleepySyncCommitteeMessagesSubmitter struct {
// contains filtered or unexported fields
}
SleepySyncCommitteeMessagesSubmitter is a mock for eth2client.SyncCommitteeMessagesSubmitter.
func (*SleepySyncCommitteeMessagesSubmitter) SubmitSyncCommitteeMessages ¶ added in v1.4.0
func (m *SleepySyncCommitteeMessagesSubmitter) SubmitSyncCommitteeMessages(ctx context.Context, messages []*altair.SyncCommitteeMessage) error
SubmitSyncCommitteeMessages is a mock.
type SleepySyncCommitteeSubscriptionsSubmitter ¶ added in v1.4.0
type SleepySyncCommitteeSubscriptionsSubmitter struct {
// contains filtered or unexported fields
}
SleepySyncCommitteeSubscriptionsSubmitter is a mock for eth2client.SyncCommitteeSubscriptionsSubmitter.
func (*SleepySyncCommitteeSubscriptionsSubmitter) SubmitSyncCommitteeSubscriptions ¶ added in v1.4.0
func (m *SleepySyncCommitteeSubscriptionsSubmitter) SubmitSyncCommitteeSubscriptions(ctx context.Context, subscriptions []*apiv1.SyncCommitteeSubscription) error
SubmitSyncCommitteeSubscriptions is a mock.
type SpecProvider ¶ added in v1.2.0
type SpecProvider struct{}
SpecProvider is a mock for eth2client.SpecProvider.
type SyncCommitteeContributionProvider ¶ added in v1.2.0
type SyncCommitteeContributionProvider struct{}
SyncCommitteeContributionProvider is a mock for eth2client.SyncCommitteeContributionProvider.
func (*SyncCommitteeContributionProvider) SyncCommitteeContribution ¶ added in v1.2.0
func (*SyncCommitteeContributionProvider) SyncCommitteeContribution(_ context.Context, opts *api.SyncCommitteeContributionOpts, ) ( *api.Response[*altair.SyncCommitteeContribution], error, )
SyncCommitteeContribution is a mock.
type SyncCommitteeContributionsSubmitter ¶ added in v1.2.0
type SyncCommitteeContributionsSubmitter struct{}
SyncCommitteeContributionsSubmitter is a mock for eth2client.SyncCommitteeContributionsSubmitter.
func (*SyncCommitteeContributionsSubmitter) SubmitSyncCommitteeContributions ¶ added in v1.2.0
func (*SyncCommitteeContributionsSubmitter) SubmitSyncCommitteeContributions(_ context.Context, _ []*altair.SignedContributionAndProof) error
SubmitSyncCommitteeContributions submits sync committee contributions.
type SyncCommitteeDutiesProvider ¶ added in v1.2.0
type SyncCommitteeDutiesProvider struct{}
SyncCommitteeDutiesProvider is a mock for eth2client.SyncCommitteeDutiesProvider.
func (*SyncCommitteeDutiesProvider) SyncCommitteeDuties ¶ added in v1.2.0
func (*SyncCommitteeDutiesProvider) SyncCommitteeDuties(_ context.Context, _ *api.SyncCommitteeDutiesOpts, ) ( *api.Response[[]*apiv1.SyncCommitteeDuty], error, )
SyncCommitteeDuties is a mock.
type SyncCommitteeMessagesSubmitter ¶ added in v1.2.0
type SyncCommitteeMessagesSubmitter struct{}
SyncCommitteeMessagesSubmitter is a mock for eth2client.SyncCommitteeMessagesSubmitter.
func (*SyncCommitteeMessagesSubmitter) SubmitSyncCommitteeMessages ¶ added in v1.2.0
func (*SyncCommitteeMessagesSubmitter) SubmitSyncCommitteeMessages(_ context.Context, _ []*altair.SyncCommitteeMessage) error
SubmitSyncCommitteeMessages submits sync committee messages.
type SyncCommitteeSubscriptionsSubmitter ¶ added in v1.2.0
type SyncCommitteeSubscriptionsSubmitter struct{}
SyncCommitteeSubscriptionsSubmitter is a mock for eth2client.SyncCommitteeSubscriptionsSubmitter.
func (*SyncCommitteeSubscriptionsSubmitter) SubmitSyncCommitteeSubscriptions ¶ added in v1.2.0
func (*SyncCommitteeSubscriptionsSubmitter) SubmitSyncCommitteeSubscriptions(_ context.Context, _ []*apiv1.SyncCommitteeSubscription) error
SubmitSyncCommitteeSubscriptions is a mock.
type ValidatorsProvider ¶ added in v0.6.2
type ValidatorsProvider struct{}
ValidatorsProvider is a mock.
func (*ValidatorsProvider) Validators ¶ added in v0.6.2
func (*ValidatorsProvider) Validators(ctx context.Context, opts *api.ValidatorsOpts, ) ( *api.Response[map[phase0.ValidatorIndex]*apiv1.Validator], error, )
Validators is a mock.
func (*ValidatorsProvider) ValidatorsByPubKey ¶ added in v0.9.0
func (*ValidatorsProvider) ValidatorsByPubKey(_ context.Context, _ string, validators []phase0.BLSPubKey) (map[phase0.ValidatorIndex]*apiv1.Validator, error)
ValidatorsByPubKey is a mock.