Skip to content

refactor: improve validator handling for L1 chains#91

Merged
muhammetselimfe merged 1 commit into
mainfrom
dev
Dec 19, 2025
Merged

refactor: improve validator handling for L1 chains#91
muhammetselimfe merged 1 commit into
mainfrom
dev

Conversation

@muhammetselimfe
Copy link
Copy Markdown
Collaborator

  • Count unique validators by nodeId in /validators/network/total endpoint
  • Filter L1 validators to only include active ones (remainingBalance > 0)
  • Add weight and remainingBalance fields for L1 validators
  • Use weight field from /l1Validators, amountStaked from /validators
  • Remove dead fetchSnowPeerValidators method and unused constants

- Count unique validators by nodeId in /validators/network/total endpoint
- Filter L1 validators to only include active ones (remainingBalance > 0)
- Add weight and remainingBalance fields for L1 validators
- Use weight field from /l1Validators, amountStaked from /validators
- Remove dead fetchSnowPeerValidators method and unused constants

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented Dec 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
backend Ready Ready Preview, Comment Dec 19, 2025 0:21am

@muhammetselimfe muhammetselimfe merged commit b91d508 into main Dec 19, 2025
6 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