graphprotocol / graphprotocol/graph-node

Make graph::data::subgraph::Schema::SubgraphError.block_ptr mandatory

Open
#6,332 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug Stale
Dominant language
Rust
Stars
3.2k
Forks
1.1k
Avg merge
4d 1h
Merged PRs (30d)
1

Description

Bug report

With the removal of substreams, there shouldn't be any situations anymore where we do not know at which block an error happened.

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.

Research direction

Search for graph::data::subgraph::Schema::SubgraphError and inspect its constructors and usages. Run the relevant Rust tests or the repository test suite to identify every construction path. Done means block_ptr is required wherever SubgraphError is created and the project still builds and tests pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
blockchain
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.