24 Commits

Author SHA1 Message Date
Joseph-André Turk
624f5ea8bc chore: adds illegal reencrypt tests 2024-10-21 20:24:25 +02:00
Joseph-André Turk
b5c3234874 feat: set null FHE gas prices + remove Payment lib 2024-09-27 15:42:42 +02:00
Joseph-André Turk
a00fc344fe feat: added InputVerifier contract with tests and mock
chore: fixed coverage
2024-09-19 04:32:49 +02:00
Joseph-André Turk
fa5cb0edaf feat: set protocol addresses in dApp storage
chore: removed useless import
2024-09-10 15:01:43 +02:00
Joseph-André Turk
52c90d75fd feat: factored tx gasprice in fhe gasprice with min cap 2024-08-28 16:33:27 +02:00
Joseph-André Turk
ce34ad5fd6 feat: fhe-payment v0 2024-08-27 19:35:28 +02:00
Joseph-André Turk
f4c992eb1e fix: fix regression test
chore: updated some comment
2024-06-30 23:10:42 +02:00
Joseph-André Turk
241f020ed0 chore: fixed CI and removed useless args in createInstance 2024-06-29 15:31:39 +02:00
Joseph-André Turk
41d3a9be47 fix: reencrypt 2024-06-29 15:09:06 +02:00
Levent DEMIR
a2c4049562 chore: fix ebytes test + Erc20 2024-06-27 17:20:23 +02:00
Joseph-André Turk
aeefe9ffb6 chore: updated fhevmjs 2024-06-27 12:33:07 +02:00
Petar Ivanov
d1d41843c1 feat: add support for list-based inputs
More info: https://github.com/zama-ai/fhevm-go/pull/120

API changes will be described in the documentation.

More tests and examples are to be done in a future commit.
2024-06-18 12:45:12 +03:00
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
Clément 'birdy' Danjou
dc18f050e0 feat: add 64bits support 2024-02-09 10:04:55 +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
297c5a563f Added name and symbol parameters in constructor of EncryptedERC20 and CompliantERC20 2024-01-11 16:59:24 +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
8b9b723615 feat() Add error handling on ERC20 2023-11-20 15:10:08 +01: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
Clément 'birdy' Danjou
0dcf96e0c1 test() add utils to test with signers 2023-08-31 15:41:19 +02:00
Clément 'birdy' Danjou
fedd2f952c chore: update prettier conf and update code style 2023-07-28 16:31:23 +02:00
Clément 'birdy' Danjou
d7ab5c3db2 feat() add hardhat test and template 2023-07-27 17:09:19 +02:00