Compilation of inherited contracts fails
Closed this issue · 1 comments
osmode commented
Subject of the issue
Compilation of inherited contracts fails
Nature of the issue
When compiling complex files using option 4 of the DDASH CLI (complex defined as more than one contract in a file, or contract inheritance), each contract results in an ABI and BIN generated.
https://github.com/osmode/ddash/blob/master/deploy.sh needs to be updated to handle this.
OS: Mac OS X, High Sierra
Steps to reproduce
./dnu.sh
(choose option 4)
enter contract name: swap2
Expected behaviour
swap2.js is generated, allowing deployment of all contracts in swap.sol
Actual behaviour
each contract in the file yields a corresponding ...ddash_source_swap2_sol.abi and ...ddash_source_swap2_sol.bin file
osmode commented
Bug fixed