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 18, 2022. It is now read-only.
Describe the bug
The following error is thrown when compiling libraries:
OVM Compiler Error (insert "// @unsupported: ovm" if you don't want this file to be compiled for the OVM):
InternalCompilerError: Assembly exception for bytecode
Error HH600: Compilation failed
To Reproduce
Steps to reproduce the behavior:
Library contract to compile:
library TestLibrary {
function returnBool() internal pure returns (bool) {
return true;
}
}
Describe the bug
The following error is thrown when compiling libraries:
To Reproduce
Steps to reproduce the behavior:
hardhat compile --network optimism --show-stack-traces
library
keyword tocontract
, it should compile correctly.Expected behavior
Libraries should compile to OVM AFAIK
System Specs:
macOS 11.4
@eth-optimism/hardhat-ovm@^0.2.2
The text was updated successfully, but these errors were encountered: