-
Notifications
You must be signed in to change notification settings - Fork 36
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
0.9.0 errata, move to tmio for tuweni dep #182
0.9.0 errata, move to tmio for tuweni dep #182
Conversation
4a86403
to
9978d1c
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.
see comment
o_len.setValue(0); | ||
} else { | ||
err_len.setValue(0); | ||
} | ||
return ret; | ||
} | ||
|
||
public int findFirstTrailingZeroIndex(byte[] array) { |
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.
this is implemented in the Utils class. I think this is not needed ...
You are even using the Utils implementation further up :-)
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.
where? would love to DRY this out, but I don't see the usage you are talking about
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.
found and removed ;). thx
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.
This implementation has no usages, and can now be removed.
gnark/src/main/java/org/hyperledger/besu/nativelib/gnark/LibGnarkEIP196.java
Outdated
Show resolved
Hide resolved
Signed-off-by: garyschulte <garyschulte@gmail.com>
…ed ECC precompiles Signed-off-by: garyschulte <garyschulte@gmail.com>
8aca5a1
to
209d3e6
Compare
Signed-off-by: garyschulte <garyschulte@gmail.com>
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.
suggest removing removed method via removal
o_len.setValue(0); | ||
} else { | ||
err_len.setValue(0); | ||
} | ||
return ret; | ||
} | ||
|
||
public int findFirstTrailingZeroIndex(byte[] array) { |
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.
This implementation has no usages, and can now be removed.
Remove tuweni as a runtime dependency for gnark-crypto, back to testImplementation dependency. Also, bump tuweni dep to tmio.
In besu we have to specifically exclude this dependency from the gnark dep to prevent conflicts with besu's version of tuweni.