-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
[CLI] Relative paths result in different contracts #4702
Comments
@chriseth any proposal to fix this? Should have a well defined path cleaning step? |
Yes, there is a well-defined path cleaning step, as can be seen through |
So to clarify: The issue here is not the |
Related: #4623 |
We should not just turn the arguments into absolute paths but instead remove the current working directory (or the base path, if given) from the absolute path, if it is a prefix. |
Input:
A.sol:
B.sol:
solc --metadata ./A.sol B.sol
results in:The text was updated successfully, but these errors were encountered: