-
Notifications
You must be signed in to change notification settings - Fork 265
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
Instrumenting solidity 0.5.x contracts with calldata keyword. #316
Comments
Same issue as here: raineorshine/solgraph#39 |
I installed solidity-parser-antlr, but my guess is I need to rebuild solidity-coverage and the documentation doesn't explain how to do this |
The developers of solidity-coverage have to rewrite parts of their code to accommodate the different output of "solidity-parser-antlr". You, as a user, can not do it without significant knowledge of the codebase |
I have the same exact error with the 'payable' keyword. Should I open a separate issue ? |
No, I found a workaround here: sc-forks/solidity-parser#18, I think it is time to fork these projects away from sc-forks |
TL;DR: https://github.com/leapdao/solidity-coverage.git#master FYI, we have the solidity-coverage and -parser now under our leapDAO umbrella. |
I am working on a release that supports solidity 0.5.1, based on the leapdao fork @pinkiebell has mentioned in #318 which should fix your issue - I would be interested in any other odd behaviour you stumbled across while trying it out. |
Fixed in |
When running solidity coverage, I am getting an error:
Line 50 is of
XXX.sol
is:If I remove the calldata keyword my code will not compile using the classical workflow, and I'd like to avoid having a specific version of my code for running solidity-coverage
The text was updated successfully, but these errors were encountered: