Closed shekohex closed 1 year ago
cc @AtelyPham @Nutomic and @salman01zp here to share your opinions.
cc @AtelyPham @Nutomic and @salman01zp here to share your opinions.
+1 vote for base64
string
I will say the relayer should compute and store the Merkle root after caching leaves and just send Merkle root to Dapp. We should have separate lightweight APIs for Dapp
I will say the relayer should compute and store the Merkle root after caching leaves and just send Merkle root to Dapp. We should have separate lightweight APIs for Dapp
The dApp does not just need the merkle roots, it also needs the leaves, so that they create a proving path of their mempership. If the dApp only needs the merkle roots, it is already stored in the smart contract!
will it be better as Hex String, since Dapp uses hex values to compute operations? @AtelyPham
Overview
Currently the relayer returns the cached leaves/encrypted outputs as a bytes array which is not optimal size-wise, for comparison:
Task Checklist