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

invalidate indexer block claims #686

Open
Theodus opened this issue Apr 17, 2024 · 0 comments
Open

invalidate indexer block claims #686

Theodus opened this issue Apr 17, 2024 · 0 comments

Comments

@Theodus
Copy link
Member

Theodus commented Apr 17, 2024

The gateway's view of a chain is constructed from claims about block { number timestamp hash } claims in the responses of indexers. For simplicity, imagine only 1 indexer serving subgraphs for some chain and imagine the following scenario:

  1. indexer responds to some query, including a claim for block info number & hash
  2. a following query is sent to the same indexer, using block constraints set to hash
  3. the indexer responds with a MissingBlock error for hash

In this situation, the indexer's feedback should overwrite/invalidate its claim for the block it previously provided info for.

@Theodus Theodus self-assigned this Apr 17, 2024
@Theodus Theodus mentioned this issue Apr 29, 2024
@Theodus Theodus removed their assignment Jul 29, 2024
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

No branches or pull requests

1 participant