-
Notifications
You must be signed in to change notification settings - Fork 142
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
Allow closing allocations when maxBlock is set in manifest #1071
Labels
Comments
Reproducing this with local-network:
{
"action": 3,
"component": "AllocationManager",
"error": {
"cause": "POI not available for deployment at current epoch start block.\n currentEpochStartBlock: 1210\n deploymentStatus: [{\"subgraphDeployment\":{\"kind\":\"deployment-id\",\"value\":\"0x07e7cae9b5004024f70ad7d0f473b5b1867a7698fc871b9816e625a210d751fd\"},\"synced\":true,\"health\":\"healthy\",\"fatalError\":null,\"node\":\"default\",\"chains\":[{\"network\":\"hardhat\",\"latestBlock\":{\"number\":\"1000\",\"hash\":\"6a7425df7ae6b0e3cba250a85b1b370e49c05e1b08910732903731b8479af38c\"},\"chainHeadBlock\":{\"number\":\"1211\",\"hash\":\"d7487e29ab1280039235fc9d0faab92863cd85dc475a6660351fa20f44efa3c6\"},\"earliestBlock\":{\"number\":\"0\",\"hash\":\"0x0\"}}]}]",
"code": "IE067",
"explanation": "https://github.com/graphprotocol/indexer/blob/main/docs/errors.md#ie067"
},
"formatted_time": "2025-02-04 15:43:15:223",
"hostname": "c829539864db",
"level": 50,
"level_text": "ERROR",
"msg": "Failed to prepare tx call data",
"name": "IndexerAgent",
"pid": 173,
"protocolNetwork": "eip155:1337",
"time": 1738712595223
} |
In my fix here #1085
I am now able to resolve the PoI from the block automatically. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: