chainlink-solana icon indicating copy to clipboard operation
chainlink-solana copied to clipboard

[BCI-887] Solana HeadTracker Integration

Open yongkangc opened this issue 1 year ago • 1 comments

This PR attempts to integrate the chain specific headtracker on the EVM generalised platform based on the Epic ticket on chain specific headtracker.

This is a POC on how likely the generalised headtracker could be implemented in a chain specific context, will remain as a draft PR for now given all changes that are likely to happen with the Headtracker.

Changes:

  • common folder pkg/common is added to replicate imports on chainlink-relay
  • Config for Headtracker has been changed. The changes for core can be seen here https://github.com/smartcontractkit/chainlink/pull/9572
    • Note that the changes for core has to be implemented and bumped up for the integration of addition of config values.
  • Added Solana head
  • Added poller client for head

Note:

  • Core imports needs to be replaced with a relay import. This is because of the time constraint for the POC project, therefore I made the choice to directly import the necessary components from core. into the Solana repo instead of relying on chain-relay imports.
    • Currently this is the PR for relay imports: https://github.com/smartcontractkit/chainlink-relay/pull/123

References:

yongkangc avatar Jun 09 '23 21:06 yongkangc

Integration completed, All tests passing

image

cc @aalu1418 @prashantkumar1982

yongkangc avatar Jul 12 '23 22:07 yongkangc