trufflesuite / truffle-compile

Compiler helper and artifact manager
22 stars 46 forks source link

Fix imports parsing bug for docker / native #64

Closed cgewecke closed 6 years ago

cgewecke commented 6 years ago

Overlooked this in the initial work. Solcjs has a feature we use to get import paths that's missing from the command-line compilers. Believe the simplest solution is to continue to use solcjs for this, but we'll likely need to fetch a js solc that matches the selected native version.

Think this import path collection is fast (there's a note to that effect in the code). It's not a real compilation? Need to check that out too.