-
Notifications
You must be signed in to change notification settings - Fork 68
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
docs: Add documentation for debugging transactions #2774
Conversation
Signed-off-by: Victor Yanev <[email protected]>
🚨 Memory Leak Detected 🚨A potential memory leak has been detected in the test titled Details📊 Memory Leak Detection Report 📊 GC Type: MarkSweepCompact Heap Statistics (before vs after executing the test):
Heap Space Statistics (before vs after executing the test):
RecommendationsPlease investigate the memory allocations in this test, focusing on objects that are not being properly deallocated. |
Should we use |
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.
lg, left some comments we can iterate on
…wards Remix Signed-off-by: Victor Yanev <[email protected]>
Signed-off-by: Victor Yanev <[email protected]>
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.
Very nice - and definitely needed! I feel like I could do it now.
LGTM but there are a couple of suggestions if you like.
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.
looking good
Signed-off-by: Victor Yanev <[email protected]>
Quality Gate passedIssues Measures |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2774 +/- ##
==========================================
+ Coverage 77.06% 77.86% +0.79%
==========================================
Files 40 43 +3
Lines 3266 3329 +63
Branches 683 706 +23
==========================================
+ Hits 2517 2592 +75
+ Misses 529 491 -38
- Partials 220 246 +26
Flags with carried forward coverage won't be shown. Click here to find out more. |
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.
LGTM!
Description:
This PR adds a new file
debugging-transactions.md
to provide detailed guidance on debugging transactions using Remix IDE, the Truffle CLI and how to manually call thedebug_traceTransaction
method.Changes:
debugging-transactions.md
to thedocs
directory.debug_traceTransaction
method.debug_traceTransaction
withcallTracer
andopcodeLogger
.Motivation:
The addition of this documentation aims to help developers effectively debug their smart contracts by providing comprehensive instructions and examples.
Related issue(s):
Fixes #2432
Checklist