You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The Solidity compiler gets a return code 0 and prints "solcx.exceptions.SolcError: An error occurred during execution"
and then a list of command line options.
Now, if I change change the line:
return compile_source(source)
to:
return compile_source(source, output_values=['abi', 'bin'])
then it will compile and run OK.
Found this kinda by accident, I was trying to connect and deploy on Polygon Edge (no success so far) and started pulling things apart to examine each step.
The text was updated successfully, but these errors were encountered:
What was wrong?
I copy / pasted the example on https://web3py.readthedocs.io/en/stable/examples.html#deploying-new-contracts
(Exactly the steps under Contract Deployment Example)
The Solidity compiler gets a return code 0 and prints "solcx.exceptions.SolcError: An error occurred during execution"
and then a list of command line options.
Now, if I change change the line:
return compile_source(source)
to:
return compile_source(source, output_values=['abi', 'bin'])
then it will compile and run OK.
Found this kinda by accident, I was trying to connect and deploy on Polygon Edge (no success so far) and started pulling things apart to examine each step.
The text was updated successfully, but these errors were encountered: