-
Notifications
You must be signed in to change notification settings - Fork 554
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
Unable publish source code with solidity version >= 0.8.0 #1114
Comments
I think the issue is present from 0.8.4 onward. Not sure what changed in that version, but something happened that broke everything. |
There are a lot of changes but code compiling is OK. Only source collecting is broken |
I was able to use |
…tion is failing on 0.8.4 eth-brownie/brownie#1114
It looks like it might have to do with |
Yeah |
I think this is the problem |
@iamdefinitelyahuman |
is this fixed in |
Thank you! |
ethereum/solidity#11643 (comment) Not sure if this conversation was addressed, haven't had a chance to jump into the brownie code yet. |
Environment information
brownie
Version: 1.14.6ganache-cli
Version: 0.8.4solc
Version: 0.8.4What was wrong?
Every time when I try publish multifile source on Etherscan with sol version more then 0.8.0 error is occur.
But when i just change solidity version in pragma - all is ok.
I have check in console
First.get_verification_info()
- So in case sol >= 0.8.0 function return onlyfirst file in sources.
At the same time, the deployment goes well in both cases.
Example sources are below.
pragma solidity ^0.7.4;
File 1 (First.sol)
File 2 (Second.sol)
First.get_verification_info() output
pragma solidity ^0.8.4;
File 1 (First.sol)
File 2 (Second.sol)
First.get_verification_info() output
The text was updated successfully, but these errors were encountered: