Skip to content
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

write failed LogicSig and App TEAL trace to node.log #4953

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

brianolson
Copy link
Contributor

Summary

While debugging other changes, I wrote this to log TEAL trace (like dryrun) to node.log when LogicSig or App call fail.

enable by build:
'GOTAGSCUSTOM=debugteal make`

Test Plan

Builds cleanly with and without compiled in debug code.u

enable by build:
'GOTAGSCUSTOM=debugteal make`
@codecov
Copy link

codecov bot commented Dec 29, 2022

Codecov Report

Attention: Patch coverage is 18.18182% with 9 lines in your changes missing coverage. Please review.

Project coverage is 53.69%. Comparing base (4f1ac12) to head (7cb65a3).
Report is 819 commits behind head on master.

Files with missing lines Patch % Lines
data/transactions/verify/txn.go 20.00% 3 Missing and 1 partial ⚠️
data/transactions/logic/debugger.go 0.00% 3 Missing ⚠️
ledger/apply/application.go 33.33% 1 Missing and 1 partial ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #4953      +/-   ##
==========================================
- Coverage   53.70%   53.69%   -0.01%     
==========================================
  Files         433      433              
  Lines       54050    54061      +11     
==========================================
+ Hits        29028    29029       +1     
- Misses      22776    22784       +8     
- Partials     2246     2248       +2     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants