Skip to content
This repository has been archived by the owner on Aug 5, 2021. It is now read-only.

Using contracts outside of contracts folder #304

Open
elenadimitrova opened this issue Feb 13, 2020 · 5 comments
Open

Using contracts outside of contracts folder #304

elenadimitrova opened this issue Feb 13, 2020 · 5 comments
Assignees

Comments

@elenadimitrova
Copy link

In an effort to minimise the amount of contracts in the /contracts folder in argent-contract repo to help with generating coverage as discussed here we have extracted the ENS contracts in the lib folder at the same level as /contracts
This setup now returns the following error:

$ npx etherlime coverage
{ Error: contracts/ens/ArgentENSManager.sol:17:1: ParserError: Source "lib/ens/ENS.sol" not found: File import callback not supported
import "../../lib/ens/ENS.sol";
^-----------------------------^

Is there a way to deal with external contract imports from folders other than contracts

@ochikov
Copy link
Collaborator

ochikov commented Feb 13, 2020

Thank you for your issue. I am going to release the new coverage soon. In between 1-2 days.

@ochikov ochikov self-assigned this Feb 13, 2020
@elenadimitrova
Copy link
Author

Any update here?

@ochikov
Copy link
Collaborator

ochikov commented Feb 18, 2020

Hello,
I am finishing test scenarios in order to publish coverage with solidity-coverage

@elenadimitrova
Copy link
Author

This is still al problem with the new etherlime@2.3.0 how do we include the /lib folder artefacts in coverage?

@ochikov
Copy link
Collaborator

ochikov commented Feb 25, 2020

I will try to solve that issue as well.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants