TransWikia.com

Error whilst running solidity with python(py-solc)

Ethereum Asked by Tabz on December 13, 2021

I have been running my code which involves deployment of smart contract to Ethereum Ropsten network. I ran this successfully for some time but last week did installed another software after which started getting these errors:

command: solc --combined-json abi,asm,ast,bin,bin-runtime,clone-bin,devdoc,interface,opcodes,userdoc
return code: 1
stderr:
stdout:
Invalid option to --combined-json: clone-bin

EDIT I’m running this on Jupyter notebook where environmental variable for python3.6 is set up. I have no clue why I’m getting them. Anyone can help?

One Answer

Latest version of solc has removed few options.

The --clone-bin and --combined-json clone-bin command line options were removed.

https://solidity.readthedocs.io/en/latest/050-breaking-changes.html

You can downgrade the version if this functionality is required.

Answered by Shamit Verma on December 13, 2021

Add your own answers!

Ask a Question

Get help from others!

© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP