-
Notifications
You must be signed in to change notification settings - Fork 41
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
fix: incorrect generation of Trace.java
files
#1524
fix: incorrect generation of Trace.java
files
#1524
Conversation
This removes the need to specify `className=Trace` in the `trace-files.gradle` build file, by allowing the default (which is `Trace.java`) to be used when this is not specified.
675e307
to
33c700e
Compare
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
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, just the one comment
"-o", "${project.projectDir}/src/main/java/net/consensys/linea/zktracer/module/${moduleDir.getOrElse(module.get())}" | ||
] | ||
if(className) { | ||
if(project.hasProperty("className")) { |
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.
I wonder if this would be better
if(project.hasProperty("className")) { | |
if(className.isPresent()) { |
…for-instruction-decoder
There was an issue with the groovy task
TraceFilesTask.groovy
which was not accounting correctly for modules located in subdirectories. Specifically, it wasn't generating the correct Java package name.