-
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
Interfaces and skeleton methods for ChainReader EVM POC #10990
Merged
Merged
Conversation
This file contains 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
I see that you haven't updated any CHANGELOG files. Would it make sense to do so? |
reductionista
force-pushed
the
BCF-2612-ChainReader-EVM-POC
branch
11 times, most recently
from
October 23, 2023 15:20
d001287
to
64bf244
Compare
ilija42
reviewed
Oct 24, 2023
reductionista
force-pushed
the
BCF-2612-ChainReader-EVM-POC
branch
2 times, most recently
from
October 25, 2023 03:06
b9f02ca
to
0c1c237
Compare
reductionista
requested review from
a team,
bolekk,
justinkaseman,
KuphJr,
jmank88 and
krehermann
as code owners
October 25, 2023 03:49
reductionista
force-pushed
the
BCF-2612-ChainReader-EVM-POC
branch
2 times, most recently
from
October 27, 2023 00:13
beac2c8
to
e2e0f2d
Compare
jmank88
reviewed
Oct 27, 2023
jmank88
reviewed
Oct 27, 2023
jmank88
reviewed
Oct 27, 2023
jmank88
reviewed
Oct 27, 2023
jmank88
reviewed
Oct 27, 2023
reductionista
force-pushed
the
BCF-2612-ChainReader-EVM-POC
branch
3 times, most recently
from
December 4, 2023 19:48
861d4f0
to
7894dc0
Compare
reductionista
commented
Dec 4, 2023
reductionista
force-pushed
the
BCF-2612-ChainReader-EVM-POC
branch
2 times, most recently
from
December 5, 2023 04:37
9fd2d68
to
ad7a6a1
Compare
… POC - Read ChainReader config in from RelayConfig - Add some initialization and validation relay skeletons - Use medianProviderWrapper instead of passing medianContract separately This avoids us having to modify the signature of NewMedianFactory, which would require further modifications to all non-evm repos and chainlink-relay - Add chain_reader_test.go with some basic relay tests Co-authored-by: Jordan Krage <jmank88@gmail.com> - Add chain reader config validation - Add chain reader config validation tests - Add config for chain reader median contract to cr validation testcases - Add unimplemented Encode(), Decode(), GetMaxEncodingSize(), GetMaxDecodingSize() - Add ChainReader() method to mock provider for plugin test - Rename relaymercury.ChainReader to MercuryChainReader, resolve name collisions - Add tests for errors during ChainReader construction - Propagate InvalidConfig & any other errors back to client We should ignore Unimplemented until node ops have been given ample time to migrate to the new job spec (including a section for ChainReader config) so that we can remove the old product-specific MedianContract component from MedianProvider. All other errors we can immediately start passing back to the client, letting the core node decide how to handle them (eg. displaying an "invalid job spec" message to the UI if the RelayConfig was invalid or the ContractID missing)
reductionista
force-pushed
the
BCF-2612-ChainReader-EVM-POC
branch
from
December 5, 2023 04:38
ad7a6a1
to
1cd875f
Compare
reductionista
force-pushed
the
BCF-2612-ChainReader-EVM-POC
branch
from
December 5, 2023 04:56
8ee2384
to
b6cab63
Compare
…er-EVM-POC # Conflicts: # core/services/ocr2/plugins/ocr2vrf/coordinator/coordinator_test.go
jmank88
reviewed
Dec 5, 2023
ilija42
force-pushed
the
BCF-2612-ChainReader-EVM-POC
branch
from
December 6, 2023 10:41
9362fd4
to
baa2373
Compare
jmank88
approved these changes
Dec 6, 2023
fbac
pushed a commit
that referenced
this pull request
Dec 14, 2023
* Implement skeleton interfaces, structs, & methods for ChainReader EVM POC - Read ChainReader config in from RelayConfig - Add some initialization and validation relay skeletons - Use medianProviderWrapper instead of passing medianContract separately This avoids us having to modify the signature of NewMedianFactory, which would require further modifications to all non-evm repos and chainlink-relay - Add chain_reader_test.go with some basic relay tests Co-authored-by: Jordan Krage <jmank88@gmail.com> - Add chain reader config validation - Add chain reader config validation tests - Add config for chain reader median contract to cr validation testcases - Add unimplemented Encode(), Decode(), GetMaxEncodingSize(), GetMaxDecodingSize() - Add ChainReader() method to mock provider for plugin test - Rename relaymercury.ChainReader to MercuryChainReader, resolve name collisions - Add tests for errors during ChainReader construction - Propagate InvalidConfig & any other errors back to client We should ignore Unimplemented until node ops have been given ample time to migrate to the new job spec (including a section for ChainReader config) so that we can remove the old product-specific MedianContract component from MedianProvider. All other errors we can immediately start passing back to the client, letting the core node decide how to handle them (eg. displaying an "invalid job spec" message to the UI if the RelayConfig was invalid or the ContractID missing) * Update relay versions * Simplify chain reader config validation * Update commit hashes one final time now that all relays are merged. --------- Co-authored-by: ilija <pavlovicilija42@gmail.com>
This was referenced Feb 22, 2024
This was referenced Mar 21, 2024
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 is the first step toward implementing the EVM POC plan described here:
https://www.notion.so/chainlink/Scope-of-Generalized-ChainReader-POC-1957107ecfc44c359edce081ef426d1d
This POC is based on the more general specs described in the ChainReader CLIP:
https://github.com/smartcontractkit/CLIPs/tree/2023-06-31-chain-reader/clips/2023-08-25-chain-reader
Requires:
All 4 of the above PR's must be merged first in order for this one to compile.