Skip to content

[chore] Use registry.CapabilitiesRegistry instead of deprecated core alias - #596

Merged
cedric-cordenier merged 2 commits into
developfrom
use-registry-capabilities-registry
Nov 11, 2026
Merged

cedric-cordenier merged 2 commits into
developfrom
use-registry-capabilities-registry

Conversation

@cedric-cordenier

Copy link
Copy Markdown
Contributor

Switches the remaining uses of the deprecated core.CapabilitiesRegistry alias to registry.CapabilitiesRegistry from chainlink-common/pkg/capabilities/registry. It's a type alias, so this is a no-op, but it unblocks removing the alias in smartcontractkit/chainlink-common#2545.

🤖 Generated with Claude Code

core.CapabilitiesRegistry is a deprecated alias that is being removed from
chainlink-common.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cedric-cordenier
cedric-cordenier requested a review from a team as a code owner November 11, 2026 13:27
Copilot AI balanced review requested due to automatic review settings November 11, 2026 13:27
@github-actions

Copy link
Copy Markdown
Contributor

👋 cedric-cordenier, thanks for creating this pull request!

To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team.

Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks!

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 Changes recommended

Three production declarations still reference the upstream CapabilitiesRegistry alias and will fail to compile when it is removed.

1 open issue
What changed in this PR

Updates two uses of the deprecated core.CapabilitiesRegistry alias to the canonical registry type, preparing for its removal in smartcontractkit/chainlink-common#2545. These substitutions preserve type identity and runtime behavior.

Changes:

  • Uses registry.CapabilitiesRegistry in the plugin’s NewRelayer signature.
  • Uses the same type in the relayer options validation test.
File Description
pkg/​relay/​evm_test.go Migrates the test field to the canonical registry type.
pkg/​cmd/​chainlink-evm/​main.go Migrates the plugin’s registry parameter to the canonical type.

Review effort: Balanced

Comment thread pkg/cmd/chainlink-evm/main.go Resolved
@github-actions

github-actions Bot commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-evm

View full report

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@cedric-cordenier cedric-cordenier changed the title Use registry.CapabilitiesRegistry instead of deprecated core alias [chore] Use registry.CapabilitiesRegistry instead of deprecated core alias Nov 11, 2026
@cedric-cordenier
cedric-cordenier enabled auto-merge (squash) November 11, 2026 16:05
@cedric-cordenier
cedric-cordenier merged commit 0d51f23 into develop Nov 11, 2026
35 checks passed
@cedric-cordenier
cedric-cordenier deleted the use-registry-capabilities-registry branch November 11, 2026 16:21
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.

4 participants