Skip to content

Lack of TTL protection for non-market governance records #188

Description

@hman38705

Description
While bump_market_ttl (Line 235) protects market data, other critical governance records like PendingUpgrade (Issue 32) and Guardian records might not have explicit TTL management called during their lifecycle. This puts long-running governance processes at risk of expiring and becoming unrecoverable during periods of inactivity.

Requirements and context

  • Implement automated TTL bumping for all persistent governance data.
  • Ensure critical protocol configuration never expires.

Suggested execution

  • Fork the repo and create a branch: git checkout -b fix/issue-85-gov-ttl-management
  • Audit all persistent storage usage.

Implementation changes

  • Update governance.rs to include extend_ttl calls for all critical keys.

Test and commit

  • Verify that a pending upgrade remains accessible even after 3 months of network inactivity.

Example commit message
fix: ensure consistent TTL management for all governance and protocol state

Guidelines

  • Data durability.
  • Timeframe: 24 hours.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Fields

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