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

Slashing in the provider chain for consumer chain infractions #1222

Closed
Tracked by #732
insumity opened this issue Aug 21, 2023 · 0 comments · Fixed by #1252
Closed
Tracked by #732

Slashing in the provider chain for consumer chain infractions #1222

insumity opened this issue Aug 21, 2023 · 0 comments · Fixed by #1252
Assignees

Comments

@insumity
Copy link
Contributor

Problem

We would like to be able to slash in the provider chain if there's a double-sign infraction in the consumer chain. Currently, this is not possible and that's what led to proposal 818.
However, it is extremely challenging to slash in the producer chain due to a consumer chain infraction because:

  • We might have the infraction height in the consumer chain but we need the corresponding producer chain height in order to perform the slashing. The correspondence between consumer- to producer-chain heights stems from the consumer chain. Therefore, if we assume that the consumer-chain binary could be buggy, or even worse malicious, we cannot trust the correspondence between consumer- to producer-chain heights.
  • We cannot slash delegators if their voting power did not contribute to the infraction. For example, if a delegator D starts unbonding at height 100 and the infraction occurred at height 101, delegator D should not get slashed.

Closing criteria

The plan is as follows:

  1. Investigate if we can have some type of dummy correspondence (e.g., perform slashing in the producer chain when we receive the evidence). Can we do this without unfairly slashing delegators?
  2. We have some ideas on how we can utilize light-client headers to verify that a VSCPacket was indeed applied on the consumer chain. We would like to investigate and write an ADR on using those headers in order to be able to increase our confidence in a consumer- to producer-chain height correspondence.
@insumity insumity self-assigned this Aug 21, 2023
@insumity insumity changed the title Slashing i the provider chain for consumer chain infractions Slashing in the provider chain for consumer chain infractions Aug 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging a pull request may close this issue.

1 participant