Consensys / truffle-security

MythX smart contract security verification plugin for Truffle Framework
https://mythx.io
124 stars 28 forks source link

Handle EthPM source code via truffle-resolve ? #125

Closed rocky closed 5 years ago

rocky commented 5 years ago

In https://github.com/ConsenSys/truffle-security/pull/124 we use convertToAbsolutePath() which is basically the same thing as truffle-resolve's resolver, or maybe a less-powerful one. In fact the first two parameters probably match exaclty.

Consider replacing convertToAbsolutePath() with truffle-resolver.resolve and/or figure out how to handle EthPM (if that's what EPMSource is about).

rocky commented 5 years ago

Possibly combine with #129