graph-node icon indicating copy to clipboard operation
graph-node copied to clipboard

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

Open tilacog opened this issue 3 years ago • 2 comments

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.

tilacog avatar Jul 12 '22 19:07 tilacog