trufflesuite / truffle-core

Core code for Truffle command line tool
MIT License
92 stars 93 forks source link

Fix publish import bug #123

Closed cgewecke closed 6 years ago

cgewecke commented 6 years ago

This removes logic that tries to extract the contract names by passing contract files individually to solc for parsing. This won't work because solc requires that we pass all the sources for a file's imports as well.

We can read artifacts directly out of the build folder - should be fine since artifact collection is what happens immediately after the parsing step anyway.

Addresses truffle 699