Skip to content

fix: wasm_memory_threshold is now bounded by 256TiB#304

Merged
mraszyk merged 2 commits into
mainfrom
mraszyk/max-wasm-memory-threshold
Jul 6, 2026
Merged

fix: wasm_memory_threshold is now bounded by 256TiB#304
mraszyk merged 2 commits into
mainfrom
mraszyk/max-wasm-memory-threshold

Conversation

@mraszyk

@mraszyk mraszyk commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

This PR updates the maximum allowed value for wasm_memory_threshold to match that of wasm_memory_limit which also restricts (with a different semantics) wasm memory usage and thus using the same maximum allowed value makes sense. Both values are now specified to be up to 2^{48} bytes (256 TiB), reflecting the replica PR for wasm_memory_threshold and the actual maximum allowed value for wasm_memory_limit already in place (2^{48} bytes rather than 2^{48}-1 bytes).

@github-actions github-actions Bot added the interface-spec Changes to the IC interface specification label Jun 26, 2026
@mraszyk mraszyk marked this pull request as ready for review June 26, 2026 09:57
@mraszyk mraszyk requested review from a team as code owners June 26, 2026 09:57
Comment thread docs/references/ic-interface-spec/changelog.md Outdated
@mraszyk mraszyk merged commit a0bbab3 into main Jul 6, 2026
11 checks passed
@mraszyk mraszyk deleted the mraszyk/max-wasm-memory-threshold branch July 6, 2026 12:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

interface-spec Changes to the IC interface specification

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants