Skip to content

role_members docs say "persistent" storage; the index is actually in instance storage #345

Description

@Jaydbrown

contracts/governor/src/role.rs role_members doc: "Reads from the persistent RoleMembers index", and contracts/oracle/src/lib.rs role_members has the same wording. Both RoleMembers indices are stored via env.storage().instance(). This matters for anyone reasoning about TTL / archival of the membership list — fix the comments (or move the index to persistent() if that was the intent).


Filed from a codebase review pass.

Metadata

Metadata

Assignees

Labels

Stellar WaveIssues in the Stellar wave program

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions