Open
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: graphprotocol/graph-node#5583