This repository has been archived by the owner on Jul 9, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 465
[sol-cov] Coverage is not working for versions ^0.5.1 of solidity #1650
Comments
Somehow sol-compiler doesn't pick up the info that the optimizer is enabled. Working on a fix |
Ok. It was caused by a breaking change in |
I am still getting issue with coverage. The coverage.json file is empty. No matter if I change the version of solidity to be 0.5.0, the file is empty. I use @PaulRBerg repository. |
This was referenced Aug 2, 2022
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Expected Behavior
The coverage report should be generated for versions 0.5.1 and above of solidity.
Current Behavior
The coverage report is blank:
If you bump the solidity version to 0.5.2, 0.5.3 or 0.5.4 (state-of-the-art as of 26th Feb 2019), nothing changes. If you revert to 0.5.0 in
truffle-config
and the contract's pragmas, everything works okay.Steps to Reproduce
Context
This has originally occurred in the AZTEC repo, in the "protocol" package on the "feat-coverage" branch, but the behaviour is exactly the same in the bug repo I created.
Your Environment
The text was updated successfully, but these errors were encountered: