Fix issue where dependency graph was not complete - it only traced
downstream from provided paths
Instead, use all contracts via truffle-contract-sources to populate
the dependency graph
Possibly warning: from what I can tell, this is going to make compilation even slower (cause now it effectively compiles a whole tree of contract dependencies)
Hopefully addressing some of the
invalid number of arguments to a Solidity function
problems.Should fix tests in https://github.com/trufflesuite/truffle-core/pull/84
Refs: https://github.com/trufflesuite/truffle/issues/596 https://github.com/trufflesuite/truffle/issues/698 https://github.com/trufflesuite/truffle/issues/706 (although these may or may not be the same issue)
Fix issue where dependency graph was not complete - it only traced downstream from provided paths
Instead, use all contracts via
truffle-contract-sources
to populate the dependency graphPossibly warning: from what I can tell, this is going to make compilation even slower (cause now it effectively compiles a whole tree of contract dependencies)