Open
Description
IBC-GO
assumes that in the misbehavior message header1
is at a greater height than header2
and enforces this ordering. A misbehavior is considered valid if header1
's timestamp is not greater than header2
s timestamp:
Our misbehavior handling has this condition reversed, header1
is expected to be at a lower height than header2
and it is a misbehavior if header1
s timestamp is greater than header2
's timestamp:
This method of submitting misbehaviors is deprecated and should not be used, but if someone does use it, valid submissions will be blocked. Misbehaviors can still be submitted and acknowledged through the standard update handler, which is recommended.
We can and should still fix this, so that the deprecated path still works as expected.