Correctly check connection and channel states during handshakes #3393
Labels
A-voyager
Area: Our voyager relayer
C-enhancement
Category: An issue proposing an enhancement or a PR with one.
E-easy
Call for participation: Easy difficulty. Experience needed to fix: Not much. Good first issue.
We do not currently check whether a channel is open or not while processing channel and connection handshakes. This can result in double submitting handshake datagrams, which will error. These states should be asserted in the transaction batch plugin (and perhaps elsewhere?) to ensure that the stored value is the same as the expected value (i.e. on open init, the stored state is
open
, etc)The text was updated successfully, but these errors were encountered: