-
Notifications
You must be signed in to change notification settings - Fork 20
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 failure reason in allocation_eligible.rs #425
Comments
@gusinacio So basically, we should be checking,
|
Subgraphs should be treated as potential failures in the system. Most of the system relies on fresh data but sometimes data that is not so fresh still works. What I want is to have a way for consumers of watchers to know:
Also, subgraphs clients should return if the response return is delayed or not synced. With this, in case a given function that relies on subgraph/watcher data returns an error, it can add information of the possible cause (failure of subgraph or delayed). This might be two different issues or split in 2 PRs. Now that I thought about it, it's not that trivial to implement this. Just removed the good-first-issue tag. |
@gusinacio Another question. |
We know the latest response, we could add some information to check the Another option is check the block timestamp against our local clock and verify if it's too old (more than 1 minute). |
Some errors and warns appear more than others. In general, I like the idea of having the reason why something is failing within the error message. Also, maybe some reason on how to fix them.
This error occurs when the gateway is trying to send receipts for an allocation ID that your indexer doesn't recognize as theirs.
It might be that the network subgraph is delayed, or indexer cannot query it and it's stuck with an older state.
We should be able to know if the subgraph is in an older state and let the user know that this might be the reason why it's failing.
The text was updated successfully, but these errors were encountered: