-
Notifications
You must be signed in to change notification settings - Fork 262
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
ParserError: Could not instrument: ... extraneous input '....' expecting {';', '='} #493
Comments
@gitpusha Thanks! Your config looks fine to me...as you've seen from the other issues, problems w/ solc 0.6.x parsing is probably the cause of this. Can you share the Solidity code around the location indicated in the parser error message? This would help identify which syntax is a problem.
|
Hi @cgewecke . Thanks for helping out. Yes, indeed. Solc 0.6 still seems to break a lot of tools. Here is the source for this specific error log (although I think I also got different error logs for other .sol files before I added them to FILE: ProviderModuleGelatoUserProxy.sol Sorry I can't give you a link to the repo atm, as we are going into an audit very soon, and will only make it public after the audit (and open-source of course.) But I am happy to share any code you need as snippets here. |
@gitpusha Closing but please ping if you run into further problems... |
Hi @cgewecke ,
First of all thank you for building this amazing tool and the buidler plugin.
I am trying to use the
solidity-coverage
buidler plugin for the first time, and so far I have taken these steps to get my first coverage report for mybuidler-waffle
test suite:yarn add -D solidity-coverage@beta
usePlugin(solidity-coverage)
I also added this network entry to
buidler.config.js
, since apparentlysolidity-coverage
shouldnt be run using thebuidlerevm
network (is that correct?).Furthermore this is my
solc
config insidebuidler.config.js
and this is my
.solcover.js
config fileNow I get this error when I run
npx buidler coverage --network coverage
This is the source solidity code:
mapping(bytes32 => bool) public override isProxyExtcodehashProvided;
And all my contracts compile without errors using
npx buidler compile
.Does
solidity-coverage
work withsolc 0.6.4
compiled contracts ?I would appreciate your input on how I can get this to work, and whether any of my configs are incompatible with solidity-coverage and its buidler plugin use.
The text was updated successfully, but these errors were encountered: