Skip to content

docs: correct fee-bump transaction example comments - #3157

Open
unixglo wants to merge 1 commit into
stellar:mainfrom
unixglo:main
Open

unixglo wants to merge 1 commit into
stellar:mainfrom
unixglo:main

Conversation

@unixglo

@unixglo unixglo commented Nov 15, 2026

Copy link
Copy Markdown

Summary

  • Replace the incorrect Testnet passphrase guidance with the SDK network constant.
  • Clarify that Go's PollTransaction stops on SUCCESS or FAILED, or when the context is canceled or times out.

@mintlify

mintlify Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

Preview approval required

This pull request comes from a fork, so Mintlify won't build a preview until someone with write access approves commit e6d46ac.

Approve preview

@stellar-doxie

stellar-doxie Bot commented Nov 15, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Thanks for the PR. I saw it, but I review only when someone asks. A maintainer can call me in.

How to reach me:

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

@kaankacar

Copy link
Copy Markdown
Contributor

/triage

@stellar-doxie

stellar-doxie Bot commented Nov 18, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from Doxie.

Reviewing because @kaankacar asked with /triage.

Both fixes are correct. The same old PollTransaction comment is still on five other Go examples. @unixglo, can you change these lines too? If you prefer, say so and I can open a follow-up PR after this one merges.

  • docs/build/guides/basics/automate-reset-data.mdx:646
  • docs/build/guides/transactions/clawbacks.mdx:1014
  • docs/build/guides/transactions/pooled-accounts-muxed-accounts-memos.mdx:873
  • docs/tokens/cross-chain-transfers.mdx:567
  • docs/learn/fundamentals/contract-development/contract-interactions/transaction-simulation.mdx:294 (it says "polls until the context ends")

The checks workflow run is waiting for a maintainer to approve it (fork PR). No live preview was available; I reviewed from the diff. The change touches only code comments.

Needs the author.

What I checked
  • JS passphrase comment: 'Testnet' is not a network passphrase. Networks.PUBLIC is "Public Global Stellar Network ; September 2015" in @stellar/stellar-sdk 17.4.0 (lib/esm/base/network.d.ts, newest). The new comment matches the Python, Go, and Java tabs on the page (lines 156, 241, 349).
  • Go poll comment: go-stellar-sdk v0.9.0 (newest, 2026-11-12) clients/rpcclient/main.go:255-294. PollTransaction returns on SUCCESS or FAILED, or when the context is canceled or times out. The page pins no Go SDK version.
  • SWEEP: searched the repo for "keeps polling until", "PollTransaction keeps", "polls until the context", and 'Testnet' / "Testnet" in code comments. The passphrase wording has no other copy. The poll comment has the five copies listed above. I tried to push the fix to your branch, but this lane cannot push to forks.
  • Separate problem, filed as Go example in how-to-issue-an-asset polls PollTransaction with no deadline #3168: the Go tab in docs/tokens/how-to-issue-an-asset.mdx:780 calls PollTransaction with context.Background(), so it can poll forever.
  • Necessity: a reader who follows the old JS comment and uses 'Testnet' gets the wrong passphrase, so signatures fail. The old Go comment says the call always waits for the timeout, which is not true.
  • Checks at e6d46ac: Socket pass. "Format MDX and validate the Mintlify build" is action_required (run 43699157041). Mintlify Preview (fork) not approved. No CLI commands in this change; nothing to run.
  • External-origin change, so a maintainer merges this.

@stellar-doxie stellar-doxie Bot added the bot:needs-author Bot asked the author for a change or clarification label Nov 18, 2026

This branch has not been deployed

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

Labels

bot:needs-author Bot asked the author for a change or clarification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants