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
is amm_demo up to date? First I needed to replace stuff like eth.getBalance to eth.get_balance (and others), then I am getting: Compiling the AMM demo smart contract... Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/stanoo/cairo-lang/src/demo/amm_demo/demo.py", line 241, in <module> main() File "/home/stanoo/cairo-lang/src/demo/amm_demo/demo.py", line 153, in main amm_contract = deploy_contract(prover, w3, operator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stanoo/cairo-lang/src/demo/amm_demo/demo.py", line 73, in deploy_contract subprocess.check_output(["solc", "--bin", "--abi", CONTRACT_SOURCE_PATH]) File "/usr/lib/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'solc'
is amm_demo up to date? First I needed to replace stuff like eth.getBalance to eth.get_balance (and others), then I am getting:
Compiling the AMM demo smart contract... Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/home/stanoo/cairo-lang/src/demo/amm_demo/demo.py", line 241, in <module> main() File "/home/stanoo/cairo-lang/src/demo/amm_demo/demo.py", line 153, in main amm_contract = deploy_contract(prover, w3, operator) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/home/stanoo/cairo-lang/src/demo/amm_demo/demo.py", line 73, in deploy_contract subprocess.check_output(["solc", "--bin", "--abi", CONTRACT_SOURCE_PATH]) File "/usr/lib/python3.11/subprocess.py", line 466, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 548, in run with Popen(*popenargs, **kwargs) as process: ^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3.11/subprocess.py", line 1024, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/usr/lib/python3.11/subprocess.py", line 1901, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'solc'
Any idea where might be the problem? went by instructions in https://www.cairo-lang.org/build-a-scalable-cairo-basesd-automated-market-maker/
The text was updated successfully, but these errors were encountered: