-
Notifications
You must be signed in to change notification settings - Fork 269
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue insturmenting abstract contracts #378
Comments
I've now noticed other abstract contracts are instrumented with no issues, so that may not be the root cause. For reference, this is |
@nventuro Yes, it looks like it's something stemming from recent change in solidity-parser-antlr (possibly natspec related) but I'm not sure what. Am fixing it rn by pinning the parser to |
@nventuro
The test is here. Does this failure make sense because of a variance in how much gas is consumed by coverage instrumented contracts? |
That test is very gas-related, yes, but I'm surprised that the effect is so large (a 30k difference from the expected value). I'd have to look at it in some more detail. But that's fine, we can simply skip coverage on that one for now. I'll give 0.6.5 a try tomorrow and report back, thanks so much for the quick turnaround! |
Yes it looks large to me as well - the coverage client should no longer be charging for events so that difference seems weird. |
I got similar problems on It'd be great if |
@alcuadrado Yes this is definitely necessary - all the info is being lost rn. |
This fixed it, thanks! |
After upgrading to solidity-coverage 0.6.4 on the OpenZeppelin Contracts repository, I encountered the following error:
Note that
IRelayHub
is an abstract contract: there's no implementation for it on the repo, which I suspect may be related to this.The text was updated successfully, but these errors were encountered: