iden3 / contracts

IDEN3 smartcontracts
https://www.iden3.io
GNU General Public License v3.0
87 stars 24 forks source link

Update hardhat version #313

Open daveroga opened 3 weeks ago

daveroga commented 3 weeks ago

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: https://github.com/NomicFoundation/edr/issues/727