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

separate info API cfg #67

Closed
wants to merge 1 commit into from
Closed

Conversation

cam-schultz
Copy link
Collaborator

Why this should be merged

Currently the P-Chain API URL passed in the config is used for two purposes:

  • To get the canonical validator set for a subnet
  • To establish peers in the app request network via the info API

The latter case requires the info API be enabled on the node. For the public RPC (api.avax.network), the info API is disabled.

How this works

The change separates the Info API URL from the P-Chain API URL, giving each of the above use cases a dedicated URL. They may still be the same node, but we no longer require the info API be enabled on the P-Chain API node.

How this was tested

CI

How is this documented

Modified Configuration section in README

@cam-schultz
Copy link
Collaborator Author

Closing in favor of #68

@cam-schultz cam-schultz deleted the info-api-client-config branch October 24, 2023 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant