Skip to content

Migrate wraith-names to persistent() storage everywhere #68

Description

@truthixify

Tier: M (2-4 days) Type: refactor

Context

PR #35's registry audit moved stealth-registry to persistent storage for scalability. wraith-names still uses instance storage in places, which has the same scaling concern. Audit + migrate.

Scope

  • Audit every env.storage().instance() call in wraith-names
  • For each, determine: stay instance (small fixed metadata) or migrate to persistent (per-name data)
  • Migration is breaking if data is already deployed; coordinate with deploy story
  • Update TTL extension logic from the keeper service (Soroban TTL keeper service for wraith-names #50 in this wave) to match

Acceptance criteria

  • Storage decisions documented in wraith-names/STORAGE.md
  • Migration tests pass
  • TTL keeper updated to extend correct storage tier
  • Deploy script updated for fresh-deploy path

Files to start with

  • stellar/wraith-names/src/lib.rs
  • stellar/stealth-registry/src/lib.rs (persistent storage reference)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave programdripsFunded via Drips Networkhelp wantedExtra attention is neededrefactorRefactoring / restructuring without behavior changestellarTouches Stellar / Soroban code

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions