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

Doesn't check contracts in other folders #22

Open
jsdu opened this issue Mar 14, 2018 · 0 comments
Open

Doesn't check contracts in other folders #22

jsdu opened this issue Mar 14, 2018 · 0 comments

Comments

@jsdu
Copy link

jsdu commented Mar 14, 2018

I separate contracts into separate folders. Looks like imports from other folders don't work.

HeroCreation.sol:3:1: Error: Source "HeroGenerator/HeroGeneratorInterface.sol" not found: Unknown exception in read callback.
import "./../HeroGenerator/HeroGeneratorInterface.sol";
^-----------------------------------------------------^
HeroToken.sol:4:1: Error: Source "ERC721/ERC721Token.sol" not found: Unknown exception in read callback.
import "./../ERC721/ERC721Token.sol";
^-----------------------------------^
HeroData.sol:3:1: Error: Source "AdminAccessControl.sol" not found: Unknown exception in read callback.
import "./../AdminAccessControl.sol";
^-----------------------------------^
HeroData.sol:4:1: Error: Source "node_modules/zeppelin-solidity/contracts/math/SafeMath.sol" not found: Unknown exception in read callback.
import "./../../node_modules/zeppelin-solidity/contracts/math/SafeMath.sol";

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