Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewGenesisTimeProvider ¶
func NewGenesisTimeProvider(genesisTime time.Time) eth2client.GenesisTimeProvider
NewGenesisTimeProvider returns a mock genesis time provider with the provided value.
func NewSpecProvider ¶
func NewSpecProvider(slotDuration time.Duration, slotsPerEpoch uint64, epochsPerSyncCommitteePeriod uint64, ) eth2client.SpecProvider
NewSpecProvider returns a mock spec provider with the provided values.
Types ¶
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 SpecProvider ¶
type SpecProvider struct {
// contains filtered or unexported fields
}
SpecProvider is a mock for eth2client.SpecProvider.
Click to show internal directories.
Click to hide internal directories.