-
Notifications
You must be signed in to change notification settings - Fork 951
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
PoS: fix tendermint inactive validator set update - 0.14.0 #1146
Conversation
16e1f10
to
ec8882c
Compare
rewound by 1 commit; the wip tests are available at tomas/validator-set-update-tests |
pls update wasm |
) | ||
.unwrap(); | ||
|
||
update_validator_deltas(s, ¶ms, addr, stake.change(), epoch) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is it useful at all (for consistency) to update total deltas too? Maybe not necessary for the test.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it's needed for the validator_set_update_tendermint
checks as it relies on the data to determine the updates
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
pls spawn devnet [anoma-devnet-draft,3,heliaxdev@1be9883,ON] |
Devnet with chain id |
* tomas/tm-validator-set-update: test/PoS: add one more test case for TM validator set update changelog: add #1146 wasm: update checksums PoS: turn prints into tracing::debug in validator_set_update_tendermint PoS: fix skipping 0 voting power prev. consensus validators in TM update test/PoS: test tendermint validator set updates PoS: fix update_validator_set to update validator's state accordingly pos/types: add PartialEq on ValidatorSetUpdate and ConsensusValidator pos: refactor validator_set_update_tendermint to make easier to test
pls spawn devnet [anoma-devnet-draft,3,heliaxdev@1be9883,ON] |
Devnet with chain id |
forward port of #1144 for 0.14.0