graphprotocol / graphprotocol/dipper

Default selection ceilings silently drift from indexer-rs upstream

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

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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.