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.
I am working on a project that uses foundry and I have using
forge install
imported the Lido contract from lido-dao to executesubmit
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.