Open
Description
A user ran into this error after setting prune: auto
in his manifest:
Failed to deploy to graph node 0.0.0.0:8020/: subgraph deployment error: store error: new row for relation "subgraph_manifest" violates check constraint "subgraph_manifest_history_blocks_check"
He is running graph-node 0.37.0
locally and does not have a min_history_blocks
set in his environment variables. We may want to set this as a high number for a default figure (eg 100,000). Alternatively it might be better to remove the auto
option and require the user state the specific history_blocks desired in the manifest.
graph-node/graph/src/data/subgraph/mod.rs
Line 603 in 776afa1