Repository navigation
CRE: update soroban guide - #4291
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
Contributor
|
👋 dev-dist, thanks for creating this pull request! To help reviewers, please consider creating future PRs as drafts first. This allows you to self-review and make any final changes before notifying the team. Once you're ready, you can mark it as "Ready for review" to request feedback. Thanks! |
SyedAsadKazmi
approved these changes
Oct 9, 2026
This branch was successfully deployed
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.
This pull request updates the documentation for using data feeds on Stellar, clarifying prerequisites and correcting the usage of the data feed client API in both the Markdown and plaintext guides. The changes ensure developers use the correct versions of tools and understand the correct API usage for reading data feed rounds.
Prerequisite and environment updates:
stellar contract initcommand scaffolds a project using the latestsoroban-sdk(v25 or later), while contracts in the guide are compatible withsoroban-sdkv21 and later. Added guidance for pinning older SDK versions. [1] [2]Code and API usage corrections:
.unwrap()calls on the result oflatest_round, since the method now returns theRoundvalue directly. Provided additional explanation that the#[contractclient]macro generates this behavior, and documented how to use thetry_latest_roundmethod for error handling, including a sample usage. [1] [2]