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

Update hardhat version #313

Merged
merged 2 commits into from
Jan 9, 2025
Merged

Conversation

daveroga
Copy link
Contributor

@daveroga daveroga commented Nov 8, 2024

Update hardhat version to 2.22.15 that supports now Solidity 0.8.27 and avoid message when compiling:

Solidity 0.8.27 is not fully supported yet. You can still use Hardhat, but some features, like stack traces, might not work correctly.

Learn more at https://hardhat.org/hardhat-runner/docs/reference/solidity-support

NOTE: It seems this warning message is not appearing after updating but then an error in @nomicfoundation/edr appears when running tests npm run test

thread '<unnamed>' panicked at crates/edr_napi/src/trace/exit.rs:65:41:
Unmatched EDR exceptional halt: Halt(PrecompileError)
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
fatal runtime error: failed to initiate panic, error 5
Aborted (core dumped)

Investigating. Maybe this is some bug that appeared in hardhat version because there is an issue opened in hardhat repo about this: NomicFoundation/edr#727

UPDATED: Fix in hardhat version 2.22.17.

@daveroga daveroga marked this pull request as draft November 8, 2024 08:21
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12651599475

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 83.483%

Totals Coverage Status
Change from base Build 11708523446: 0.0%
Covered Lines: 990
Relevant Lines: 1115

💛 - Coveralls

@daveroga daveroga marked this pull request as ready for review January 7, 2025 12:52
@AndriianChestnykh AndriianChestnykh merged commit 95545f9 into master Jan 9, 2025
5 checks passed
@AndriianChestnykh AndriianChestnykh deleted the fix/hardhat-update-version branch January 9, 2025 12:32
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.

3 participants