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 NewBeaconBlockProposalProvider() eth2client.BeaconBlockProposalProvider
- func NewBeaconBlockSubmitter() eth2client.BeaconBlockSubmitter
- func NewBeaconCommitteeSubscriptionsSubmitter() eth2client.BeaconCommitteeSubscriptionsSubmitter
- func NewDomainProvider() eth2client.DomainProvider
- func NewErroringAggregateAttestationProvider() eth2client.AggregateAttestationProvider
- func NewErroringAggregateAttestationsSubmitter() eth2client.AggregateAttestationsSubmitter
- func NewErroringAttestationDataProvider() eth2client.AttestationDataProvider
- func NewErroringAttestationsSubmitter() eth2client.AttestationsSubmitter
- func NewErroringBeaconBlockProposalProvider() eth2client.BeaconBlockProposalProvider
- func NewErroringBeaconBlockSubmitter() eth2client.BeaconBlockSubmitter
- func NewErroringBeaconCommitteeSubscriptionsSubmitter() eth2client.BeaconCommitteeSubscriptionsSubmitter
- func NewErroringDomainProvider() eth2client.DomainProvider
- func NewErroringEventsProvider() eth2client.EventsProvider
- func NewErroringProposalPreparationsSubmitter() eth2client.ProposalPreparationsSubmitter
- func NewErroringSlotDurationProvider() eth2client.SlotDurationProvider
- func NewErroringSlotsPerEpochProvider() eth2client.SlotsPerEpochProvider
- 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 NewGenesisTimeProvider(genesisTime time.Time) eth2client.GenesisTimeProvider
- func NewNilAggregateAttestationProvider() eth2client.AggregateAttestationProvider
- func NewNilAttestationDataProvider() eth2client.AttestationDataProvider
- func NewNilBeaconBlockProposalProvider() eth2client.BeaconBlockProposalProvider
- func NewNilSyncCommitteeContributionProvider() eth2client.SyncCommitteeContributionProvider
- func NewProposalPreparationsSubmitter() eth2client.ProposalPreparationsSubmitter
- 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 NewSleepyBeaconBlockProposalProvider(wait time.Duration, next eth2client.BeaconBlockProposalProvider) eth2client.BeaconBlockProposalProvider
- func NewSleepyBeaconBlockSubmitter(wait time.Duration, next eth2client.BeaconBlockSubmitter) eth2client.BeaconBlockSubmitter
- func NewSleepyBeaconCommitteeSubscriptionsSubmitter(wait time.Duration, next eth2client.BeaconCommitteeSubscriptionsSubmitter) eth2client.BeaconCommitteeSubscriptionsSubmitter
- func NewSleepyProposalPreparationsSubmitter(wait time.Duration, next eth2client.ProposalPreparationsSubmitter) eth2client.ProposalPreparationsSubmitter
- 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 NewSlotDurationProvider(slotDuration time.Duration) eth2client.SlotDurationProvider
- func NewSlotsPerEpochProvider(slotsPerEpoch uint64) eth2client.SlotsPerEpochProvider
- 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 BeaconBlockProposalProvider
- type BeaconBlockSubmitter
- type BeaconCommitteeSubscriptionsSubmitter
- type DomainProvider
- type ErroringAggregateAttestationProvider
- type ErroringAggregateAttestationsSubmitter
- type ErroringAttestationDataProvider
- type ErroringAttestationsSubmitter
- type ErroringBeaconBlockProposalProvider
- type ErroringBeaconBlockSubmitter
- type ErroringBeaconCommitteeSubscriptionsSubmitter
- type ErroringDomainProvider
- type ErroringEventsProvider
- type ErroringProposalPreparationsSubmitter
- type ErroringSlotDurationProvider
- type ErroringSlotsPerEpochProvider
- type ErroringSpecProvider
- type ErroringSyncCommitteeContributionProvider
- type ErroringSyncCommitteeContributionsSubmitter
- type ErroringSyncCommitteeMessagesSubmitter
- type ErroringSyncCommitteeSubscriptionsSubmitter
- type EventsProvider
- type FarFutureEpochProvider
- type ForkScheduleProvider
- type GenesisTimeProvider
- type NilAggregateAttestationProvider
- type NilAttestationDataProvider
- type NilBeaconBlockProposalProvider
- type NilSyncCommitteeContributionProvider
- type ProposalPreparationsSubmitter
- type ProposerDutiesProvider
- type SignedBeaconBlockProvider
- type SleepyAggregateAttestationProvider
- type SleepyAggregateAttestationsSubmitter
- type SleepyAttestationDataProvider
- type SleepyAttestationsSubmitter
- type SleepyBeaconBlockProposalProvider
- type SleepyBeaconBlockSubmitter
- type SleepyBeaconCommitteeSubscriptionsSubmitter
- type SleepyProposalPreparationsSubmitter
- type SleepySyncCommitteeContributionProvider
- type SleepySyncCommitteeContributionsSubmitter
- type SleepySyncCommitteeMessagesSubmitter
- type SleepySyncCommitteeSubscriptionsSubmitter
- type SlotDurationProvider
- type SlotsPerEpochProvider
- type SpecProvider
- type SyncCommitteeContributionProvider
- type SyncCommitteeContributionsSubmitter
- type SyncCommitteeDutiesProvider
- type SyncCommitteeMessagesSubmitter
- type SyncCommitteeSubscriptionsSubmitter
- type ValidatorsProvider
- func (*ValidatorsProvider) Validators(_ context.Context, _ string, validators []phase0.ValidatorIndex) (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 NewBeaconBlockProposalProvider ¶ added in v0.6.1
func NewBeaconBlockProposalProvider() eth2client.BeaconBlockProposalProvider
NewBeaconBlockProposalProvider returns a mock beacon block proposal provider.
func NewBeaconBlockSubmitter ¶
func NewBeaconBlockSubmitter() eth2client.BeaconBlockSubmitter
NewBeaconBlockSubmitter returns a mock beacon block submitter.
func NewBeaconCommitteeSubscriptionsSubmitter ¶
func NewBeaconCommitteeSubscriptionsSubmitter() eth2client.BeaconCommitteeSubscriptionsSubmitter
NewBeaconCommitteeSubscriptionsSubmitter returns a mock beacon committee subscriptions 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 NewErroringBeaconBlockProposalProvider ¶ added in v1.5.0
func NewErroringBeaconBlockProposalProvider() eth2client.BeaconBlockProposalProvider
NewErroringBeaconBlockProposalProvider returns a mock beacon block proposal provider.
func NewErroringBeaconBlockSubmitter ¶ added in v0.6.1
func NewErroringBeaconBlockSubmitter() eth2client.BeaconBlockSubmitter
NewErroringBeaconBlockSubmitter returns a mock beacon block submitter.
func NewErroringBeaconCommitteeSubscriptionsSubmitter ¶ added in v0.6.1
func NewErroringBeaconCommitteeSubscriptionsSubmitter() eth2client.BeaconCommitteeSubscriptionsSubmitter
NewErroringBeaconCommitteeSubscriptionsSubmitter returns a mock beacon committee subscriptions 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 NewErroringSlotDurationProvider ¶ added in v1.2.0
func NewErroringSlotDurationProvider() eth2client.SlotDurationProvider
NewErroringSlotDurationProvider returns a mock slot duration provider that errors.
func NewErroringSlotsPerEpochProvider ¶ added in v0.6.2
func NewErroringSlotsPerEpochProvider() eth2client.SlotsPerEpochProvider
NewErroringSlotsPerEpochProvider returns a mock slots per epoch provider that errors.
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 NewGenesisTimeProvider ¶
func NewGenesisTimeProvider(genesisTime time.Time) eth2client.GenesisTimeProvider
NewGenesisTimeProvider returns a mock genesis time provider with the provided value.
func NewNilAggregateAttestationProvider ¶ added in v1.2.0
func NewNilAggregateAttestationProvider() eth2client.AggregateAttestationProvider
NewNilAggregateAttestationProvider returns a mock attestation data provider.
func NewNilAttestationDataProvider ¶ added in v0.9.0
func NewNilAttestationDataProvider() eth2client.AttestationDataProvider
NewNilAttestationDataProvider returns a mock attestation data provider.
func NewNilBeaconBlockProposalProvider ¶ added in v1.5.0
func NewNilBeaconBlockProposalProvider() eth2client.BeaconBlockProposalProvider
NewNilBeaconBlockProposalProvider returns a mock beacon block proposal provider.
func NewNilSyncCommitteeContributionProvider ¶ added in v1.2.0
func NewNilSyncCommitteeContributionProvider() eth2client.SyncCommitteeContributionProvider
NewNilSyncCommitteeContributionProvider returns a mock attestation data provider.
func NewProposalPreparationsSubmitter ¶ added in v1.5.0
func NewProposalPreparationsSubmitter() eth2client.ProposalPreparationsSubmitter
NewProposalPreparationsSubmitter returns a mock proposal preparations 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 NewSleepyBeaconBlockProposalProvider ¶ added in v1.5.0
func NewSleepyBeaconBlockProposalProvider(wait time.Duration, next eth2client.BeaconBlockProposalProvider) eth2client.BeaconBlockProposalProvider
NewSleepyBeaconBlockProposalProvider returns a mock beacon block proposal
func NewSleepyBeaconBlockSubmitter ¶ added in v1.4.0
func NewSleepyBeaconBlockSubmitter(wait time.Duration, next eth2client.BeaconBlockSubmitter) eth2client.BeaconBlockSubmitter
NewSleepyBeaconBlockSubmitter returns a mock beacon block submitter.
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 NewSleepyProposalPreparationsSubmitter ¶ added in v1.5.0
func NewSleepyProposalPreparationsSubmitter(wait time.Duration, next eth2client.ProposalPreparationsSubmitter) eth2client.ProposalPreparationsSubmitter
NewSleepyProposalPreparationsSubmitter returns a mock aggregate attestations submitter.
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 NewSlotDurationProvider ¶
func NewSlotDurationProvider(slotDuration time.Duration) eth2client.SlotDurationProvider
NewSlotDurationProvider returns a mock slot duration provider with the provided value.
func NewSlotsPerEpochProvider ¶
func NewSlotsPerEpochProvider(slotsPerEpoch uint64) eth2client.SlotsPerEpochProvider
NewSlotsPerEpochProvider returns a mock slots per epoch provider with the provided value.
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, slot phase0.Slot, _ phase0.Root) (*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, slot phase0.Slot, committeeIndex phase0.CommitteeIndex) (*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, _ phase0.Epoch, _ []phase0.ValidatorIndex) ([]*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, _ string) (*apiv1.BeaconBlockHeader, error)
BeaconBlockHeader provides the block header of a given block ID.
type BeaconBlockProposalProvider ¶ added in v0.6.1
type BeaconBlockProposalProvider struct{}
BeaconBlockProposalProvider is a mock for eth2client.BeaconBlockProposalProvider.
func (*BeaconBlockProposalProvider) BeaconBlockProposal ¶ added in v0.6.1
func (*BeaconBlockProposalProvider) BeaconBlockProposal(_ context.Context, slot phase0.Slot, randaoReveal phase0.BLSSignature, graffiti []byte) (*spec.VersionedBeaconBlock, error)
BeaconBlockProposal is a mock.
type BeaconBlockSubmitter ¶
type BeaconBlockSubmitter struct{}
BeaconBlockSubmitter is a mock for eth2client.BeaconBlockSubmitter.
func (*BeaconBlockSubmitter) SubmitBeaconBlock ¶
func (*BeaconBlockSubmitter) SubmitBeaconBlock(_ context.Context, _ *spec.VersionedSignedBeaconBlock) error
SubmitBeaconBlock 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 DomainProvider ¶ added in v0.9.0
type DomainProvider struct{}
DomainProvider is a mock for eth2client.DomainProvider.
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, _ phase0.Slot, _ phase0.Root) (*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, _ phase0.Slot, _ phase0.CommitteeIndex) (*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 ErroringBeaconBlockProposalProvider ¶ added in v1.5.0
type ErroringBeaconBlockProposalProvider struct{}
ErroringBeaconBlockProposalProvider is a mock for eth2client.BeaconBlockProposalProvider.
func (*ErroringBeaconBlockProposalProvider) BeaconBlockProposal ¶ added in v1.5.0
func (*ErroringBeaconBlockProposalProvider) BeaconBlockProposal(_ context.Context, _ phase0.Slot, _ phase0.BLSSignature, _ []byte) (*spec.VersionedBeaconBlock, error)
BeaconBlockProposal is a mock.
type ErroringBeaconBlockSubmitter ¶ added in v0.6.1
type ErroringBeaconBlockSubmitter struct{}
ErroringBeaconBlockSubmitter is a mock for eth2client.BeaconBlockSubmitter that returns errors.
func (*ErroringBeaconBlockSubmitter) SubmitBeaconBlock ¶ added in v0.6.1
func (*ErroringBeaconBlockSubmitter) SubmitBeaconBlock(_ context.Context, _ *spec.VersionedSignedBeaconBlock) error
SubmitBeaconBlock 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 ErroringDomainProvider ¶ added in v0.9.0
type ErroringDomainProvider struct{}
ErroringDomainProvider is a mock for eth2client.DomainProvider.
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 ErroringSlotDurationProvider ¶ added in v1.2.0
type ErroringSlotDurationProvider struct{}
ErroringSlotDurationProvider is a mock for eth2client.SlotDurationProvider.
func (*ErroringSlotDurationProvider) SlotDuration ¶ added in v1.2.0
SlotDuration is a mock.
type ErroringSlotsPerEpochProvider ¶ added in v0.6.2
type ErroringSlotsPerEpochProvider struct{}
ErroringSlotsPerEpochProvider is a mock for eth2client.SlotsPerEpochProvider.
func (*ErroringSlotsPerEpochProvider) SlotsPerEpoch ¶ added in v0.6.2
func (*ErroringSlotsPerEpochProvider) SlotsPerEpoch(_ context.Context) (uint64, error)
SlotsPerEpoch 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, _ phase0.Slot, _ uint64, _ phase0.Root) (*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
ForkSchedule is a mock.
type GenesisTimeProvider ¶
type GenesisTimeProvider struct {
// contains filtered or unexported fields
}
GenesisTimeProvider is a mock for eth2client.GenesisTimeProvider.
func (*GenesisTimeProvider) GenesisTime ¶
GenesisTime is a mock.
type NilAggregateAttestationProvider ¶ added in v1.2.0
type NilAggregateAttestationProvider struct{}
NilAggregateAttestationProvider is a mock for eth2client.AggregateAttestationProvider.
func (*NilAggregateAttestationProvider) AggregateAttestation ¶ added in v1.2.0
func (*NilAggregateAttestationProvider) AggregateAttestation(_ context.Context, _ phase0.Slot, _ phase0.Root) (*phase0.Attestation, error)
AggregateAttestation is a mock.
type NilAttestationDataProvider ¶ added in v0.9.0
type NilAttestationDataProvider struct{}
NilAttestationDataProvider is a mock for eth2client.AttestationDataProvider.
func (*NilAttestationDataProvider) AttestationData ¶ added in v0.9.0
func (*NilAttestationDataProvider) AttestationData(_ context.Context, _ phase0.Slot, _ phase0.CommitteeIndex) (*phase0.AttestationData, error)
AttestationData is a mock.
type NilBeaconBlockProposalProvider ¶ added in v1.5.0
type NilBeaconBlockProposalProvider struct{}
NilBeaconBlockProposalProvider is a mock for eth2client.BeaconBlockProposalProvider.
func (*NilBeaconBlockProposalProvider) BeaconBlockProposal ¶ added in v1.5.0
func (*NilBeaconBlockProposalProvider) BeaconBlockProposal(_ context.Context, _ phase0.Slot, _ phase0.BLSSignature, _ []byte) (*spec.VersionedBeaconBlock, error)
BeaconBlockProposal is a mock.
type NilSyncCommitteeContributionProvider ¶ added in v1.2.0
type NilSyncCommitteeContributionProvider struct{}
NilSyncCommitteeContributionProvider is a mock for eth2client.SyncCommitteeContributionProvider.
func (*NilSyncCommitteeContributionProvider) SyncCommitteeContribution ¶ added in v1.2.0
func (*NilSyncCommitteeContributionProvider) SyncCommitteeContribution(_ context.Context, _ phase0.Slot, _ uint64, _ phase0.Root) (*altair.SyncCommitteeContribution, error)
SyncCommitteeContribution 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 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, _ phase0.Epoch, _ []phase0.ValidatorIndex) ([]*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, _ string) (*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, slot phase0.Slot, attestationDataRoot phase0.Root) (*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, slot phase0.Slot, committeeIndex phase0.CommitteeIndex) (*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 SleepyBeaconBlockProposalProvider ¶ added in v1.5.0
type SleepyBeaconBlockProposalProvider struct {
// contains filtered or unexported fields
}
SleepyBeaconBlockProposalProvider is a mock for eth2client.BeaconBlockProposalProvider.
func (*SleepyBeaconBlockProposalProvider) BeaconBlockProposal ¶ added in v1.5.0
func (m *SleepyBeaconBlockProposalProvider) BeaconBlockProposal(ctx context.Context, slot phase0.Slot, randaoReveal phase0.BLSSignature, graffiti []byte) (*spec.VersionedBeaconBlock, error)
BeaconBlockProposal is a mock.
type SleepyBeaconBlockSubmitter ¶ added in v1.4.0
type SleepyBeaconBlockSubmitter struct {
// contains filtered or unexported fields
}
SleepyBeaconBlockSubmitter is a mock for eth2client.BeaconBlockSubmitter.
func (*SleepyBeaconBlockSubmitter) SubmitBeaconBlock ¶ added in v1.4.0
func (m *SleepyBeaconBlockSubmitter) SubmitBeaconBlock(ctx context.Context, block *spec.VersionedSignedBeaconBlock) error
SubmitBeaconBlock 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 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 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, slot phase0.Slot, subcommitteeIndex uint64, beaconBlockRoot phase0.Root) (*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 SlotDurationProvider ¶
type SlotDurationProvider struct {
// contains filtered or unexported fields
}
SlotDurationProvider is a mock for eth2client.SlotDurationProvider.
func (*SlotDurationProvider) SlotDuration ¶
SlotDuration is a mock.
type SlotsPerEpochProvider ¶
type SlotsPerEpochProvider struct {
// contains filtered or unexported fields
}
SlotsPerEpochProvider is a mock for eth2client.SlotsPerEpochProvider.
func (*SlotsPerEpochProvider) SlotsPerEpoch ¶
func (m *SlotsPerEpochProvider) SlotsPerEpoch(_ context.Context) (uint64, error)
SlotsPerEpoch 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, slot phase0.Slot, subcommitteeIndex uint64, beaconBlockRoot phase0.Root) (*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, _ phase0.Epoch, _ []phase0.ValidatorIndex) ([]*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(_ context.Context, _ string, validators []phase0.ValidatorIndex) (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.