Commit Graph

73 Commits

Author SHA1 Message Date
Joseph-André Turk
d711a11d23 Mocked version of TFHE.sol for coverage and faster tests
Mocked version of TFHE.sol for faster tests and coverage

renamed lib_mock to mocks and added documentation

prettier
2024-01-02 14:29:19 +01:00
Clément 'birdy' Danjou
443276fb99 docs() Change summary and add new section 2023-12-22 15:27:21 +01:00
Joseph-André Turk
bc6649def1 made shl and shr more consistent with cleartext shift operators by restraining second operand to 8 bits
reset signers.ts

made shl and shr more consistent with cleartext shift operators by restraining second operand to 8 bits
2023-12-21 10:36:21 +01:00
Levent Demir
63fa1e66c7 fix(faucet): add a grep to ignore info statements
For the new stack some info statements can appear when calling faucet
which call ethermintd keys list output=json

INFO: global keys loaded from: /root/.ethermintd/zama/keys/network-fhe-keys
INFO: global keys are initialized automatically using FHEVM_GO_KEYS_DIR env variable
{"height":"0","txhash":"A..."}
2023-12-07 14:40:55 +01:00
David
edd0e11ecf Fix ebool not + tests for ebool ops 2023-11-27 11:44:22 +08:00
Clément 'birdy' Danjou
45ac8f5907 fix() fix balanceOf new method 2023-11-20 16:55:36 +01:00
Clément 'birdy' Danjou
8b9b723615 feat() Add error handling on ERC20 2023-11-20 15:10:08 +01:00
Clément 'birdy' Danjou
ffc8b4de6a feat() add deploy task 2023-11-13 12:57:06 +01:00
Clément 'birdy' Danjou
a79963b394 feat() remove balanceOf to have one function for both 2023-11-12 03:53:01 +01:00
Clément 'birdy' Danjou
ab3bf8e00a feat() grantAccess take an array of identifiers 2023-11-12 03:38:49 +01:00
Clément 'birdy' Danjou
17372cfd33 feat() rename identified with compliant 2023-11-10 16:06:46 +01:00
Clément 'birdy' Danjou
6dd601ea68 feat() add feature for government to access balance of their citizen 2023-11-10 14:47:19 +01:00
Clément 'birdy' Danjou
3fb4719494 feat() remove possibility for registrar to see user aset 2023-11-09 16:35:52 +01:00
Clément 'birdy' Danjou
8d5adb4981 feat() change model from country registrar to independent registrar 2023-11-09 16:10:14 +01:00
Clément 'birdy' Danjou
e5c50b5568 feat() Implement feature explained in the article 2023-11-08 16:33:10 +01:00
David
07bb2f5678 Remove old timeouts 2023-11-07 16:53:32 +08:00
David
3dea37c956 Fix network1 tests waiting for new block 2023-11-02 14:47:23 +08:00
Clément Danjou
6ca6c141c8 Merge pull request #205 from zama-ai/confidential-did
Identity + ERC20 Contract
2023-10-26 11:00:33 +02:00
David
dca8d0679b Add conditional network1 tests 2023-10-25 16:41:46 +08:00
David
bd581422e5 Add network1 development support 2023-10-24 10:56:15 +08:00
Clément 'birdy' Danjou
9e348c7a5c fix() force 4 users if in band 2023-10-20 14:27:12 +02:00
Clément 'birdy' Danjou
34134a1814 debug() add console for debug 2023-10-20 14:27:12 +02:00
Clément 'birdy' Danjou
1332f0b1aa fix() fix case 2023-10-20 14:27:12 +02:00
Clément 'birdy' Danjou
31215d4006 contracts() add identity 2023-10-20 14:27:12 +02:00
Clément Danjou
07f79cf516 Merge pull request #201 from zama-ai/tests/parallel-signers
tests() use signers to allow parallel execution
2023-10-18 11:08:45 +02:00
David
ab0b7ce02b Fix tests in macbook 2023-10-18 11:40:55 +08:00
Clément 'birdy' Danjou
449650652e test() gas can't be above 10000000 2023-10-16 16:09:08 +02:00
Clément 'birdy' Danjou
0a8b016341 tests() use signers to allow parallel execution 2023-10-16 12:08:38 +02:00
youben11
d35e512aa0 feat(lib): add support for the remainder operation 2023-10-10 14:58:18 +01:00
david-zama
2d6a98f5bd Merge pull request #195 from zama-ai/fix-opt-requires
Fix optimistic requires
2023-10-09 08:23:46 +03:00
David
0b1eca810e Add stateful opt req test 2023-10-09 12:41:31 +08:00
youben11
275b5c9d55 fix(tests): get container name from env instead of hardcoded 2023-10-06 08:38:40 +01:00
David
ba72900223 Fix optimistic requires 2023-10-06 11:19:18 +08:00
Clément 'birdy' Danjou
1fb412c252 fix() dont call faucet if not local 2023-10-03 11:25:39 +02:00
Clément 'birdy' Danjou
311812f485 feat() check network before assigning wallet 2023-10-02 12:51:08 +02:00
Clément 'birdy' Danjou
32ce5fe6e0 feat() rename faucet to init 2023-10-02 12:04:37 +02:00
Clément Danjou
2fd7798b42 Merge branch 'main' into feature/run-parallel 2023-10-02 11:32:23 +02:00
Clément Danjou
e8acd26d80 Merge pull request #184 from zama-ai/feat/simplify-dao
feat() simplify DAO process
2023-10-02 10:51:59 +02:00
David
e68a07fc4e Add explicit casting from ebool to euint16/euint32 2023-10-02 12:35:19 +08:00
Clément 'birdy' Danjou
882c073650 fix() remove timeout and make it generic 2023-10-01 00:40:21 +02:00
Clément 'birdy' Danjou
a10db3c1ad feat() add option to run in parallel 2023-09-30 23:16:12 +02:00
Clément 'birdy' Danjou
c29425ddf8 feat() simplify DAO process 2023-09-30 18:49:32 +02:00
Clément 'birdy' Danjou
47eb9132ff fix() fix some issue with governor contract 2023-09-29 16:49:14 +02:00
David
3d133c6951 Implement operator overloading
following operators are supported:
+, - (unary and binary), *, &, |, ^, ~ (unary)
2023-09-21 10:16:47 +03:00
david-zama
227b5416ef Merge branch 'main' into use-fhe-lib 2023-09-21 10:15:52 +03:00
Levent Demir
367694b911 fixture: increase tiemout 2023-09-20 15:44:36 +02:00
David
f9a7ee72bf Use fheLib precompile for all internal functions 2023-09-19 14:29:01 +03:00
Petar Ivanov
c91c2c2556 Add tests for storing decrypted random values (#136)
Tests apply to: https://github.com/zama-ai/go-ethereum/pull/167
2023-09-19 13:48:17 +03:00
David
2773902230 Rework overload tests not to use trivial encryption 2023-09-18 10:00:40 +03:00
David
5393f61a50 Changes after codegen 2023-09-14 14:44:11 +03:00