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

Add extra peer endpoints to aggregator #519

Open
wants to merge 4 commits into
base: main
Choose a base branch
from

Conversation

felipemadero
Copy link
Contributor

Why this should be merged

Certain devnet endpoints does not correctly return all external nodes connected to the devnet validators.
As is currently the case with etna. The PR enables passing to the aggregator nodes that are not included
in canonical info.peers from the devnet endpoint.

How this works

It enables passing to the aggregator a list of endpoints from which to generate extra peers.

How this was tested

CLI branch that connects a local node to etna and needs the aggregator to include it in the aggregation

How is this documented

@iansuvak
Copy link
Contributor

Should we convert this to a draft for now? I think that this is okay to use for testing in this instance but shouldn't canonical info reliably return the way to connect to validators in the long term?

@felipemadero
Copy link
Contributor Author

Should we convert this to a draft for now? I think that this is okay to use for testing in this instance but shouldn't canonical info reliably return the way to connect to validators in the long term?

connecting an instance to a devnet is very much needed, not for testing on an instance, but to support
acp77 blockchain generation flow. That depends on how for example etna endpoint manages the info.peers api call.

Anyway I believe it is good idea to have this as an option.

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