-
Notifications
You must be signed in to change notification settings - Fork 370
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
Slashing reward recipient receives double rewards from Downtime and DoubleSigning #2943
Comments
lucasege
added
bug
Something isn't working
quick-fix
Things that should be quick fixes- Good for first issues & ramping up
and removed
bug
Something isn't working
labels
Feb 25, 2020
This was referenced Dec 6, 2021
This was referenced Apr 3, 2022
This issue is stale and will be closed in 30 days without activity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Expected Behavior
Slashing reporter should receive
reward
worth of nonvoting lockedgold after a successful slashCurrent Behavior
Slashing reporter will receive
reward * 2
worth of nonvoting lockedgold.Cause:
SlasherUtil
callslockedgold.slash
once on the "bad actor" and once on their group, both calls with the samerecipient
andreward
, meaningrecipient
receivesreward
twice.Proposed solution: easiest solution is to just make it clear that
slashingIncentives.reward
should be 1/2 of the proposed reward, or changesetSlashingIncentives
to setreward
to 1/2 of the provided reward param.The text was updated successfully, but these errors were encountered: