graphprotocol / graphprotocol/dipper
Default selection ceilings silently drift from indexer-rs upstream
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 0
- Forks
- 1
- Avg merge
- 37m
- Merged PRs (30d)
- 3
Description
INDEXER_RS_MIN_GRT_PER_30_DAYS in bin/dipper-service/src/config.rs mirrors indexer-rs's [dips.min_grt_per_30_days] table, pinned to one commit in the docstring. When upstream changes those values, our const silently goes stale and operators run against ceilings that no longer match what indexers publish — the exact misalignment #619 set out to fix.
Possible remediation: a CI job that fetches the upstream TOML and fails if the values diverge from our const.
Contributor guide
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 with bin/dipper-service/src/config.rs and the INDEXER_RS_MIN_GRT_PER_30_DAYS constant, then inspect the pinned indexer-rs commit and its [dips.min_grt_per_30_days] TOML table. Determine how the proposed CI check should fetch and compare those values; it is done when CI detects upstream divergence and reports the mismatch.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- ci-cd
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 52/100