Skip to content

Consolidate capabilities registry code into pkg/capabilities/registry - #2378

Draft
cedric-cordenier wants to merge 2 commits into
mainfrom
cap-reg
Draft

Consolidate capabilities registry code into pkg/capabilities/registry#2378
cedric-cordenier wants to merge 2 commits into
mainfrom
cap-reg

Conversation

@cedric-cordenier

Copy link
Copy Markdown
Contributor

Requires

Supports

@github-actions

github-actions Bot commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

⚠️ API Diff Results - github.com/smartcontractkit/chainlink-common

⚠️ Breaking Changes (14)

pkg/capabilities/consensus/ocr3 (1)
  • NewContractTransmitter — Type changed:
func(
  github.com/smartcontractkit/chainlink-common/pkg/logger.Logger, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.CapabilitiesRegistry, 
  string
)
*ContractTransmitter
pkg/capabilities/consensus/ocr3.(*Capability) (1)
  • NewReportingPluginFactory — Type changed:
func(
  context.Context, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ReportingPluginServiceConfig, 
  github.com/smartcontractkit/chainlink-common/pkg/types.PluginProvider, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.PipelineRunnerService, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.TelemetryClient, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ErrorLog, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.CapabilitiesRegistry, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.KeyValueStore, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.RelayerSet
)
(github.com/smartcontractkit/chainlink-common/pkg/types/core.OCR3ReportingPluginFactory, error)
pkg/capabilities/registry (1)
  • NewBaseRegistry — Type changed:
func(
  github.com/smartcontractkit/chainlink-common/pkg/logger.Logger
)
- github.com/smartcontractkit/chainlink-common/pkg/types/core.CapabilitiesRegistryBase
+ CapabilitiesRegistryBase
pkg/loop (1)
  • NewRelayerService — Type changed:
func(
  github.com/smartcontractkit/chainlink-common/pkg/logger.Logger, 
  GRPCOpts, 
  func() *os/exec.Cmd, 
  string, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.Keystore, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.Keystore, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.CapabilitiesRegistry
)
*RelayerService
pkg/loop/reportingplugins/ocr3 (1)
  • NewLOOPPService — Type changed:
func(
  github.com/smartcontractkit/chainlink-common/pkg/logger.Logger, 
  github.com/smartcontractkit/chainlink-common/pkg/loop.GRPCOpts, 
  func() *os/exec.Cmd, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ReportingPluginServiceConfig, 
  google.golang.org/grpc.ClientConnInterface, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.PipelineRunnerService, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.TelemetryService, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ErrorLog, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.CapabilitiesRegistry, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.KeyValueStore, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.RelayerSet
)
*LOOPPService
pkg/types/core (3)
  • CapabilitiesRegistry — Type changed:
  - CapabilitiesRegistry
  + github.com/smartcontractkit/chainlink-common/pkg/capabilities/registry.CapabilitiesRegistry
)
  • CapabilitiesRegistryBase — Type changed:
  - CapabilitiesRegistryBase
  + github.com/smartcontractkit/chainlink-common/pkg/capabilities/registry.CapabilitiesRegistryBase
)
  • CapabilitiesRegistryMetadata — Type changed:
  - CapabilitiesRegistryMetadata
  + github.com/smartcontractkit/chainlink-common/pkg/capabilities/registry.CapabilitiesRegistryMetadata
)
pkg/types/core.OCR3ReportingPluginClient (1)
  • NewReportingPluginFactory — Type changed:
func(
  context.Context, 
  ReportingPluginServiceConfig, 
  google.golang.org/grpc.ClientConnInterface, 
  PipelineRunnerService, 
  TelemetryService, 
  ErrorLog, 
  CapabilitiesRegistry, 
  KeyValueStore, 
  RelayerSet
)
(OCR3ReportingPluginFactory, error)
pkg/types/core.OCR3ReportingPluginServer[T github.com/smartcontractkit/chainlink-common/pkg/types.PluginProvider] (1)
  • NewReportingPluginFactory — Type changed:
func(
  context.Context, 
  ReportingPluginServiceConfig, 
  T, 
  PipelineRunnerService, 
  TelemetryClient, 
  ErrorLog, 
  CapabilitiesRegistry, 
  KeyValueStore, 
  RelayerSet
)
(OCR3ReportingPluginFactory, error)
pkg/types/core.OCR3ReportingPluginServer[T] (2)
  • NewReportingPluginFactory — Type changed:
func(
  context.Context, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ReportingPluginServiceConfig, 
  T, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.PipelineRunnerService, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.TelemetryClient, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ErrorLog, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.CapabilitiesRegistry, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.KeyValueStore, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.RelayerSet
)
(github.com/smartcontractkit/chainlink-common/pkg/types/core.OCR3ReportingPluginFactory, error)
  • NewReportingPluginFactory — Type changed:
func(
  context.Context, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ReportingPluginServiceConfig, 
  T, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.PipelineRunnerService, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.TelemetryClient, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ErrorLog, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.CapabilitiesRegistry, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.KeyValueStore, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.RelayerSet
)
(github.com/smartcontractkit/chainlink-common/pkg/types/core.OCR3ReportingPluginFactory, error)
pkg/types/core.OCR3ReportingPluginServer[github.com/smartcontractkit/chainlink-common/pkg/types.PluginProvider] (1)
  • NewReportingPluginFactory — Type changed:
func(
  context.Context, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ReportingPluginServiceConfig, 
  github.com/smartcontractkit/chainlink-common/pkg/types.PluginProvider, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.PipelineRunnerService, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.TelemetryClient, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.ErrorLog, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.CapabilitiesRegistry, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.KeyValueStore, 
  github.com/smartcontractkit/chainlink-common/pkg/types/core.RelayerSet
)
(github.com/smartcontractkit/chainlink-common/pkg/types/core.OCR3ReportingPluginFactory, error)
pkg/types/core.StandardCapabilitiesDependencies (1)
  • CapabilityRegistry — Type changed:
  - CapabilitiesRegistry
  + github.com/smartcontractkit/chainlink-common/pkg/capabilities/registry.CapabilitiesRegistry
)

✅ Compatible Changes (14)

pkg/capabilities/registry (14)
  • CapabilitiesRegistry — ➕ Added

  • CapabilitiesRegistryBase — ➕ Added

  • CapabilitiesRegistryMetadata — ➕ Added

  • Capability — ➕ Added

  • CapabilityConfiguration — ➕ Added

  • DeepCopyLocalRegistry — ➕ Added

  • DON — ➕ Added

  • DonID — ➕ Added

  • MetadataRegistry — ➕ Added

  • NewMetadataRegistry — ➕ Added

  • NewRegistry — ➕ Added

  • NodeInfo — ➕ Added

  • Registry — ➕ Added

  • TestMetadataRegistry — ➕ Added


📄 View full apidiff report

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant