Self stake displayed wrongly
Closed this issue · 4 comments
kukabi commented
From a Kusama Telegram bot user:
Bot doesn't seem to get proper self stake after unbound... Strange is that it showed properly the self stake amount after unbound request, but then after first payout it got wrong
kukabi commented
I'm assuming the steps to reproduce are:
- Add validator.
- Make sure the self stake is displayed correctly.
- Unbond (partial?) funds.
- Wait for a payout.
- Self stake should be displayed wrongly after the payout.
kukabi commented
After having a chat with sniffski, the root cause is that the unbound in progress is not taken into account by the validator list updater. Fix: take into account any unbound in progress.
kukabi commented
Fix: use bonded amount instead of the validator's self stake in the list of its active stakes.
kukabi commented
Fixed with 0.10.1
.