Repository navigation
docs: acknowledge heartbeat proves chain liveness not voucher state in ADR 007 - #111
Conversation
…n ADR 007 Heartbeats only include the latest ChannelCloseInitiated block number, so a watchtower that lost its voucher database would still submit valid heartbeats but be unable to dispute a stale close. Add explicit limitation note cross-referencing the mitigations (liveness testing, voucher resync). Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>
There was a problem hiding this comment.
Code Review
This pull request updates the watchtower architecture decision record (ADR) to include a limitation regarding the heartbeat mechanism. It clarifies that heartbeats only attest to chain-monitoring liveness and do not guarantee voucher state integrity, which is handled by other protocols. I have no feedback to provide.
There was a problem hiding this comment.
Pull request overview
This PR updates ADR 007’s Fee Accountability section to explicitly clarify a limitation of the proposed on-chain “heartbeat” mechanism: heartbeats demonstrate chain-monitoring liveness but do not prove the watchtower still has the latest voucher state needed to dispute a stale close.
Changes:
- Adds a Limitation paragraph under the Production heartbeat/escrow model explaining that valid heartbeats don’t attest to voucher state.
- Documents the failure mode where a watchtower that lost its voucher DB can still send heartbeats but can’t dispute.
- Cross-links this gap to the existing mitigations: off-chain liveness testing and voucher resync on reconnection.
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Summary
Test plan
#fee-extraction-without-service,#voucher-state-desynchronisation) resolve correctly in rendered markdown🤖 Generated with Claude Code