-
Notifications
You must be signed in to change notification settings - Fork 1k
timeout when trying to get net_identifiers at startup #5568
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
Conversation
4b6287b
to
b3030ac
Compare
b3030ac
to
d872893
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
So we don't try to enforce specific genesis block, right? In that case it LGTM.
Yeah unfortunately the erroring part can cause an outage easily so I think the best course is to try to keep running and then if something fails it should happen for the specific chain |
I guess more conservative approach would be to allow failures for the 'sloppy' chains and be strict for the 'good' ones. However not sure if even that is possible given that firehose can't provide it, for instance... At any rate merging this seems very reasonable in order to solve the pressing issue. and it's already strictly better than the original behaviour. |
775d38d
to
9997d48
Compare
@@ -177,6 +177,7 @@ pub async fn provider( | |||
registry, | |||
metrics, | |||
Arc::new(NoopIdentValidator), | |||
false, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't you want it dependant on the config in graphman too? Also above in the manager.rs...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
only for run, the others don't depend on the ProviderManager component
This change prevents the graph-node from failing to start due to broken adapters but if genesis validation is enabled it should eventually update the store