-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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
Allow querying of /staking/validators #4099
Comments
Can we hotfix this by just returning all validators for now? Probably less then 200 am I right? |
I'm not sure @faboweb. We already have this issue in the upcoming release and we're not making a patch release of 0.34.0, so what would be the point? |
When is 0.35 coming? |
It's currently being worked on -- the active sprint/release. I'm not sure we have a set-in-stone date on it yet. Do we @alessio? In any case, check the board: https://app.zenhub.com/workspaces/sdk-sprint-board-5acbc6a3ebb7e24fed9a8499/board?milestones=v0.35.0%232019-04-26&filterLogic=any&repos=51193526 |
@faboweb The team hasn't yet come to an agreement on what release model we should adopt. It's nobody's fault, we just are not in the position to address such issue until we manage to split In other words: no dates quite yet. [1] #4071 (ZenHub is required to be able to see issue's dependencies) |
Ok. To me it sounds more like a bug then a feature request as it breaks expected behaviour. Therefor I would have fixed it asap and put it into a |
hey guys, any update on this? i m still out of the lists on every explorer that uses this. |
@clawmvp yes, I just started work on this right now. Since it's critical for many clients, I suggest that once I complete this, we merge this into If all goes well, expect something this week. |
Great, thank you! |
Great thanks @alexanderbez |
Thanks @alexanderbez !
The gage number |
Summary
Currently
/staking/validators
doesn't have a preference on bond status OR power, it simply returns the topMaxValidators
from the store. So this could mean unbonded or even jailed validators could be included and bonded validators excluded (ref: #4096).Proposal
Allow this query endpoint to take query params -- at the very least
status
. Also, support direct pagination instead of forcing toMaxValidators
.Acceptance Criteria
/staking/validators
status
query param for/staking/validators
For Admin Use
The text was updated successfully, but these errors were encountered: