Skip to content

Protocol 30 (CAP-0087) - #5455

Draft
sisuresh wants to merge 5 commits into
stellar:masterfrom
sisuresh:p30-cap-0087
Draft

sisuresh wants to merge 5 commits into
stellar:masterfrom
sisuresh:p30-cap-0087

Conversation

@sisuresh

@sisuresh sisuresh commented Sep 15, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Upstream: stellar/stellar-xdr#318, stellar/rs-stellar-xdr#587, stellar/rs-soroban-env#1737, stellar/rs-soroban-sdk#2052
Downstream: go-stellar-sdk, stellar-horizon, stellar-rpc (p30-cap-0087)

Add src/rust/soroban/p30 at the CAP-0087 host (rs-soroban-env#1735,
d3e8ed23) and wire it into the multi-soroban build; add ContractCostType
86-94 with V_30 branches in NetworkConfig and Upgrades, including
isValidCostParams, which otherwise rejects every protocol-30 cost-params
upgrade. Tests use Wycheproof FIPS 204 known-answer vectors.
sisuresh added a commit to sisuresh/stellar-core that referenced this pull request Sep 26, 2026
Add src/rust/soroban/p30 at rs-soroban-env#1700 (a2094aa5) and wire it into
the multi-soroban build, following stellar#5455. Enable CAP_0084_MUXED_CONTRACT to
match the host's unconditional stellar-xdr feature, and port the CAP-0084
changes from stellar#5337. The mint-to-muxed-contract test now expects rejection,
per the CAP; an issuer transfer to a muxed contract emits mint with to_muxed_id.
Takes master's tree: the old-layout spike (28->29 bump, p30 add,
unconditional CAP_0087_ML_DSA) is superseded by master's layout; the
CAP work is re-applied on top.
…0087)

Brings the ML-DSA host functions and cost types 86-94; adds the ml-dsa
subtree to Cargo.lock and the p30 dep-tree expectation.
Defines CAP_0087_ML_DSA only in vnext builds, creates cost types 86-94
with stellar#1737's calibrated models at the v30 upgrade and accepts them in
isValidCostParams, and adds FIPS 204 KAT e2e tests for all three
parameter sets.
Adds the CAP-0087 test's entries; existing next-tier goldens change only
in ledger hashes, since protocol-30 genesis now carries cost types 86-94.
@sisuresh sisuresh changed the title SPIKE: Protocol 30 (CAP-0087) Protocol 30 (CAP-0087) Oct 5, 2026
SirTyson pushed a commit to SirTyson/stellar-core that referenced this pull request Oct 9, 2026
Bumps `CURRENT_LEDGER_PROTOCOL_VERSION` to 30 and promotes the p30 host
to current (vnext builds it with `next`, reporting 31). Ungates CAP-0084
and CAP-0087 in core: merges in stellar#5455 (CAP-0087 cost
types/upgrade/tests), removes the `CAP_0084_MUXED_CONTRACT` /
`CAP_0087_ML_DSA` ifdefs and build wiring, and re-enables
`checkXDRFileIdentity`. Baselines, LCM goldens and protocol 30/31 LCM
reference files re-recorded.

Pins (all merged): XDR stellar/stellar-xdr#321, p30 host
stellar/rs-soroban-env#1745, quorum analyzer
stellar/stellar-quorum-analyzer#28, all on stellar/rs-stellar-xdr#606.

https://claude.ai/code/session_01MUfDZLWtSNdpoFYK9XVeHs
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.

1 participant