Skip to content

Update CLI commands that stellar-cli 28 rejects - #2990

Merged
ElliotFriend merged 2 commits into
mainfrom
docs-agent/2973-current-cli-flags
Nov 3, 2026
Merged

ElliotFriend merged 2 commits into
mainfrom
docs-agent/2973-current-cli-flags

Conversation

@stellar-doxie

@stellar-doxie stellar-doxie Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

🤖 Automated message from the Stellar Triage Bot.

Refs #2973

Working this because @oceans404 added bot:take. This PR fixes 7 of the 8 items. I checked each one against stellar-cli v28.1.0 FULL_HELP_DOCS.md and source.

  • keys generate --global: flag removed on upload-wasm-bytecode.mdx, deploy-smart-contract.mdx and 4 lines of .mintlify/skills/smart-contracts/SKILL.md. Upstream stellar/stellar-dev-skill skills/smart-contracts/SKILL.md already has the fixed form.
  • upload-wasm-bytecode.mdx: keys show is now keys secret, the current name.
  • stellar-asset-contract.mdx and errors.mdx: dropped --source-account. contract id asset and contract read do not take it.
  • cross-contract.mdx: bindings rust takes only --wasm. The page now runs contract fetch, then bindings rust --wasm. The bindings print to stdout.
  • auth.mdx: invoke --auth is gone. The preview now pipes invoke --build-only into tx simulate and tx decode. --build-only skips simulation in invoke.rs, so tx simulate adds the auth entries. I removed the old sample output, because its format no longer exists.
  • solidity-and-rust-basics.mdx: deploy with --alias increment_example, then invoke by alias. This follows fix: replace deprecated invoke --wasm with deploy-then-invoke workflow #2220.

Not in this PR: bindings json on working-with-contract-specs.mdx. The whole page explains that command's output format, so it needs a maintainer decision. See #2973.

Checks: pnpm and prettier are not available here, so pnpm format:mdx, pnpm check and pnpm check:links did not run locally. The checks job on this PR runs them. I did not run the commands on testnet.

Seen in passing, not changed: the skill copy uses wasm32-unknown-unknown paths. The docs pages use wasm32v1-none.

- keys generate: drop the removed --global flag (docs and skill copy)
- upload-wasm-bytecode: use keys secret, the current name of keys show
- contract id asset and contract read: drop --source-account
- cross-contract: fetch the Wasm, then run bindings rust --wasm
- auth example: replace the removed invoke --auth with a
  --build-only | tx simulate | tx decode preview
- solidity-and-rust-basics: deploy with an alias, then invoke by id
  instead of the removed invoke --wasm
@stellar-doxie
stellar-doxie Bot requested a review from ElliotFriend November 1, 2026 23:56
@mintlify

mintlify Bot commented Nov 1, 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 3, 2026, 10:21 AM

@stellar-doxie

stellar-doxie Bot commented Nov 1, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Closing this PR. Nobody on the team has vouched for the issue behind it, and the change goes beyond documentation content:

  • .mintlify/skills/smart-contracts/SKILL.md

A maintainer decides whether this change should happen.

@stellar-doxie stellar-doxie Bot closed this Nov 1, 2026
@stellar-doxie
stellar-doxie Bot deleted the docs-agent/2973-current-cli-flags branch November 1, 2026 23:58
@stellar-doxie
stellar-doxie Bot restored the docs-agent/2973-current-cli-flags branch November 2, 2026 14:45
@stellar-doxie stellar-doxie Bot reopened this Nov 2, 2026
@stellar-doxie
stellar-doxie Bot requested a review from kaankacar November 2, 2026 14:45
@stellar-doxie stellar-doxie Bot added the bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge label Nov 2, 2026
@stellar-doxie

stellar-doxie Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Reviewing because this is my own PR for #2973, which @oceans404 called me in on.

Verified: every changed command matches the stellar-cli v28.1.0 help, and the preview renders the changed pages. Ready to merge.

Note: #2991 conflicts with this PR in .mintlify/skills/smart-contracts/SKILL.md. The PR that merges second needs main merged in first.

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

Spot-checked every changed command against stellar --help on 28.1.0, and the auth preview pipeline matches invoke.rs (--build-only skips simulation). Good call leaving working-with-contract-specs.mdx for the decision on #2973.

This conflicts with #2991 in .mintlify/skills/smart-contracts/SKILL.md (adjacent hunks). #2991 goes first, so this will need a rebase once it lands.

@ElliotFriend

Copy link
Copy Markdown
Contributor

/triage

…nt-cli-flags

# Conflicts:
#	.mintlify/skills/smart-contracts/SKILL.md
@stellar-doxie

stellar-doxie Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

🤖 Automated message from the Stellar Triage Bot.

Back on this because @ElliotFriend asked with /triage.

#2991 landed, so I merged main into this branch. I did not rebase, because a rebase needs a force-push. The one conflict was in .mintlify/skills/smart-contracts/SKILL.md. I kept both changes: no --global, and the wasm32v1-none path. All checks pass, and the preview serves the merged skill file. Ready to merge.

@ElliotFriend
ElliotFriend merged commit c81465f into main Nov 3, 2026
8 checks passed
@ElliotFriend
ElliotFriend deleted the docs-agent/2973-current-cli-flags branch November 3, 2026 16:20

This branch was successfully deployed

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

Labels

bot:ready-to-merge Bot verified and approved; waiting for a maintainer to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant