graphprotocol / graphprotocol/graph-network-subgraph
Open question about calculating total values for the Subgraph Entity
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 82
- Forks
- 47
- PR merge metrics
- No merged PRs in 30d
Description
Values such as:
- totalIndexingRewards
- totalQueryFeesCollected
- totalStake
- totalSignal
Are ignored in the subgraph for now. Since 2 subgraphs can point to the same existing subgraph deployment.
It is doable, it just involves a lot of work, so it should be done specifically as a task in the near future
Contributor guide
No contributing guide indexed for this repository
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.
Research direction
Start by locating the Subgraph Entity and the handling of totalIndexingRewards, totalQueryFeesCollected, totalStake, and totalSignal. Determine how totals should behave when two subgraphs point to the same deployment; done means these values are calculated consistently rather than ignored.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- data
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100