Documentation ¶
Index ¶
- type MockBuilderService
- func (s *MockBuilderService) Configured() bool
- func (s *MockBuilderService) GetHeader(ctx context.Context, slot primitives.Slot, hr [32]byte, pb [48]byte) (builder.SignedBid, error)
- func (s *MockBuilderService) RegisterValidator(context.Context, []*ethpb.SignedValidatorRegistrationV1) error
- func (s *MockBuilderService) SubmitBlindedBlock(_ context.Context, _ interfaces.ReadOnlySignedBeaconBlock) (interfaces.ExecutionData, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBuilderService ¶
type MockBuilderService struct { HasConfigured bool Payload *v1.ExecutionPayload PayloadCapella *v1.ExecutionPayloadCapella ErrSubmitBlindedBlock error Bid *ethpb.SignedBuilderBid BidCapella *ethpb.SignedBuilderBidCapella ErrGetHeader error ErrRegisterValidator error }
MockBuilderService to mock builder.
func (*MockBuilderService) Configured ¶
func (s *MockBuilderService) Configured() bool
Configured for mocking.
func (*MockBuilderService) GetHeader ¶
func (s *MockBuilderService) GetHeader(ctx context.Context, slot primitives.Slot, hr [32]byte, pb [48]byte) (builder.SignedBid, error)
GetHeader for mocking.
func (*MockBuilderService) RegisterValidator ¶
func (s *MockBuilderService) RegisterValidator(context.Context, []*ethpb.SignedValidatorRegistrationV1) error
RegisterValidator for mocking.
func (*MockBuilderService) SubmitBlindedBlock ¶
func (s *MockBuilderService) SubmitBlindedBlock(_ context.Context, _ interfaces.ReadOnlySignedBeaconBlock) (interfaces.ExecutionData, error)
SubmitBlindedBlock for mocking.
Click to show internal directories.
Click to hide internal directories.