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

Sealoutput returns string #84

Closed eshelB closed 4 months ago

eshelB commented 4 months ago

Turns out fhenix.js supported this change out of the box! Hurray! (I checked the code itself, not just seeing the tests passing)

Note: this is probably a breaking change which will cause old contracts to fail. How would we handle this in mainnet? Note2: I can now see that we can go one level deeper, to the warp-drive submodule, since it converts it to bytes itself. We can save a conversion. So instead of localoracle ->(string)-> warp-drive -> (bytes) -> fheos -> (string) -> Contract we would have all of them being strings. should I do that?

monday: https://fhenix.monday.com/boards/1216577959/views/4451803/pulses/1437935348