Implements #23 and restores intended profiler behavior. All sources are passed to solc input, but updated contracts and their 'ancestors' (e.g the contracts that inherit them) are specified as compilation targets in solc's output object.
This entailed a bit of a rewrite of the comp logic, which is both intricate and critical to truffle's normal functioning :). Warning emoji.
There is a PR with new unit tests for this at truffle. And another PR at truffle-core with changes to its tests to accommodate new behavior.
Implements #23 and restores intended profiler behavior. All sources are passed to solc input, but updated contracts and their 'ancestors' (e.g the contracts that inherit them) are specified as compilation targets in solc's output object.
This entailed a bit of a rewrite of the comp logic, which is both intricate and critical to truffle's normal functioning :). Warning emoji.
There is a PR with new unit tests for this at
truffle
. And another PR attruffle-core
with changes to its tests to accommodate new behavior.