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

Unable to solve remappings #29

Open
kaiadachi opened this issue Jan 27, 2024 · 0 comments
Open

Unable to solve remappings #29

kaiadachi opened this issue Jan 27, 2024 · 0 comments

Comments

@kaiadachi
Copy link

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?

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

1 participant