Repository navigation
Update CLI commands that stellar-cli 28 rejects - #2990
Conversation
- 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
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
|
🤖 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:
A maintainer decides whether this change should happen. |
|
🤖 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 |
ElliotFriend
left a comment
There was a problem hiding this comment.
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.
|
/triage |
…nt-cli-flags # Conflicts: # .mintlify/skills/smart-contracts/SKILL.md
|
🤖 Automated message from the Stellar Triage Bot. Back on this because @ElliotFriend asked with /triage. #2991 landed, so I merged |
🤖 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.mdand source.keys generate --global: flag removed onupload-wasm-bytecode.mdx,deploy-smart-contract.mdxand 4 lines of.mintlify/skills/smart-contracts/SKILL.md. Upstreamstellar/stellar-dev-skillskills/smart-contracts/SKILL.mdalready has the fixed form.upload-wasm-bytecode.mdx:keys showis nowkeys secret, the current name.stellar-asset-contract.mdxanderrors.mdx: dropped--source-account.contract id assetandcontract readdo not take it.cross-contract.mdx:bindings rusttakes only--wasm. The page now runscontract fetch, thenbindings rust --wasm. The bindings print to stdout.auth.mdx:invoke --authis gone. The preview now pipesinvoke --build-onlyintotx simulateandtx decode.--build-onlyskips simulation ininvoke.rs, sotx simulateadds 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 jsononworking-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 checkandpnpm check:linksdid not run locally. Thechecksjob on this PR runs them. I did not run the commands on testnet.Seen in passing, not changed: the skill copy uses
wasm32-unknown-unknownpaths. The docs pages usewasm32v1-none.