You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
ADR 003: Legacy PaymentChannel interaction during migration is underspecified #9
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:
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)
Can a node's slash cause it to fall below minimum stake while it still has open channels?
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.
Activity
docs: replace legacy migration path with slashing-channel interactions (