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

[EVM] Fix wrapped tracer panic #6293

Closed
wants to merge 2 commits into from
Closed

Conversation

sideninja
Copy link
Contributor

This fixes panics that occurred when checking if the tracer has hooks set, since a wrapped tracer was provided all hooks were set, but internally in the wrapped tracer we didn't check again so if the source tracer didn't set them (which call tracer doesn't) it panicked.

@sideninja sideninja self-assigned this Aug 5, 2024
@codecov-commenter
Copy link

codecov-commenter commented Aug 5, 2024

Codecov Report

Attention: Patch coverage is 57.14286% with 6 lines in your changes missing coverage. Please review.

Project coverage is 41.49%. Comparing base (c5b9e46) to head (d4d63ce).

Files Patch % Lines
fvm/evm/debug/tracer.go 57.14% 6 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master    #6293      +/-   ##
==========================================
+ Coverage   41.46%   41.49%   +0.02%     
==========================================
  Files        2009     2009              
  Lines      143025   143032       +7     
==========================================
+ Hits        59311    59345      +34     
+ Misses      77540    77516      -24     
+ Partials     6174     6171       -3     
Flag Coverage Δ
unittests 41.49% <57.14%> (+0.02%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

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

@sideninja sideninja enabled auto-merge August 6, 2024 16:33
@ramtinms
Copy link
Contributor

closing this one since #6327 covers similar changes

@ramtinms ramtinms closed this Aug 13, 2024
auto-merge was automatically disabled August 13, 2024 16:34

Pull request was closed

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

Successfully merging this pull request may close these issues.

4 participants