-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Description
Component
Forge
Have you ensured that all of these are up to date?
- Foundry
- Foundryup
What version of Foundry are you on?
forge 0.2.0 (ca67d15 2023-08-02T00:16:51.291393754Z)
What command(s) is the bug in?
forge coverage --hardhat --report lcov
Operating System
Linux
Describe the bug
We found sporadically some cases that the lcov reporting from foundry did not make sense to us, since the branch should in all cases be hit, here are some examples:
-
https://app.codecov.io/gh/superfluid-finance/protocol-monorepo/blob/dev/packages%2Fethereum-contracts%2Fcontracts%2Fagreements%2FConstantFlowAgreementV1.sol#L776 (in normal non-branching code path).
-
https://app.codecov.io/gh/superfluid-finance/protocol-monorepo/blob/dev/packages%2Fethereum-contracts%2Fcontracts%2Futils%2FBatchLiquidator.sol#L67 (in normal code block)
-
https://app.codecov.io/gh/superfluid-finance/protocol-monorepo/blob/dev/packages%2Fethereum-contracts%2Fcontracts%2Futils%2FCFAv1Forwarder.sol#L411 (abi.encodeCall)
-
https://app.codecov.io/gh/superfluid-finance/protocol-monorepo/blob/dev/packages%2Fethereum-contracts%2Fcontracts%2Futils%2FIDAv1Forwarder.sol#L21 (normal code paths in a constructor)
... etc.
Is there something we could help with to give more diagnostics information about those?
Metadata
Metadata
Assignees
Labels
Type
Projects
Status