Skip to content

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

Open
perroBlanco0 wants to merge 1 commit into
stellar:mainfrom
perroBlanco0:docs/1022-source-account-note
Open

perroBlanco0 wants to merge 1 commit into
stellar:mainfrom
perroBlanco0:docs/1022-source-account-note

Conversation

@perroBlanco0

Copy link
Copy Markdown

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 #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.

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.

Document using a different source account for an operation that is different from the parent transaction envelope account

3 participants