Commit a0bbab3
authored
fix: wasm_memory_threshold is now bounded by 256TiB (#304)
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](dfinity/ic#10574) 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).1 parent 9460269 commit a0bbab3
2 files changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
| 18 | + | |
18 | 19 | | |
19 | 20 | | |
20 | 21 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
79 | 79 | | |
80 | 80 | | |
81 | 81 | | |
82 | | - | |
| 82 | + | |
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
| |||
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
118 | | - | |
| 118 | + | |
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| |||
0 commit comments