We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ValidatorSigningInfo.StartHeight
A comment in the proto file says start_height would be set to the height at which the validator was unjailed:
cosmos-sdk/proto/cosmos/slashing/v1beta1/slashing.proto
Lines 19 to 20 in 1c468de
But this is not true. You can see the counter example in the test code:
cosmos-sdk/x/slashing/keeper/keeper_test.go
Lines 263 to 281 in 1c468de
Which means the test expects that the validator would be punished even if another 1000 blocks had not passed since the unjail.
I think at least one of the three parts should be fixed - the comment, the test code or the behavior.
Please correct me if there is anything I have missed.
The text was updated successfully, but these errors were encountered:
StartHeight
AfterValidatorBonded
julienrbrt
Successfully merging a pull request may close this issue.
A comment in the proto file says start_height would be set to the height at which the validator was unjailed:
cosmos-sdk/proto/cosmos/slashing/v1beta1/slashing.proto
Lines 19 to 20 in 1c468de
But this is not true. You can see the counter example in the test code:
cosmos-sdk/x/slashing/keeper/keeper_test.go
Lines 263 to 281 in 1c468de
Which means the test expects that the validator would be punished even if another 1000 blocks had not passed since the unjail.
I think at least one of the three parts should be fixed - the comment, the test code or the behavior.
Please correct me if there is anything I have missed.
The text was updated successfully, but these errors were encountered: