Commit Graph

239 Commits

Author SHA1 Message Date
Levent Demir
fec89763f9 ci(benchmark): add first version of ERC20 transfer benchmark 2023-09-12 14:47:19 +02:00
Clément Danjou
54a7cb2f17 fix() remove useless title 2023-09-08 17:25:02 +02:00
Clément Danjou
35fee76a54 Update README.md 2023-09-08 17:24:11 +02:00
Clément Danjou
5fabab8d81 Merge pull request #130 from zama-ai/readme-patch-1
Update README.md
2023-09-08 17:23:36 +02:00
Clément Danjou
58c132dc44 Update README.md 2023-09-08 16:32:15 +02:00
Clément Danjou
40d00d4f5c Merge pull request #115 from zama-ai/governor-dao
Contracts() Governor DAO
2023-09-08 16:20:11 +02:00
Clément 'birdy' Danjou
95335d6c3f fix() fix signers 2023-09-08 15:40:09 +02:00
Clément 'birdy' Danjou
5b2a90eb85 fix() create function to automatically test gasLimit 2023-09-08 15:38:41 +02:00
Levent DEMIR
9e21eea407 Update README.md 2023-09-08 15:34:30 +02:00
Levent Demir
af652d0f24 doc(README): add a few line to run the test with local dev image 2023-09-08 15:29:18 +02:00
Clément 'birdy' Danjou
260d973a83 fix() Increase gas limit to make transaction work 2023-09-08 14:17:14 +02:00
Clément 'birdy' Danjou
331eec9a93 test() comment failing tests 2023-09-07 18:34:34 +02:00
Clément 'birdy' Danjou
9d8f0030b8 test() add test for succeed/fails 2023-09-07 18:01:47 +02:00
Clément 'birdy' Danjou
531903adc7 test() Add test on vote results 2023-09-07 18:01:45 +02:00
Clément 'birdy' Danjou
6e2e31dbd7 test() increase timeout 2023-09-07 18:01:23 +02:00
Clément 'birdy' Danjou
bd79037f2d fix() remove TFHE.req 2023-09-07 18:01:23 +02:00
Clément 'birdy' Danjou
b75924e4b3 test() optimize latency 2023-09-07 18:01:23 +02:00
Clément 'birdy' Danjou
1150f1c48b test() Add more tests to DAO 2023-09-07 18:01:22 +02:00
Clément 'birdy' Danjou
053466bcfd tests() add test on propose 2023-09-07 18:01:22 +02:00
Clément 'birdy' Danjou
82b4267db6 contracts() Update Governor/Comp 2023-09-07 18:01:22 +02:00
Clément 'birdy' Danjou
986cbfa870 contracts() update Governor test 2023-09-07 18:01:20 +02:00
Clément 'birdy' Danjou
0fc4492221 contracts() Add test for Comp 2023-09-07 18:00:41 +02:00
Clément 'birdy' Danjou
f9fab10291 contracts() Add first version of Comp and Governor contracts 2023-09-07 18:00:06 +02:00
Levent Demir
6227ec36d7 0.1.11 v0.1.11 2023-09-07 16:19:33 +02:00
Levent Demir
fad9761094 ci: update accordingly package.json for faucet commands 2023-09-07 16:08:11 +02:00
Levent Demir
d3a72270cd ci: give coins to Bob and Carol for main workflow also + small improvement (naming) 2023-09-07 16:08:11 +02:00
Levent Demir
9471483b84 0.1.10 2023-09-07 15:22:55 +02:00
Levent Demir
d57502e9b1 0.1.9 2023-09-07 15:21:54 +02:00
Petar Ivanov
323b991765 Add support for the FHE rand precompile
At the moment, the underlying implementation is using a plaintext
PRNG. Because of that, we put a warning for users to be aware of.

Support generation of 8, 16 and 32-bit unsigned integers. Users call it
by `TFHE.randEuint32()` and so on for other types. Can only be called in
transactions - calling it in view functions will fail.

Add tests.

Finally, update the `fhevmjs` dependency to `~0.2.0`.
2023-09-07 15:18:52 +02:00
Levent Demir
5a20487dba ci: increase test timeout 2023-09-07 10:07:40 +02:00
Levent Demir
f9c42c5f7c ci: add faucet for Bob and Carol, needed for blindAuction test 2023-09-07 10:07:40 +02:00
Levent Demir
0f62b37134 chore: add test for blind auction 2023-09-07 10:07:40 +02:00
Louis Tremblay Thibault
7079aa15ad Remove TFHE.req (#121)
* fix(lib): remove requires

* fix(contracts): remove use of `TFHE.req`
2023-09-06 16:19:10 +02:00
david-zama
4125999fc3 Merge pull request #120 from zama-ai/fix/codegen-command
Fix codegen command
2023-09-05 11:10:29 +03:00
David
11ba095bbd Fix codegen command 2023-09-05 11:06:10 +03:00
david-zama
a084c6141f Merge pull request #116 from zama-ai/feature/test-codegen
Add binary operator tests in solidity
2023-09-01 10:35:25 +03:00
David
994cfb8c3b Merge branch 'main' into feature/test-codegen 2023-09-01 08:26:44 +03:00
David
9884ed36bb Address Petar's comments 2023-09-01 08:19:17 +03:00
Clément Danjou
dcefd568f2 Merge pull request #118 from zama-ai/contracts-utils
test() add utils to test with signers
2023-08-31 15:51:28 +02:00
Clément 'birdy' Danjou
0dcf96e0c1 test() add utils to test with signers 2023-08-31 15:41:19 +02:00
David
d5d8c6221d Add binary operator tests in solidity
Operator changes:
- remove scalar div operator where scalar is left
- perform trivial encryption in scalar for sub/shl/shr operators
2023-08-31 09:57:45 +03:00
david-zama
0b03ebb420 Merge pull request #114 from zama-ai/remove-ordering-code
Remove codegen sorting code
2023-08-29 08:59:11 +03:00
David
a7457ac73f Remove codegen sorting code 2023-08-28 11:51:43 +03:00
david-zama
2c308fa31a Merge pull request #113 from zama-ai/rewrite-codegen
Rewrite codegen
2023-08-28 11:49:38 +03:00
David
880278284e Finish codegen rewrite
- TFHE.sol regenerated
- codegen.py deleted
- original order kept
2023-08-28 10:09:33 +03:00
David
13c41043f3 Rewrite codegen first stab 2023-08-24 11:34:50 +03:00
Clément Danjou
fe41b85cdb Merge pull request #111 from zama-ai/fix/main-branch
Main.yml wasn't changed to use docker for test
v0.1.9
2023-08-22 16:43:49 +02:00
David
841b64e677 Main.yml wasn't changed to use docker for test 2023-08-22 17:25:29 +03:00
david-zama
5b89bb0490 Merge pull request #109 from zama-ai/feature/tfhe-tests
Draft test suite for TFHE operations
2023-08-22 12:49:03 +03:00
david-zama
df4cc05bc0 Merge pull request #106 from zama-ai/feature/add-div
Add div scalar function
2023-08-22 11:26:16 +03:00