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

v3 CI fix hardhat not loading solc on Node18 #1760

Closed
wants to merge 2 commits into from

Conversation

noisekit
Copy link
Contributor

@noisekit noisekit commented Aug 11, 2023

Update Node version to avoid hardhat silently bail with success

For context:
Hardhat randomly just silently quitting with exit code 0 when downloading solc compiler
It was an issue with NodeJS in some versions and looks like 18.16.0 is one of the affected versions (see NomicFoundation/hardhat#3877)
Using fresher (or older version of node solves it).

on 18.17.1 couple of the core-utils tests are failing, so sticking to 18.15.0 for now.

@noisekit noisekit self-assigned this Aug 11, 2023
@codecov
Copy link

codecov bot commented Aug 11, 2023

Codecov Report

Merging #1760 (563a1de) into main (fa1857c) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1760   +/-   ##
=======================================
  Coverage   72.77%   72.77%           
=======================================
  Files          57       57           
  Lines         720      720           
  Branches      236      236           
=======================================
  Hits          524      524           
  Misses        167      167           
  Partials       29       29           
Flag Coverage Δ *Carryforward flag
core-contracts 93.26% <ø> (ø) Carriedforward from ba926c1
core-modules 90.47% <ø> (ø) Carriedforward from ba926c1
core-utils 68.57% <ø> (ø)

*This pull request uses carry forward flags. Click here to find out more.

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@dbeal-eth dbeal-eth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's time we update to node 18 anyway. Maybe node 20 while we are at it

@noisekit
Copy link
Contributor Author

@dbeal-eth

It's time we update to node 18 anyway. Maybe node 20 while we are at it

Node 20 LTS will start on 2023-10-24, so 18 is the way for now

See https://nodejs.dev/en/about/releases/

@noisekit noisekit changed the base branch from main to coverage August 11, 2023 05:26
@noisekit
Copy link
Contributor Author

This probably needs hardhat upgrade because on node 18 tests are randomly getting stuck forever for no apparent reason.

Base automatically changed from coverage to main August 11, 2023 05:43
@noisekit noisekit closed this Aug 11, 2023
@noisekit noisekit deleted the node-18-fix-for-hardhat branch August 11, 2023 06:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants