Closed joesixpack closed 2 years ago
I was stupid and tried it again, clearly it should not be unstaking the pool?
I also having the same problem. After run this contract and it's withdraw all my staking as well as validators has been kicked out
Im having same issue, i think there is some bug on the contract. Had change the numerator and denomirator also to low as possible but still gettin unstaking all balance on pool
I had the same. I lost 4 epochs -> unstake all, get rewards, stake all, ping, and finally set active again. The withdrawal should be only the reward and not all the staking available. This is a smartcontract issue.
Yes, as part of the challenge I submitted where exactly the error in code is, on the other side I may be wrong because I don't really know Rust yet. Remember the challenge asks as to report if something goes wrong, so...?
Apparently I have the same issue with validator which was in active set and with brand new validator #114
The same for me It unstaked all.
Use near call pool_id stake_all --accountId account to return stake back.
Appears to be a bug with this contract call. Instead of just distributing the rewards (and it appears to have missed the second wallet also), it seems to unstake the entire validator stake and the validator disappears. Had to restake with fresh tokens above the minimum balance and ping to get it back into proposals.
https://explorer.shardnet.near.org/transactions/Ge6baSvv7JrLmZERqRjec65ybYSUxmrXSzuxMVbt3nsY