Writing quint tests, we realised that restoreChannel function should include in input the upgradeSequence parameter and update the channel.UpgradeSequence accordingly. This change aligns specs and implementation, since in the implementation we have a restoreChannel function with this additional parameter.
This way we can pass:
channel.UpgradeSequence to the restoreChannel in chanUpgradeAck, chanUpgradeConfirm and timeoutChannelUpgrade.
errorReceipt.Sequence to the restoreChannel in cancelChannelUpgrade, ensuring that we can start
a new handshake on a fresh sequence.
Writing quint tests, we realised that
restoreChannel
function should include in input theupgradeSequence
parameter and update thechannel.UpgradeSequence
accordingly. This change aligns specs and implementation, since in the implementation we have arestoreChannel
function with this additional parameter.This way we can pass:
channel.UpgradeSequence
to therestoreChannel
inchanUpgradeAck
,chanUpgradeConfirm
andtimeoutChannelUpgrade
.errorReceipt.Sequence
to therestoreChannel
incancelChannelUpgrade
, ensuring that we can start a new handshake on a fresh sequence.