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
Not sure whether this is an issue that has some work around. The coverage is 0 on all contracts.
We need to use the hardhat-solpp plugin to inject addresses and other stuff at compilation.
The plugin configures solpp preprocessor so it processes the contracts sources in the contracts dir into the cache/solpp-generated-contracts and uses them when testing.
I suspect that running solpp with solidity-coverage HH plugin may remove the instrumentation solidity-coverage injects into the contracts (as reported in #715).
Is that a probable cause?
I guess that a possible workaround (that I don't know how to setup) would be making solitidy-coverage use the previously generated contracts in the cache/solpp-generated-contracts as the actual source (and disabling at the same time solpp).
Is there a way to tell solitidy-coverage to look into the generated dir for sources instead of in the contracts dir?
Thank you.
The text was updated successfully, but these errors were encountered:
Not sure whether this is an issue that has some work around. The coverage is 0 on all contracts.
We need to use the hardhat-solpp plugin to inject addresses and other stuff at compilation.
The plugin configures solpp preprocessor so it processes the contracts sources in the
contracts
dir into thecache/solpp-generated-contracts
and uses them when testing.I suspect that running solpp with
solidity-coverage HH plugin
may remove the instrumentation solidity-coverage injects into the contracts (as reported in #715).Is that a probable cause?
I guess that a possible workaround (that I don't know how to setup) would be making
solitidy-coverage
use the previously generated contracts in thecache/solpp-generated-contracts
as the actual source (and disabling at the same time solpp).Is there a way to tell
solitidy-coverage
to look into the generated dir for sources instead of in thecontracts
dir?Thank you.
The text was updated successfully, but these errors were encountered: