Documentation
¶
Overview ¶
Package mock_relay is a generated GoMock package.
Package mock_relay is a generated GoMock package.
Package mock_relay is a generated GoMock package.
Package mock_relay is a generated GoMock package.
Index ¶
- type MockBeaconClient
- func (m *MockBeaconClient) EXPECT() *MockBeaconClientMockRecorder
- func (m *MockBeaconClient) Endpoint() string
- func (m *MockBeaconClient) GetProposerDuties(arg0 relay.Epoch) (*relay.RegisteredProposersResponse, error)
- func (m *MockBeaconClient) KnownValidators(arg0 relay.Slot) (relay.AllValidatorsResponse, error)
- func (m *MockBeaconClient) SubscribeToHeadEvents(ctx context.Context, slotC chan relay.HeadEvent)
- func (m *MockBeaconClient) SyncStatus() (*relay.SyncStatusPayloadData, error)
- type MockBeaconClientMockRecorder
- func (mr *MockBeaconClientMockRecorder) Endpoint() *gomock.Call
- func (mr *MockBeaconClientMockRecorder) GetProposerDuties(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconClientMockRecorder) KnownValidators(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconClientMockRecorder) SubscribeToHeadEvents(ctx, slotC interface{}) *gomock.Call
- func (mr *MockBeaconClientMockRecorder) SyncStatus() *gomock.Call
- type MockBeaconState
- func (m *MockBeaconState) EXPECT() *MockBeaconStateMockRecorder
- func (m *MockBeaconState) HeadSlot() relay.Slot
- func (m *MockBeaconState) IsKnownValidator(arg0 types.PubkeyHex) (bool, error)
- func (m *MockBeaconState) KnownValidatorByIndex(arg0 uint64) (types.PubkeyHex, error)
- func (m *MockBeaconState) ValidatorsMap() relay.BuilderGetValidatorsResponseEntrySlice
- type MockBeaconStateMockRecorder
- func (mr *MockBeaconStateMockRecorder) HeadSlot() *gomock.Call
- func (mr *MockBeaconStateMockRecorder) IsKnownValidator(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconStateMockRecorder) KnownValidatorByIndex(arg0 interface{}) *gomock.Call
- func (mr *MockBeaconStateMockRecorder) ValidatorsMap() *gomock.Call
- type MockDatastore
- func (m *MockDatastore) EXPECT() *MockDatastoreMockRecorder
- func (m *MockDatastore) GetDelivered(arg0 context.Context, arg1 relay.Query) (relay.BidTraceWithTimestamp, error)
- func (m *MockDatastore) GetDeliveredBatch(arg0 context.Context, arg1 []relay.Query) ([]relay.BidTraceWithTimestamp, error)
- func (m *MockDatastore) GetHeaderBatch(arg0 context.Context, arg1 []relay.Query) ([]relay.HeaderAndTrace, error)
- func (m *MockDatastore) GetHeaders(arg0 context.Context, arg1 relay.Query) ([]relay.HeaderAndTrace, error)
- func (m *MockDatastore) GetPayload(arg0 context.Context, arg1 relay.PayloadKey) (*relay.BlockBidAndTrace, error)
- func (m *MockDatastore) GetRegistration(arg0 context.Context, arg1 relay.PubKey) (types.SignedValidatorRegistration, error)
- func (m *MockDatastore) PutDelivered(arg0 context.Context, arg1 relay.Slot, arg2 relay.DeliveredTrace, ...) error
- func (m *MockDatastore) PutHeader(arg0 context.Context, arg1 relay.Slot, arg2 relay.HeaderAndTrace, ...) error
- func (m *MockDatastore) PutPayload(arg0 context.Context, arg1 relay.PayloadKey, arg2 *relay.BlockBidAndTrace, ...) error
- func (m *MockDatastore) PutRegistration(arg0 context.Context, arg1 relay.PubKey, ...) error
- type MockDatastoreMockRecorder
- func (mr *MockDatastoreMockRecorder) GetDelivered(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) GetDeliveredBatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) GetHeaderBatch(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) GetHeaders(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) GetPayload(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) GetRegistration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) PutDelivered(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) PutHeader(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) PutPayload(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- func (mr *MockDatastoreMockRecorder) PutRegistration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
- type MockRelay
- func (m *MockRelay) EXPECT() *MockRelayMockRecorder
- func (m *MockRelay) GetHeader(arg0 context.Context, arg1 relay.HeaderRequest, arg2 relay.State) (*types.GetHeaderResponse, error)
- func (m *MockRelay) GetPayload(arg0 context.Context, arg1 *types.SignedBlindedBeaconBlock, arg2 relay.State) (*types.GetPayloadResponse, error)
- func (m *MockRelay) GetValidators(arg0 relay.State) relay.BuilderGetValidatorsResponseEntrySlice
- func (m *MockRelay) RegisterValidator(arg0 context.Context, arg1 []types.SignedValidatorRegistration, ...) error
- func (m *MockRelay) SubmitBlock(arg0 context.Context, arg1 *types.BuilderSubmitBlockRequest, arg2 relay.State) error
- type MockRelayMockRecorder
- func (mr *MockRelayMockRecorder) GetHeader(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRelayMockRecorder) GetPayload(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRelayMockRecorder) GetValidators(arg0 interface{}) *gomock.Call
- func (mr *MockRelayMockRecorder) RegisterValidator(arg0, arg1, arg2 interface{}) *gomock.Call
- func (mr *MockRelayMockRecorder) SubmitBlock(arg0, arg1, arg2 interface{}) *gomock.Call
- type MockRelayService
- func (m *MockRelayService) EXPECT() *MockRelayServiceMockRecorder
- func (m *MockRelayService) GetBlockReceived(arg0 context.Context, arg1 relay.TraceQuery) ([]relay.BidTraceWithTimestamp, error)
- func (m *MockRelayService) GetHeader(arg0 context.Context, arg1 relay.HeaderRequest) (*types.GetHeaderResponse, error)
- func (m *MockRelayService) GetPayload(arg0 context.Context, arg1 *types.SignedBlindedBeaconBlock) (*types.GetPayloadResponse, error)
- func (m *MockRelayService) GetPayloadDelivered(arg0 context.Context, arg1 relay.TraceQuery) ([]relay.BidTraceExtended, error)
- func (m *MockRelayService) GetValidators() relay.BuilderGetValidatorsResponseEntrySlice
- func (m *MockRelayService) RegisterValidator(arg0 context.Context, arg1 []types.SignedValidatorRegistration) error
- func (m *MockRelayService) Registration(arg0 context.Context, arg1 types.PublicKey) (types.SignedValidatorRegistration, error)
- func (m *MockRelayService) SubmitBlock(arg0 context.Context, arg1 *types.BuilderSubmitBlockRequest) error
- type MockRelayServiceMockRecorder
- func (mr *MockRelayServiceMockRecorder) GetBlockReceived(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRelayServiceMockRecorder) GetHeader(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRelayServiceMockRecorder) GetPayload(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRelayServiceMockRecorder) GetPayloadDelivered(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRelayServiceMockRecorder) GetValidators() *gomock.Call
- func (mr *MockRelayServiceMockRecorder) RegisterValidator(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRelayServiceMockRecorder) Registration(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockRelayServiceMockRecorder) SubmitBlock(arg0, arg1 interface{}) *gomock.Call
- type MockState
- type MockStateMockRecorder
- type MockTTLStorage
- func (m *MockTTLStorage) Close() error
- func (m *MockTTLStorage) EXPECT() *MockTTLStorageMockRecorder
- func (m *MockTTLStorage) Get(arg0 context.Context, arg1 datastore.Key) ([]byte, error)
- func (m *MockTTLStorage) GetBatch(ctx context.Context, keys []datastore.Key) ([][]byte, error)
- func (m *MockTTLStorage) PutWithTTL(arg0 context.Context, arg1 datastore.Key, arg2 []byte, arg3 time.Duration) error
- type MockTTLStorageMockRecorder
- func (mr *MockTTLStorageMockRecorder) Close() *gomock.Call
- func (mr *MockTTLStorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
- func (mr *MockTTLStorageMockRecorder) GetBatch(ctx, keys interface{}) *gomock.Call
- func (mr *MockTTLStorageMockRecorder) PutWithTTL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MockBeaconClient ¶
type MockBeaconClient struct {
// contains filtered or unexported fields
}
MockBeaconClient is a mock of BeaconClient interface
func NewMockBeaconClient ¶
func NewMockBeaconClient(ctrl *gomock.Controller) *MockBeaconClient
NewMockBeaconClient creates a new mock instance
func (*MockBeaconClient) EXPECT ¶
func (m *MockBeaconClient) EXPECT() *MockBeaconClientMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBeaconClient) Endpoint ¶ added in v0.1.2
func (m *MockBeaconClient) Endpoint() string
Endpoint mocks base method
func (*MockBeaconClient) GetProposerDuties ¶
func (m *MockBeaconClient) GetProposerDuties(arg0 relay.Epoch) (*relay.RegisteredProposersResponse, error)
GetProposerDuties mocks base method
func (*MockBeaconClient) KnownValidators ¶ added in v0.1.2
func (m *MockBeaconClient) KnownValidators(arg0 relay.Slot) (relay.AllValidatorsResponse, error)
KnownValidators mocks base method
func (*MockBeaconClient) SubscribeToHeadEvents ¶
func (m *MockBeaconClient) SubscribeToHeadEvents(ctx context.Context, slotC chan relay.HeadEvent)
SubscribeToHeadEvents mocks base method
func (*MockBeaconClient) SyncStatus ¶
func (m *MockBeaconClient) SyncStatus() (*relay.SyncStatusPayloadData, error)
SyncStatus mocks base method
type MockBeaconClientMockRecorder ¶
type MockBeaconClientMockRecorder struct {
// contains filtered or unexported fields
}
MockBeaconClientMockRecorder is the mock recorder for MockBeaconClient
func (*MockBeaconClientMockRecorder) Endpoint ¶ added in v0.1.2
func (mr *MockBeaconClientMockRecorder) Endpoint() *gomock.Call
Endpoint indicates an expected call of Endpoint
func (*MockBeaconClientMockRecorder) GetProposerDuties ¶
func (mr *MockBeaconClientMockRecorder) GetProposerDuties(arg0 interface{}) *gomock.Call
GetProposerDuties indicates an expected call of GetProposerDuties
func (*MockBeaconClientMockRecorder) KnownValidators ¶ added in v0.1.2
func (mr *MockBeaconClientMockRecorder) KnownValidators(arg0 interface{}) *gomock.Call
KnownValidators indicates an expected call of KnownValidators
func (*MockBeaconClientMockRecorder) SubscribeToHeadEvents ¶
func (mr *MockBeaconClientMockRecorder) SubscribeToHeadEvents(ctx, slotC interface{}) *gomock.Call
SubscribeToHeadEvents indicates an expected call of SubscribeToHeadEvents
func (*MockBeaconClientMockRecorder) SyncStatus ¶
func (mr *MockBeaconClientMockRecorder) SyncStatus() *gomock.Call
SyncStatus indicates an expected call of SyncStatus
type MockBeaconState ¶ added in v0.1.2
type MockBeaconState struct {
// contains filtered or unexported fields
}
MockBeaconState is a mock of BeaconState interface
func NewMockBeaconState ¶ added in v0.1.2
func NewMockBeaconState(ctrl *gomock.Controller) *MockBeaconState
NewMockBeaconState creates a new mock instance
func (*MockBeaconState) EXPECT ¶ added in v0.1.2
func (m *MockBeaconState) EXPECT() *MockBeaconStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockBeaconState) HeadSlot ¶ added in v0.1.2
func (m *MockBeaconState) HeadSlot() relay.Slot
HeadSlot mocks base method
func (*MockBeaconState) IsKnownValidator ¶ added in v0.1.2
func (m *MockBeaconState) IsKnownValidator(arg0 types.PubkeyHex) (bool, error)
IsKnownValidator mocks base method
func (*MockBeaconState) KnownValidatorByIndex ¶ added in v0.1.2
func (m *MockBeaconState) KnownValidatorByIndex(arg0 uint64) (types.PubkeyHex, error)
KnownValidatorByIndex mocks base method
func (*MockBeaconState) ValidatorsMap ¶ added in v0.1.2
func (m *MockBeaconState) ValidatorsMap() relay.BuilderGetValidatorsResponseEntrySlice
ValidatorsMap mocks base method
type MockBeaconStateMockRecorder ¶ added in v0.1.2
type MockBeaconStateMockRecorder struct {
// contains filtered or unexported fields
}
MockBeaconStateMockRecorder is the mock recorder for MockBeaconState
func (*MockBeaconStateMockRecorder) HeadSlot ¶ added in v0.1.2
func (mr *MockBeaconStateMockRecorder) HeadSlot() *gomock.Call
HeadSlot indicates an expected call of HeadSlot
func (*MockBeaconStateMockRecorder) IsKnownValidator ¶ added in v0.1.2
func (mr *MockBeaconStateMockRecorder) IsKnownValidator(arg0 interface{}) *gomock.Call
IsKnownValidator indicates an expected call of IsKnownValidator
func (*MockBeaconStateMockRecorder) KnownValidatorByIndex ¶ added in v0.1.2
func (mr *MockBeaconStateMockRecorder) KnownValidatorByIndex(arg0 interface{}) *gomock.Call
KnownValidatorByIndex indicates an expected call of KnownValidatorByIndex
func (*MockBeaconStateMockRecorder) ValidatorsMap ¶ added in v0.1.2
func (mr *MockBeaconStateMockRecorder) ValidatorsMap() *gomock.Call
ValidatorsMap indicates an expected call of ValidatorsMap
type MockDatastore ¶
type MockDatastore struct {
// contains filtered or unexported fields
}
MockDatastore is a mock of Datastore interface
func NewMockDatastore ¶
func NewMockDatastore(ctrl *gomock.Controller) *MockDatastore
NewMockDatastore creates a new mock instance
func (*MockDatastore) EXPECT ¶
func (m *MockDatastore) EXPECT() *MockDatastoreMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockDatastore) GetDelivered ¶ added in v0.1.3
func (m *MockDatastore) GetDelivered(arg0 context.Context, arg1 relay.Query) (relay.BidTraceWithTimestamp, error)
GetDelivered mocks base method
func (*MockDatastore) GetDeliveredBatch ¶ added in v0.1.3
func (m *MockDatastore) GetDeliveredBatch(arg0 context.Context, arg1 []relay.Query) ([]relay.BidTraceWithTimestamp, error)
GetDeliveredBatch mocks base method
func (*MockDatastore) GetHeaderBatch ¶
func (m *MockDatastore) GetHeaderBatch(arg0 context.Context, arg1 []relay.Query) ([]relay.HeaderAndTrace, error)
GetHeaderBatch mocks base method
func (*MockDatastore) GetHeaders ¶ added in v0.1.5
func (m *MockDatastore) GetHeaders(arg0 context.Context, arg1 relay.Query) ([]relay.HeaderAndTrace, error)
GetHeaders mocks base method
func (*MockDatastore) GetPayload ¶
func (m *MockDatastore) GetPayload(arg0 context.Context, arg1 relay.PayloadKey) (*relay.BlockBidAndTrace, error)
GetPayload mocks base method
func (*MockDatastore) GetRegistration ¶
func (m *MockDatastore) GetRegistration(arg0 context.Context, arg1 relay.PubKey) (types.SignedValidatorRegistration, error)
GetRegistration mocks base method
func (*MockDatastore) PutDelivered ¶
func (m *MockDatastore) PutDelivered(arg0 context.Context, arg1 relay.Slot, arg2 relay.DeliveredTrace, arg3 time.Duration) error
PutDelivered mocks base method
func (*MockDatastore) PutHeader ¶
func (m *MockDatastore) PutHeader(arg0 context.Context, arg1 relay.Slot, arg2 relay.HeaderAndTrace, arg3 time.Duration) error
PutHeader mocks base method
func (*MockDatastore) PutPayload ¶
func (m *MockDatastore) PutPayload(arg0 context.Context, arg1 relay.PayloadKey, arg2 *relay.BlockBidAndTrace, arg3 time.Duration) error
PutPayload mocks base method
func (*MockDatastore) PutRegistration ¶
func (m *MockDatastore) PutRegistration(arg0 context.Context, arg1 relay.PubKey, arg2 types.SignedValidatorRegistration, arg3 time.Duration) error
PutRegistration mocks base method
type MockDatastoreMockRecorder ¶
type MockDatastoreMockRecorder struct {
// contains filtered or unexported fields
}
MockDatastoreMockRecorder is the mock recorder for MockDatastore
func (*MockDatastoreMockRecorder) GetDelivered ¶ added in v0.1.3
func (mr *MockDatastoreMockRecorder) GetDelivered(arg0, arg1 interface{}) *gomock.Call
GetDelivered indicates an expected call of GetDelivered
func (*MockDatastoreMockRecorder) GetDeliveredBatch ¶ added in v0.1.3
func (mr *MockDatastoreMockRecorder) GetDeliveredBatch(arg0, arg1 interface{}) *gomock.Call
GetDeliveredBatch indicates an expected call of GetDeliveredBatch
func (*MockDatastoreMockRecorder) GetHeaderBatch ¶
func (mr *MockDatastoreMockRecorder) GetHeaderBatch(arg0, arg1 interface{}) *gomock.Call
GetHeaderBatch indicates an expected call of GetHeaderBatch
func (*MockDatastoreMockRecorder) GetHeaders ¶ added in v0.1.5
func (mr *MockDatastoreMockRecorder) GetHeaders(arg0, arg1 interface{}) *gomock.Call
GetHeaders indicates an expected call of GetHeaders
func (*MockDatastoreMockRecorder) GetPayload ¶
func (mr *MockDatastoreMockRecorder) GetPayload(arg0, arg1 interface{}) *gomock.Call
GetPayload indicates an expected call of GetPayload
func (*MockDatastoreMockRecorder) GetRegistration ¶
func (mr *MockDatastoreMockRecorder) GetRegistration(arg0, arg1 interface{}) *gomock.Call
GetRegistration indicates an expected call of GetRegistration
func (*MockDatastoreMockRecorder) PutDelivered ¶
func (mr *MockDatastoreMockRecorder) PutDelivered(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutDelivered indicates an expected call of PutDelivered
func (*MockDatastoreMockRecorder) PutHeader ¶
func (mr *MockDatastoreMockRecorder) PutHeader(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutHeader indicates an expected call of PutHeader
func (*MockDatastoreMockRecorder) PutPayload ¶
func (mr *MockDatastoreMockRecorder) PutPayload(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutPayload indicates an expected call of PutPayload
func (*MockDatastoreMockRecorder) PutRegistration ¶
func (mr *MockDatastoreMockRecorder) PutRegistration(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutRegistration indicates an expected call of PutRegistration
type MockRelay ¶
type MockRelay struct {
// contains filtered or unexported fields
}
MockRelay is a mock of Relay interface
func NewMockRelay ¶
func NewMockRelay(ctrl *gomock.Controller) *MockRelay
NewMockRelay creates a new mock instance
func (*MockRelay) EXPECT ¶
func (m *MockRelay) EXPECT() *MockRelayMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRelay) GetHeader ¶
func (m *MockRelay) GetHeader(arg0 context.Context, arg1 relay.HeaderRequest, arg2 relay.State) (*types.GetHeaderResponse, error)
GetHeader mocks base method
func (*MockRelay) GetPayload ¶
func (m *MockRelay) GetPayload(arg0 context.Context, arg1 *types.SignedBlindedBeaconBlock, arg2 relay.State) (*types.GetPayloadResponse, error)
GetPayload mocks base method
func (*MockRelay) GetValidators ¶
func (m *MockRelay) GetValidators(arg0 relay.State) relay.BuilderGetValidatorsResponseEntrySlice
GetValidators mocks base method
func (*MockRelay) RegisterValidator ¶
func (m *MockRelay) RegisterValidator(arg0 context.Context, arg1 []types.SignedValidatorRegistration, arg2 relay.State) error
RegisterValidator mocks base method
func (*MockRelay) SubmitBlock ¶
func (m *MockRelay) SubmitBlock(arg0 context.Context, arg1 *types.BuilderSubmitBlockRequest, arg2 relay.State) error
SubmitBlock mocks base method
type MockRelayMockRecorder ¶
type MockRelayMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayMockRecorder is the mock recorder for MockRelay
func (*MockRelayMockRecorder) GetHeader ¶
func (mr *MockRelayMockRecorder) GetHeader(arg0, arg1, arg2 interface{}) *gomock.Call
GetHeader indicates an expected call of GetHeader
func (*MockRelayMockRecorder) GetPayload ¶
func (mr *MockRelayMockRecorder) GetPayload(arg0, arg1, arg2 interface{}) *gomock.Call
GetPayload indicates an expected call of GetPayload
func (*MockRelayMockRecorder) GetValidators ¶
func (mr *MockRelayMockRecorder) GetValidators(arg0 interface{}) *gomock.Call
GetValidators indicates an expected call of GetValidators
func (*MockRelayMockRecorder) RegisterValidator ¶
func (mr *MockRelayMockRecorder) RegisterValidator(arg0, arg1, arg2 interface{}) *gomock.Call
RegisterValidator indicates an expected call of RegisterValidator
func (*MockRelayMockRecorder) SubmitBlock ¶
func (mr *MockRelayMockRecorder) SubmitBlock(arg0, arg1, arg2 interface{}) *gomock.Call
SubmitBlock indicates an expected call of SubmitBlock
type MockRelayService ¶
type MockRelayService struct {
// contains filtered or unexported fields
}
MockRelayService is a mock of RelayService interface
func NewMockRelayService ¶
func NewMockRelayService(ctrl *gomock.Controller) *MockRelayService
NewMockRelayService creates a new mock instance
func (*MockRelayService) EXPECT ¶
func (m *MockRelayService) EXPECT() *MockRelayServiceMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
func (*MockRelayService) GetBlockReceived ¶
func (m *MockRelayService) GetBlockReceived(arg0 context.Context, arg1 relay.TraceQuery) ([]relay.BidTraceWithTimestamp, error)
GetBlockReceived mocks base method
func (*MockRelayService) GetHeader ¶
func (m *MockRelayService) GetHeader(arg0 context.Context, arg1 relay.HeaderRequest) (*types.GetHeaderResponse, error)
GetHeader mocks base method
func (*MockRelayService) GetPayload ¶
func (m *MockRelayService) GetPayload(arg0 context.Context, arg1 *types.SignedBlindedBeaconBlock) (*types.GetPayloadResponse, error)
GetPayload mocks base method
func (*MockRelayService) GetPayloadDelivered ¶ added in v0.1.5
func (m *MockRelayService) GetPayloadDelivered(arg0 context.Context, arg1 relay.TraceQuery) ([]relay.BidTraceExtended, error)
GetPayloadDelivered mocks base method
func (*MockRelayService) GetValidators ¶
func (m *MockRelayService) GetValidators() relay.BuilderGetValidatorsResponseEntrySlice
GetValidators mocks base method
func (*MockRelayService) RegisterValidator ¶
func (m *MockRelayService) RegisterValidator(arg0 context.Context, arg1 []types.SignedValidatorRegistration) error
RegisterValidator mocks base method
func (*MockRelayService) Registration ¶
func (m *MockRelayService) Registration(arg0 context.Context, arg1 types.PublicKey) (types.SignedValidatorRegistration, error)
Registration mocks base method
func (*MockRelayService) SubmitBlock ¶
func (m *MockRelayService) SubmitBlock(arg0 context.Context, arg1 *types.BuilderSubmitBlockRequest) error
SubmitBlock mocks base method
type MockRelayServiceMockRecorder ¶
type MockRelayServiceMockRecorder struct {
// contains filtered or unexported fields
}
MockRelayServiceMockRecorder is the mock recorder for MockRelayService
func (*MockRelayServiceMockRecorder) GetBlockReceived ¶
func (mr *MockRelayServiceMockRecorder) GetBlockReceived(arg0, arg1 interface{}) *gomock.Call
GetBlockReceived indicates an expected call of GetBlockReceived
func (*MockRelayServiceMockRecorder) GetHeader ¶
func (mr *MockRelayServiceMockRecorder) GetHeader(arg0, arg1 interface{}) *gomock.Call
GetHeader indicates an expected call of GetHeader
func (*MockRelayServiceMockRecorder) GetPayload ¶
func (mr *MockRelayServiceMockRecorder) GetPayload(arg0, arg1 interface{}) *gomock.Call
GetPayload indicates an expected call of GetPayload
func (*MockRelayServiceMockRecorder) GetPayloadDelivered ¶ added in v0.1.5
func (mr *MockRelayServiceMockRecorder) GetPayloadDelivered(arg0, arg1 interface{}) *gomock.Call
GetPayloadDelivered indicates an expected call of GetPayloadDelivered
func (*MockRelayServiceMockRecorder) GetValidators ¶
func (mr *MockRelayServiceMockRecorder) GetValidators() *gomock.Call
GetValidators indicates an expected call of GetValidators
func (*MockRelayServiceMockRecorder) RegisterValidator ¶
func (mr *MockRelayServiceMockRecorder) RegisterValidator(arg0, arg1 interface{}) *gomock.Call
RegisterValidator indicates an expected call of RegisterValidator
func (*MockRelayServiceMockRecorder) Registration ¶
func (mr *MockRelayServiceMockRecorder) Registration(arg0, arg1 interface{}) *gomock.Call
Registration indicates an expected call of Registration
func (*MockRelayServiceMockRecorder) SubmitBlock ¶
func (mr *MockRelayServiceMockRecorder) SubmitBlock(arg0, arg1 interface{}) *gomock.Call
SubmitBlock indicates an expected call of SubmitBlock
type MockState ¶
type MockState struct {
// contains filtered or unexported fields
}
MockState is a mock of State interface
func NewMockState ¶
func NewMockState(ctrl *gomock.Controller) *MockState
NewMockState creates a new mock instance
func (*MockState) EXPECT ¶
func (m *MockState) EXPECT() *MockStateMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockStateMockRecorder ¶
type MockStateMockRecorder struct {
// contains filtered or unexported fields
}
MockStateMockRecorder is the mock recorder for MockState
func (*MockStateMockRecorder) Beacon ¶
func (mr *MockStateMockRecorder) Beacon() *gomock.Call
Beacon indicates an expected call of Beacon
func (*MockStateMockRecorder) Datastore ¶
func (mr *MockStateMockRecorder) Datastore() *gomock.Call
Datastore indicates an expected call of Datastore
type MockTTLStorage ¶
type MockTTLStorage struct {
// contains filtered or unexported fields
}
MockTTLStorage is a mock of TTLStorage interface
func NewMockTTLStorage ¶
func NewMockTTLStorage(ctrl *gomock.Controller) *MockTTLStorage
NewMockTTLStorage creates a new mock instance
func (*MockTTLStorage) EXPECT ¶
func (m *MockTTLStorage) EXPECT() *MockTTLStorageMockRecorder
EXPECT returns an object that allows the caller to indicate expected use
type MockTTLStorageMockRecorder ¶
type MockTTLStorageMockRecorder struct {
// contains filtered or unexported fields
}
MockTTLStorageMockRecorder is the mock recorder for MockTTLStorage
func (*MockTTLStorageMockRecorder) Close ¶
func (mr *MockTTLStorageMockRecorder) Close() *gomock.Call
Close indicates an expected call of Close
func (*MockTTLStorageMockRecorder) Get ¶
func (mr *MockTTLStorageMockRecorder) Get(arg0, arg1 interface{}) *gomock.Call
Get indicates an expected call of Get
func (*MockTTLStorageMockRecorder) GetBatch ¶
func (mr *MockTTLStorageMockRecorder) GetBatch(ctx, keys interface{}) *gomock.Call
GetBatch indicates an expected call of GetBatch
func (*MockTTLStorageMockRecorder) PutWithTTL ¶
func (mr *MockTTLStorageMockRecorder) PutWithTTL(arg0, arg1, arg2, arg3 interface{}) *gomock.Call
PutWithTTL indicates an expected call of PutWithTTL