[CRE-491] Extract EVM relay specific config for functions.#21025
Merged
pavel-raykov merged 1 commit intodevelopfrom Feb 4, 2026
Merged
[CRE-491] Extract EVM relay specific config for functions.#21025pavel-raykov merged 1 commit intodevelopfrom
pavel-raykov merged 1 commit intodevelopfrom
Conversation
Contributor
|
I see you updated files related to
|
|
Collaborator
Author
|
.cora |
Contributor
There was a problem hiding this comment.
Pull request overview
This PR extracts EVM relay-specific configuration for functions into a dedicated config package, refactoring the PluginConfig structure to separate relay concerns from plugin-specific concerns.
Changes:
- Created a new
RelayConfigstruct incore/services/relay/evm/functions/config/config.goto hold EVM relay-specific configuration fields - Updated
PluginConfigto embedRelayConfiginstead of duplicating these fields - Renamed references from
pluginConfigtorelayConfigorrelayFunctionsConfigwhere appropriate throughout the codebase
Reviewed changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| core/services/relay/evm/functions/config/config.go | New file defining RelayConfig struct with EVM relay-specific fields |
| core/services/relay/evm/functions/logpoller_wrapper.go | Updated to use RelayConfig instead of PluginConfig and renamed variable references |
| core/services/relay/evm/functions/logpoller_wrapper_test.go | Updated imports and test setup to use new config structure |
| core/services/relay/evm/functions.go | Updated to use new config package and renamed variables for clarity |
| core/services/ocr2/plugins/functions/config/config.go | Refactored to embed RelayConfig instead of duplicating fields |
| core/services/relay/evm/functions/config_poller.go | Removed extraneous blank line |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Atrax1
approved these changes
Feb 4, 2026
jmank88
approved these changes
Feb 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




This extraction is needed to be able to move relay/evm/functions to the chainlink-evm repository.