livepeer / livepeer/subgraph

Subgraph returns a null transcoder

Open
#26 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
5
Forks
7
Avg merge
4h 1m
Merged PRs (30d)
6

Description

**Describe the bug (required)**
There's a transcoder in our transcoder list that has null fields for everything.

**Expected behavior (required)**
It shouldn't be there.

**To Reproduce (required)**
1. Go [to our subgraph](https://thegraph.com/explorer/subgraph/graphprotocol/livepeer). This query:
```graphql
{
transcoder(id: "0x0000000000000000000000000000000000000000") {
id
active
status
lastRewardRound
rewardCut
feeShare
pricePerSegment
pendingRewardCut
pendingFeeShare
pendingPricePerSegment
totalStake
}
}
```
Yields this:
```json
{
"data": {
"transcoder": {
"active": null,
"feeShare": null,
"id": "0x0000000000000000000000000000000000000000",
"lastRewardRound": null,
"pendingFeeShare": null,
"pendingPricePerSegment": null,
"pendingRewardCut": null,
"pricePerSegment": null,
"rewardCut": null,
"status": null,
"totalStake": "0"
}
}
}
```

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

Start by running the linked GraphQL query against the Livepeer subgraph and inspect how the transcoder with ID 0x0000000000000000000000000000000000000000 is produced. Trace the relevant subgraph mapping or entity definition, then verify that querying this zero address no longer returns a transcoder with null fields.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
data
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.