Commit Graph

30 Commits

Author SHA1 Message Date
jatZama
3173577ed6 feat: new fhevm-core-contracts pre-release 2025-01-08 17:06:44 +01:00
jatZama
87c9c4bd81 feat: new DecryptionOracle contract 2024-12-27 02:13:41 +01:00
jatZama
e9b1dea748 feat: updated to new core contracts prerelease
chore: applied review
2024-12-23 18:17:31 +01:00
jatZama
b6296348e8 0.6.0-6
chore: stop using defaultGatewayAddress

docs: fix typo in doc
2024-12-03 17:05:27 +01:00
jatZama
4b1b1d3310 feat: update fhevm-core-contracts to newest pre-release 2024-12-02 21:52:45 +01:00
jatZama
3a5f5b87ef feat: added scripts for reading and removing signers
chore: add comment for new command

chore: typo
2024-11-28 14:39:36 +01:00
Joseph-André Turk
552fa63293 feat: refactor importing fhevm-core-contracts 2024-10-25 18:15:28 +02:00
Joseph-André Turk
a7dc2c86c6 feat: tfhe-executor events variant with faster mock 2024-10-23 17:20:05 +02:00
Joseph-André Turk
525d498179 feat: useAddress optional parameters for deployment, gateway deployer is owner 2024-10-07 12:43:32 +02:00
Joseph-André Turk
be852a3b5f chore: removed file copying need for InputVerifier deployment 2024-10-07 11:30:35 +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
a00fc344fe feat: added InputVerifier contract with tests and mock
chore: fixed coverage
2024-09-19 04:32:49 +02:00
Joseph-André Turk
c1a8df6e18 test: added tests for kmsverifier 2024-09-13 16:54:45 +02:00
Joseph-André Turk
4eeb0d22e5 feat: added kms signature in mocked mode
chore: fixed typo
2024-09-13 11:41:40 +02:00
Joseph-André Turk
a2786b4364 feat: made all fhevm contracts UUPS
chore: fixed prettier

fix: typo in address starting with 0

fix: get correct value of counter when doing snapshot
2024-09-12 15:42:48 +02:00
Joseph-André Turk
ce34ad5fd6 feat: fhe-payment v0 2024-08-27 19:35:28 +02:00
Joseph-André Turk
a13cb753e9 feat: symbolic computation of fhe operations handles
chore: fixed typo
2024-08-23 18:22:31 +02:00
Petar Ivanov
68ea71ac70 feat: update with latest Solidity implementation
There are a number of tests that are still not rewritten with the new
APIs. The EncryptedERC20 and Rand examples do work.
2024-06-21 08:05:05 +03: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
Joseph-André Turk
69464f8b29 feat: added mocked oracle and automated predeploy deployment
fix: typo .env.example

fix: ci tests

fix: ci test

fix: removed ciphertext verification in oracle

fix: typo OraclePredeploy

fix: gaslimit

fix: bigger ci machine

fix: bigger ci machine

fix: increased ci sleep time

fix: longer sleep for ci

fix: longer sleep

fix: longer sleep

fix: change sleeping times

fix: simplest test

fix: ci

fix: add compile

ci: show logs/errs of different services

fix: test

fix: typo
2024-03-20 10:41:27 +01:00
Joseph-André Turk
b10c4d0958 feat: added automatic deployment of predeploy when testing
fix: moved oracle repo

fix: typo

fix: added compile subtask

fix: faucet for fhevm
2024-03-15 12:56:54 +01:00
Joseph-André Turk
8666f2ef49 chore: converted ts scripts to tasks 2024-03-13 18:01:29 +01:00
Clément 'birdy' Danjou
9f4cc41739 chore: use task instead of custom script 2024-03-13 17:07:25 +01:00
Joseph-André Turk
6faf13648d Fixed tasks and readme 2024-01-18 15:17:44 +01:00
Clément 'birdy' Danjou
63c0dfc943 chore() Add task to play with identity contract 2023-11-13 16:25:13 +01:00
Clément 'birdy' Danjou
ffc8b4de6a feat() add deploy task 2023-11-13 12:57:06 +01: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