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
The contract interface defines reclaimExpired(bytes32 channelId) but "expired" is never defined:
No expiresAt field exists in the channel struct
No specification of what causes a channel to expire
No documentation of when reclaimExpired can be called vs. closeChannel
Impact:
Without an expiry mechanism, clients cannot reclaim funds from dormant channels. If a provider disappears, client funds are locked indefinitely.
Recommendation:
Add an expiresAt field to the channel struct, set at openChannel time (e.g., block.timestamp + channelLifetime)
Specify channelLifetime as a governable parameter with safety bounds (e.g., 7–90 days)
Document that reclaimExpired returns full remaining balance to the client when block.timestamp > expiresAt and no active dispute exists
Activity
docs: fix ADR 003 payment channel gaps (#73, #72, #67, #66, #61)