Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Incompatible Solidity Version and Unresolved Import Issues with lido-dao Contract #810

Closed
0xy0ung opened this issue Nov 24, 2023 · 1 comment

Comments

@0xy0ung
Copy link

0xy0ung commented Nov 24, 2023

I am working on a project that uses foundry and I have using forge install imported the Lido contract from lido-dao to execute submit function.
However, when I use forge compile, I encounter two issues:

A 'Discovered incompatible solidity versions' error message is displayed which seems to be related to solc version 0.4.24 and 0.8.9.
An 'Unable to resolve imports' error occurs specifically for '@aragon/os/contracts/common/UnstructuredStorage.sol' in 'StETHPermit.sol'
Could you please provide some guidance on how to resolve these issues?
Thank you in advance for your help.

@0xy0ung
Copy link
Author

0xy0ung commented Nov 28, 2023

The repo uses hardhat, not foundry

@0xy0ung 0xy0ung closed this as completed Nov 28, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant