Commit Graph

88 Commits

Author SHA1 Message Date
Levent Demir
d99f0c677b chore(ci): fix service name 2023-06-16 03:03:33 +02:00
Levent Demir
a13688cf1a chore(ci): make script executable 2023-06-16 02:39:48 +02:00
Levent Demir
36fa68d425 chore(ci): add script files for test after deployment of validator 2023-06-16 01:59:31 +02:00
Levent Demir
ff2ba31a8f chore(ci): mv requirements 2023-06-16 00:17:41 +02:00
Levent Demir
0502e40f64 chore(ci): mv e2e test related files to ci folder 2023-06-15 16:56:12 +02:00
Levent Demir
fbbd5ae635 refactor: improve scripts, change names 2023-06-15 15:04:06 +02:00
Levent Demir
5906fd428a chore(ci): update zbc-fhe-tool and build pyhton image from zbc-fhe-tool to offer the binary for free and for x86 and arm 2023-06-15 14:28:21 +02:00
Levent Demir
ddc27746cc chore(ci): fix sign error 2023-06-15 11:28:07 +02:00
Levent Demir
7b85a6e8af chore(ci): fix path to evmos 2023-06-14 23:45:34 +02:00
Levent Demir
ad84f40bf9 chore(ci): add demo file 2023-06-14 23:42:59 +02:00
Levent Demir
525403a441 chore(ci): add files for local e2e test and ci 2023-06-14 23:26:13 +02:00
Clément Danjou
137830bf25 Merge pull request #42 from zama-ai/fix/modifier-call
Fix() modifier call
2023-06-14 16:18:29 +02:00
Clément 'birdy' Danjou
f6a73a53bf feat() add command to generate code and prettier 2023-06-14 16:17:01 +02:00
Clément 'birdy' Danjou
0bcff19da4 prettier things 2023-06-14 16:12:59 +02:00
Clément 'birdy' Danjou
9425840512 Fix() modifier call 2023-06-14 16:07:10 +02:00
Petar Ivanov
55d7026ca9 Merge pull request #41 from zama-ai/petar/remove-unused-precompiles
Remove the cast and delegate precompiles
2023-06-14 14:46:49 +03:00
Petar Ivanov
c5a3c9a183 Remove the cast and delegate precompiles
Rationale is that cast is not yet supported and delegate is obsolete.

Furthermore, add a few minor style fixes.
2023-06-13 18:50:50 +03:00
Clément Danjou
5529a09470 Merge pull request #40 from zama-ai/fix-dep
fix() moving dependency
2023-06-05 15:39:18 +02:00
Clément 'birdy' Danjou
bfe922826c fix() moving dependency 2023-06-05 15:38:09 +02:00
Clément Danjou
a494f1b323 Merge pull request #37 from zama-ai/features/eip-712
Clean library and update EIP 712
2023-06-05 10:44:15 +02:00
Clément 'birdy' Danjou
789631b461 feat() Add abstract for EIP712 modifier 2023-06-02 20:36:48 +02:00
Clément 'birdy' Danjou
c962ef89b2 fix() various fix based on review 2023-06-02 18:33:17 +02:00
Clément Danjou
400d910863 Fix typo
Co-authored-by: Petar Ivanov <29689712+dartdart26@users.noreply.github.com>
2023-06-02 18:20:38 +02:00
Clément 'birdy' Danjou
006f20e942 Update contracts with new lib 2023-06-01 17:12:05 +02:00
Clément 'birdy' Danjou
1abdec2ba6 Implement 712 with openzeppelin and begin clean 2023-06-01 17:11:29 +02:00
Louis Tremblay Thibault
8de8f67497 feat(output): support classical re-encryption of ciphertexts (#32)
Reencrypt values to a classical (non-FHE) public key scheme.
Only reencrypt after verifying an EIP712 signature.

Change the test such that it uses the new reencrypt code.
2023-05-31 10:54:55 +03:00
Louis Tremblay Thibault
9804264a44 Merge pull request #31 from zama-ai/louis-fix-codegen
Update codegen script and typed library
2023-05-24 09:05:57 +02:00
Louis Tremblay Thibault
f65bfe11d7 fix(types): fix codegen script and typed lib 2023-05-22 11:39:34 +02:00
Petar Ivanov
462e895812 Merge pull request #28 from zama-ai/petar/fix-reencrypt-output-val
Fix reencrypt()'s return value
2023-05-07 13:20:36 +03:00
Petar Ivanov
48f5db37cf Fix reencrypt()'s return value
Add a missing `reencrypted = new bytes(maxCiphertextBytesLen)` line in
the implementation of reencrypt. Not having it leads to a
correctly-sized output, but the contents are incorrect - most of the
resulting ciphertext serialization bytes are zeroes.
2023-05-05 18:01:26 +03:00
Petar Ivanov
b6c5c04639 Add .vscode to gitignore 2023-05-05 10:40:31 +03:00
Louis Tremblay Thibault
1633c42096 fix(types): add require for all types 2023-04-26 14:27:22 -04:00
Louis Tremblay Thibault
3a85718fd8 fix(types): remove faulty return value 2023-04-26 09:01:04 -04:00
Louis Tremblay Thibault
a2d6484976 fix(types): fix return types of lt and le 2023-04-24 14:52:23 -04:00
Louis Tremblay Thibault
e65ca75a07 Merge pull request #23 from zama-ai/louis-types
FHEUIntX type boilerplate code
2023-04-24 20:11:19 +02:00
Louis Tremblay Thibault
daa4e0b67b fix(types): rename to_euint to toEuint 2023-04-24 13:15:45 -04:00
Louis Tremblay Thibault
5788b2dd25 feat(types) typed examples 2023-04-24 11:44:03 -04:00
Louis Tremblay Thibault
0f64cb5fba fix(codegen) add mul impl 2023-04-20 15:25:13 +02:00
Louis Tremblay Thibault
0aa96530e1 feat(codegen): remove artifacts 2023-04-20 15:16:19 +02:00
Petar Ivanov
beecfc1a2d Merge pull request #26 from zama-ai/petar/remove-delegate-ciphertext
Remove the delegateCiphertext precompile
2023-04-20 15:56:27 +03:00
Petar Ivanov
de5cc57f48 Remove the delegateCiphertext precompile 2023-04-20 15:51:54 +03:00
Louis Tremblay Thibault
4e31db4b06 feat(types): add type system architecture 2023-04-20 14:27:37 +02:00
Clément Danjou
a19aa4bba5 Merge pull request #25 from zama-ai/feature/add-auction-demo-feature
feat() add bid counter and manual stop
2023-04-14 11:40:02 +02:00
Clément 'birdy' Danjou
f1161a30c0 feat() add bid counter and manual stop 2023-04-14 10:22:39 +02:00
Clément Danjou
a43c245d45 Merge pull request #24 from zama-ai/security-updates
fix() make balances, allowances and bid as internal
2023-04-12 11:32:57 +02:00
Clément 'birdy' Danjou
702cbac42c feat() add bidcounter 2023-04-12 10:55:55 +02:00
Clément 'birdy' Danjou
7464c84de9 fix() make balances, allowances and bid as internal 2023-04-07 17:50:54 +02:00
Louis Tremblay Thibault
ee96e54f9e fix(codegen): use specified syntax 2023-03-31 13:09:44 +02:00
tremblaythibaultl
8192fd7eb3 fix: precompile addresses 2023-03-21 15:32:38 +01:00
tremblaythibaultl
131ad56ee3 feat: v1 code generator 2023-03-21 13:54:14 +01:00