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

unrecognised option '--ast' #42

Open
HosseinAsadi opened this issue Jan 28, 2022 · 0 comments
Open

unrecognised option '--ast' #42

HosseinAsadi opened this issue Jan 28, 2022 · 0 comments

Comments

@HosseinAsadi
Copy link

Hi
after run this command
solidity_flattener contracts/MyNFT.sol


unrecognised option '--ast'
Traceback (most recent call last):
File "/usr/local/bin/solidity_flattener", line 4, in
flattener.core.main()
File "/usr/local/lib/python3.9/site-packages/flattener/core.py", line 97, in main
solc_proc.check_returncode()
File "/usr/local/Cellar/[email protected]/3.9.9/Frameworks/Python.framework/Versions/3.9/lib/python3.9/subprocess.py", line 460, in check_returncode
raise CalledProcessError(self.returncode, self.args, self.stdout,
subprocess.CalledProcessError: Command '['solc', '--ast', 'contracts/MyNFT.sol']' returned non-zero exit status 1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant