Skip to content

Add WIP protocol 28 soroban host for CAP-85#19

Draft
sisuresh wants to merge 1 commit into
p28-cap-0085-basefrom
p28-cap-0085
Draft

Add WIP protocol 28 soroban host for CAP-85#19
sisuresh wants to merge 1 commit into
p28-cap-0085-basefrom
p28-cap-0085

Conversation

@sisuresh

Copy link
Copy Markdown
Owner

Description

WIP wiring of a per-protocol soroban-env-host submodule for protocol 28 (CAP-85, externally managed contract executables), gated behind next / WIP_SOROBAN_PROTOCOL, mirroring the p27 module.

  • .gitmodules + src/rust/soroban/p28 submodule (rs-soroban-env CAP-85)
  • src/rust/Cargo.toml: soroban-env-host-p28 git/rev pin + unified feature
  • src/rust/src/soroban_proto_all.rs: p28 adaptor module + HOST_MODULES entry; soroban_curr → p28 under next
  • src/rust/src/soroban_module_cache.rs: p28_cache field + arms
  • src/rust/src/dep-trees/p28-expect.txt, Cargo.lock: regenerated
  • configure.ac / common.mk / src/Makefile.am: CAP-85 flag wiring
  • src/protocol-curr/xdr, ProtocolVersion.h, TransactionFrame.cpp: p28 XDR

Host pin note

The p28 host is pinned at the CAP-85 branch with rs-soroban-env stellar#1698 ("lazily decode ledger entries passed in e2e flow") reverted, keeping the pre-stellar#1698 e2e_invoke / wasm_module_memory_cost interface that core's mirror-of-p27 glue targets.

Base branch p28-cap-0085-base is pinned at the branch point (d6f2546); the fork's master is stale.

Wire up a per-protocol soroban-env-host submodule for protocol 28
(CAP-85, externally managed contract executables), gated behind the
`next` feature and WIP_SOROBAN_PROTOCOL, mirroring the existing p27
module:

- .gitmodules + src/rust/soroban/p28 submodule (rs-soroban-env CAP-85).
- src/rust/Cargo.toml: soroban-env-host-p28 git/rev pin (+ unified feature).
- src/rust/src/soroban_proto_all.rs: p28 adaptor module + HOST_MODULES entry;
  soroban_curr aliased to p28 under `next`.
- src/rust/src/soroban_module_cache.rs: p28_cache field + arms.
- src/rust/src/dep-trees/p28-expect.txt, Cargo.lock: regenerated.
- configure.ac / common.mk / src/Makefile.am: CAP-85 flag wiring.
- src/protocol-curr/xdr, ProtocolVersion.h, TransactionFrame.cpp: p28 XDR.

The p28 host is pinned at the CAP-85 branch with rs-soroban-env stellar#1698
("lazily decode ledger entries passed in e2e flow") reverted, so the host
keeps the pre-stellar#1698 e2e_invoke/wasm_module_memory_cost interface that
core's mirror-of-p27 glue targets. Adopting stellar#1698 requires separate C++
bridge work and is out of scope for this WIP host.
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