Skip to content

Document sponsored account creation and merge sponsorship blockers #2590

Closed

Description

@kalepail

Finding

The account lifecycle documentation presents the ordinary unsponsored path as
if it were universal and under-documents current merge behavior.

  • Create Account copy says every account needs the current 1 XLM minimum, but
    CAP-0033 permits a sponsored account to be created with startingBalance=0
    while the sponsor carries the account reserves.
  • Account Merge result/help text emphasizes trustlines and offers but does not
    explain that current Core permits signer-only subentries and removes those
    signers during deletion, including sponsored signers. The blocking
    sponsorship relation is asymmetric: an account providing sponsorship or
    responsible for future reserves cannot merge, while merely being sponsored
    is not the same prohibition.

This makes correct applications overfund sponsored accounts or require unsafe,
unnecessary signer cleanup before a destructive merge.

Evidence

Additional recorded evidence:

  • official Create Account and Account Merge documentation/result-code pages
  • CAP-0033 sponsored-reserve semantics
  • current stellar-core CreateAccountOpFrame and MergeOpFrame behavior

Recommendation

Document the two account-creation paths explicitly:

  • ordinary/unsponsored creation requires two current base reserves;
  • sponsored creation may use zero starting balance when CAP-0033 sponsorship
    is correctly established, with reserve responsibility shifted to the sponsor.

For Account Merge, list non-signer subentries and sponsoring obligations as the
relevant blockers, state that remaining signers are removed by merge, and give
one sponsor-versus-sponsored example. Keep numeric reserve amounts dated and
link the current network parameter source.

Source Record

This was found by the downstream Raven eval/improvements loop and recorded as sd-013 (stellar-docs, discovered 2026-07-10).

Public source record: improvements/stellar-docs/sd-013-account-creation-merge-sponsorship-semantics.md

Immutable source snapshot: bbb0d4f55527

Resolution Handoff

When a fix is deployed, please link the resolving issue or PR to the source record above and notify Raven through:

https://github.com/kalepail/stellar-raven/issues/new?template=upstream-improvement-ready.yml&title=%5Bupstream-ready%5D%20sd-013%3A%20

Include the finding id, resolving issue/PR, deployed version or timestamp, and the smallest live recheck. Raven independently verifies the upstream surface before changing the finding to fixed-upstream; issue closure or a merged PR alone is not treated as proof. After a distinct reviewer repeats the live check, the active finding is retired to Raven's resolved ledger while the immutable snapshot remains available.

Activity

  1. added
    raven
    on Jul 14, 2026
  2. kalepail commented on Jul 27, 2026

    @kalepail
    ContributorAuthor

    Raven independently rechecked sd-013 on 2026-07-27 and confirmed the original trigger is resolved live.

    Live recheck: 2026-07-27 GET the account-merge result-codes page - op_is_sponsor is present covering both numSponsoring > 0 and an open same-transaction sponsorship, op_has_sub_entries reads 'non-signer subentries (trustlines, offers, or data entries)' with signers removed automatically, and the create-account guide documents the CAP-33 sponsored startingBalance of 0 path

    Thanks for the fix and for the deployment handoff. The active finding is being retired under the ephemeral improvements lifecycle. Immutable source snapshot: https://github.com/kalepail/stellar-raven/blob/773857262d462506947a324b7437b8499f886287/improvements/stellar-docs/sd-013-account-creation-merge-sponsorship-semantics.md

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

    raven

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions