Closed ddeclerck closed 3 years ago
It's not automatically the last one that is supposed to be the one generated ?
I'm not sure. Right now solc complains with the following error message :
Error: Source file contains at least two deployable contracts. Consider adding the option --contract in compiler command line to select the desired contract.
Done.
It would be nice to add support for solc --contract option. This allows to set the "main" contract when a Solidity file contains several contracts.