Description
contracts/split/src/storage_keys.rs has a module-level comment explaining the four-enum split, but StorageKey itself lacks a /// doc comment. New contributors editing the enum may not understand why it can have at most 50 variants. A /// doc comment on the enum itself reinforces this constraint.
Acceptance Criteria
Context
- Target file:
contracts/split/src/storage_keys.rs
Description
contracts/split/src/storage_keys.rshas a module-level comment explaining the four-enum split, butStorageKeyitself lacks a///doc comment. New contributors editing the enum may not understand why it can have at most 50 variants. A///doc comment on the enum itself reinforces this constraint.Acceptance Criteria
///doc comment topub enum StorageKeyexplaining the 50-variant Soroban limit and that new keys should be appended (never reordered)cargo docbuilds without warningscargo testpassesContext
contracts/split/src/storage_keys.rs