You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 19, 2024. It is now read-only.
Version forge 0.2.0 (9dcc095 2022-06-28T00:03:46.153858156Z)
Platform Linux 5.10.114-1-MANJARO x86_64 GNU/Linux
Description
The CompilerOutput JSON that is included in the BuildInfo is causing Hardhat to crash because it is serializing the bytecode and deployedBytecode with a 0x prefix while solc does not prefix those hex strings with 0x prefixes. This difference causes the conversion from a string to buffer in hardhat to fail and subsequently crash.
If the build info files generated by foundry are present, it will crash hardhat due to this reason.
The text was updated successfully, but these errors were encountered:
The 0x prefix is so standard at this point, if solc updates then it'll break a ton of tooling so idk we might be stuck with things like this
Linking the hh issue here: NomicFoundation/hardhat#2883
Version
forge 0.2.0 (9dcc095 2022-06-28T00:03:46.153858156Z)
Platform
Linux 5.10.114-1-MANJARO x86_64 GNU/Linux
Description
The
CompilerOutput
JSON that is included in theBuildInfo
is causing Hardhat to crash because it is serializing thebytecode
anddeployedBytecode
with a0x
prefix whilesolc
does not prefix those hex strings with0x
prefixes. This difference causes the conversion from a string to buffer in hardhat to fail and subsequently crash.If the build info files generated by foundry are present, it will crash hardhat due to this reason.
The text was updated successfully, but these errors were encountered: