Skip to content

SPIKE: Protocol 28 (CAP-0085)#553

Draft
sisuresh wants to merge 1 commit into
stellar:mainfrom
sisuresh:p28-cap-0085
Draft

SPIKE: Protocol 28 (CAP-0085)#553
sisuresh wants to merge 1 commit into
stellar:mainfrom
sisuresh:p28-cap-0085

Conversation

@sisuresh

Copy link
Copy Markdown
Contributor

Changes

  • Regenerate XDR for Protocol 28 / CAP-0085 (Externally Managed Contract Executables).
  • Pin xdr submodule to stellar/stellar-xdr#308 head 76218a994f8c5ba752cba368080fb2f89843ad3c (.gitmodules unchanged, still stellar/stellar-xdr @ main).
  • Add crate feature cap_0085_executable_ref (flag token CAP_0085_EXECUTABLE_REF); registered in Cargo.toml + VERSION.features.
  • New generated ContractExecutableExternalRef, ContractExecutable::ExternalRef, ScVal::ExecutableTag (all cfg-gated).
  • Hand-edited src/str.rs: none (no CUSTOM_STR_IMPL type gained an arm — verified empty diff).
  • Hand-edited src/scval_validations.rs: added cfg-gated ScVal::ExecutableTag arm, treated as always-valid like ScVal::Stringflagged for reviewer confirmation.

Deferred

  • This is the anchor; there is no upstream rs-stellar-xdr CAP-0085 PR — authored here.
  • Downstream repos (rs-soroban-env, etc.) open in their own passes off this PR's fork head.

Upstream: stellar/stellar-xdr#308 (never modified — pinned + cross-linked). Related: stellar/rs-soroban-env#1703.

…Executables)

Pins xdr submodule to stellar/stellar-xdr#308 head (76218a99...).
Adds cap_0085_executable_ref feature. Hand-edited scval_validations.rs
to cover the new cfg-gated ScVal::ExecutableTag arm (treated as always
valid like ScVal::String) - flagged for reviewer.
@sisuresh

Copy link
Copy Markdown
Contributor Author

Downstream (this release run): rs-soroban-sdk SPIKE pins this rev — stellar/rs-soroban-sdk#1929

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