Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OPCORE-855]: fix: support creating more than 1 manager #14225

Conversation

graham-chainlink
Copy link
Contributor

In order to support connection to multiple feed managers due to an upcoming CCIP v2 requirement, we want to update the logic to allow more than 1 feed managers to be created per node.

The new behaviour is hidden under a feature tag.

JIRA: https://smartcontract-it.atlassian.net/browse/OPCORE-855

Requires Dependencies

Depends on this PR which introduces the new feature tag.

Resolves Dependencies

In order to support connection to multiple feed managers due to an upcoming CCIP v2 requirement, we want to update the logic to allow more than 1 feed managers to be created per node.

The new behaviour is hidden under a feature tag.

JIRA: https://smartcontract-it.atlassian.net/browse/OPCORE-855
@graham-chainlink graham-chainlink requested review from a team as code owners August 26, 2024 05:19
@graham-chainlink graham-chainlink requested review from samsondav and removed request for a team August 26, 2024 05:19
To guarantee the order that is return is the same now that we support multiple feeds managers, we want to order by created_at
type SingleFeedsManagerError implements Error {
message: String!
code: ErrorCode!
}

# CreateFeedsManagerPayload defines the response when creating a feeds manager
union CreateFeedsManagerPayload = CreateFeedsManagerSuccess
| SingleFeedsManagerError
| DuplicateFeedsManagerError
| SingleFeedsManagerError # // TODO: delete once multiple feeds managers support is released
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there a ticket to link for these?

Copy link
Contributor Author

@graham-chainlink graham-chainlink Aug 27, 2024

Choose a reason for hiding this comment

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

Do you mean a ticket to cleanup the SingleFeedsManagerError ?
I have created one just now https://smartcontract-it.atlassian.net/browse/OPCORE-890

@eutopian eutopian merged commit 87b77cf into ggoh/OPCORE-863/multiple-feeds-manager-start Aug 29, 2024
125 of 131 checks passed
@eutopian eutopian deleted the ggoh/OPCORE-855/register-multiple-feeds-manager branch August 29, 2024 00:47
github-merge-queue bot pushed a commit that referenced this pull request Aug 29, 2024
* fix(service): start multiple feeds managers

In order to support connection to multiple feed managers, when on start of the node, we want to  attempt to connect to list of registered feed managers.

* fix: feature flag for multi feeds managers

Introduce a new feature flag for enabling support for multi feeds managers.

* refactor(service): delete ListJobProposals

No longer used, since it was replaced by ListJobProposalsByManagersIDs

* [OPCORE-855]: fix: support creating more than 1 manager (#14225)

---------

Co-authored-by: Margaret Ma <[email protected]>
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