Commit Graph

45 Commits

Author SHA1 Message Date
jatZama
b6296348e8 0.6.0-6
chore: stop using defaultGatewayAddress

docs: fix typo in doc
2024-12-03 17:05:27 +01:00
jatZama
6319bee113 chore: moved FHEVMConfig.sol to examples folder 2024-12-03 12:21:45 +01:00
jatZama
3ba5c16820 chore: fixed FHEVMConfig imports 2024-12-03 12:00:47 +01:00
Aurora Poppyseed
c6536c1618 docs: fix merge problems 2024-10-22 14:28:08 +02:00
Aurora Poppyseed
da4bcaafb6 Merge branch 'main' into example-docs 2024-10-22 14:18:35 +02:00
Joseph-André Turk
45e860d577 feat: updated TFHEExecutor to support new types
chore: eq-neq  bool support and bitwise scalar support

chore: overloads for fheEq and fheNe

fix: reverts onchain when rhs is 0 in fheDiv-fheRem

feat: added support for scalar and,or,xor

chore: cleanup codegen

feat: adds euint128 and euint256 types

chore: removes ebool fheRandBounded and adds manual tests

feat: adds new types for fheRand

feat: adds trivialEncrypt for ebytesXXX

feat: adds fheEq fheNe ifThenElse for new types

chore: rename asyncDecrypt() to initGateway()
2024-10-18 02:33:10 +02:00
Aurora Poppyseed
1217b9ad9c docs: add comments to example contracts
docs: payment-limit docs

docs: blind auction

docs: improved the comments on example contracts, use of @dev, @params and @notice

docs: readme is updated

docs: imporved readme for examples

docs: improve README

docs: prettier

docs: commit suggestions

docs: shortended readme
2024-10-14 11:29:59 +02:00
Aurora Poppyseed
176fd02f17 docs: added comments for Rand.sol, Reencrypt.sol, Regression.sol, SmartAccount.sol, TestAsyncDecrypt.sol 2024-10-04 20:50:24 +08: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
3db5e40e82 feat: support for trustless async decrypt
chore: cleanup old comment
2024-09-17 13:49:01 +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
0049e9df76 chore: move deposit function from TFHE to Payment library
chore fixed typo
2024-08-28 21:26:11 +02:00
Joseph-André Turk
ce34ad5fd6 feat: fhe-payment v0 2024-08-27 19:35:28 +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
41d3a9be47 fix: reencrypt 2024-06-29 15:09:06 +02:00
Joseph-André Turk
2a92701338 feat: unit test for ebytes256 2024-06-27 18:41:13 +02:00
Joseph-André Turk
ac86f0d588 feat: updated async decrypt and ex contracts 2024-06-27 15:16:38 +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
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
Levent DEMIR
684ca8104b chore: run prettier 2024-05-07 13:46:34 +02:00
Levent DEMIR
4c247cbd79 chore: adapt code after rebase 2024-05-07 13:46:34 +02:00
Joseph-André Turk
24268c180f feat: mocked mode compatible with new async decrypt API 2024-05-07 13:46:34 +02:00
Joseph-André Turk
3cb350906e fix: tests with fake handles 2024-05-07 13:46:34 +02:00
Joseph-André Turk
30f4200c82 feat: new async-decrypt API 2024-05-07 13:46:34 +02:00
Joseph-André Turk
1b33babb1a feat: added infinite loop test 2024-05-07 13:46:34 +02:00
Joseph-André Turk
e04f4237bb feat: mocked mode compatible with new async decrypt API 2024-05-07 13:46:34 +02:00
Joseph-André Turk
aa29609882 fix: tests with fake handles 2024-05-07 13:46:34 +02:00
Joseph-André Turk
4d72685672 feat: new async-decrypt API 2024-05-07 13:46:34 +02:00
Joseph-André Turk
6fadf84f5f test: with duplicates 2024-04-24 19:46:05 +02:00
Joseph-André Turk
2b0c10e094 test: multiple ciphertexts and infinite loop 2024-04-24 19:35:10 +02:00
Joseph-André Turk
799430d9dd feat: added infinite loop test 2024-04-24 12:58:55 +02:00
Joseph-André Turk
d8a44b5c58 fix: re-added no-op with unit tests for fake handles 2024-04-12 13:35:38 +02:00
Joseph-André Turk
bd9bb7a643 feat: 1day hardlimit for maxTimestamp and isExpired view func 2024-04-09 17:51:09 +02:00
Joseph-André Turk
8020ac583a fix: eaddress 2024-04-09 11:04:25 +02:00
Levent DEMIR
0e2a74866c chore: rename (E)Uint160 to (E)Address 2024-04-05 11:52:46 +02:00
Levent DEMIR
6b055cc241 chore: update asEaddress from value (cast to uint160) 2024-04-05 08:55:34 +02:00
Levent DEMIR
f9ede026c1 chore: rename uint160 to address in async test 2024-04-05 06:18:16 +02:00
Levent DEMIR
e8a70b0b69 chore: add missing part for eaddress 2024-04-05 05:52:24 +02:00
Levent DEMIR
571c0755be feat: add ability to call eaddress decrypt asynchronously 2024-04-02 15:59:12 +02:00
Joseph-André Turk
30fcdfe1b4 fix: fhevm image fixing power of 2 2024-03-27 14:43:15 +01:00
youben11
33b6290aa5 tests: add euint4 for test contract 2024-03-15 12:30:49 +01:00
Joseph-André Turk
e968f5c23e docs: added docs for async decrypt and support for euint4
fix: recomputed codehash

fix: prettier in ci mode

fix: typos

fix: typo

fix: removed old example and added ResultCallback event

fix: typos
2024-03-13 12:11:05 +01:00
youben11
bb67b541d0 test: cover the different types of values in decryption 2024-03-05 11:11:45 +01:00
Joseph-André Turk
00bb216822 feat: added the oracle contracts and library 2024-02-22 12:58:44 +01:00