13 Commits

Author SHA1 Message Date
Petar Ivanov
7c19b2b426 feat: introduce the ACL and TFHEExecutor contracts
Purpose of this commit is to establish a baseline for a working fhEVM
using the ACL and TFHEExecutor contracts. More tests and a rewrite of
examples will come in a future commit.

The ACL contract manages ciphertext permissions, removing the need for
privileged storage and memory in fhEVM.

The TFHEExecutor contract checks ciphertext permissions in the ACL
contract. Only TFHEExecutor is allowed to call FHE precompiles in the
fhEVM.

Not all tests are passing at that point. Only the Rand and the
EncryptedERC20 ones work.

Tests don't use the KMS for decryption. Instead, we load the secret FHE
key and pass it to fhevmjs for decryption.

Update to fhevmjs 0.5.0-1 and tfhe-rs 0.6.1
2024-06-12 11:30:52 +03:00
Miles
2e632466fe chore: typos 2024-04-03 14:52:11 +02:00
Clément 'birdy' Danjou
249eb0ea2c fix: use encrypt64 for tests instead 32 2024-02-09 10:41:23 +01:00
Clément 'birdy' Danjou
4e9f5c8823 deps() update to fhevmjs 0.3.1 2024-01-18 11:12:20 +01:00
Joseph-André Turk
c45b2030b3 draft of improvements for the EncryptedERC20
synced with main

fixed transferFrom bug and error reporting

transfer test not passing yet

improved EncryptedERC20 features

removed error handling from EncryptedERC20
2024-01-10 12:26:53 +01:00
Clément 'birdy' Danjou
45ac8f5907 fix() fix balanceOf new method 2023-11-20 16:55:36 +01:00
David
07bb2f5678 Remove old timeouts 2023-11-07 16:53:32 +08:00
Clément 'birdy' Danjou
32ce5fe6e0 feat() rename faucet to init 2023-10-02 12:04:37 +02: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
David
5393f61a50 Changes after codegen 2023-09-14 14:44:11 +03:00
Levent Demir
5a20487dba ci: increase test timeout 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