Skip to content

Incompatible with Typechain #9

Closed
@ItsNickBarry

Description

@ItsNickBarry

I am getting this error when using this plugin in combination with @hardhat/typechain:

Error: EEXIST: file already exists, mkdir '/home/nickbarry/workspace/abdk-math-utils/contracts-exposed/Contract.sol'

It's fixed by setting a different prefix in the exposed config, such as x or _.

This may be a typechain issue (in fact, the stack trace points to typechain files), but I couldn't reproduce with typechain alone by adding the $ character to contract names. Need to better understand the context before reporting to them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions