-
Notifications
You must be signed in to change notification settings - Fork 870
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
bug(vesting): clawback only unvested coins #317
Conversation
…ns is not allowed and allow clawback to only transfer unvested tokens
Codecov Report
@@ Coverage Diff @@
## main #317 +/- ##
==========================================
+ Coverage 65.04% 65.53% +0.49%
==========================================
Files 93 93
Lines 6191 6137 -54
==========================================
- Hits 4027 4022 -5
+ Misses 2007 1963 -44
+ Partials 157 152 -5
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ACK, pending changelog entry
Description
This PR adds integration tests for clawback, remove unnecessary staking logic during clawback (as staking unvested tokens is not allowed ) and refactors the clawback to only allow clawback of unvested tokens.