graphprotocol / graphprotocol/indexer

Allow closing allocations when maxBlock is set in manifest

Open
#1,071 3 comments 0 reactions 1 assignee View on GitHub

@dwerner is already working on this.

Since Dec 26, 2024.

p1
Dominant language
TypeScript
Stars
262
Forks
148
PR merge metrics
No merged PRs in 30d

Description

Previously, subgraphs continued scanning even when all the data sources had passed the end block.
This update finds the maximum end block across the data sources and stops the subgraph from scanning once the max_end_block is reached.

The agent won't be able to close allocations for those subgraphs because they aren't at chainhead.

related: https://github.com/graphprotocol/graph-node/pull/5583

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.