Open omni7642 opened 2 years ago
I don't think this is an issue. We cannot update user's bond amount, so it's good to keep staked tokens in old staking contract. This will allow users to unbond their staked tokens and bond to new staking tokens to get reward.
below migration function issue The migrate function transfers the reward tokens to the new staking contract. But it doesn't transfer the staked tokens to the new contract. I think it's the problem. After migration, new staking contract can't unbond the staked tokens back to the users. The users still have to unbond from the old contract. So migration can't reach its purpose. I think, in migration there should be another transfer of staked tokens. I hope to know that I was wrong. So please let me know if I misunderstood. `
`