cosmos-sdk: Panic when updating `DefaultPowerReduction`
Is there an existing issue for this?
- I have searched the existing issues
What happened?
ERR CONSENSUS FAILURE!!! err=“failed to apply block; error commit failed for application: error changing validator set: duplicate entry Validator{1E425B3D29A4D3052E4A57F3C942A8FB13961967 PubKeyEd25519{819B2CF5A95750A20DC0EA9AFEE92E7A4895D85FF52BCB21A16C03C6D6798A1D} VP:510000 A:0} in [Validator{1E425B3D29A4D3052E4A57F3C942A8FB13961967 PubKeyEd25519{819B2CF5A95750A20DC0EA9AFEE92E7A4895D85FF52BCB21A16C03C6D6798A1D} VP:510000 A:0}Validator{1E425B3D29A4D3052E4A57F3C942A8FB13961967 PubKeyEd25519{819B2CF5A95750A20DC0EA9AFEE92E7A4895D85FF52BCB21A16C03C6D6798A1D} VP:510000 A:0}]”
Cosmos SDK Version
0.47.5
How to reproduce?
we use decimal 18 before and meet voting power overflow, So we changed the DefaultPowerReduction to fix it. But when i start the chain and delegate to a validator, it meets the above error. This is my commit, are there any question in this change?
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 20 (7 by maintainers)
Thanks for helping on this issue! We have updated power stores through the upgrade handler. A first round of testing suggests that the migration is successful. However, further testing is underway. We will update when we make further progress. Thank you once again for your assistance 😃