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
So I have forked the repo and installed it locally to contribute to this framework with great potential for Vypers!
I wanted to contribute to this first issue #120 so that I can get a good introduction to the project, and to learn a lot from open source projects.
But I have run into an issue while running the CLI and unit tests to see if everything was alright. The following error code is one of the last ones that I have gotten while fixing, just to illustrate:
tests/cli/deployments/test_cli_deployments_write.py ...
tests/cli/deployments/test_unit_deployments_cli.py ...
tests/cli/deployments/test_unit_deployments_read.py ....
tests/cli/test_cli_compile.py ....
tests/cli/test_cli_deploy.py ..
tests/cli/test_cli_init.py ..
tests/cli/test_cli_inspect.py F
[...]
E vyper.exceptions.ModuleNotFound: PatrickAlphaC.test_repo.my_contract
E
E contract "/tmp/tmpk10ufe3e/src/MyToken.vy:5", line 5:0
E 4 from snekmate.tokens import erc20
E ---> 5 from PatrickAlphaC.test_repo import my_contract
E -------^
E 6
.venv/lib/python3.12/site-packages/vyper/semantics/analysis/module.py:869: ModuleNotFound
============================================================================================ short test summary info =============================================================================================
FAILED tests/cli/test_cli_inspect.py::test_inspect_layout_imports - vyper.exceptions.ModuleNotFound: PatrickAlphaC.test_repo.my_contract
From what I have understood of the errors, it seems that MyToken.vy had issues to find the corresponding module PatrickAlphaC.test_repo.my_contract. I have found a solution by fixing the case:
from snekmate.auth import ownable as ow
from snekmate.tokens import erc20
- from PatrickAlphaC.test_repo import my_contract+ from patrickalphac.test_repo import my_contract
I'll make a PR related to this issue to fix some errors while running just test. I did not check the integration, but I might do it later after my original intent with #120.
The text was updated successfully, but these errors were encountered:
Hey 👋
So I have forked the repo and installed it locally to contribute to this framework with great potential for Vypers!
I wanted to contribute to this first issue #120 so that I can get a good introduction to the project, and to learn a lot from open source projects.
But I have run into an issue while running the CLI and unit tests to see if everything was alright. The following error code is one of the last ones that I have gotten while fixing, just to illustrate:
From what I have understood of the errors, it seems that
MyToken.vy
had issues to find the corresponding modulePatrickAlphaC.test_repo.my_contract
. I have found a solution by fixing the case:I'll make a PR related to this issue to fix some errors while running
just test
. I did not check the integration, but I might do it later after my original intent with #120.The text was updated successfully, but these errors were encountered: