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

Hardhat multi-dir compile #33

Open
0xaaaaaron opened this issue Mar 25, 2024 · 1 comment
Open

Hardhat multi-dir compile #33

0xaaaaaron opened this issue Mar 25, 2024 · 1 comment

Comments

@0xaaaaaron
Copy link

0xaaaaaron commented Mar 25, 2024

I got following error when running hardhat compile --force
Types containing (nested) mappings can only be parameters or return variables of internal or library functions.

I'm not debugging deep into this because the error comes from the method I'm not using (which can be deleted from sol file),
and the method I'd like to test is not in contract-exposed sol (not sure why)

I found it could be much simpler if I provide the test sol wrapper to open visibility of the method I'd like to test, instead of having an automated tool.
But hardhat does not support multi-dir compile, this seems to be a popular feature request.
Can you consider making some changes in hardhat-exposed to support compile the sol I provide?

@frangio
Copy link
Owner

frangio commented Mar 25, 2024

Please share the Solidity code so I can debug.

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

2 participants