Unable to Solove Remappings
kaiadachi opened this issue · 0 comments
kaiadachi commented
The openzeppen-contracts library referenced by account-abstraction is out of date, so when this library is forge installed, the following error occurs due to version mismatch with openzeppen-contracts referenced in the project root The following error occurs.
failed to resolve file: "/project-root/lib/openzeppelin-contracts/token/ERC777/IERC777Recipient.sol": No such file or directory (os error 2); check configured remappings.
--> "project-root/lib/light-account/lib/account-abstraction/contracts/samples/callback/TokenCallbackHandler.sol"
The essence of the problem would be that account-abstraction is made by hardhat, so when forge installed, it resolves the remappings of the project root, not the remappings of our library.
Is there a solution to this problem?