Skip to content
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

valset: do not jail validators on first missed vote with "VerifyValidators" enabled #149

Closed
alpe opened this issue Jun 9, 2022 · 0 comments · Fixed by #167
Closed

valset: do not jail validators on first missed vote with "VerifyValidators" enabled #149

alpe opened this issue Jun 9, 2022 · 0 comments · Fixed by #167
Assignees

Comments

@alpe
Copy link

alpe commented Jun 9, 2022

It is very easy to miss a block due to network issues. We should not jail a validator immediately but have a more resilient system.
The SDK uses a sliding window where you need to miss x blocks in a row to get jailed, for example.

Please see SDK slashing module for a working solution that is deterministic and storage efficient

See https://github.com/confio/poe-contracts/blob/v0.10.0/contracts/tgrade-valset/src/contract.rs#L695
See confio/tgrade#162

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants