We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8885044 commit a9d6af5Copy full SHA for a9d6af5
docs/introductions/README.md
@@ -48,17 +48,18 @@ like this:
48
// SPDX-License-Identifier: BSD-3-Clause-Clear
49
pragma solidity ^0.8.24;
50
51
-import { FHE } from "@fhevm/solidity/lib/FHE.sol";
+import { FHE, euint64 } from "@fhevm/solidity/lib/FHE.sol";
52
import { SepoliaConfig } from "@fhevm/solidity/config/ZamaConfig.sol";
53
54
-contract MyCounter is SepoliaZamaFHEVMConfig {
+contract MyCounter is ZamaConfig {
55
euint64 counter;
56
constructor() {
57
counter = FHE.asEuint64(0);
58
}
59
60
function add() public {
61
counter = FHE.add(counter, 1);
62
+ FHE.allowThis(counter);
63
64
65
```
0 commit comments