125 Commits

Author SHA1 Message Date
Petar Ivanov
68471d8971 fix: correct fhevmjs version and missing deps 2024-12-05 15:48:53 +02:00
manoranjith
e673aa33ac chore: bump fhevmjs version to v0.6.0-8
- to include fixes for re-encryption tests (endianess, padding hex of
  handle with 0s when needed).
2024-11-14 12:47:13 +01:00
manoranjith
54a2b41906 chore: bump fhevmjs version 2024-11-14 12:47:13 +01:00
Levent DEMIR
9e900460a7 feat: allow create instance + update fhevmjs 2024-11-08 15:51:35 +01:00
Joseph-André Turk
ff13fbff17 chore: bump fhevmjs version 2024-10-22 17:41:59 +02:00
Joseph-André Turk
20fac875d3 chore: updated fhevmjs 2024-10-18 18:46:09 +02:00
Joseph-André Turk
f76de69a4f chore: updates fhevmjs and fhevmjsMocked to v0.6
chore: small refactor
2024-10-10 10:43:56 +02:00
Joseph-André Turk
0943a0895c feat: use fhevm deployer private key for deployment
chore: cleanup README

feat: add option to pass addresses for kms signers instead of private keys

chore: typo and cleanup in sh script
2024-10-04 16:15:57 +02:00
Joseph-André Turk
0511e4d99d chore: update hardhat-upgrades plugin 2024-09-25 14:34:30 +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
Clément 'birdy' Danjou
a9e566f60f Merge branch 'release/0.5.x' into release-merge 2024-08-12 12:24:56 +02:00
Clément 'birdy' Danjou
7664a297bd 0.5.8 2024-08-12 12:20:38 +02:00
Clément 'birdy' Danjou
0e5f9ed743 Revert "chore: remove package with optional dependencies"
This reverts commit ab876da6be.
2024-08-12 12:18:21 +02:00
Clément 'birdy' Danjou
06d16f1088 Merge branch 'release/0.5.x' into release-merge 2024-08-12 11:57:32 +02:00
Clément 'birdy' Danjou
613a8d3c0b 0.5.7 2024-08-12 11:46:58 +02:00
Clément 'birdy' Danjou
ab876da6be chore: remove package with optional dependencies 2024-08-12 11:44:49 +02:00
Clément 'birdy' Danjou
46213514d0 0.5.6 2024-08-12 11:29:47 +02:00
Joseph-André Turk
f48df75feb docs: updated mocked and coverage docs 2024-08-09 17:52:27 +02:00
Joseph-André Turk
6ba89abec9 chore: updated hardhat package 2024-08-09 13:25:33 +02:00
Joseph-André Turk
f3c17857dd 0.5.5 2024-08-07 16:09:13 +02:00
Joseph-André Turk
a301e25c7c feat: mocked async decrypt w snapshots 2024-08-07 13:50:18 +02:00
Joseph-André Turk
56dbfe0681 feat: new mocked mode 2024-08-07 00:46:38 +02:00
Joseph-André Turk
916557e999 0.5.4 2024-08-06 12:02:30 +02:00
Joseph-André Turk
7bdcde136d 0.5.3 2024-07-12 11:38:59 +02:00
Joseph-André Turk
34162ca70f chore: new version 2024-07-12 11:32:47 +02:00
Clément 'birdy' Danjou
9003f5d3ba chore: move as dev dependencies 2024-07-05 19:24:52 +02:00
Joseph-André Turk
205f7e9fda fix: kmsverifier, solidity ver and silence transient warning
chore: updated version of package

chore: updated npmignore and deleted abstracts
2024-07-05 18:50:44 +02:00
Joseph-André Turk
02f87a52ca v0.5.1 2024-07-01 14:51:22 +02:00
Joseph-André Turk
54f3bfa9e7 chore: remove check on node version in preinstall hook 2024-07-01 01:44:53 +02:00
Clément 'birdy' Danjou
e7af29bfd7 chore: fix commitlint 2024-06-29 16:50:20 +02:00
Clément 'birdy' Danjou
29fdf5c478 chore: update deps 2024-06-29 16:50:20 +02:00
Joseph-André Turk
ce1092265b chore: cleaner preinstall hook 2024-06-29 16:50:20 +02:00
Joseph-André Turk
41d3a9be47 fix: reencrypt 2024-06-29 15:09:06 +02:00
Joseph-André Turk
aeefe9ffb6 chore: updated fhevmjs 2024-06-27 12:33:07 +02:00
Clément 'birdy' Danjou
c400d7be58 0.5.0 2024-06-21 17:05:45 +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
Levent DEMIR
cb73a82beb fixture: refactoring from oracle to gateway
This PR is rebasing original fhevm repository to include last async
decrypt api.

The old oracle has been refatored to Gateway plus related changes

A fix in ACL. sol has been done.

The async decrypt test is successfully triggering an event.

The missing part to have the full test is the signatures part in
KMSVerifier.sol.

Check setup-local-fhevm.sh script to see the steps needed to have a
working configuration. Deployment is as follows:

1. Deploy ACL + write deployed @ to lib/.env.acl
2. Deploy TFHEExecutor + write deployed @ to lib/.env.exec
3. Deploy KMSVerifier + write deployed @ to lib/.env.kmsverifier
4. Deploy Gateway + write deployed @ to gateway/.env.gateway
2024-06-12 14:26:07 +02: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
e2f3f9fdca chore: 0.4.1 2024-05-29 20:29:23 +02:00
Levent DEMIR
dd6b2cfeb3 chore: bump fhevmjs 2024-04-23 15:50:09 +02:00
Clément 'birdy' Danjou
094b014c8b 0.4.0 2024-04-22 18:26:15 +02:00
Joseph-André Turk
edae7456e0 0.4.0-8 2024-04-12 14:08:26 +02:00
Joseph-André Turk
b3e25b8967 0.4.0-7 2024-04-10 09:52:25 +02:00
jat
b29c96353a Merge pull request #355 from zama-ai/prerelease/0.4.0-6
0.4.0-6
2024-04-09 15:31:51 +02:00
Joseph-André Turk
f598d7f3e5 0.4.0-6 2024-04-09 15:24:28 +02:00
Clément 'birdy' Danjou
2623b4c0bb deps: update fhevmjs 2024-04-05 17:43:02 +02:00
Levent DEMIR
2f688dc4f0 chore: bump fhevmjs 2024-04-03 16:49:06 +02:00
Joseph-André Turk
30fcdfe1b4 fix: fhevm image fixing power of 2 2024-03-27 14:43:15 +01:00
Joseph-André Turk
677138a8f3 0.4.0-5 2024-03-26 18:43:13 +01:00
Joseph-André Turk
3197180039 0.4.0-4 2024-03-26 16:25:17 +01:00