Skip to content

[CRE-491] Use moved EVM relay mercury from chainlink-evm#21326

Merged
pavel-raykov merged 7 commits intodevelopfrom
move-mercury
Feb 27, 2026
Merged

[CRE-491] Use moved EVM relay mercury from chainlink-evm#21326
pavel-raykov merged 7 commits intodevelopfrom
move-mercury

Conversation

@pavel-raykov
Copy link
Collaborator

@github-actions
Copy link
Contributor

github-actions bot commented Feb 27, 2026

CORA - Pending Reviewers

All codeowners have approved! ✅

Legend: ✅ Approved | ❌ Changes Requested | 💬 Commented | 🚫 Dismissed | ⏳ Pending | ❓ Unknown

For more details, see the full review summary.

@github-actions
Copy link
Contributor

I see you updated files related to core. Please run make gocs in the root directory to add a changeset as well as in the text include at least one of the following tags:

  • #added For any new functionality added.
  • #breaking_change For any functionality that requires manual action for the node to boot.
  • #bugfix For bug fixes.
  • #changed For any change to the existing functionality.
  • #db_update For any feature that introduces updates to database schema.
  • #deprecation_notice For any upcoming deprecation functionality.
  • #internal For changesets that need to be excluded from the final changelog.
  • #nops For any feature that is NOP facing and needs to be in the official Release Notes for the release.
  • #removed For any functionality/config that is removed.
  • #updated For any functionality that is updated.
  • #wip For any change that is not ready yet and external communication about it should be held off till it is feature complete.

@github-actions
Copy link
Contributor

github-actions bot commented Feb 27, 2026

✅ No conflicts with other open PRs targeting develop

@pavel-raykov pavel-raykov changed the title [CRE-491] Used moved EVM relay mercury from chainlink-evm [CRE-491] Use moved EVM relay mercury from chainlink-evm Feb 27, 2026
@trunk-io
Copy link

trunk-io bot commented Feb 27, 2026

Static BadgeStatic BadgeStatic BadgeStatic Badge

View Full Report ↗︎Docs

@pavel-raykov pavel-raykov marked this pull request as ready for review February 27, 2026 19:15
Copilot AI review requested due to automatic review settings February 27, 2026 19:15
@pavel-raykov pavel-raykov requested review from a team as code owners February 27, 2026 19:15
@pavel-raykov pavel-raykov requested review from jmank88 and removed request for bolekk and nolag February 27, 2026 19:15
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR updates the Chainlink codebase to use the EVM Mercury relay implementation that has been moved into github.com/smartcontractkit/chainlink-evm, aligning with the upstream refactor referenced in the PR description.

Changes:

  • Bump github.com/smartcontractkit/chainlink-evm dependency across modules to a revision containing the moved Mercury relay code.
  • Replace internal imports of core/services/relay/evm/mercury/... components with chainlink-evm/pkg/mercury/... equivalents.
  • Remove in-repo Mercury relay implementation files/tests that are now sourced from chainlink-evm.

Reviewed changes

Copilot reviewed 66 out of 73 changed files in this pull request and generated no comments.

Show a summary per file
File Description
go.mod, go.sum Bumps chainlink-evm dependency to the revision containing the moved Mercury relay.
deployment/go.mod, deployment/go.sum Keeps deployment module aligned with the new chainlink-evm revision.
core/scripts/go.mod, core/scripts/go.sum Keeps scripts module aligned with the new chainlink-evm revision.
integration-tests/go.mod, integration-tests/go.sum Updates integration-tests module dependency on chainlink-evm.
integration-tests/load/go.mod, integration-tests/load/go.sum Updates load-tests module dependency on chainlink-evm.
system-tests/lib/go.mod, system-tests/lib/go.sum Updates system-tests lib module dependency on chainlink-evm.
system-tests/tests/go.mod, system-tests/tests/go.sum Updates system-tests tests module dependency on chainlink-evm.
go.md Updates the generated dependency graph to reflect the new Mercury dependency layout.
core/services/relay/evm/mercury_provider.go Switches Mercury relay/report codec imports to chainlink-evm/pkg/mercury/....
core/services/relay/evm/mercury_config_provider.go Uses chainlink-evm/pkg/mercury for config provider wiring.
core/services/relay/evm/evm.go, core/services/relay/evm/llo_provider.go Updates provider wiring imports to use moved Mercury package.
`core/services/relay/evm/mercury/v2 v3
core/services/ocr2/delegate.go Updates delegate wiring to use chainlink-evm Mercury packages.
core/services/ocr2/plugins/mercury/* Updates Mercury plugin/tests to consume chainlink-evm mercury types/utils and codecs.
core/services/ocrcommon/telemetry.go, core/services/llo/telem/telemetry.go Switches telemetry helpers to use moved Mercury utils.
core/scripts/keystone/src/02_provision_streams_trigger_capability.go Updates keystone provisioning script imports to use moved Mercury package.
core/capabilities/* Updates codecs/tests to import report codecs/types from chainlink-evm.
core/services/relay/evm/mercury/** (many files) Removes in-repo Mercury relay implementation/tests that are now sourced from chainlink-evm.
.mockery.yaml Removes mockery generation config for a deleted Mercury-local interface.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@cl-sonarqube-production
Copy link

Quality Gate failed Quality Gate failed

Failed conditions
13.8% Duplication on New Code (required ≤ 10%)

See analysis details on SonarQube

@pavel-raykov pavel-raykov added this pull request to the merge queue Feb 27, 2026
Merged via the queue into develop with commit 05c9b56 Feb 27, 2026
289 of 296 checks passed
@pavel-raykov pavel-raykov deleted the move-mercury branch February 27, 2026 20:04
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