Skip to content

SPIKE: Protocol 28 (CAP-0084)#5961

Draft
sisuresh wants to merge 3 commits into
stellar:protocol-nextfrom
sisuresh:p28-cap-0084
Draft

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

Conversation

@sisuresh

@sisuresh sisuresh commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Regenerates Go XDR for CAP-0084 (Muxed Contract Addresses).

Changes

  • XDR_COMMIT pinned to stellar-xdr#307 head 787382ef2099cca168ca1cb282730d6b7b9e2f16; XDR_FEATURES += CAP_0084_MUXED_CONTRACT.
  • Regenerated gxdr + xdr Go bindings (new ScAddressTypeScAddressTypeMuxedContract, MuxedContract struct, SCAddress arm).

Deferred

Upstream

sisuresh added 3 commits June 26, 2026 22:38
…ndling

Bump stellar-xdr to 7b56181 (Protocol 28 / CAP-0084) with
XDR_FEATURES=CAP_0083,CAP_0084_MUXED_CONTRACT. Regen adds the
SC_ADDRESS_TYPE_MUXED_CONTRACT arm to the ScAddress union.

Update the exhaustive hand-written ScAddress switches in xdr/scval.go
(String/Equals) to handle the muxed-contract arm so they no longer
error/panic. SDK event parsing (extractAddress, parseBalanceChangeEvent)
returns the underlying base contract address for muxed-contract
destinations; surfacing the muxed id is deferred to horizon.
Commit 51284c1 bumped the .x sources to 787382e but did not fully
regenerate gxdr/. Rerunning go generate picks up the corrected
SorobanTransactionMetaExtV1.RentFeeCharged doc comment
(totalNonRefundableResourceFeeCharged -> totalRefundableResourceFeeCharged),
fixing the `check` (gogenerate diff) CI job. Comment-only; no behavior change.
@sisuresh

sisuresh commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

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