flowfi icon indicating copy to clipboard operation
flowfi copied to clipboard

[Contracts] storage.rs read/write helpers have no doc comments explaining TTL/bump semantics

Open grantfox-oss[bot] opened this issue 4 months ago • 5 comments

Join our community: https://t.me/+DOylgFv1jyJlNzM0

Why this matters

storage.rs centralizes ledger reads and writes for streams and config, but the functions have no rustdoc explaining storage key layout or ledger TTL bump behavior, which makes it hard for new contributors to reason about persistence costs.

Acceptance criteria

  • [ ] Add rustdoc to each public function in storage.rs describing the key it touches and any TTL bump it performs
  • [ ] Document the storage key enum/variants used across the module
  • [ ] No behavior change, comments only

Files to touch

  • contracts/stream_contract/src/storage.rs

Out of scope

Does not change storage layout or add new storage entries.

grantfox-oss[bot] avatar Jul 28 '26 23:07 grantfox-oss[bot]

@Jumongweb has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

Hi maintainer, i will like to solve this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Jumongweb to this issue.

Jumongweb avatar Sep 27 '26 15:09 Jumongweb

@CARTEL-L has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

Hi! I’m a full-stack developer with a strong blockchain background. I’d love to handle this issue and can deliver a clean, reliable solution. Kindly assign it to me.

ℹ️ Repo Maintainers: To accept this application, review their application or assign @CARTEL-L to this issue.

CARTEL-L avatar Sep 27 '26 15:09 CARTEL-L

@Joyful12-tech has applied to work on this issue as part of the Stellar Wave Program's 9th wave.

I’d like to work on this issue

ℹ️ Repo Maintainers: To accept this application, review their application or assign @Joyful12-tech to this issue.

Joyful12-tech avatar Sep 27 '26 23:09 Joyful12-tech

Congratulations, @Joyful12-tech! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on September 30, 2026.

🧑‍💻 @Joyful12-tech: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.

[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.

🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.

🌊 Happy Wave 🌊

drips-wave[bot] avatar Sep 29 '26 16:09 drips-wave[bot]

🎉 This issue has been marked as completed on GrantFox!

@Joyful12-tech's PR #1613 was approved and merged by @K1NGD4VID.

🏆 @Joyful12-tech: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (939 total points). Track your full progress on GrantFox.

👏 Great work, @Joyful12-tech! Keep contributing to LabsCrypt.

grantfox-oss[bot] avatar Oct 06 '26 19:10 grantfox-oss[bot]