Repository navigation
Commit b8749b8
committed
Add WIP protocol 28 soroban host for CAP-85
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 #1698
("lazily decode ledger entries passed in e2e flow") reverted, so the host
keeps the pre-#1698 e2e_invoke/wasm_module_memory_cost interface that
core's mirror-of-p27 glue targets. Adopting #1698 requires separate C++
bridge work and is out of scope for this WIP host.1 parent d6f2546 commit b8749b8
13 files changed
Lines changed: 678 additions & 30 deletions
File tree
- src
- protocol-curr
- rust
- soroban
- src
- dep-trees
- transactions
- util
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
25 | 25 | | |
26 | 26 | | |
27 | 27 | | |
28 | | - | |
29 | | - | |
| 28 | + | |
| 29 | + | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
564 | 564 | | |
565 | 565 | | |
566 | 566 | | |
| 567 | + | |
| 568 | + | |
| 569 | + | |
567 | 570 | | |
568 | 571 | | |
569 | 572 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
103 | 106 | | |
104 | 107 | | |
105 | 108 | | |
| |||
202 | 205 | | |
203 | 206 | | |
204 | 207 | | |
205 | | - | |
| 208 | + | |
206 | 209 | | |
207 | 210 | | |
| 211 | + | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
208 | 217 | | |
209 | 218 | | |
210 | 219 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
114 | 114 | | |
115 | 115 | | |
116 | 116 | | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
117 | 124 | | |
118 | 125 | | |
119 | 126 | | |
| |||
202 | 209 | | |
203 | 210 | | |
204 | 211 | | |
205 | | - | |
| 212 | + | |
| 213 | + | |
| 214 | + | |
206 | 215 | | |
207 | 216 | | |
208 | 217 | | |
| |||
0 commit comments