Skip to content

Implement Soroban Contract Ledger Entry TTL Management for Long-Running DApps #628

@temma02

Description

@temma02

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

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions