Documentation ¶
Index ¶
- type MockExecutionChainInfoFetcher
- func (*MockExecutionChainInfoFetcher) ExecutionClientConnected() bool
- func (m *MockExecutionChainInfoFetcher) ExecutionClientConnectionErr() error
- func (m *MockExecutionChainInfoFetcher) ExecutionClientEndpoint() string
- func (*MockExecutionChainInfoFetcher) GenesisExecutionChainInfo() (uint64, *big.Int)
- type MockFetcher
- type MockGenesisTimeFetcher
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockExecutionChainInfoFetcher ¶
MockExecutionChainInfoFetcher is a fake implementation of the powchain.ChainInfoFetcher
func (*MockExecutionChainInfoFetcher) ExecutionClientConnected ¶
func (*MockExecutionChainInfoFetcher) ExecutionClientConnected() bool
func (*MockExecutionChainInfoFetcher) ExecutionClientConnectionErr ¶
func (m *MockExecutionChainInfoFetcher) ExecutionClientConnectionErr() error
func (*MockExecutionChainInfoFetcher) ExecutionClientEndpoint ¶
func (m *MockExecutionChainInfoFetcher) ExecutionClientEndpoint() string
func (*MockExecutionChainInfoFetcher) GenesisExecutionChainInfo ¶
func (*MockExecutionChainInfoFetcher) GenesisExecutionChainInfo() (uint64, *big.Int)
type MockFetcher ¶
type MockFetcher struct { BeaconState state.BeaconState BeaconStateRoot []byte }
MockFetcher is a fake implementation of statefetcher.Fetcher.
func (*MockFetcher) State ¶
func (m *MockFetcher) State(context.Context, []byte) (state.BeaconState, error)
State --
func (*MockFetcher) StateBySlot ¶
func (m *MockFetcher) StateBySlot(context.Context, types.Slot) (state.BeaconState, error)
type MockGenesisTimeFetcher ¶
MockGenesisTimeFetcher is a fake implementation of the blockchain.TimeFetcher
func (*MockGenesisTimeFetcher) CurrentSlot ¶
func (m *MockGenesisTimeFetcher) CurrentSlot() types.Slot
func (*MockGenesisTimeFetcher) GenesisTime ¶
func (m *MockGenesisTimeFetcher) GenesisTime() time.Time
Click to show internal directories.
Click to hide internal directories.