Skip to content

SPIKE: Protocol 28 (CAP-0084)#549

Closed
sisuresh wants to merge 3 commits into
stellar:mainfrom
sisuresh:p28-cap-0084
Closed

SPIKE: Protocol 28 (CAP-0084)#549
sisuresh wants to merge 3 commits into
stellar:mainfrom
sisuresh:p28-cap-0084

Conversation

@sisuresh

Copy link
Copy Markdown
Contributor

SPIKE: Protocol 28 (CAP-0084) — Muxed Contract Addresses

Regenerates the Rust XDR codec for CAP-0084, gated behind the
cap_0084_muxed_contract feature. Adds ScAddress::MuxedContract /
SC_ADDRESS_TYPE_MUXED_CONTRACT and the MuxedContract struct.

Upstream: stellar/stellar-xdr#306 (head 7b56181). The xdr submodule
pins that commit directly from stellar/stellar-xdr — no fork URL needed;
re-pin to the merged main SHA once #306 lands.

⚠️ Human review: ScAddress Display (src/str.rs, hand-written
CUSTOM_STR_IMPL) returns Err for the muxed-contract arm — there is no
strkey encoding for muxed contract addresses yet (stellar-strkey has no
variant). Stub to be replaced when strkey support lands.

Draft until #306 merges.

Bump xdr submodule to stellar-xdr#306 head (7b56181), add the
cap_0084_muxed_contract feature, and regenerate. Adds the
SC_ADDRESS_TYPE_MUXED_CONTRACT arm on ScAddress and the MuxedContract
struct, gated behind cap_0084_muxed_contract.

str.rs: ScAddress Display is hand-written (CUSTOM_STR_IMPL); muxed
contract addresses have no strkey encoding yet, so that arm returns
Err — flagged for human review.

Bumps crate version to 28.0.0.
@sisuresh

Copy link
Copy Markdown
Contributor Author

Downstream SPIKE consuming this branch: stellar/rs-soroban-sdk#1922 (Protocol 28 / CAP-0084).

@sisuresh

sisuresh commented Jul 2, 2026

Copy link
Copy Markdown
Contributor Author

Closing — this stack will be regenerated from scratch by the automated protocol-release flow.

@sisuresh sisuresh closed this Jul 2, 2026
@sisuresh sisuresh deleted the p28-cap-0084 branch July 2, 2026 23:52
@sisuresh sisuresh restored the p28-cap-0084 branch July 3, 2026 00:14
@sisuresh sisuresh deleted the p28-cap-0084 branch July 3, 2026 00:22
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