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

Interfaces and skeleton methods for ChainReader EVM POC #10990

Merged
merged 7 commits into from
Dec 6, 2023

Commits on Dec 5, 2023

  1. 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 <[email protected]>
    
    - 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 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    1cd875f View commit details
    Browse the repository at this point in the history
  2. Update relay versions

    reductionista committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    b6cab63 View commit details
    Browse the repository at this point in the history
  3. Merge remote-tracking branch 'origin/develop' into BCF-2612-ChainRead…

    …er-EVM-POC
    
    # Conflicts:
    #	core/services/ocr2/plugins/ocr2vrf/coordinator/coordinator_test.go
    ilija42 committed Dec 5, 2023
    Configuration menu
    Copy the full SHA
    25c0f26 View commit details
    Browse the repository at this point in the history

Commits on Dec 6, 2023

  1. Configuration menu
    Copy the full SHA
    baa2373 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    bd35aaa View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    aacc6b2 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    ea694b3 View commit details
    Browse the repository at this point in the history