Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement isActive validators filter #163

Merged
merged 9 commits into from
Jul 3, 2024
Merged

Conversation

pshenmic
Copy link
Owner

@pshenmic pshenmic commented Jun 26, 2024

Issue

For validators page we need a filter which will filter out active / inactive validators list

Things done

  • Added isActive query param to the /validators route
  • ValidatorsController now queries active validators from the network before retrieving rows from the database (and optionally filter active ones)
  • Added group of tests for each condition (no filter, active, inactive)

@pshenmic pshenmic added the backend Related to backend (API) label Jun 26, 2024
@pshenmic pshenmic self-assigned this Jun 26, 2024
Copy link

vercel bot commented Jun 26, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
platform-explorer-zham ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jul 3, 2024 7:47pm

@owl352 owl352 merged commit e6e2bf2 into master Jul 3, 2024
8 checks passed
@owl352 owl352 deleted the feat/validators-is-active branch July 3, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backend Related to backend (API)
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants