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

solc. finished with non-zero exit value 1 #25

Open
ivica7 opened this issue Jul 23, 2020 · 0 comments
Open

solc. finished with non-zero exit value 1 #25

ivica7 opened this issue Jul 23, 2020 · 0 comments
Assignees
Labels

Comments

@ivica7
Copy link

ivica7 commented Jul 23, 2020

I am using this sample app to experiment with my own contracts. My own contracts require solidity compiler 0.5.0+, so I've changed the gradle file to set the solidty version correspondingly.

pragma solidity ^0.5.0;
contract XXX {...}

web3j {
    ...
    solidity {
        version = '0.5.0'
    }
}

When I start the gradle build I always get the following error:
Execution failed for task ':compileSolidity'.

Process 'command '/var/folders/4d/rwvvzqh10nx5x9qg3yw8jsz00000gn/T/solc/solc'' finished with non-zero exit value 1

If I set pragma to
pragma solidity ^0.4.0;

it works. It seems to me the build process is not respecting the solidity version set.

@xaviarias xaviarias self-assigned this Jul 27, 2020
@xaviarias xaviarias added the bug label Jul 27, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants