-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Remove VMTRACE option #5570
Remove VMTRACE option #5570
Conversation
Wait the option is still used in debug mode. I use it to trace step by step execution. |
Codecov Report
@@ Coverage Diff @@
## master #5570 +/- ##
==========================================
- Coverage 62.64% 62.59% -0.06%
==========================================
Files 350 350
Lines 29684 29690 +6
Branches 3344 3344
==========================================
- Hits 18597 18583 -14
- Misses 9878 9897 +19
- Partials 1209 1210 +1 |
Ok then. We will add Anyway, can we merge it now and include in 1.6.0 release to make testeth there more useful? If too big or cannot land without the mentioned flag for aleth, I will do it for 1.7. |
I would prefer not to break vmtrace in aleth in 1.6.0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This removes CMake's VMTRACE options by making --vmtrace always available to testeth. Win-Win.
works
@winsvega Can you elaborate what "works"? |
From retesteth. Evm debug from the client I propose for the future when retesteth gonna be adapted. I think @cdetrio Casey was using the trace from clients to check consensus also |
*testeth works with this change |
vmtrace in aleth is useful to debug issues with soltest, and also in case we have a consensus issue during sync. |
I don't have time to continue working on this currently, but it would be huge UX improvement to remove compile time flag. |
I will try to finish this. Not sure if we need additional |
Other modules that use logginOptions - aleth-vm has its own means of tracing and aleth-key don't need it. Correctly enable vmtrace in log setup in testeth.
Rebased. I will merge it after CI builds. |
Fixes #5565.
This removes CMake's VMTRACE options by making --vmtrace always available to testeth. Win-Win.