Skip to content

core/vm: introduce a tracer wrapper #32273

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

omerfirmak
Copy link
Contributor

@omerfirmak omerfirmak commented Jul 25, 2025

to clean up the callsites a little and allow compile time disabling of tracing. The generic can be bubbled up to the vm.EVM and vm.EVMInterpreter to allow traced and not-traced versions of them.

@rjl493456442
Copy link
Member

allow compile time disabling of tracing.

you mean setting the tracingEnabled to false?

to clean up the callsites a little and allow compile time
disabling of tracing.
@omerfirmak omerfirmak force-pushed the compile-time-tracer-switch branch from 340fd66 to 4297593 Compare July 28, 2025 07:07
@omerfirmak
Copy link
Contributor Author

allow compile time disabling of tracing.

you mean setting the tracingEnabled to false?

Yeap, I was meaning that. But I replaced that with a different approach that uses generics now.

@omerfirmak omerfirmak marked this pull request as ready for review July 28, 2025 13:23
@omerfirmak omerfirmak requested a review from rjl493456442 as a code owner July 28, 2025 13:23
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.

3 participants