Repository navigation
docs(rpc): document useUpgradedAuth and fix simulateTransaction params - #3248
Open
ElliotFriend wants to merge 2 commits into
Open
ElliotFriend wants to merge 2 commits into
ElliotFriend wants to merge 2 commits into
Conversation
Add the useUpgradedAuth param (stellar-rpc v27.1.0+), note that authMode requires v23.0.0+, list the credential types in results[].auth, allow the TTL extension and restore operations in transaction, and remove the cost field from the examples.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
/triage |
Contributor
|
🤖 Automated message from Doxie. Reviewing because @ElliotFriend asked with /triage. Verified: every param, default, and version claim matches stellar-rpc v30.0.1 (the newest release) and its go-stellar-sdk v0.9.0 types. The preview renders. I added one commit (7cc19ce): the deep-dive guide's Ready to merge. What I checked
|
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.
What
useUpgradedAuthparam tosimulateTransaction: v27.1.0+, defaults tofalse, only applies in recording modes, and is transitional. The JS and Python SDKs sendtrueby default, so raw RPC callers get legacyADDRESScredentials unless they set it.authModerequires v23.0.0+.results[].authcan return (SOURCE_ACCOUNT,ADDRESS_V2,ADDRESS).transactionparam: it also acceptsextendFootprintTtlandrestoreFootprint, and it can't have a memo.costfield from the examples (no longer returned), state theinstructionLeewaydefault, and say thateventsareDiagnosticEvents.Why
Agent feedback on the page reported the missing param and version requirements. I checked each claim against stellar-rpc and go-stellar-sdk source.
pnpm rpcspec:validateandrpcspec:docs --checkpass.