-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Private transactions on Besu+Tessera #219
Comments
Hi @mfolnovic, A slightly incomplete, and potted history, of the off-chain EVM based private transactions might help here:
So EthConnect as it stands supports:
Very happy to see a contribution if you would like to make one @mfolnovic to reconcile this support in EthConnect further, if you prefer the Besu+Tessera option over the Quorum+Tessera option, but do not want to use the privacy group API. However, it is important that none of the existing working combinations are broken by any changes. |
fyi for anyone looking to submit Tessera style EVM off-chain transactions via FireFly APIs, you will need hyperledger/firefly#844 to be able to specify the
|
Thank you from the bottom of my heart for really detailed explanation! I had a feeling it's something about previous solutions, though I also wasn't sure how big and important https://entethalliance.org/ is.
I'm interested in creating a PR, but this was also an important feedback before I even tried. I was also aware that Firefly itself didn't support this, didn't know of hyperledger/firefly#844 so it's nice to hear that's already been worked on! This further motives me to work on this issue and plan a place for Firefly in my architecture. :) Do you think it's a good direction to add in config something like:
By default, it would be orion - so it doesn't brake any existing deployment. |
I think The firefly-ethconnect/internal/eth/send.go Line 217 in a2b26d6
Then the most appropriate config block to update is here: firefly-ethconnect/internal/tx/txnprocessor.go Lines 79 to 89 in a2b26d6
|
awesome, tnx for feedback and pointing me to right direction! 😊 |
Okay this is interesting 🙈 Looking at firefly-ethconnect/internal/tx/txnprocessor.go Lines 232 to 243 in a2b26d6
Which looked similar to what I was doing client-side. So I've tried setting OrionPrivateAPIS to true and well... it seems it works.
|
I'm running Besu, Tessera and Firefly.
When I run:
I get an error in logs:
From what I understand, private transactions should be done with
eea_sendTransaction
/eea_sendRawTransaction
:https://besu.hyperledger.org/en/stable/Reference/API-Methods/#eea_sendrawtransaction
https://docs.ethsigner.consensys.net/en/latest/Using-EthSigner/Using-EthSigner/#eea_sendtransaction
But through reading code, it seems that if I only send privateFor/privateTo without privacyGroupId, Firefly will send eth_sendTransaction instead: https://github.com/hyperledger/firefly-ethconnect/blob/main/internal/eth/send.go#L238. There's missing
jsonRPCMethod = "eea_sendTransaction"
.The text was updated successfully, but these errors were encountered: