Ordinary and large Wire frame limits
The trial selected 400 KiB (409,600 bytes) for ordinary SDK Wire frames and 2 MiB (2,097,152 bytes) for an explicit opt-in. The existing 64 MiB allocation accounting allowance, 9,437,184 nodes, and depth 64 give both profiles room for Rust traversal. The change concerns the encoded frame allowance that the SDK passes to IC Wire 0.34.0, whose own meter applies the visitor costs. Wire guide
The preparatory commit 2d4d9513357003d41608fd765a5c6024833c6797 pins
existing large reply contracts before changing the implicit default. It
covers Rechain pages, native Takt callbacks, management Candid responses,
and explicit large Wire benchmark methods. Reactor batch transport already
has its own request limits. The file opt-in applies to the direction that
carries data. The chunk must fit with its encoded metadata inside the cap.
IC message limits
The pinned PocketIC 16.1.0 executable has SHA-256
6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6.
The source review separately checked the upstream release revision
e9e42a6dd74acb9049017863e944cd5799be5b2b for ingress and inter-canister
limits. Those platform caps apply to messages and replies independently of
SDK admission. The source tag alone gives no additional binary provenance.
Ingress limit ·
Inter-canister limits
Native checks
The Wire and facade suites passed. The new codec case admitted a 409,600-byte frame, rejected the next byte under the ordinary encode and decode ceiling, and admitted the same larger value under the opt-in. The existing large-frame regressions still cover a complete 2 MiB frame and separate native allocation refusals. The management and Takt suites also passed with their explicit callback budgets. Rechain and Reactor library checks passed.
Installed large payload methods
On bf7c0e24cb9f8c1408160054a0a2925aed9e748e, canonical wasm64 clients uploaded
1 MiB to both Nyxus and Hylix using the explicit 2 MiB request profile. The
encoded requests each occupied 1,048,582 bytes. Readback verified the first
and last 64 KiB and the retained length. Another canister returned a byte-exact
1 MiB generated reply and echo, using 1,048,580 bytes of encoded Wire reply.
Ordinary storage requests and replies, including upload acknowledgements,
advertised 400 KiB. The four upload requests and all twenty matched codec
benchmark methods retained their declared larger directions.
| Canonical input or output | Storage fixture | Twenty-method fixture |
|---|---|---|
| Prepared Wasm SHA-256 | b43b0fb6015cf02365f9066c63be5907f29e8ca497198973e727ce0cccfb3e47 |
ccae333f016ee94da58d4d90930a7fd46cd826aa1f8cb5fece59808026fc5e3d |
| Exact source archive SHA-256 | 0291160cb9174fee805cfb566dfbfed371bbd66538c9853bb04049af18bec5aa |
2eba89d019da87d5bfc43be5c5eff9f529dd6bb76b3f79ac6d45458c4cff717d |
| Source inputs | 1,636 | 1,635 |
The archive inputs include the existing Store architecture Markdown edit. The installed runner verified the archived inputs and file digests against the canonical artifact receipts before using their generated clients.
Installed frame boundaries
A Quickstart-derived local prototype built on the same SDK commit used normal typed methods and a bulk-byte DTO. Its descriptor exposed 409,600 bytes for the ordinary request, reply, and constructor, and 2,097,152 bytes for file requests and replies. Both profiles exposed the same visitor budgets. The generated client exercised the installed methods on wasm64.
- An ordinary 409,600-byte frame round-tripped. At 409,601 bytes the generated client refused the request. Bypassing that client with the same encoded frame also refused in Wasm before mutating stored state.
- A separate reply endpoint accepted 409,600 bytes and trapped at 409,601 bytes. This isolated the server's reply ceiling from the request ceiling.
- An exactly 2,097,152-byte Wire request encoded successfully. The pinned PocketIC refused ingress before Wasm execution because the complete message was 2,097,323 bytes. An actual 2,096,128-byte frame then passed both ways, returning its exact 2,096,124-byte file body and recording its length. The caller reserved 1 KiB of headroom in that trial's frame.
The prototype was disposable. The build used the working copy of the SDK
with the pre-existing Store architecture Markdown edit. The runner verified
1,647 inputs and outputs. The exact 1,627-input source archive SHA-256 was
c5fe49ea7b704a734fa8d4d47119b6ecd458c145546179cc7664850642fcfad4.
The prepared Wasm SHA-256 was
5693eb696261871dae26d52ce9010ee91152a2e921d8760f9441e6be72fc069a,
canonical manifest cf18a0c10b12c77195fd8430c330c2329b3f9cc01d313e6232fa3adf42d5e150,
and Wire descriptor f8ae0f334bab527421dcb98f5351c06a591e3417402665be015338d15e011638.
Matched Heavy16
Use clean snapshots of the preparatory and candidate commits with the
maintained benches/ci/run.py --suite heavy16 adapter, locked dependencies,
the pinned wasm64 toolchain (nightly-2026-10-15, rustc
7df81381d027710708209f36b98d11b1c88f8d2e), and the default IC Wire codec.
The preparatory commit already declares Rechain's larger get_blocks reply
allowance, so both variants take the same workload source and preserve that
contract.
The two adapter runs matched workload SHA-256
d86c2eb9066df365579dd8e593cf9d52bb05891fe2ba76c70302fb648abafe96.
Heavy16 reproduction
| Artifact identity | 2 MiB ordinary baseline | 400 KiB ordinary candidate |
|---|---|---|
| Unified Git commit | 2d4d9513357003d41608fd765a5c6024833c6797 |
bf7c0e24cb9f8c1408160054a0a2925aed9e748e |
| SDK Git tree | a6d0cbe05df26047f947392226f8a146c838cd8d |
dbbaac3618f900c9dafb1f4106e80619ed8ac7fb |
| Canonical source closure SHA-256 (1,686 each) | af2a7850984bd016e408044a9e464534107baf2c36d06671d7683c5fc7ea3cd5 |
3b768ddaad8559a57ed4d6c2f8b3bff13e4c85723d6b7f7d7fd048a01d5eab50 |
| Prepared Wasm SHA-256 | 2340a321cb414d5a71784467674ddc8eab3f7f444969af3aa86e3aab078ed855 |
003bc47691ffa5f682aec6e62083dbfb0e3279f1917ca05e43d1d78ba7db237d |
Both audits passed and all measured comparison deltas were zero. Each checked 44,216 trace rows and 25,041 replicated executions over 48 rounds.
| Audited metric | Both runs |
|---|---|
| Completed steps / workflows | 594,000 / 19,200 |
| Attempts / processed endpoint messages | 202,800 / 180,000 |
| Dispatches / Wire items / verified blocks | 27,600 / 360,000 / 1,024 |
| Physical calls | 2,418 |
| Replicated instructions | 96,001,752,503 |
| Page-access instructions | 47,787,360,000 |
| Simulated elapsed time | 28,800 ms |
| Workflow latency p50 / p95 / maximum | 4,800 / 11,400 / 18,600 ms |
| Wasm / stable memory capacity | 504,365,056 / 0 bytes |
Prepared Wasm grew from 2,409,968 to 2,409,994 bytes. The candidate descriptor
advertised 409,600 bytes in both directions for ordinary start and kept
2,097,152 for get_blocks replies. Both runs had clean, unchanged source
snapshots. The maintained comparison receipt SHA-256 was
9739f3bc55043faa24b42965b92c34b8731d0f3c70eda6bdc29d1268bb1f5561.