Skip to content

Commit 0c1c61e

Browse files
authored
Merge pull request #10179 from bskrksyp9/patch-35
Update index.md
2 parents 91ca14d + c940a34 commit 0c1c61e

File tree

1 file changed

+1
-1
lines changed
  • src/content/developers/tutorials/all-you-can-cache

1 file changed

+1
-1
lines changed

src/content/developers/tutorials/all-you-can-cache/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ The other values (3 bytes, 4 bytes, etc.) are handled the same way, just with di
295295
revert("Error in encodeVal, should not happen");
296296
```
297297

298-
If we get here it means we got a key that's not less than than 16\*256<sup>15</sup>. But `cacheWrite` limits the keys so we can't even get up to 14\*256<sup>16</sup> (which would have a first byte of 0xFE, so it would look like `DONT_CACHE`). But it doesn't cost us much to add a test in case a future programmer introduces a bug.
298+
If we get here it means we got a key that's not less than 16\*256<sup>15</sup>. But `cacheWrite` limits the keys so we can't even get up to 14\*256<sup>16</sup> (which would have a first byte of 0xFE, so it would look like `DONT_CACHE`). But it doesn't cost us much to add a test in case a future programmer introduces a bug.
299299

300300
```solidity
301301
} // encodeVal

0 commit comments

Comments
 (0)