Closed muellerberndt closed 5 years ago
Compilation fails for contracts that don't contain "pragma solidity". For example:
contract Suicide { function kill(address payable addr) public { if (addr == address(0x0)) { selfdestruct(addr); } } }
$ mythos analyze suicide.sol Suicide Reading contract suicide.sol... done Downloading Solidity version undefined Error retrieving binary: Not Found Compiling contract suicide.sol... failed
Use the latest solc if not version is explicitly specified.
@b-mueller -- This should be fixed in my PR #25 :)
Fixed in 0.5.0
Compilation fails for contracts that don't contain "pragma solidity". For example:
Expected behavior
Use the latest solc if not version is explicitly specified.