[CRE-491] Delete mercury code moved to chainlink-data-streams.#459
[CRE-491] Delete mercury code moved to chainlink-data-streams.#459pavel-raykov merged 4 commits intodevelopfrom
Conversation
|
There was a problem hiding this comment.
Pull request overview
Removes the legacy Mercury implementation from chainlink-evm now that this code has been moved to chainlink-data-streams (per the linked PRs), and cleans up module dependencies and docs accordingly.
Changes:
- Delete Mercury transmitter/queue/persistence/ORM/config-digest/config-poller/offchain-digester/verifier implementations and their tests.
- Remove Mercury v2/v3/v4 reportcodec + report types previously hosted under
pkg/mercury/.... - Prune
go.mod/go.sum, update mockery config, and adjust the internal dependency diagram (go.md).
Reviewed changes
Copilot reviewed 34 out of 35 changed files in this pull request and generated 1 comment.
Show a summary per file
| File | Description |
|---|---|
| pkg/mercury/verifier/verifier_test.go | Removes legacy Mercury verifier tests. |
| pkg/mercury/verifier/verifier.go | Removes legacy Mercury verifier implementation and signature recovery logic. |
| pkg/mercury/v4/types/types.go | Removes Mercury v4 ABI schema + decode type previously exposed here. |
| pkg/mercury/v4/reportcodec/report_codec_test.go | Removes Mercury v4 report codec tests. |
| pkg/mercury/v4/reportcodec/report_codec.go | Removes Mercury v4 report codec implementation. |
| pkg/mercury/v3/types/types.go | Removes Mercury v3 ABI schema + decode type previously exposed here. |
| pkg/mercury/v3/reportcodec/report_codec_test.go | Removes Mercury v3 report codec tests. |
| pkg/mercury/v3/reportcodec/report_codec.go | Removes Mercury v3 report codec implementation. |
| pkg/mercury/v2/types/types.go | Removes Mercury v2 ABI schema + decode type previously exposed here. |
| pkg/mercury/v2/reportcodec/report_codec_test.go | Removes Mercury v2 report codec tests. |
| pkg/mercury/v2/reportcodec/report_codec.go | Removes Mercury v2 report codec implementation. |
| pkg/mercury/utils/feeds_test.go | Removes tests for legacy Mercury feed ID/version helpers. |
| pkg/mercury/utils/feeds.go | Removes legacy Mercury feed ID/version logic and legacy feed allowlist. |
| pkg/mercury/types/types.go | Removes Mercury-specific interfaces and Prometheus counters. |
| pkg/mercury/transmitter_test.go | Removes Mercury transmitter tests. |
| pkg/mercury/transmitter.go | Removes Mercury transmitter implementation (enqueueing, server loops, metrics). |
| pkg/mercury/test_helpers.go | Removes Mercury test helper for config digest parsing. |
| pkg/mercury/queue_test.go | Removes Mercury transmit queue tests. |
| pkg/mercury/queue.go | Removes Mercury transmit queue implementation and related Prometheus gauge. |
| pkg/mercury/persistence_manager_test.go | Removes persistence manager tests for transmit request lifecycle. |
| pkg/mercury/persistence_manager.go | Removes persistence manager implementation (flush deletes + prune loops). |
| pkg/mercury/orm_test.go | Removes ORM tests for Mercury transmit requests and latest report tracking. |
| pkg/mercury/orm.go | Removes ORM implementation for Mercury transmit requests + latest report storage. |
| pkg/mercury/offchain_config_digester_test.go | Removes tests for Mercury offchain config digesting. |
| pkg/mercury/offchain_config_digester.go | Removes Mercury offchain config digester implementation. |
| pkg/mercury/mocks/async_deleter.go | Removes generated mock for Mercury queue async deleter. |
| pkg/mercury/helpers_test.go | Removes Mercury-heavy integration-style helper/test harness code. |
| pkg/mercury/config_poller_test.go | Removes tests for Mercury config poller. |
| pkg/mercury/config_poller.go | Removes Mercury config poller implementation using logpoller. |
| pkg/mercury/config_digest_test.go | Removes property-based tests for Mercury config digest matching onchain/offchain. |
| pkg/mercury/config_digest.go | Removes Mercury config digest calculation helper. |
| pkg/.mockery.yaml | Removes mockery generation config for deleted Mercury interface(s). |
| go.sum | Prunes sums corresponding to removed Mercury code/dependencies. |
| go.mod | Drops direct requirements that were only used by the removed Mercury implementation. |
| go.md | Updates the org dependency diagram to remove chainlink-data-streams from the graph. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
| chainlink-evm --> chainlink-common/keystore | ||
| chainlink-evm --> chainlink-evm/gethwrappers | ||
| chainlink-evm --> chainlink-framework/capabilities |
Supports: