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

Add events/tags when a validator becomes jailed or slashed #2805

Closed
4 tasks
fedekunze opened this issue Nov 14, 2018 · 3 comments
Closed
4 tasks

Add events/tags when a validator becomes jailed or slashed #2805

fedekunze opened this issue Nov 14, 2018 · 3 comments
Assignees

Comments

@fedekunze
Copy link
Collaborator

Summary

User story:

As a user using a client I'd like to get a notification when a specific validator gets slashed or becomes (un)jailed, so I can decide which staking actions to take right after those events

Problem Definition

Currently you can only query a txs using the action unjail tag, but there's currently no way to get an event when a validator gets slashed or becomes (un)jailed

on stake/keeper/slash.go there're some comments that say:
// TODO Return event(s), blocked on tendermint/tendermint#1803

Proposal

Add the necessary events or tags and make them available for clients


For Admin Use

  • Not duplicate issue
  • Appropriate labels applied
  • Appropriate contributors tagged
  • Contributor assigned/self-assigned
@cwgoes
Copy link
Contributor

cwgoes commented Nov 14, 2018

Ref #2448

@rigelrozanski
Copy link
Contributor

yeah we need a way to query from the tag system - tag querier?

@fedekunze
Copy link
Collaborator Author

closing via #4387

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants