-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
x/staking: A sequence of transactions causes one to delete a non-existent validator #2189
Comments
Update from #2238: In terms of not sending TM a validator (that was not previously bonded) that goes from zero power, to non-zero power, back to zero power, #2238 addresses and fixes that. However, during testing of gaia sim slow (thanks @ValarDragon ), the same failure triggered, but it seems it's for a different reason -- perhaps related to #2241. Summary as follows (based on logs I added): Given validatorA:
So validatorA does not go from zero, to non-zero, back to zero it seems, but something else seems to be happening. Correct me if I'm wrong. |
@alexanderbez Do you have a commit revision and a simulation seed to reproduce that exact event sequence? |
@cwgoes yes. Manually set the seed to:
|
Our previous detection algorithm for this was incorrect. This was fixed in #2188, and as shown there it causes errors. That PR has one such sequence of purely staking events that causes this to happen. #2188. See https://circleci.com/gh/cosmos/cosmos-sdk/25616?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
/cc @cwgoes @rigelrozanski
@zmanian had asked if we could merge into a patch release as gaia v0.24.3
The text was updated successfully, but these errors were encountered: