You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Furthermore, if a packet sent by the consumer CCV module after onChanOpenAck cannot arrive at the provider CCV module before onChanOpenConfirm, then the consumer CCV module should set providerChannel in onChanOpenAck. The only reason providerChannel is set when receiving the first VSCPacket is to make sure the CCV channel endpoint on the provider is also OPEN.
Do we want to disable User TXs on the consumer chain until the CCV channel endpoint on the provider is OPEN? Or is it sufficient to wait for the CCV channel endpoint on the consumer to be OPEN?
Can a packet sent after OpenChanAck be relayed before OpenChanConfirm?
There is not need to keep extra state for the CCV channel, i.e.,
ChannelStatus
.On the provider chain, the CCV channel is set to
INITIALIZING
inonChanOpenTry
; we can useTRYOPEN
from ICS4VALIDATING
inonChanOpenConfirm
; we can useOPEN
from ICS4; plus, the channel is added to thechainToChannel
mapINVALID
is never usedOn the consumer chain, the CCV channel is set to
INITIALIZING
inonChanOpenInit
; we can useINIT
from ICS4VALIDATING
when receiving the firstVSCPacket
(seeonRecvVSCPacket
); at the same time though,providerChannel
is also set, so we can use that insteadINVALID
is never usedThe text was updated successfully, but these errors were encountered: