Skip to content

SPIKE: Protocol 28 (CAP-0084) — muxed contract addresses#837

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

SPIKE: Protocol 28 (CAP-0084) — muxed contract addresses#837
sisuresh wants to merge 6 commits into
stellar:protocol-nextfrom
sisuresh:p28-cap-0084

Conversation

@sisuresh

@sisuresh sisuresh commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

SPIKE: bumps stellar-rpc's Rust/Go dep chain for Protocol 28 (CAP-0084, muxed contract addresses). Draft — pins to open upstream PR heads.

Changes

  • soroban-env-host-curr / soroban-simulation-curr → rs-soroban-env#1700 head 26b035c0
  • stellar-xdr → rs-stellar-xdr#552 head cf7fded (exactly the rev env#1700 pins, so cargo unifies preflight's xdr with the host's)
  • Cargo.lock refreshed to the new git revs; local preflight/xdr2json + go build/go vet clean
  • go.mod: pin unchanged; fixed stale comment go-stellar-sdk#5960 (closed) → #5961
  • CI: refreshed deferred P28 -vnext image comment core#5332#5337 head 4cdd2fc9

Deferred

  • P28 integration matrix -vnext image: needs a Jenkins -vnext core build matching core#5337 HEAD (4cdd2fc9); not published yet. Leg still runs against the CAP-0083 P28 core (validates RPC/P28 plumbing, not CAP-0084 SAC muxed-contract host behavior).
  • Productionization: flip git-rev pins to merged stellar/* SHAs (or crates.io 28.x) and drop the go.mod replace + its .golangci.yml allow-list entry once the upstreams merge.
  • dependency-sanity-checker / complete red on protocol-next is expected for this SPIKE, not a blocker.

Upstream

  • rs-stellar-xdr#552
  • rs-soroban-env#1700
  • go-stellar-sdk#5961

Related chain

  • stellar-xdr#307
  • stellar-core#5337

sisuresh added 5 commits June 26, 2026 23:15
Re-pin CAP-0084 spike deps to the latest fork branch heads and fix the
renamed XDR feature flag:
- Rust stellar-xdr -> sisuresh/rs-stellar-xdr@7b46a60d (rs-stellar-xdr#549);
  feature cap_0084 -> cap_0084_muxed_contract (upstream rename).
- -curr host/simulation -> sisuresh/rs-soroban-env@8cf4f5e1 (rs-soroban-env#1696);
  host-curr enables cap_0084_muxed_contract (next alone no longer pulls it in,
  else the SCAddress match is non-exhaustive).
- Go go-stellar-sdk replace -> sisuresh/go@318bde14 (go-stellar-sdk#5960).

integration-p28 core image still on the CAP-0083 vnext build; re-pin to the
e32fa423-prefixed -vnext once the upstream stellar-core PR (stellar/stellar-core#5332)
Jenkins build publishes it.
Advance the CAP-0084 spike's -curr host/simulation deps to the current
rs-soroban-env#1696 fork head (87a9b566 -> 448016ac; picks up the anyhow
1.0.103 RUSTSEC-2026-0190 bump). Feature flags unchanged: `next` still
transitively enables stellar-xdr/cap_0084_muxed_contract.

stellar-xdr stays at 8f826caa: env#1696's head still pins that xdr rev, and
cargo must unify preflight's stellar-xdr with the host's into one package.
stellar#549's tip (4761390051) is 1 commit ahead but only regenerates JSON schemas
(no Rust change), so nothing is lost holding here. Bump both together once
env re-pins to the newer xdr rev.

Verified: `cargo build -p preflight` resolves to a single stellar-xdr and a
single soroban-env-host source and compiles.
The integration-p28-pkg re-pin note pointed at a stale stellar-core commit
prefix (e32fa423). stellar-core#5332 head is now b2b06a8; update the
deferral comment so the next pass polls for and pins the correct ~vnext
build. No functional change (CAP-0083 vnext image still in place).
@sisuresh

sisuresh commented Jul 3, 2026

Copy link
Copy Markdown
Contributor Author

- soroban-env-host-curr / soroban-simulation-curr: rs-soroban-env#1700 head 26b035c0
- stellar-xdr: rs-stellar-xdr#552 head cf7fded (matches env#1700's xdr pin)
- fix stale go.mod comment: go-stellar-sdk #5960 (closed) -> #5961 (pin unchanged)
- refresh deferred P28 vnext-image comment: core #5332 -> #5337 head 4cdd2fc9
@sisuresh sisuresh changed the base branch from main to protocol-next July 3, 2026 03:36
@sisuresh sisuresh changed the title SPIKE: Protocol 28 (CAP-0084) SPIKE: Protocol 28 (CAP-0084) — muxed contract addresses Jul 3, 2026
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