Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type StubBeaconClient ¶
type StubBeaconClient struct { Headers map[string]*v1.BeaconBlockHeader Blobs map[string][]*deneb.BlobSidecar }
func NewDefaultStubBeaconClient ¶
func NewDefaultStubBeaconClient(t *testing.T) *StubBeaconClient
func NewEmptyStubBeaconClient ¶
func NewEmptyStubBeaconClient() *StubBeaconClient
func (*StubBeaconClient) BeaconBlockHeader ¶
func (s *StubBeaconClient) BeaconBlockHeader(ctx context.Context, opts *api.BeaconBlockHeaderOpts) (*api.Response[*v1.BeaconBlockHeader], error)
func (*StubBeaconClient) BlobSidecars ¶
func (s *StubBeaconClient) BlobSidecars(ctx context.Context, opts *api.BlobSidecarsOpts) (*api.Response[[]*deneb.BlobSidecar], error)
Click to show internal directories.
Click to hide internal directories.