Skip to content

ADR 007 scope: decompose watchtower role; reconsider what genuinely needs a dedicated subscription service #420

Closed

Description

@alpergundogdu

Question

ADR 007 currently bundles three originally-distinct problems into a single "watchtower" role:

  1. Stale-close liveness — node-offline-during-dispute-window protection (§1, the original watchtower problem from ADR 003)
  2. Wash-trading detection — heuristic flags on operator self-routing for ADR 026 gauge-boost (§1a)
  3. Receipt validator — EIP-712 signature verification + distinct-client tracking + quorum attestation for ADR 027 (§1b–c)

These have very different answers to "do we genuinely need a dedicated, fee-paying subscription role to solve this?". Worth pulling apart, both for the value-prop narrative and possibly for ADR scope.

Per-problem analysis

1. Stale close. Already covered for online nodes by the local in-process dispute monitor (Option C from ADR 003) + the 48h dispute window + L2 forced-inclusion deadline extension. The watchtower's marginal value is the node-offline-for-the-full-48h case. For serious operators with redundant hosting that residual risk is small; the long-tail / hobbyist case can plausibly be punted to "use a hosted node" or "buy WaaS from a peer" rather than promoted to a first-class protocol role.

2. Wash-trading. Already an explicitly heuristic, defense-in-depth layer (§1a says detection "is heuristic"). The load-bearing defenses are per-settlement gas, FeeRouter skim, and ADR 027 receipts — all functional without watchtowers. Watchtower flagging only catches the lazy single-funder periodic-pattern attacker before the cryptographic layer has to.

3. Receipt validation. This is the only one that genuinely needs a third party with no economic interest in the operator's gauge payout. But the §1c bonded-challenge mechanism on SlashJudge is already permissionless — anyone can post the bond and challenge a fraudulent receipt batch. So what's strictly required is a public attestation surface + the existing bond mechanism, not a dedicated subscription role.

Possible outcomes

Listing the design space — not advocating any specific one:

  • Keep ADR 007 as-is. Status quo; simpler external narrative ("watchtowers are a thing, like Lightning has").
  • Split ADR 007 into three sub-mechanisms (stale-close monitor, gauge-pool fraud detection, receipt validator), each individually justified. Same code, clearer scope boundaries.
  • Drop the dedicated watchtower role entirely. Promote the local dispute monitor, document "WaaS as a community service" for the offline case, lean on bonded challenges for receipt fraud. Smaller protocol surface; loses long-tail node coverage and the heuristic-flag layer.
  • Keep the role but reframe as optional. Make it explicit that watchtowers are a layered convenience, not a load-bearing component — PoC and early production function without them, which §8 already implies.

Refs

Why this matters now

Per ADR 007 §8, the PoC does not implement watchtowers — only three forward-compat shims in the contract. So this is a design-coherence and narrative question, not an implementation blocker. But the value-prop work needs a clear answer on whether watchtowers are core or layered, and that answer shapes how aggressively the role is advertised in external materials (website, pitch, docs).

