Skip to content

docs: fix network value in bindings example - #2582

Merged
ElliotFriend merged 1 commit into
stellar:mainfrom
cnYui:docs/fix-cross-contract-network-value
Jul 14, 2026
Merged

ElliotFriend merged 1 commit into
stellar:mainfrom
cnYui:docs/fix-cross-contract-network-value

Conversation

@cnYui

@cnYui cnYui commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add the missing testnet value to the --network option in the Rust bindings example
  • prevent the CLI from interpreting --contract-id as the network name

Closes #2580

Verification

  • corepack pnpm install --frozen-lockfile
  • corepack pnpm check:mdx
  • corepack pnpm build
  • git diff --check

Copilot AI review requested due to automatic review settings July 14, 2026 01:00

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.

Pull request overview

Fixes a broken CLI example in the cross-contract guide by providing the missing network value so the command parses correctly and doesn’t accidentally treat --contract-id as the --network argument.

Changes:

  • Update the Rust bindings generation example to use --network testnet.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

this is perfect!! thanks so much for the contribution, @cnYui!! 🎉

very helpful to have people jump on issues and resolve them so quickly. thank you!!

i'll wait for the build tests to pass, and then get this merged

@ElliotFriend
ElliotFriend merged commit 97c7fb9 into stellar:main Jul 14, 2026
5 checks passed
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.

Cross-contract guide: stellar contract bindings rust command missing --network value

3 participants