Closed thewhiterabbit closed 5 years ago
Tron is not compatible with solcjs. TronBox uses a modified version of solc that is able to handle trc10 token, multisignatures, etc. and is fully compatible with the Tron TVM. Don't try to force it because, even if you can deploy a contract compiled with a different compiler, the execution of the contract itself can bring unpredictable (potentially unsafe) results.
Tron-box is not using the version of solidity compiler I have installed. Why?
UPDATE: I see that the Solidity version is explicitly set in
/packages/tron-solc/package.json
. Will changing this to 0.5.8 actually change the compiler version, or no?I have tried RTFM, to no avail...
UPDATE: Pull request submitted. If I have made an error in my thinking please tell me. I want to help. Can we add a command that will use the specified version like:
tronbox compile --version 0.5.8
?