Closed PatrickAlphaC closed 5 months ago
After trying by installing the vyper-0.4.0
branch of titanoboa, I get this error now:
Traceback (most recent call last):
File "/xxx/hi.py", line 1, in <module>
import boa
File "/xxx/venv/lib/python3.10/site-packages/boa/__init__.py", line 5, in <module>
from boa.contracts.vyper.vyper_contract import check_boa_error_matches
File "/xxx/venv/lib/python3.10/site-packages/boa/contracts/vyper/vyper_contract.py", line 45, in <module>
from boa.contracts.vyper.compiler_utils import (
File "/xxx/venv/lib/python3.10/site-packages/boa/contracts/vyper/compiler_utils.py", line 13, in <module>
from vyper.codegen.module import _globally_reachable_functions
ImportError: cannot import name '_globally_reachable_functions' from 'vyper.codegen.module' (/xxx/venv/lib/python3.10/site-packages/vyper/codegen/module.py)
should be fixed on latest vyper-0.4.0
Using the new
0.4.0b1+commit.6fb750a
edition of vyper, the following code breaks:then try to run the script with
python script_name.py
Error:
boa version: 0.1.8