Misleading error message when compiling dependant of skipped contract #672
Labels
compiler 📟
Issues specific to compiling
needs triage ♟️
Issue needs to be picked up or assigned
p3 🔵
Indicates low priority item
When you avoid a contract to compile that is too large for zksolc that is used by other contract (inherits from it) the compilation fails but the error is confusing for the user. The error will say that it could not compile the parent contract which you already excluded. We should aim to improve the error message and/or also exclude all dependant contracts from compilation.
→ Example
contract AaveV3Ethereum_LlamariskRiskProvider_20240421_Test is ProtocolV3TestBase
this contract will fail its compilation but the error would say that the compiler could not compile
ProtocolV3TestBase
which the user was avoiding in the first place already.The text was updated successfully, but these errors were encountered: