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

improvement: bump ethereumjs-wallet #424

Merged
merged 1 commit into from
May 8, 2019
Merged

improvement: bump ethereumjs-wallet #424

merged 1 commit into from
May 8, 2019

Conversation

andremedeiros
Copy link
Contributor

@andremedeiros andremedeiros commented May 7, 2019

This pull-request upgrades ethereumjs-wallet, which has upgraded the underlying dependency on scrypt.js to 0.3.0, making scrypt an optional dependency and offering a pure JS version as a fallback.

The reasoning behind this is that scrypt is problematic to install in some systems, particularly those that don't have node-gyp setup and we have seen some weird issues when installing with elevated privileges (i.e. sudo npm install -g scrypt)

This change would also require following up with bumping all dependencies on ganache-core to use the latest version too, which I can do as well.

cc. @iurimatias @michaelsbradleyjr

This pull-request upgrades `ethereumjs-wallet`, which has upgraded the underlying dependency on scrypt.js to 0.3.0, making scrypt an optional dependency and offering a pure JS version as a fallback.

The reasoning behind this is that scrypt is problematic to install in some systems, particularly those that don't have node-gyp setup and we have seen some weird issues when installing with elevated privileges (i.e. `sudo npm install -g scrypt`)

This change would also require following up with bumping all dependencies on `ganache-core` to use the latest version too, which I can do as well.
@andremedeiros
Copy link
Contributor Author

andremedeiros commented May 7, 2019

Huh, not sure if the CI failure is related to my change.

Edit: Turns out the same is happening in #419, so I'm pretty sure it's unrelated.

@davidmurdoch
Copy link
Member

This looks great! Thanks! I'll bump ganache and ganache-cli when the next ganache-core version is released. truffle will do the same shortly after that.

Thanks again!

@davidmurdoch
Copy link
Member

The CI failure is due to the transitive dependency keccakjs requiring [email protected] which doesn't build on Node 12. We are currently working to resolve this issue in the keccakjs repo.

@davidmurdoch davidmurdoch merged commit cba1666 into trufflesuite:develop May 8, 2019
@andremedeiros andremedeiros deleted the improvement/bump-ethereumjs-wallet branch May 13, 2019 13:12
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.

2 participants