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

indexer-agent: Warn and wait if subgraph is behind #662

Closed
12 tasks done
fordN opened this issue May 15, 2023 · 2 comments · Fixed by #762
Closed
12 tasks done

indexer-agent: Warn and wait if subgraph is behind #662

fordN opened this issue May 15, 2023 · 2 comments · Fixed by #762
Assignees
Labels
Milestone

Comments

@fordN
Copy link
Contributor

fordN commented May 15, 2023

The data from the network subgraph (and the epoch subgraph) provide vital information for making decisions and sending transactions.
We should add checks to verify that a subgraph is up to the chain head (within a range). If the network subgraph is behind the agent should warn loudly and wait.

Requirements

Success Criteria

@tilacog tilacog self-assigned this May 15, 2023
@tilacog tilacog added the enhancement New feature or request label May 15, 2023
@tilacog tilacog added this to Indexer May 15, 2023
@github-project-automation github-project-automation bot moved this to 🗃️ Inbox in Indexer May 15, 2023
@fordN fordN added the p1 label Aug 11, 2023
@fordN fordN moved this from 🗃️ Inbox to 🏗️ In Progress in Indexer Aug 11, 2023
@fordN fordN moved this from 🏗️ In Progress to 📒 Todo in Indexer Aug 11, 2023
@fordN fordN moved this from 📒 Todo to 🙏 Feature Requests in Indexer Aug 11, 2023
@tilacog tilacog moved this from 🙏 Feature Requests to 🏗️ In Progress in Indexer Sep 1, 2023
@tilacog tilacog self-assigned this Sep 1, 2023
@tilacog tilacog added this to the v0.20.23 milestone Sep 1, 2023
@tilacog tilacog linked a pull request Sep 4, 2023 that will close this issue
@alex-pakalniskis
Copy link
Contributor

@tilacog what are the freshness thresholds going to be for each network?

@tilacog
Copy link
Contributor

tilacog commented Sep 5, 2023

Based on what we observe with the EBO, which has a similar check, 50 blocks for Ethereum and 500 blocks for Arbitrum.

I'm still not sure if those values would be the same for the Agent, but we will obtain an estimate later today when we run it.

@tilacog tilacog moved this from 🏗️ In Progress to 🚩 In Review in Indexer Sep 26, 2023
@github-project-automation github-project-automation bot moved this from 🚩 In Review to ❌ Closed in Indexer Sep 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Closed
Development

Successfully merging a pull request may close this issue.

3 participants