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
{{ message }}
Repository navigation
Coverage Error: could not find anchor: no matching instruction in range #2165
This is a known issue, abstract contracts do not work right now. forge coverage is not production ready yet! Thank you for your report 😄 See #1965
The reason it works on a previous version is that the previous version used a different system to figure out what opcodes mark source ranges as covered, but that system is not super accurate.
Activity
0x0scion commentedon Jun 30, 2022
Some additional info:
same error when running
forge coveragein this example repo: https://github.com/devanonon/ERC4626Votes (from this blog post)Error is gone when reverting to a slightly earlier version of foundry - forge 0.2.0 (5385486 2022-06-27T00:03:53.397337486Z)
onbjerg commentedon Jun 30, 2022
This is a known issue, abstract contracts do not work right now.
forge coverageis not production ready yet! Thank you for your report 😄 See #1965The reason it works on a previous version is that the previous version used a different system to figure out what opcodes mark source ranges as covered, but that system is not super accurate.