Skip to content
This repository has been archived by the owner on Mar 17, 2024. It is now read-only.

Switch to ethereum-cryptography #285

Merged
merged 1 commit into from
Apr 5, 2022
Merged

Conversation

frangio
Copy link
Contributor

@frangio frangio commented Apr 5, 2022

This package is currently using an old version of ethereumjs-util (v6 while latest is v7). This version has the downside that it uses native dependencies, which is no longer necessary with modern libraries.

This PR replaces ethereumjs-util with ethereum-cryptography.


Am I supposed to include an updated version of the mock directory?

@cgewecke
Copy link
Owner

cgewecke commented Apr 5, 2022

Am I supposed to include an updated version of the mock directory?

@frangio No don't worry about that. Thanks so much for this.

@cgewecke
Copy link
Owner

cgewecke commented Apr 5, 2022

@frangio You don't have other PRs you're sending here today do you? If not I will publish.

@cgewecke cgewecke merged commit e270a63 into cgewecke:master Apr 5, 2022
@frangio
Copy link
Contributor Author

frangio commented Apr 5, 2022

No, unless you have another suggestion for a similar change. I noticed there is also a sha1 dependency but this hash function isn't covered by ethereum-cryptography.

@frangio frangio deleted the eth-crypto branch April 5, 2022 20:01
@cgewecke
Copy link
Owner

cgewecke commented Apr 5, 2022

It looks to me like sha1 is pure js.... I think this PR is sufficient and will be a big improvement.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants