graphprotocol / graphprotocol/graph-node
New `graphman` command to rewind all data related to a chain
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.