Skip to content

Commit c969374

Browse files
committed
spike wip
1 parent bb881b0 commit c969374

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • pkg/loop/internal/core/services/reportingplugin/ocr3_1

pkg/loop/internal/core/services/reportingplugin/ocr3_1/reporting.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -332,15 +332,15 @@ func newReportingPluginClient(b *net.BrokerExt, cc grpc.ClientConnInterface) *re
332332
}
333333
}
334334

335-
var _ ocr3.ReportingPluginServer = (*reportingPluginServer)(nil)
335+
var _ ocr3_1.ReportingPluginServer = (*reportingPluginServer)(nil)
336336

337337
type reportingPluginServer struct {
338338
ocr3.UnimplementedReportingPluginServer
339339

340-
impl ocr3types.ReportingPlugin[[]byte]
340+
impl ocr3_1types.ReportingPlugin[[]byte]
341341
}
342342

343-
func (o *reportingPluginServer) Query(ctx context.Context, request *ocr3.QueryRequest) (*ocr3.QueryReply, error) {
343+
func (o *reportingPluginServer) Query(ctx context.Context, request *ocr3_1.QueryRequest) (*ocr3_1.QueryReply, error) {
344344
oc := outcomeContext(request.OutcomeContext)
345345
q, err := o.impl.Query(ctx, oc)
346346
if err != nil {
@@ -378,7 +378,7 @@ func (o *reportingPluginServer) ObservationQuorum(ctx context.Context, request *
378378
return &ocr3.ObservationQuorumReply{QuorumReached: oq}, nil
379379
}
380380

381-
func (o *reportingPluginServer) Outcome(ctx context.Context, request *ocr3.OutcomeRequest) (*ocr3.OutcomeReply, error) {
381+
func (o *reportingPluginServer) StateTransition(ctx context.Context, request *ocr3.OutcomeRequest) (*ocr3.OutcomeReply, error) {
382382
aos, err := attributedObservations(request.Ao)
383383
if err != nil {
384384
return nil, err

0 commit comments

Comments
 (0)