Skip to content

Unable to solve remappings #29

@kaiadachi

Description

@kaiadachi

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions