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

Compilation stops when empty solidity file is provided #117

Open
charlescrain opened this issue Mar 6, 2020 · 0 comments
Open

Compilation stops when empty solidity file is provided #117

charlescrain opened this issue Mar 6, 2020 · 0 comments

Comments

@charlescrain
Copy link
Contributor

This is an odd case which I only found because I included a bunch of imports into a single solidity file to generate ABIs for the imports. (A hack in truffle). The following is a simple example with only 1 import but the main point is that there is no contract definition and thus no ABIs generated:

// Sample.sol
pragma solidity ^0.4.24;

import "openzeppelin-solidity/contracts/token/ERC721/IERC721.sol";

If this file is included as one of the modules in chanterelle.json, compilation will stop after it even tho it is successful.

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