-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
[CCIP-2942] OCR2 plugins merge fixes [CCIP-2942] #14026
Conversation
I see you updated files related to
|
github.com/avast/retry-go/v4 v4.5.1 // indirect | ||
github.com/avast/retry-go/v4 v4.6.0 // indirect |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Whats the reasoning behind this bump
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's bumped in CCIP, Otherwise it will fail the build
core/services/feeds/service.go
Outdated
// UnsafeSetConnectionsManager Only for testing | ||
UnsafeSetConnectionsManager(ConnectionsManager) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Isn't this Unsafe_SetConnectionsManager? (note the underscore)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Chainlink code didn't have it. I re-added it manually. Didn't use the _
because was getting some linting messages locally AFAIR. Does the underscore mean something in this context?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It doesn't change the meaning of the func but just wondering if this'll botch up any future merges from ccip -> chainlink
@@ -378,7 +379,6 @@ func setupNodeCCIP( | |||
fmt.Sprintf("127.0.0.1:%d", port), | |||
} | |||
c.Log.Level = &loglevel | |||
c.Feature.CCIP = &trueRef |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intended?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hmmmm... I think this happened during merging. @mateusz-sekara you changed something with the flag. We still expect it to be set though. right?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This flag is not used anywhere, but we need to deprecate it first and then remove it in the following release. To align it with how it's done in other places, changing the default value to true. This is what we've agreed on with @jmank88
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(we can't remove it immediately because the parser is strict and it needs to be removed first from all the deployments)
1ad9854
to
2715c9b
Compare
f0bef2a
to
05ef7fd
Compare
c932433
to
eea837d
Compare
1cb1836
to
89af212
Compare
ec3de47
to
0465829
Compare
89af212
to
9c61db3
Compare
rename UnsafeSetConnectionsManager to Unsafe_SetConnectionsManager to follow same convention in ccip repo
9c61db3
to
0fbb95c
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Changes seem fine to me. I didn't diff every file against the ccip repo, but the ones I did look pretty much identical.
* Add status checker original commit: smartcontractkit/ccip@451984a * Add CCIP to types.go * Add Unsafe_SetConnectionsManager to feeds service for testing * Add CCIP feature to core.toml * Rebuilding config * Wiring up relayer and ocr2 delegates - this commit touches shared code ! * Adding mockery configuration for ccip specific code * Setting CCIP feature flag to true - it's no longer used anywhere --------- Co-authored-by: Mateusz Sekara <[email protected]>
* Copy over core/services/ocr2/plugins/ccip from ccip repo (#14024) This is first part in merging offchain code from ccip repo (https://github.com/smartcontractkit/ccip) into chainlink Maintaining history across repos for specific direcotires was complicated so we chose to copy the directory right away. ----------------- Co-authored-by: Abdelrahman Soliman (Boda) <[email protected]> Co-authored-by: Agustina Aldasoro <[email protected]> Co-authored-by: Amir Y <[email protected]> Co-authored-by: André Vitor de Lima Matos <[email protected]> Co-authored-by: AnieeG <[email protected]> Co-authored-by: Anindita Ghosh <[email protected]> Co-authored-by: Chunkai Yang <[email protected]> Co-authored-by: Connor Stein <[email protected]> Co-authored-by: Evaldas Latoškinas <[email protected]> Co-authored-by: Jean Arnaud <[email protected]> Co-authored-by: Justin Kaseman <[email protected]> Co-authored-by: Makram <[email protected]> Co-authored-by: Makram Kamaleddine <[email protected]> Co-authored-by: Mateusz Sekara <[email protected]> Co-authored-by: Matt Yang <[email protected]> Co-authored-by: Patrick <[email protected]> Co-authored-by: Rens Rooimans <[email protected]> Co-authored-by: Roman Kashitsyn <[email protected]> Co-authored-by: Roman Kashitsyn <[email protected]> Co-authored-by: Ryan Stout <[email protected]> Co-authored-by: Will Winder <[email protected]> Co-authored-by: connorwstein <[email protected]> Co-authored-by: dimitris <[email protected]> Co-authored-by: dimkouv <[email protected]> Co-authored-by: nogo <[email protected]> Co-authored-by: nogo <[email protected]> Co-authored-by: valerii-kabisov-cll <[email protected]> * [CCIP-2942] OCR2 plugins merge fixes [CCIP-2942] (#14026) * Add status checker original commit: smartcontractkit/ccip@451984a * Add CCIP to types.go * Add Unsafe_SetConnectionsManager to feeds service for testing * Add CCIP feature to core.toml * Rebuilding config * Wiring up relayer and ocr2 delegates - this commit touches shared code ! * Adding mockery configuration for ccip specific code * Setting CCIP feature flag to true - it's no longer used anywhere --------- Co-authored-by: Mateusz Sekara <[email protected]> * VRF-1138: Make CTF tests to reuse existing VRF Wrapper (#13854) * VRF-1138: Make CTF tests to reuse existing VRF Wrapper * VRF-1138: remove old code * VRF-1138: remove comments * VRF-1138: refactoring * VRF-1138: pr comments * VRF-1138: pr comments * VRF-1138: fixing lint issues * VRF-1138: PR comments * changes to support deterministic message hash in the remote target (#13935) * common version update to head of develop (#14030) * Add changeset --------- Co-authored-by: Agustina Aldasoro <[email protected]> Co-authored-by: Amir Y <[email protected]> Co-authored-by: André Vitor de Lima Matos <[email protected]> Co-authored-by: AnieeG <[email protected]> Co-authored-by: Anindita Ghosh <[email protected]> Co-authored-by: Chunkai Yang <[email protected]> Co-authored-by: Connor Stein <[email protected]> Co-authored-by: Evaldas Latoškinas <[email protected]> Co-authored-by: Jean Arnaud <[email protected]> Co-authored-by: Justin Kaseman <[email protected]> Co-authored-by: Makram <[email protected]> Co-authored-by: Mateusz Sekara <[email protected]> Co-authored-by: Matt Yang <[email protected]> Co-authored-by: Patrick <[email protected]> Co-authored-by: Rens Rooimans <[email protected]> Co-authored-by: Roman Kashitsyn <[email protected]> Co-authored-by: Roman Kashitsyn <[email protected]> Co-authored-by: Ryan Stout <[email protected]> Co-authored-by: Will Winder <[email protected]> Co-authored-by: dimitris <[email protected]> Co-authored-by: nogo <[email protected]> Co-authored-by: nogo <[email protected]> Co-authored-by: valerii-kabisov-cll <[email protected]> Co-authored-by: Ilja Pavlovs <[email protected]> Co-authored-by: Matthew Pendrey <[email protected]>
Fix ccip ocr2 plugins fixes. Including missing files, tests and editing shared files. This needs a good review before merging. Should be merged into ccip/ocr2-merge-clean with Squashing commits.