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

Relative paths not parsed correctly #5

Open
PaulRBerg opened this issue Sep 4, 2020 · 1 comment
Open

Relative paths not parsed correctly #5

PaulRBerg opened this issue Sep 4, 2020 · 1 comment

Comments

@PaulRBerg
Copy link

PaulRBerg commented Sep 4, 2020

Take this contracts folder.

It compiles locally with buidler, but in solidifier.coina.ge, it doesn't:

An error was encountered while trying to parse your solidity code. Error details:

Error
Unable to find contract at path 'FintrollerInterface.sol'. Most likely you need to start from a different base directory when you drag your contracts in, or it is also possible that your contracts don't compile.
Error: Unable to find contract at path 'FintrollerInterface.sol'. Most likely you need to start from a different base directory when you drag your contracts in, or it is also possible that your contracts don't compile.
    at https://solidifier.coina.ge/component---src-pages-index-js-a1de72575a9d8dd31d60.js:16:31055
    at tryCatch (https://solidifier.coina.ge/app-f20ae4fd987160862351.js:2:30551)
    at Generator._invoke (https://solidifier.coina.ge/app-f20ae4fd987160862351.js:3:602)
    at Generator.prototype.<computed> [as next] (https://solidifier.coina.ge/app-f20ae4fd987160862351.js:2:30835)
    at step (https://solidifier.coina.ge/component---src-pages-index-js-a1de72575a9d8dd31d60.js:16:27930)
    at https://solidifier.coina.ge/component---src-pages-index-js-a1de72575a9d8dd31d60.js:16:28134
    at new Promise (<anonymous>)
    at https://solidifier.coina.ge/component---src-pages-index-js-a1de72575a9d8dd31d60.js:16:27849
    at https://solidifier.coina.ge/component---src-pages-index-js-a1de72575a9d8dd31d60.js:17:1008
    at https://solidifier.coina.ge/component---src-pages-index-js-a1de72575a9d8dd31d60.js:17:475

This usually means you have invalid syntax that solc would not be able to compile. Correct any syntax errors and try again.

I suspect that the issue has to do with not detecting the relative paths correctly.

@thekevinbrown
Copy link
Member

Fair enough. We've actually moved to Buidler and/or Lamington ourselves, so my first suggestion would be to focus there. I'll queue up a task to deprecate this project and note that that's the case on the repo.

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

2 participants