Skip to content

Commit d8aebfc

Browse files
docs: drop "wire format" jargon for the plain fact
"the wire format K cannot read" swapped one undefined term for another. "binary XDR transaction format, which K cannot parse" says the same thing without the jargon. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
1 parent 5097e29 commit d8aebfc

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

docs/architecture.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ The server implements six RPC methods — `getHealth`, `getNetwork`, `getLatestL
4545

4646
### `transaction.py``TransactionEncoder`
4747

48-
`TransactionEncoder` decodes Stellar's binary XDR, the wire format K cannot read. It turns a `stellar_sdk` transaction envelope into a JSON request envelope containing the RPC method, the transaction hash, the envelope XDR, and the decoded operations as JSON "steps". For the one case K cannot consume as JSON — a wasm upload, whose `ModuleDecl` has no JSON form — it produces the kasmer steps in K-AST form for direct injection into the `<program>` cell.
48+
`TransactionEncoder` decodes Stellar's binary XDR transaction format, which K cannot parse. It turns a `stellar_sdk` transaction envelope into a JSON request envelope containing the RPC method, the transaction hash, the envelope XDR, and the decoded operations as JSON "steps". For the one case K cannot consume as JSON — a wasm upload, whose `ModuleDecl` has no JSON form — it produces the kasmer steps in K-AST form for direct injection into the `<program>` cell.
4949

5050
**[Detailed documentation](transaction.md)**
5151

docs/transaction.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# `transaction.py``TransactionEncoder`
22

3-
`TransactionEncoder` decodes Stellar's binary XDR, the wire format the K semantics cannot read. It turns a transaction envelope into the JSON *request envelope* consumed by [`node.md`](node-semantics.md), computes the transaction hash and contract ids, and (for wasm uploads only) parses the bytecode into a `ModuleDecl`.
3+
`TransactionEncoder` decodes Stellar's binary XDR transaction format, which the K semantics cannot parse. It turns a transaction envelope into the JSON *request envelope* consumed by [`node.md`](node-semantics.md), computes the transaction hash and contract ids, and (for wasm uploads only) parses the bytecode into a `ModuleDecl`.
44

55
---
66

0 commit comments

Comments
 (0)