Skip to content

ADR 003: Legacy PaymentChannel interaction during migration is underspecified #9

Closed

Description

@thiras

Category: Cross-ADR Consistency

ADR 003 mentions both PaymentChannel (TOKEN-based, legacy) and StablePaymentChannel (USDC-based, new), with a 3-phase migration path. However:

  • ADR 004 and 005 only discuss slashing in terms of TOKEN stake via StakingRegistry
  • The StakingRegistry is separate from both payment contracts
  • During the migration period, a node could have channels open on both contracts simultaneously

Unspecified interactions:

  1. If a node is slashed while it has channels open on both contracts, which contract is affected? (Answer: staking is separate, so only stake is affected — but this should be explicitly stated)
  2. Can a node's slash cause it to fall below minimum stake while it still has open channels?
  3. What happens to open channels if a node is auto-ejected due to accumulated slashing?

Recommendation

Add a "Migration Interactions" section to ADR 003 explicitly documenting how slashing, auto-ejection, and channel settlement interact when both payment contracts coexist.

ADRs affected

  • ADR 003 (Payment Model)
  • ADR 004 (Tokenomics)

Activity

  1. added
    design:consistency
    on Mar 29, 2026
  2. self-assigned this
    on Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

design:consistency

Type

No type

Fields

Priority

None yet

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions