Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Correct how we handle rounding errors within the penalty fn
We explicitly no longer slash stakes but we still set the maximum slash to the allocated stake + the rewards. Now, the reward slash is bound to the rewards and the stake slash is bound to the stake. This prevents an improperly rounded reward slash from effecting a stake slash.
- Loading branch information