-
Notifications
You must be signed in to change notification settings - Fork 135
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
Update misbehaviour handling to work with IBC 7 #1400
Comments
What you describe sounds good to me. The way I see this, is that CheckMisbehaviourAndUpdateState in v4.4.2 consists of the following 2 chunks:
In IBC v7.3.1, the same functionality is provided by CheckForMisbehaviour.
In IBC v7.3.1, the same functionality is provided by VerifyClientMessage when called with a Therefore, we can replace IBC v4's
|
Problem
The current implementation of the cryptographic equivocation feature utilizes an IBC-Go method to validate consumer client Misbehaviour. Specifically, in IBC-Go v4, the CheckMisbehaviourAndUpdateState method confirms that a given
Misbehaviour
satisfies the following three conditions:Throughout the migration from IBC-Go v6 to v7, the
ClientState
interface has undergone some changes, including the split of theCheckMisbehaviourAndUpdateState
into four distinct methods ref. IBC-Go doc.As a result, the upgrade of the cryptographic equivocation feature from IBC-Go v4 to IBC-Go v7 necessitates adaptation to these changes. The adjustment should ensure that the same three conditions mentioned above are enforced for handling
Misbehaviour
s.Closing criteria
Update the
Misbehaviour
handling to perform the same verification that inCheckMisbehaviourAndUpdateState
.Problem details
The text was updated successfully, but these errors were encountered: