Issue 5544 - Tessera as internal process#5968
Issue 5544 - Tessera as internal process#5968gtebrean wants to merge 47 commits intobesu-eth:mainfrom
Conversation
Signed-off-by: George Tebrean <george@web3labs.com>
|
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
|
Hey @gtebrean - this would be a huge help in our CI simplification and testing processes. Anything you need to get this across the line? |
Hey Mat, the only thing left here is getting Tessera JVM started properly. Last time, I encountered some issues with the ports. I've been busy with work over the past few months, but now I'm getting back to this. |
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
|
@gtebrean it's failing locally for me because the tessera tar file doesn't exist at this location |
| */ | ||
|
|
||
| dependencies { | ||
| tessera 'net.consensys.quorum.tessera:tessera-dist:23.4.0@tar' |
There was a problem hiding this comment.
can this dependency go in versions.gradle instead
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
macfarla
left a comment
There was a problem hiding this comment.
also should be able to delete the testcontainers dependency
dependency 'org.testcontainers:testcontainers:1.19.3'
Signed-off-by: Sally MacFarlane <macfarla.github@gmail.com>
|
@gtebrean I played around with circle CI config for the privacy ATs task today to see if I could make it more efficient - most recent run worked but took 43 min which isn't really feasible so I changed it back |
Signed-off-by: George Tebrean <george@web3labs.com>
|
@macfarla I tried to address the tx pool issue that we are facing, in the last commit. I followed the approach which was adopted in #6384 but I update it for the privacy node use case creating a new PrivateSyncCondition, using the PrivConditios. However the issue still persists locally and in github pipeline. Could you please look at my last commit? As I haven't interacted that much with synchronisation, maybe I missed something. |
|
I think your latest commit fixes the "Transaction pool not enabled" issue. (could you push commit this as a separate PR - I think we can merge that ahead of this one to fix the nightly). This PR though still has the occasional "Tessera did not start" which seems to be flaky for a different reason. |
|
Also - unit test failures is files missing headers
|
|
@gtebrean for me it's still missing the part that will download the tessera dependency and install it into the build dir |
Signed-off-by: George Tebrean <george@web3labs.com>
|
@macfarla please mention in here the tasks you are trying to run to check exactly, in my case the tessera is added to the build folder. |
Signed-off-by: George Tebrean <george@web3labs.com>
Signed-off-by: George Tebrean <george@web3labs.com>
|
@gtebrean I think we can close this PR, you have other methods to test privacy right, and we aren't going to spend time trying to get this working again with Tessera within Besu. |
PR description
The key changes are in the TesseraInternalProcessTestHarness class. This starts Tessera nodes as processes.
For unzziping Tessera I created a gradle task.
Also got inspired from #4466
Fixed Issue(s)
Fixes #5544