Skip to content
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

Investigate if Solidity 0.5.0 will break solidity-coverage #258

Closed
cgewecke opened this issue Jul 10, 2018 · 6 comments
Closed

Investigate if Solidity 0.5.0 will break solidity-coverage #258

cgewecke opened this issue Jul 10, 2018 · 6 comments

Comments

@cgewecke
Copy link
Member

cgewecke commented Jul 10, 2018

One breaking change is the removal of the constant key from the ABI. However it looks like SC will be ok with this, here? We don't really touch the ABI directly.

@ghost
Copy link

ghost commented Nov 27, 2018

One breaking change I've found is that in interfaces, marking bytes, string, etc. variables with the required calldata location throws an error. For example, the below throws Expected ")", ",", comment, end of line, or whitespace but "v" found.:

pragma solidity ^0.5.0;

interface MyInterface {
    function myFunction(bytes calldata myBytes);
}

@cgewecke
Copy link
Member Author

Thanks @NoahHydro.

@elenadimitrova
Copy link

Breaking on the new address payable syntax as well https://circleci.com/gh/JoinColony/colonyNetwork/5422

@angus-hamill
Copy link
Contributor

sc-forks/solidity-parser#17
Opened a PR for the calldata issue here, runs successfully on my project

@maxsam4
Copy link
Contributor

maxsam4 commented Dec 27, 2018

Breaking on the new address payable syntax as well https://circleci.com/gh/JoinColony/colonyNetwork/5422

sc-forks/solidity-parser#18 This should fix it.
props to @duaraghav8 for original fix.

@cgewecke
Copy link
Member Author

Yes. It did. Fixed in 0.6.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants