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

Allow custom endpoint for indexer #3631

Merged
merged 2 commits into from
Jan 14, 2025
Merged

Allow custom endpoint for indexer #3631

merged 2 commits into from
Jan 14, 2025

Conversation

mxiao-cll
Copy link
Contributor

@mxiao-cll mxiao-cll commented Jan 9, 2025

Closes #DF-20965

Description

New Solv PoR have tokens on Solana, the current token-balance EA only support ERC20 tokens, we need to create a new endpoint which needs to be selected by the POR EA

This also means that the logic of converting JLP -> USD -> BTC need to be in token-balance EA

Changes

Add a new param to specify endpoint for indexer

Steps to Test

Quality Assurance

  • If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant infra-k8s configuration file.
  • If a new adapter was made, or an existing one was modified so that its environment variables have changed, update the relevant adapter-secrets configuration file or update the soak testing blacklist.
  • If a new adapter was made, or a new endpoint was added, update the test-payload.json file with relevant requests.
  • The branch naming follows git flow (feature/x, chore/x, release/x, hotfix/x, fix/x) or is created from Jira.
  • This is related to a maximum of one Jira story or GitHub issue.
  • Types are safe (avoid TypeScript/TSLint features like any and disable, instead use more specific types).
  • All code changes have 100% unit and integration test coverage. If testing is not applicable or too difficult to justify doing, the reasoning should be documented explicitly in the PR.

Copy link

changeset-bot bot commented Jan 9, 2025

🦋 Changeset detected

Latest commit: d70d53a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@chainlink/proof-of-reserves-adapter Patch
@chainlink/renvm-address-set-adapter Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@mxiao-cll mxiao-cll merged commit 7338a47 into main Jan 14, 2025
8 checks passed
@mxiao-cll mxiao-cll deleted the por2 branch January 14, 2025 00:29
@github-actions github-actions bot mentioned this pull request Jan 14, 2025
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.

2 participants