testing

package
v5.0.1-rc.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 6, 2024 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MockClient

type MockClient struct {
	RegisteredVals map[[48]byte]bool
}

MockClient is a mock implementation of BuilderClient.

func NewClient

func NewClient() MockClient

NewClient creates a new, correctly initialized mock.

func (MockClient) GetHeader

func (MockClient) GetHeader(_ context.Context, _ primitives.Slot, _ [32]byte, _ [48]byte) (builder.SignedBid, error)

GetHeader --

func (MockClient) NodeURL

func (MockClient) NodeURL() string

NodeURL --

func (MockClient) RegisterValidator

func (m MockClient) RegisterValidator(_ context.Context, svr []*ethpb.SignedValidatorRegistrationV1) error

RegisterValidator --

func (MockClient) Status

func (MockClient) Status(_ context.Context) error

Status --

func (MockClient) SubmitBlindedBlock

SubmitBlindedBlock --

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL