Open cdecker opened 1 week ago
if next_holder_commit_num
is 696, then the current is 695. and of course we can't revoke the current.
so the question is how we arrived at this state.
the question is whether 696 was actually signed by VLS?
logs regarding the signing of holder commitment transactions would be useful here.
I'm not quite sure how this could happen, as it appears that the CLN node made progress while the VLS state did not? That's what I'm reading out of the error reporting that CLN is trying to revoke our current commitment number, right? But we persist the VLS state first, and only then pass it to the node, so how could the latter make progress without the former?
Some users have been reporting an issue with the VLS signer refusing to sign a channel re-establish (likely the commitment secret exchagne) due to the following error:
On the server-side we can see the same in the log lines:
Which then eventually times out the reconnection timeout, we try to pay anyway, but fail because no channels are available.
This does appear to be a new issue, but reminiscent of https://github.com/Blockstream/greenlight/issues/431 which was fixed by v24.02. There appears to be another non-atomic transition in VLS <> CLN that we are not reflecting.