You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix: MailboxRouterTransport ARC-4 put encoding and burn accounts
Real algod rejected puts (missing uint16 length prefix on byte[]) and burns
(depositor absent from foreign accounts for the inner MBR refund).
Co-authored-by: Cursor <cursoragent@cursor.com>
Copy file name to clipboardExpand all lines: specs/algochat/algochat.spec.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,7 @@ Provides the TypeScript implementation of the AlgoChat encrypted-messaging proto
214
214
|`planMailboxPut`| Pure mailbox put planning operation defined below. |
215
215
|`planMailboxFanout`| Pure mailbox atomic fan-out planning operation defined below. |
216
216
|`mailboxMethodSelector`| ARC-4 method selector derivation defined below. |
217
+
|`arc4EncodeDynamicBytes`| ARC-4-encodes a dynamic `byte[]` app arg as `uint16_be(len) ‖ bytes` for router puts. |
217
218
|`MAILBOX_METHODS`| Published protocol value, size boundary, preset, or search default. |
218
219
|`MAILBOX_MSG_KEY_DOMAIN`| Published protocol value, size boundary, preset, or search default. |
219
220
|`MAILBOX_ID_DOMAIN`| Published protocol value, size boundary, preset, or search default. |
@@ -295,3 +296,4 @@ Then SendQueue processes eligible entries in order, records failures for retry,
295
296
| 2 | 2026-07-14 | Added the stable full-library contract for the existing implementation and tests |
296
297
| 3 | 2026-07-14 | CHG-0002-replace-the-incomplete-no-spec-rationale-with-a-stable-full-library-algochat-con: Replace the incomplete no-spec rationale with a stable full-library AlgoChat contract covering every existing source, export, invariant, failure mode, and native test boundary |
297
298
| 2026-07-19 | CHG-0006-add-an-opt-in-mailboxroutertransport-speaking-the-raven-mailbox-protocol-per-co: Add an opt-in MailboxRouterTransport speaking the raven mailbox protocol: per-counter key derivation, MBR-exact put groups, atomic N-recipient fan-out, burn/reclaim/status, off-chain box reads, gated behind service config |
299
+
| 2026-07-19 | Fix MailboxRouterTransport for real algod: ARC-4-encode put envelopes; include depositor in burn/reclaim foreign accounts for inner refunds |
0 commit comments