-
Notifications
You must be signed in to change notification settings - Fork 122
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
Divergence spec and impl: slashing after tombstoning. #220
Comments
Yes, that's the expected behavior. |
Reopened :) |
I'm not sure actually that we want this. Should a validator that is already slashed and jailed for double-signing be also slashed for downtime on another consumer chain? This would be important as a deterrent for tombstoned validators to not stop validating on the consumer chains (especially during channel initialization). @okwme What do you think? |
For the record to proceed with testing I will take the code as correct, until we have an update from product side. |
once a validator is tombstoned on the hub it is just a matter of time until the validator is removed from all consumer chains right? |
How it currently works in the implementation: Downtime:
Double Sign:
|
Can we close this? |
The spec and the code are still inconsistent. The question is, do we need to mention tombstoning in the spec? |
Hmmm good question. I think we should. If not, we should explicitly mention in the spec that there are divergent details w.r.t slashing module. |
I opened an issue on cosmos/ibc (cosmos/ibc#820). Thus, we can close this. |
The spec has not mention of tombstoning (see here) but the code does use tombstoning
interchain-security/x/ccv/provider/keeper/relay.go
Lines 217 to 240 in 4e40e09
There is a mismatch between the code and the spec.
What is the intended behavior?
@mpoke we said today that after a double sign is received the validator shall be tombstoned. But what if downtime slashing packets are subsequently received? Should they be ignored, as they are in the code?
interchain-security/x/ccv/provider/keeper/relay.go
Lines 217 to 219 in 4e40e09
or not?
The text was updated successfully, but these errors were encountered: