You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
Caught by #1620 as it breaks the loose token supply invariant.
stakeKeeper.BeginRedelegation
callsstakeKeeper.Delegate
, which subtracts coins from the delegator's account - butstakeKeeper.unbond
never adds coins to the delegator's account; it just creates aDelegation
object. Probably introduced with the unbonding period changes; not sure what the easiest way to change the code structure is (maybe we need a differentDelegate
function for redelegation), but this definitely isn't the desired behavior.The text was updated successfully, but these errors were encountered: