graphprotocol / graphprotocol/graph-node

New `graphman` command to rewind all data related to a chain

Open
#3,728 2 comments 2 reactions 1 assignee View on GitHub

@encalypto is already working on this.

Since May 31, 2024.

  • #5486 by @encalypto — closed without merging
area/graphman enhancement Stale
Dominant language
Rust
Stars
3.2k
Forks
1.1k
Avg merge
4d 1h
Merged PRs (30d)
1

Description

We could create a new graphman chain rewind command to rewind all subgraphs from a given chain, targeting a specific block.

The command could be invoked in a similar fashion as graphman rewind:

graphman chain rewind <chain-name> <block-hash>

Additionally, this command could also clear the block and call cache up to the target block.

Contributor guide

Open the contributing guide

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.