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

Support multiple RPCs #21

Merged
merged 8 commits into from
Feb 3, 2024
Merged

Support multiple RPCs #21

merged 8 commits into from
Feb 3, 2024

Conversation

Szegoo
Copy link
Member

@Szegoo Szegoo commented Jan 22, 2024

With this PR the registration process is changed such that the RPC endpoint is not provided by the user, but instead is stored locally in the chaindata.json. This is necessary since otherwise a user could register a chain and provide an incorrect RPC endpoint(or an endpoint to another chain), resulting in incorrect data.

This PR also introduces a new CLI flag that specifies which RPC endpoint from the chaindata file.

@Szegoo Szegoo marked this pull request as ready for review January 22, 2024 15:42
@Szegoo Szegoo merged commit 5ce0038 into main Feb 3, 2024
4 checks passed
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.

1 participant