graphprotocol / graphprotocol/graph-node

[Bug] graphman rewind can move the block pointer forward

Open
#5,226 2 comments 0 reactions 1 assignee View on GitHub

@YashBit is already working on this.

Since Aug 5, 2024.

area/graphman bug good first issue ops
Dominant language
Rust
Stars
3.2k
Forks
1.1k
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Running graphman rewind to a block N which is further than the current subgraph head number will run without raising errors and will move the head forward to block N. Even without the --force flag. The command should instead raise an error.

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.