Skip to content

Prune Auto Issue #5920

Open
Open
@Data-Nexus

Description

@Data-Nexus

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.

Prune::Auto => ENV_VARS.min_history_blocks,

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions