Closed ryardley closed 1 month ago
@hmzakhalid, how are we handling this for the RiscZero prototype?
Are you just decoding the FHE params from the e3PragramParams
emitted in the Encalve.e3Requested()
event?
Wondering how best to generalize this.
What I'm thinking is that perhaps we add an extra parameter to that event to define which encryption scheme is being used. This way, we can concretely know how to decode the e3ProgramParams
based on which encryption scheme was selected, and we can just always assume that the FHE params are encoded at the start of the E3PragramParams
.
Had a first crack at this in #101
@hmzakhalid, how are we handling this for the RiscZero prototype? Are you just decoding the FHE params from the
e3PragramParams
emitted in theEncalve.e3Requested()
event?
Yes I'm using the params emitted by e3Requested()
and passing that onto the Risc0 guest code.
This has been closed by https://github.com/gnosisguild/enclave/pull/117 and https://github.com/gnosisguild/enclave/pull/119
In the Ciphernode Poc the CommitteeSelected event looks like the following:
We can get away with hard coding for demo but should try to aim for parity with evm.