Activity

  1. added
    design:adr
    prio:medium
    on May 6, 2026
  2. thiras commented on May 6, 2026

    @thiras
    Contributor

    Walked through ADR 007 §1/§7/§8, ADR 026 §Risks, ADR 027 §4–§5, ADR 014 §Bond Handling, and the watchtower-economics appendix. Two observations beyond the four options listed, then a lean.

    Two subtler gaps the decomposition surfaces

    1. ADR 007 ↔ ADR 027 disagree on whether positive attestations are required. ADR 007 §1b says receipt-validator output is "a watchtower-signed attestation per receipt batch consumed by [ADR 008] reputation gating," and the §"Receipt validator collusion with operator" attack analysis says gauge eligibility "requires attestations from a quorum of independent watchtowers." But ADR 027 §4–§5 never defines a positive-attestation flow — commitEpochSummary takes claimedDistinctClients at face value and opens a 7-day permissionless challenge window using the existing SlashJudge bond machinery. The two ADRs disagree on whether watchtowers are load-bearing for the happy path or only the challenge path.

    2. Fee model only funds one of the three roles. ADR 007 §5 (max(0.1% × deposit, 0.50 USDC) per 30-day period) and the entire WatchtowerEscrow contract are sized around stale-close subscription. ADR 027 §Consequences/Negative claims "the economic cost is recovered through the watchtower fee model in ADR 007 §5 plus the receipt-fraud-bounty addition — see ADR 007 for the updated fee structure" — but no such updated fee structure exists in ADR 007 §5. Receipt-validator economics are currently hand-waved.

    Both gaps are easier to fix in a split than in the bundled ADR.

    Option tradeoffs

    Option Pros Cons
    Keep as-is Zero churn; familiar "Lightning has them" narrative Leaves §1b ↔ ADR 027 contradiction; receipt-validator economics undefined
    Split into three sub-mechanisms Forces resolution of the authorship gaps above; clarifies that only stale-close needs WatchtowerEscrow; cleanest external story Highest doc lift; three artifacts to maintain
    Drop the role entirely Smallest protocol surface Loses node-offline-for-48h coverage for hobbyist operators; "WaaS as community service" is undesigned; throws out a WatchtowerEscrow design that has had real review
    Reframe as optional convenience layer Matches reality (§8 PoC punts watchtowers; §7 already presents 3-layer stack); low disruption; honest about value-prop weight Doesn't by itself fix the §1b ↔ ADR 027 gap or the unfunded receipt-validator role

    Lean

    Option 4 + the bookkeeping piece of option 2.

    • Keep WatchtowerEscrow and the §1–7 stale-close design, but reframe externally as "non-custodial dispute monitoring as a layered convenience, not a load-bearing component" — which is already what §7 + §8 actually say if you read them straight.
    • Demote §1a wash-trading to "a monitoring add-on any party can run" — drop the subscription framing for it; the load-bearing defenses listed in §1a itself (ADR 027 receipts, ADR 008 reputation, per-settlement gas, FeeRouter skim) are all that's actually doing work.
    • Resolve §1b/§1c by aligning with ADR 027's permissionless-challenge-only model: a watchtower is one possible challenger, the bond mechanism is load-bearing, and §"Receipt validator collusion with operator" gets rewritten in terms of redundant challengers (which the bond economics already handle), not redundant attesters.
    • Either delete the orphan ADR 027 §Negative line claiming watchtowers fund the receipt-validation cost, or actually design that fee in ADR 007 §5. Right now neither ADR resolves it.

    This gives the value-prop work the "layered convenience" narrative it needs, doesn't touch contract code (PoC implements none of this per §8), and forces the ADR 007/027 contradiction to be resolved as a side-effect.

  3. alpergundogdu commented on May 6, 2026

    @alpergundogdu
    ContributorAuthor

    Both observations verified — the §1b ↔ ADR 027 contradiction is real (ADR 007 §1b expects positive attestations gating eligibility; ADR 027 §4 takes claimedDistinctClients at face value with permissionless challenge as the only gate), and the fee-model reference is circular (ADR 027 §Negative → "ADR 007 for the updated fee structure"; ADR 007 §5 has no such structure — only the per-channel stale-close subscription fee).

    One thing worth naming explicitly: the two models have different economics, not just different docs. An attester subscription pays for happy-path validation regardless of fraud. A bonded-challenger model only pays out on successful challenge. Aligning on the latter doesn't just resolve the contradiction — it eliminates an entire fee stream nobody has actually designed.

    Direction

    Endorsing the lean, and going further than Option 4: watchtowers become a non-protocol layer.

    • Move ADR 007 content to an appendix, not a standalone ADR. It documents an optional, anyone-can-run fraud-detection role.
    • Drop the subscription model and WatchtowerEscrow. Watchtowers earn from successful bonded challenges via the existing SlashJudge machinery — no separate escrow contract, no fee economics to size, no per-channel registration, no heartbeat protocol.
    • Drop cdn/watchtower/v1 and node→watchtower voucher streaming. No node collaboration. No protocol dependency. No ALPN.
    • Stale-close becomes a node-operator responsibility, not a protocol-funded role. The local in-process dispute monitor handles the online case; the node-offline-for-48h case is an operational failure mode, not a protocol gap.
    • Receipt validation aligns with ADR 027 §4's existing permissionless-challenger model: anyone may challenge an EpochReceiptSummary within the 7-day window via the existing bond. Watchtowers are simply parties that find this profitable — not a protocol-defined participant.

    The watchtower-as-appendix is then framed as: "any third party can monitor the L2 chain and submit bonded challenges against closeChannel with stale vouchers (when they happen to hold a higher one) and against commitEpochSummary with fraudulent receipts. Economics are MEV-style — bond + reward on success, bond loss on failure. No ALPN, no escrow, no subscription."

    Scope folded in

    The two contradictions @thiras surfaced fold into the same fix and ship in the same PR as the ADR-007-to-appendix conversion:

    1. §1b ↔ ADR 027 attestation-model contradiction. Resolves as a side effect — no positive-attestation flow exists in the new model; permissionless challenger is the only model. ADR 007 §1b, §1c, and the "Receipt validator collusion with operator" attack section all collapse into the appendix's challenger framing.
    2. Orphan ADR 027 §Negative fee-structure reference. Edited to point to the existing SlashJudge bond mechanism — no new fee structure to update because there isn't one.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:adrprio:medium

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions