Skip to content
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

Closes #3685 - switch websocket package to remove node-gyp #3686

Closed
wants to merge 4 commits into from

Conversation

GregTheGreek
Copy link
Contributor

@GregTheGreek GregTheGreek commented Aug 14, 2020

Description

Please include a summary of the changes and be sure to follow our Contribution Guidelines.

See #3685 for full details.

This PR switches the websocket library to a temporary fork that removes the need to compile with node-gyp 🎊. The temporary fork is being maintained by Nomic Labs as a part of a larger effort to eradicate node-gyp from ethereum.

Fixes #3685

Install stats (via github):

This PR: 106.935s
Current master: 146.577s
Difference: ~40s 👀

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist:

  • I have selected the correct base branch.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have made corresponding changes to the documentation.
  • My changes generate no new warnings.
  • Any dependent changes have been merged and published in downstream modules.
  • I ran npm run dtslint with success and extended the tests and types if necessary.
  • I ran npm run test:unit with success.
  • I ran npm run test:cov and my test cases cover all the lines and branches of the added code.
  • I ran npm run build and tested dist/web3.min.js in a browser.
  • I have tested my code on the live network.
  • I have checked the Deploy Preview and it looks correct.
  • I have updated the CHANGELOG.md file in the root folder.

@GregTheGreek GregTheGreek added Enhancement Includes improvements or optimizations 1.x 1.0 related issues labels Aug 14, 2020
@GregTheGreek
Copy link
Contributor Author

@alcuadrado Speed increases look good 👍

@alcuadrado
Copy link

The failing test seems to be a timeout when initializing a docker container that runs geth. Was this happening before? It seems unrelated to this pr's changes.

@GregTheGreek
Copy link
Contributor Author

The failing test seems to be a timeout when initializing a docker container that runs geth. Was this happening before? It seems unrelated to this pr's changes.

This is unrelated. We're looking into it. Separate issue here #3687

@GregTheGreek GregTheGreek added the On Ice Important but no longer pursued for the near future label Aug 18, 2020
@GregTheGreek
Copy link
Contributor Author

I'm going to switch to a fork that is maintained by us. See #3685 for more details

@coveralls
Copy link

Coverage Status

Coverage remained the same at 84.342% when pulling 684697e on greg/switch-ws-lib into 3ca39a7 on 1.x.

@GregTheGreek GregTheGreek removed the On Ice Important but no longer pursued for the near future label Aug 19, 2020
GregTheGreek added a commit that referenced this pull request Sep 1, 2020
@GregTheGreek GregTheGreek mentioned this pull request Sep 1, 2020
16 tasks
@GregTheGreek
Copy link
Contributor Author

Closing in favour of #3704

GregTheGreek added a commit that referenced this pull request Sep 1, 2020
* Supercedes #3686

* update changelog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.x 1.0 related issues Enhancement Includes improvements or optimizations
Projects
None yet
Development

Successfully merging this pull request may close these issues.

websocket's native dependencies
3 participants