-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sort Validators like Tendermint in HistoricalInfo #7676
Comments
Turns out we store 3 ways to move forward:
Thoughts? @cwgoes @colin-axner @fedekunze |
I would prefer 1) |
Prefer (1) or (3). (1) is fine for now, the sort is simple enough. |
I prefer 1), it would make SDK support for non-tendermint consensus easier to do in the future |
Validators are also stored by power on the staking store under |
Yup checking to see if that will match tendermints sorting now. I suspect not since it sorts by power than operator address Wherease tendermint sorts by power than consensus address |
Related to this I was running into issues using |
Currently the order of ValidatorSet in
staking.HistoricalInfo
is not the same as order in tendermint. They should be the same in order to easily verify validatorset equality in IBCThe text was updated successfully, but these errors were encountered: