Update docs for current Stellar CLI behavior#2618
Merged
ElliotFriend merged 1 commit intoJul 16, 2026
Merged
Conversation
- Replace removed `stellar network container start` with the current `stellar container start` in the Lab quickstart and the contract init template guide - Rework the hello-world "Optimizing Builds" section: `stellar contract optimize` is deprecated, and `stellar contract build` now optimizes by default - Correct the maximum contract size in hello-world (64KB → 128KB, per live mainnet `contract_max_size_bytes` = 131072) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
There was a problem hiding this comment.
Pull request overview
Updates documentation to match current Stellar CLI behavior.
Changes:
- Replaces removed
network container startcommands. - Documents default build optimization and its disable flag.
- Updates Mainnet’s configurable contract size limit to 128KB.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
docs/tools/lab/quickstart-with-lab.mdx |
Updates the Testnet container command. |
docs/build/smart-contracts/getting-started/hello-world.mdx |
Revises contract size and optimization guidance. |
docs/build/guides/dapps/soroban-contract-init-template.mdx |
Updates the local container command. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
|
Preview is available here: |
briwylde08
approved these changes
Jul 16, 2026
This was referenced Jul 16, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Batch quick-fix for two Raven-reported CLI drift issues, verified against the current CLI and live network settings.
Changes
Removed
network containersubcommand (#2598)stellar network container startno longer exists (removed in CLI v23.0.0; the current command isstellar container start <network>, verified againststellar container start --help). Updated the two live pages that still teach the old form:docs/tools/lab/quickstart-with-lab.mdxdocs/build/guides/dapps/soroban-contract-init-template.mdxThe
network containerreferences insoftware-versions.mdxrelease notes and the install-cli video-tutorial label are historical/quoted content and intentionally left alone.Deprecated
contract optimize+ stale max contract size (#2601)stellar contract optimizeis deprecated, andstellar contract buildnow optimizes by default (--optimize, defaulttrue; pass--optimize=falseto disable). Added a note about the deprecated standalone command for readers who encounter it elsewhere.stellar contract buildoptimizes by default, since the "shortcut forcargo build" equivalence is no longer the whole story.contract_max_size_bytes= 131072 (checked viastellar network settings --network mainnet), with a hedge that the value is network-configurable.Closes #2598
Closes #2601
🤖 Generated with Claude Code