Skip to content

Protocol 28 (CAP-0085) - #5965

Merged
urvisavla merged 1 commit into
stellar:protocol-nextfrom
sisuresh:p28-cap-0085
Jul 22, 2026
Merged

Protocol 28 (CAP-0085)#5965
urvisavla merged 1 commit into
stellar:protocol-nextfrom
sisuresh:p28-cap-0085

Conversation

@sisuresh

Copy link
Copy Markdown
Contributor

Summary

XDR regeneration for Protocol 28 / CAP-0085 (external-ref contract executables).

  • Re-pins stellar-xdr (Makefile XDR_COMMIT) to the merged CAP-0085 commit 8d1c926a5e5d9167d0fc7327b5dad06dc1ec4fd7 (Add CAP-85 XDR changes (gated) stellar-xdr#308).
  • Adds CAP_0085_EXECUTABLE_REF to XDR_FEATURES alongside CAP_0083.
  • Regenerates gxdr/xdr_generated.go, xdr/xdr_generated.go, xdr/xdr_views_generated.go, xdr/Stellar-contract.x, and xdr/xdr_commit_generated.txt.
  • Re-applies the hand-written SCVal / ContractExecutable helpers for the new SCV_EXECUTABLE_TAG and CONTRACT_EXECUTABLE_EXTERNAL_REF arms (xdr/scval.go, xdr/scval_test.go).

Verification

  • Generated Go carries ScValTypeScvExecutableTag, ContractExecutableExternalRef, ContractExecutableTypeContractExecutableExternalRef.
  • go build ./... — green.
  • go test ./xdr/... — green (XDR round-trip + TestCAP0085Equals).

Chain

Draft SPIKE against protocol-next.

Re-pins stellar-xdr to the merged CAP-0085 commit
8d1c926a5e5d9167d0fc7327b5dad06dc1ec4fd7 (stellar-xdr#308) and enables the
CAP_0085_EXECUTABLE_REF feature alongside CAP_0083 in the Makefile XDR_FEATURES
list. Regenerates gxdr/ and xdr/ generated Go plus xdr/Stellar-contract.x, and
re-applies the hand-written SCVal/ContractExecutable helpers for the new
SCV_EXECUTABLE_TAG and CONTRACT_EXECUTABLE_EXTERNAL_REF arms.

Supersedes closed stellar#5962 (which pinned the unmerged dmkozh fork).
@sisuresh
sisuresh marked this pull request as ready for review July 22, 2026 18:30
@sisuresh sisuresh changed the title SPIKE: Protocol 28 (CAP-0085) Protocol 28 (CAP-0085) Jul 22, 2026
@urvisavla
urvisavla merged commit 82df764 into stellar:protocol-next Jul 22, 2026
11 checks passed
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.

2 participants