Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Support multiple contracts in the same file #204

Closed
2 tasks
tcoulter opened this issue Jul 22, 2016 · 2 comments
Closed
2 tasks

Support multiple contracts in the same file #204

tcoulter opened this issue Jul 22, 2016 · 2 comments

Comments

@tcoulter
Copy link
Contributor

tcoulter commented Jul 22, 2016

Truffle current expects you to separate all contracts into separate files, although that's not explicitly required by Solidity. See #86. That PR is now out of date with Truffle 2.0, but we should still support the feature.

Tasks:

  • Ignore the file name and instead use the results of compilation to determine which contract abstractions (.sol.js files) to create.
  • Remove requirement that there must be a contract within the .sol file that matches the file name.
@shayanb
Copy link

shayanb commented Aug 3, 2016

+1

@tcoulter
Copy link
Contributor Author

This is done! Cheers!

gnidan added a commit that referenced this issue Dec 19, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants