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

Understanding alert voting conditions #51

Open
cfl0ws opened this issue Jun 29, 2021 · 1 comment
Open

Understanding alert voting conditions #51

cfl0ws opened this issue Jun 29, 2021 · 1 comment

Comments

@cfl0ws
Copy link
Contributor

cfl0ws commented Jun 29, 2021

@PrathyushaLakkireddy how does alert-bot determine whether or not a validator is currently voting?

@PrathyushaLakkireddy
Copy link
Collaborator

By using this endpoint response we know the validtaor status i.e.,(LCDEndpoint/cosmos/staking/v1beta1/validators/valOperatorAddress )

When we query that endpoint, will get the validator details, in that, there will be field with jailed status.
So if that is true then we consider as that validtaor is jailed otherwise voting.

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

No branches or pull requests

2 participants