Skip to content

Add validator weight consensus section - #1369

Merged
LandynDev merged 1 commit into
feature/repo-registrationfrom
feat/validator-baskets-section
Jul 28, 2026
Merged

Add validator weight consensus section#1369
LandynDev merged 1 commit into
feature/repo-registrationfrom
feat/validator-baskets-section

Conversation

@LandynDev

Copy link
Copy Markdown
Collaborator

Summary

Adds a subtle, linkable Validator Weight Consensus section to the Repositories page showing stake-weighted repo basket shares from validator weight submissions. Consumes the new das-gittensor GET /repos/validator-baskets endpoint (companion PR in das-gittensor).

Changes

  • ReposApi.ts: add useValidatorBaskets hook and ValidatorBasket/ValidatorBasketsResponse types
  • RepositoriesPage.tsx: compact card (anchor #validator-baskets) below the main table with sorted aggregate shares, snapshot block / voter count / gate status caption, and per-validator baskets behind a collapse
  • Section hidden entirely when snapshotBlock is null

@LandynDev
LandynDev changed the base branch from test to feature/repo-registration July 28, 2026 03:37
@LandynDev
LandynDev merged commit ed87764 into feature/repo-registration Jul 28, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant