Closed
Description
opened on Jul 11, 2018
Caught by #1620 as it breaks the loose token supply invariant.
stakeKeeper.BeginRedelegation
calls stakeKeeper.Delegate
, which subtracts coins from the delegator's account - but stakeKeeper.unbond
never adds coins to the delegator's account; it just creates a Delegation
object. Probably introduced with the unbonding period changes; not sure what the easiest way to change the code structure is (maybe we need a different Delegate
function for redelegation), but this definitely isn't the desired behavior.
Activity