Independence Note: Implement specifically inside isolated tests without wiping real instances.
Context:
In communities with thousands of members, we need a way to track if someone has been inactive for years to potentially prune them from governance voting arrays.
Objective:
Track the 'Last Active' ledger sequence for each member.
Acceptance Criteria:
Technical Pointers:
- Recording a
u64 is incredibly cheap and provides foundational data for future DAO optimizations.
Independence Note: Implement specifically inside isolated tests without wiping real instances.
Context:
In communities with thousands of members, we need a way to track if someone has been inactive for years to potentially prune them from governance voting arrays.
Objective:
Track the 'Last Active' ledger sequence for each member.
Acceptance Criteria:
last_active_at(u64 sequence).is_inactive(address)which returns true if no action in > 1,000,000 ledgers.Technical Pointers:
u64is incredibly cheap and provides foundational data for future DAO optimizations.