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

System library relative imports are broken for systems in a namespace #3391

Open
Kooshaba opened this issue Dec 10, 2024 · 0 comments
Open

Comments

@Kooshaba
Copy link
Contributor

sup bros

the problem i'm seeing comes from the fact that system interfaces are generated in the top-level codegen folder regardless of the namespace they are in, but system libraries are generated in namespace specific codegen folders. the same logic is used to generate relative imports in both situations, so the system library imports end up being wrong.

Branch showing failure using system lib tests: https://github.com/latticexyz/mud/tree/kooshaba/system-lib-imports

✌🏼

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

No branches or pull requests

1 participant