FhenixProtocol / fheos

FheOS is a modular layer that allows the blockchain to execute encrypted computations powered by FHE
Other
16 stars 9 forks source link

Test tx #81

Closed eshelB closed 4 months ago

eshelB commented 5 months ago

This PR adds the following tests:

Note that one test fails! Maybe in caught an actual error, or maybe I did not understand something. It seems that, if we decrypt an euint, say:

uint32 a = FHE.decrypt(someEuint32);
uint32 c = a + b; // Execution reverted, cannot add with a, for some reason...

nitro: https://github.com/FhenixProtocol/nitro/pull/82 monday: https://fhenix.monday.com/boards/1216577959/views/4451803/pulses/1407336952