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

Fix webpack replacement of 'scrypt' with 'js-scrypt'. #426

Merged
merged 1 commit into from
Jun 10, 2019
Merged

Fix webpack replacement of 'scrypt' with 'js-scrypt'. #426

merged 1 commit into from
Jun 10, 2019

Conversation

markspanbroek
Copy link
Contributor

Fixes #297.
Provides a workaround for #425.

The webpack code that replaced 'scrypt' with its javascript-only equivalent 'js-scrypt' didn't work because of two reasons that are corrected in this pull request:

  1. js-scrypt was not installed
  2. the dependency path has changed to web3#web3-eth#web3-eth-accounts#scrypt.js#scrypt

package.json Outdated Show resolved Hide resolved
@davidmurdoch
Copy link
Member

Thanks for this! Now I wonder how our tests have been passing as we test the built library before releasing.

@markspanbroek
Copy link
Contributor Author

I just pushed some changes; js-scrypt is in devDependencies now, and pinned to 0.2.0.

It looks as though the Travis CI builds for the develop branch have not been successful since Node 12 came out.

@davidmurdoch davidmurdoch merged commit 6190dd1 into trufflesuite:develop Jun 10, 2019
tcichowicz pushed a commit to tcichowicz/ganache-core that referenced this pull request Jul 3, 2019
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.

Ignore optional installs fails to find scrypt.js
2 participants