63 Commits

Author SHA1 Message Date
jat
367290f93d feat: use latest core contracts, updated lib API, renamed to fhevm an… (#745)
* feat: use latest core contracts, updated lib API, renamed to fhevm and fhe

chore: add dummy addresses for CI

test: add tests for makePubliclyDecryptable method

* chore: update package-lock.json for linux

* chore: update package-lock.json

* fix: solidity comments (#746)

* chore: update oracle version

* chore: update fhevm core-contracts version

* feat: update fhevm sdk and mocked userDecrypt

* chore: fix coverage
2025-04-19 14:45:30 +02:00
ET
87417d2e43 refactor: updates lib (#717) 2025-04-10 11:42:06 +02:00
Benoit Chevallier-Mames
9dff2957e1 docs: renaming fhEVM into HTTPZ
closes #https://github.com/zama-ai/httpz-solidity/issues/734
2025-04-03 13:50:20 +02:00
aquint-zama
0d9a81bcdd ci: add actionlint and action version check 2025-02-24 16:25:07 +01:00
Aurora Poppyseed
ec8a280e3c docs: doc devex upgrade added quick start (#697)
* docs: reordering the docs to facilitate better devex

* docs: adding quick start

* docs: updating quick start

* docs: quick start added

* docs: improve the learn fundamentals

* docs: overview added

* docs: mini change to quick start

* docs: mini change to quick start

* docs: quick start update

* docs: adding changes

* docs: added missing links

* docs: mini changes to quick start

* review and updates

* docs: mini fix

* Update remix.md

* Revert "Merge branch 'main' of github.com:zama-ai/fhevm into doc-devex-upgrade"

This reverts commit 1a5e13fa9d, reversing
changes made to 0ba8ad3bf6.

* docs: remove exsiting fhevm fundamentals for now

* docs: fix broken links

* docs: fix broken links

* docs: gitbook changes

GITBOOK-7: No subject

* docs: run prettier

* docs: gitbook change

* docs: run prettier

* docs: hardhat fix steps

* docs: embed link corrected

---------

Co-authored-by: yuxizama <157474013+yuxizama@users.noreply.github.com>
Co-authored-by: Yuxi Zhao <yuxi.zhao@zama.ai>
2025-02-06 12:24:26 +01:00
jatZama
a36d2312e1 feat: updated to new fhevm-core-contracts prerelease
chore: remove obsolete variable
2025-01-22 21:45:49 +01:00
jatZama
a87d0a8395 ci: fix CI for release and prerelease 2025-01-21 00:04:44 +01:00
jatZama
e9b1dea748 feat: updated to new core contracts prerelease
chore: applied review
2024-12-23 18:17:31 +01:00
jatZama
0c6ae4d430 chore: fix workflow 2024-12-03 15:41:49 +01:00
jatZama
5551c60e17 chore: update workflow 2024-12-03 15:26:36 +01:00
Amina
53199dacbf chore(ci): cleanup deprecated workflows (#603) 2024-12-02 12:37:21 +01:00
PacificYield
f98251deb2 refactor: commitlint.config.js to ESmodule 2024-11-22 18:27:03 +01:00
0xawaz
19f3b420b0 fix: zama.fhevm version 2024-10-30 10:54:38 +01:00
0xawaz
cde6d2932c chore(ci): update push branch 2024-10-29 12:49:26 +01:00
0xawaz
1a633fb0e4 chore(ci): fix commitlint 2024-10-29 12:42:24 +01:00
0xawaz
a9c0d75fbe chore(ci): fix build platforms 2024-10-29 12:42:10 +01:00
0xawaz
825478fe98 chore(ci): update dev image 2024-10-29 12:41:51 +01:00
0xawaz
ac56dcb0b1 chore(ci): add docker workflows 2024-10-29 12:39:02 +01:00
Joseph-André Turk
665a2ac959 chore: refactored FHEPayment with custom errors
chore: removed obsolete workflow
2024-08-27 20:35:05 +02:00
Luis Montero
d658fa83b1 Merge pull request #452 from zama-ai/fd0r/chore/small_fix_handle_doc
chore: fix small typo in the documentation about re-encryption
2024-08-23 09:58:22 +02:00
Clément 'birdy' Danjou
c4c746aa30 chore: fix ci tests 2024-08-12 12:15:07 +02:00
Luis Montero
5488d3a174 chore: add config file to not crash on 429 in link checker
The markdown link checker currently fails because of 429 error code from
the fhevm documentation.

This commit allows 429 Too Many Requests to pass the link checker.
2024-07-31 13:23:36 +02:00
Clément 'birdy' Danjou
29c05c3e3f fix: force install on publish 2024-07-05 19:38:53 +02:00
Clément 'birdy' Danjou
bdeb7fa14b fix: force install of solidity comments 2024-07-05 19:35:04 +02:00
Clément 'birdy' Danjou
0bc0e5eab5 ci: force install of optional packages 2024-07-05 19:20:50 +02:00
jat
134118c77d Merge pull request #422 from zama-ai/opsTests
fix: reencrypt
2024-06-29 17:24:59 +02:00
Clément 'birdy' Danjou
e7af29bfd7 chore: fix commitlint 2024-06-29 16:50:20 +02:00
Clément 'birdy' Danjou
7774d8dd69 chore: use 18 for commitlint 2024-06-29 16:50:20 +02:00
Joseph-André Turk
5e4dd4016b fix: update CI to use node 20 2024-06-29 16:50:06 +02:00
Joseph-André Turk
241f020ed0 chore: fixed CI and removed useless args in createInstance 2024-06-29 15:31:39 +02:00
aquint-zama
fd409d732b chore: fix job permissions for slsa 2024-06-28 12:51:03 +02:00
aquint-zama
16dc1d12db chore: add SLSA provenance files 2024-06-25 17:32:32 +02:00
aquint-zama
6b2a8d6a2f chore: fix actions by commit 2024-06-18 13:46:03 +02: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
c66937a353 fix: changed name for mock ci 2024-03-05 16:56:54 +01:00
Joseph-André Turk
c95296d2b6 fix: updated mocked mode to be compatible with new types 2024-03-05 16:31:16 +01:00
Clément 'birdy' Danjou
8667b8961b fix: install commitlint properly 2024-02-27 15:44:02 +01:00
Clément 'birdy' Danjou
0862e2f48a chore: fix instance for main tests 2024-02-20 01:09:13 +01:00
Clément 'birdy' Danjou
cc600fae9e chore: add missing tag 2024-02-16 10:55:19 +01:00
Clément 'birdy' Danjou
92d78b857a chore: add prerelease workflow 2024-02-16 10:53:38 +01:00
Clément 'birdy' Danjou
b68788e9df chore: use larger ubuntu instance for CI test with 64bits 2024-02-09 14:41:06 +01:00
aquint-zama
b0fd8c58cd ci: add commitlint 2024-01-31 15:27:17 +01:00
Levent Demir
6380fa4c3f ci: use inband to avoid parallelism because ci is monothread 2023-10-05 14:32:45 +02:00
Levent Demir
0b9043562c ci: accounts faucet is automatically handled in tests (no longer need to call faucet manually on premise) 2023-10-05 14:32:45 +02:00
Clément 'birdy' Danjou
63c5374d8e ci() add prettier check 2023-10-03 11:36:19 +02:00
Clément 'birdy' Danjou
f1bd3c123c fix() make parallel default 2023-10-01 03:12:13 +02:00
Clément 'birdy' Danjou
6cf861bee6 fix() remove faucet call 2023-09-30 23:28:01 +02:00
Clément 'birdy' Danjou
551d7feb82 fix() fix command to test in parallel 2023-09-30 23:27:17 +02:00