Description
Implement ledger entry time-to-live management for Soroban contracts, automatically extending the TTL of contract storage entries to prevent state expiration in long-running DApps.
Requirements and Context
- Reliability: Contract state must not expire unexpectedly
- Testing: Test TTL extension logic
- Documentation: Document the TTL management strategy
Suggested Execution
Branch: feat/issue-092-soroban-ledger-ttl-management
Implement Changes
- Add ledger entry TTL tracking to the Soroban module
- Detect entries approaching expiration
- Automatically build TTL extension transactions for at-risk entries
- Surface TTL status to operators
Test and Commit
- Test detection of entries approaching expiration
- Test TTL extension transaction building
- Document the TTL management strategy
Example Commit Message
feat(soroban): implement ledger entry TTL management for long-running DApps
- Track ledger entry TTL and detect near-expiration
- Build TTL extension transactions automatically
- Surface TTL status to operators
Guidelines
- Follow Soroban state archival and TTL rules
- Extend TTL proactively before expiration
- Make TTL thresholds configurable
Description
Implement ledger entry time-to-live management for Soroban contracts, automatically extending the TTL of contract storage entries to prevent state expiration in long-running DApps.
Requirements and Context
Suggested Execution
Branch:
feat/issue-092-soroban-ledger-ttl-managementImplement Changes
Test and Commit
Example Commit Message
Guidelines