-
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
"{" in base contract constructor parameter string confuses instumentation #478
Comments
FWIW, if I move to a pattern where the parameter is noted with the constructor, e.g.
I get the same kind of error (message cropping not entirely correct as I had to edit out our actual URL given the project will not be public for some time):
|
@KaiRo-at Thanks for reporting! Nice catch. This should be fixed by #479. We just published yesterday - it could be a week (+) before another patch is released. I think Zeppelin is migrating to solidity-coverage 0.7.x in the near term but at the moment they are using an older fork which is set up differently. There might be a bit of delay getting these changes to percolate through to your PR... |
Awesome! |
@KaiRo-at Ah! Thanks for double-checking that...I didn't look at the second example closely enough. That will probably need it's own fix... |
Published with |
I have a contract using my patches in OpenZeppelin/openzeppelin-contracts#2029 to add a URL to an ERC-1155 token, with code like this:
This compiles and works fine in general, but when running coverage, the instrumentation gets confused by the curly braces in the string and I get an error like this:
When I remove the curly braces from the string before running coverage, it works correctly.
The text was updated successfully, but these errors were encountered: