-
Notifications
You must be signed in to change notification settings - Fork 775
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
Devp2p-ethereum-cryptography-dependency #1947
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ScottyPoi
added
PR state: WIP
dependencies
Pull requests that update a dependency file
package: devp2p
target: master
Work to be done towards master branch
labels
Jun 8, 2022
Codecov Report
Flags with carried forward coverage won't be shown. Click here to find out more. |
paulmillr
reviewed
Jun 11, 2022
acolytec3
force-pushed
the
devp2p-ethereum-cryptography-dependency
branch
from
June 12, 2022 02:07
9398133
to
4713cb0
Compare
paulmillr
requested changes
Jun 15, 2022
paulmillr
reviewed
Jun 15, 2022
paulmillr
reviewed
Jun 15, 2022
define Hash type based on return type
paulmillr
approved these changes
Jun 16, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
dependencies
Pull requests that update a dependency file
package: devp2p
PR state: merge ready
target: master
Work to be done towards master branch
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Resubmitting on updated master.
Fixes for #1934
Removing
secp256k1
andkeccak
dependencies in favor ofethereum-cryptography
secp256k1
removal pretty straight forward. Most of the functions were indentical.ecdh
method required some changes to the hash function to makeecdhX()
workkeccak
class used inrlpx/mac.ts
is not exposed byethereum-cryptography
ethereum-cryptography
side.Used
@noble/hashes
import for Keccak inrlpx/mac.ts
Replaced
hi-base32
dependency with@scure/base
from @paulmillr