Skip to content

docs: clarify operation-level source account override - #2867

Merged
ElliotFriend merged 3 commits into
stellar:mainfrom
perroBlanco0:docs/1022-source-account-note
Nov 10, 2026
Merged

ElliotFriend merged 3 commits into
stellar:mainfrom
perroBlanco0:docs/1022-source-account-note

Conversation

@perroBlanco0

@perroBlanco0 perroBlanco0 commented Sep 20, 2026 •

Copy link
Copy Markdown
Contributor

The transactions concept page mentioned an "operation override" for the source account without explaining what it meant or linking to where it's documented. Point readers to the existing note in the List of Operations section that already explains per-operation source accounts.

Refs #1022

The transactions concept page mentioned an "operation override" for the
source account without explaining what it meant or linking to where it's
documented. Point readers to the existing note in the List of Operations
section that already explains per-operation source accounts.

Fixes stellar#1022
Copilot AI balanced review requested due to automatic review settings September 20, 2026 15:58

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@github-actions

Copy link
Copy Markdown
Contributor

PR Preview: torn down

Transactions are atomic. Meaning if one operation in a transaction fails, all operations fail, and the entire transaction is not applied to the ledger.

Operations are executed for the source account of the transaction unless an operation override is defined.
Operations are executed for the source account of the transaction unless an operation specifies its own, different source account (see the note in the [List of Operations section](./list-of-operations.mdx)).

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for picking this up! i like how small this change is, and swapping out the undefined "operation override" term is the right fix.

the one thing i'd tweak: the linked note in List of Operations says basically the same thing this sentence now says (the parameter is optional, and it falls back to the transaction's source account). so a reader who clicks through doesn't learn anything new. the part #1022 is really worried about is what a different source account changes, mainly who has to sign. that can fit in about the same space:

Suggested change
Operations are executed for the source account of the transaction unless an operation specifies its own, different source account (see the note in the [List of Operations section](./list-of-operations.mdx)).
Each operation can specify its own source account; if it doesn't, it uses the transaction's source account. An operation's source account determines which account the operation acts on and whose signers must authorize it (see [Multisig](./signatures-multisig.mdx#multisig)). The transaction's source account always provides the sequence number, and it pays the fee unless the transaction is wrapped in a [fee-bump](#fee-bump-if-applicable).

that keeps this a one-paragraph change with no new page, and it covers the signing concern without the full examples section the issue originally asked for.

@stellar-doxie

stellar-doxie Bot commented Oct 7, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Hi @perroBlanco0, thanks for this PR. I saw it, but I review only when a maintainer calls me in.

How to reach me:

  • Anyone with write permission can call me in with a /triage comment or the bot:take label.
  • The PR author can send me away with /triage stop. People with write permission can also use the bot:hands-off label.
  • A review request to a maintainer does not call me in. It asks for that person's judgment.

@mintlify

mintlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

✅ Preview approved

@ElliotFriend approved a Mintlify preview for commit 6a4c52e.

@mintlify

mintlify Bot commented Nov 10, 2026 •

Copy link
Copy Markdown
Contributor

Preview deployment for your docs. Learn more about Mintlify Previews.

Project Status Preview Updated
stellar-docs 🟢 Ready View Preview Nov 10, 2026, 5:52 PM

@ElliotFriend ElliotFriend left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for getting this started, @perroBlanco0! Swapping out the undefined "operation override" wording was the right call. Your branch had fallen behind our move to Mintlify, so I merged main back in and applied the suggestion from my review, with a couple of small changes: an example of what an operation's source account controls (setOptions), and links in our new format. I've also switched the PR to Refs #1022, because we're going to add a code example for that issue in a follow-up. Thanks again for the contribution.

@ElliotFriend
ElliotFriend merged commit 7dc5dd5 into stellar:main Nov 10, 2026
6 checks passed

This branch was successfully deployed

1 active deployment
staging — 6a4c52ec Deployed Nov 10, 2026 by mintlify[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants