(default settings without u instrumentation in all steps) than all tests will be finished success. But If I remove "gvif" step (inliner optimization) then I will have error:
NomicLabsHardhatPluginError: The contract <contract_name> is missing links for the following libraries: @openzeppelin/contracts/utils/math/Math.sol:Math
Repo/branch:
https://github.com/1inch/farming/tree/feature/enable_viaIR
Version of Hardhat
2.13.0
What happened?
Solidity-coverage has broken inliner optimization. When I run coverage with optimizerSteps:
(default settings without u instrumentation in all steps) than all tests will be finished success. But If I remove "gvif" step (inliner optimization) then I will have error:
NomicLabsHardhatPluginError: The contract <contract_name> is missing links for the following libraries: @openzeppelin/contracts/utils/math/Math.sol:Math
Repo/branch: https://github.com/1inch/farming/tree/feature/enable_viaIRSame my issue into ethereum/solidity
Minimal reproduction steps
Search terms
viaIR, inliner, link library