From b7cc62ffdf1a3ad46a9fcf51b1a984dc8d00591e Mon Sep 17 00:00:00 2001 From: meelon-dev <0xmeel0n@gmail.com> Date: Fri, 30 Jan 2026 07:59:12 +0100 Subject: [PATCH 1/2] Update Security-Zones.md --- docs/devdocs/Writing Smart Contracts/Security-Zones.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/devdocs/Writing Smart Contracts/Security-Zones.md b/docs/devdocs/Writing Smart Contracts/Security-Zones.md index 77fb6d48..d1e26d01 100644 --- a/docs/devdocs/Writing Smart Contracts/Security-Zones.md +++ b/docs/devdocs/Writing Smart Contracts/Security-Zones.md @@ -60,7 +60,7 @@ let second = await client.encrypt_uint32(1332, 0); // This implicitly uses Secur await contract.addSecZone0(first, second); first = await client.encrypt_uint32(5, 1); // To use a non-default SZ, you have to be explicit -econd = await client.encrypt_uint32(1332, 1); +second = await client.encrypt_uint32(1332, 1); await contract.addSecZone1(first, second); ``` @@ -72,4 +72,4 @@ In **fhenix.js**, you can specify a Security Zone only in the `encrypt()` functi :::info[Note] The current security zones are implemented to demonstrate the concept with tradeoffs between security and performance. However, they are not indicative of a production deployment. -::: \ No newline at end of file +::: From aa34287736211c6fbd38adaad064c9c25d90284d Mon Sep 17 00:00:00 2001 From: meelon-dev <0xmeel0n@gmail.com> Date: Fri, 30 Jan 2026 08:00:21 +0100 Subject: [PATCH 2/2] Update Writing-The-Contract.md --- docs/devdocs/Tutorials/Basic/Writing-The-Contract.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/devdocs/Tutorials/Basic/Writing-The-Contract.md b/docs/devdocs/Tutorials/Basic/Writing-The-Contract.md index 89ce2f2c..8ff74a78 100644 --- a/docs/devdocs/Tutorials/Basic/Writing-The-Contract.md +++ b/docs/devdocs/Tutorials/Basic/Writing-The-Contract.md @@ -199,7 +199,7 @@ contract WrappingERC20 is ERC20 { // Make sure the sender has enough tokens. FHE.req(amount.lte(_encBalances[msg.sender])); - // Add to the balance of `to` and subract from the balance of `from`. + // Add to the balance of `to` and subtract from the balance of `from`. _encBalances[to] = _encBalances[to] + amount; _encBalances[msg.sender] = _encBalances[msg.sender] - amount; }