Skip to content

SPIKE: Protocol 28 (CAP-0084)#2131

Draft
sisuresh wants to merge 2 commits into
stellar:mainfrom
sisuresh:p28-cap-0084
Draft

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

Conversation

@sisuresh

Copy link
Copy Markdown

Pins the JS XDR stack to the CAP-0084 SPIKE forks so lab can decode and render the new SC_ADDRESS_TYPE_MUXED_CONTRACT arm on SCAddress. Lab decodes XDR generically via the codec + stellar-xdr-json, so the arm flows in purely through the dep bump.

Changes

  • package.json / pnpm-workspace.yaml: pin @stellar/stellar-sdk + @stellar/stellar-base to local CAP-0084 file: tarballs; @stellar/stellar-xdr-json likewise; lockfile pinned to all three.
  • Gating fix: the muxed-contract arm now lands on the next channel only (was leaking into released curr); cascaded an SDK browser rebuild. Tarballs renamed -v2 to defeat pnpm's content-addressable cache.
  • createStore.ts: NEXT_PUBLIC_CUSTOM_{HORIZON_URL,RPC_URL,PASSPHRASE} fallbacks for the Quickstart-bundled lab.

Deferred

  • Pins are local file: tarballs of the SPIKE forks; will flip to published versions once upstreams release.
  • Canonical muxed-contract StrKey (no upstream version byte yet).

Upstream (full head SHAs)

sisuresh added 2 commits June 27, 2026 00:32
Pin the JS XDR stack to the CAP-0084 SPIKE forks so lab can decode and render
the new SC_ADDRESS_TYPE_MUXED_CONTRACT arm on SCAddress:

- package.json: @stellar/stellar-sdk + @stellar/stellar-xdr-json → local CAP-0084
  tarballs (local-pkgs/)
- pnpm-workspace.yaml: override @stellar/stellar-base → CAP-0084 fork tarball so
  all transitive consumers (sdk lib/, wallets-kit) share the patched codec
- createStore.ts: NEXT_PUBLIC_CUSTOM_{HORIZON_URL,RPC_URL,PASSPHRASE} fallbacks
  for the Quickstart-bundled lab

Upstream SPIKE PRs (cross-linked):
- js-stellar-base  sisuresh/js-stellar-base#2
- js-stellar-sdk   sisuresh/js-stellar-sdk#2
- js-stellar-xdr-json sisuresh/js-stellar-xdr-json#2
The SC_ADDRESS_TYPE_MUXED_CONTRACT arm was leaking into the released
`curr` codec of both stellar-base and the sdk's vendored base. Re-pin to
freshly built tarballs that gate the arm to the `next` channel only.

- stellar-base-cap0084-v2.tgz: stellar/js-stellar-base#980 head — curr
  codec drops the muxed-contract arm; fromScAddress guarded so the
  curr-bound Address codec no longer throws.
- stellar-sdk-cap0084-v2.tgz: stellar/js-stellar-sdk#1499 head — same
  gating in the vendored base + browser bundle rebuilt.
- stellar-xdr-json unchanged (head did not advance).
- Renamed tarballs to -v2 to defeat pnpm's content-addressable file:
  cache; lockfile regenerated against all three pins.
@stellar-jenkins-ci

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog (Not Ready)

Development

Successfully merging this pull request may close these issues.

1 participant