Skip to content

Update guide: How to choose the right storage for your use case #1841

Closed

Activity

  1. changed the title [-]How to choose the right storage for your use case: https://developers.stellar.org/docs/build/guides/storage/choosing-the-right-storage[/-] [+]How to choose the right storage for your use case[/+] on Oct 1, 2025
  2. changed the title [-]How to choose the right storage for your use case[/-] [+]Update guide: How to choose the right storage for your use case[/+] on Oct 16, 2025
  3. added
    documentation
    bug
    good first issue
    on Jul 13, 2026
  4. kaankacar commented on Sep 8, 2026

    @kaankacar
    Contributor

    🤖 Automated message from Kaan's Automated Triage Bot.

    I am looking at this issue now. I will report what I find.

  5. kaankacar commented on Sep 8, 2026

    @kaankacar
    Contributor

    🤖 Automated message from Kaan's Automated Triage Bot.

    I opened #2835. It fixes the code on this guide. The guide review itself stays open.

    I reviewed the whole page against main (58591052). The prose, the links and the storage table are current. The Protocol 23 restore-list wording is already in place. The code was not.

    The temporary storage snippet had six defects, and it could not compile:

    • It called e.ledger() twice. Its Env parameter is named env.
    • It had no #[contract] pub struct AuctionContract;, so the impl block had no target.
    • get_bid took a Symbol, but DataKey::Bid holds an Address.
    • get_bid returned i64. The bid value is i128.
    • It annotated storage().temporary().get() as Bid. That method returns Option<V>.
    • Its expiry check was inverted. It returned the bid value after expiration_ledger_seq passed, and 0 while the bid was still valid. The comment in the other branch describes the opposite.

    The persistent and instance snippets each used a macro they did not import: contract and contracttype.

    Two notes:

    #2835 now waits for the Copilot review and the preview build.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugdocumentationgood first issue

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions