Repository navigation
Conversation
Protocol 30 (CAP-87) adds host functions that verify ML-DSA (FIPS 204) signatures. - authorization: add a section with the host functions, the key and signature sizes, and the Rust SDK methods. - smart-wallets: add a short section that links to it. - fees-resource-limits-metering: link ContractCostType at the Protocol 30 XDR, which has the ML-DSA cost types.
Contributor
|
Preview deployment for your docs. Learn more about Mintlify Previews.
|
Contributor
Author
|
/triage |
Contributor
|
🤖 Automated message from Doxie. Reviewing because @kaankacar asked with /triage. Verified: the names, sizes, context rule, and envelope scope match CAP-87 and soroban-sdk v30.0.0-rc.1. The anchor renders on the preview. I pushed one fix (53343b4): the fees page's other XDR link now uses the same v30.0 commit, with the type name and closing parenthesis corrected. Ready to merge. What I checked
|
ElliotFriend
approved these changes
Nov 23, 2026
ElliotFriend
left a comment
Contributor
There was a problem hiding this comment.
Looks good, checked against CAP-87 and the SDK source.
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.
Refs #3184
What
docs/learn/fundamentals/contract-development/authorization.mdx: add the section "ML-DSA and post-quantum signatures". It lists the three host functions, the key and signature sizes, the context argument, and the Rust SDK methods.docs/build/guides/contract-accounts/smart-wallets.mdx: add a short section "ML-DSA on Stellar" that links to it.docs/learn/fundamentals/fees-resource-limits-metering.mdx: point theContractCostTypelink at the Protocol 30 XDR. That list has the ML-DSA cost types.Verification
rs-soroban-sdkv30.0.0-rc.1soroban-sdk/src/crypto.rs:Crypto::ml_dsa_44_verify,ml_dsa_65_verify, andml_dsa_87_verify. They panic on a signature that is not valid.stellar-xdrv30.0Stellar-contract-config-setting.xlines 116-318:ContractCostType, with the ML-DSA entries 86 to 94.pnpm checkpasses.Notes
30.0.0-rc.1exists.