-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
chore(crypto): update btcec to v2 #13513
Conversation
53b5eb2
to
88fc4e2
Compare
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #13513 +/- ##
==========================================
- Coverage 53.93% 53.93% -0.01%
==========================================
Files 645 645
Lines 55681 55679 -2
==========================================
- Hits 30033 30031 -2
Misses 23223 23223
Partials 2425 2425
|
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, thank you @elias-orijtech! Kindly pinging @julienrbrt @tac0turtle and others for co-review.
Can you clarify if this is backwards compatible. |
It is backwards compatible. See tendermint/tendermint#9250 (comment) |
@elias-orijtech this change brought some good performance improvements for the cryptography benchmarks per https://dashboard.bencher.orijtech.com/benchmark/d892b345308f4a7a82222ee9e6ec1bff |
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.
utACK
@@ -122,8 +122,10 @@ github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQ | |||
github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= | |||
github.com/btcsuite/btcd v0.0.0-20190115013929-ed77733ec07d/go.mod h1:d3C0AkH6BRcvO8T0UEPu53cnw4IbV63x1bEjildYhO0= | |||
github.com/btcsuite/btcd v0.20.1-beta/go.mod h1:wVuoA8VJLEcwgqHBwHmzLRazpKxTv13Px/pDuV7OomQ= | |||
github.com/btcsuite/btcd v0.22.2 h1:vBZ+lGGd1XubpOWO67ITJpAEsICWhA0YzqkcpkgNBfo= |
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.
In the meantime we've bumped this to v0.22.2. Shouldn't we keep this version instead of reverting to v0.22.1
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.
Good catch. Done.
@tac0turtle would you like us to merge this change? Thank you. |
Similar to Tendermint's PR, tendermint/tendermint#9250 Note that crypto/ledger is not updated in this PR, because if its dependency on the R and S values being exposed by ParseDERSignature. Updates cosmos#13423 Signed-off-by: Elias Naur <[email protected]>
Seems like we need ledger to be somehow ported too: https://github.com/cosmos/cosmos-sdk/actions/runs/3594121426/jobs/6051975194 |
Similar to Tendermint's PR, tendermint/tendermint#9250 Note that crypto/ledger is not updated in this PR, because if its dependency on the R and S values being exposed by ParseDERSignature. Updates #13423 Signed-off-by: Elias Naur <[email protected]> Signed-off-by: Elias Naur <[email protected]> Co-authored-by: Marko <[email protected]>
Similar to Tendermint's PR, tendermint/tendermint#9250 Note that crypto/ledger is not updated in this PR, because if its dependency on the R and S values being exposed by ParseDERSignature. Updates cosmos#13423 Signed-off-by: Elias Naur <[email protected]> Signed-off-by: Elias Naur <[email protected]> Co-authored-by: Marko <[email protected]>
Similar to Tendermint's PR,
tendermint/tendermint#9250
Note that crypto/ledger is not updated in this PR, because if its dependency on the R and S values being exposed by ParseDERSignature.
Closes #13423
CC @odeke-em