3 ms·
What if the comment has a bug? Which part is the legal binding, the code or the comments? Also, the Ethereum blockchain has only the compiled version of the sm
by gus_massa 8y ago
What if the comment has a bug? Which part is the legal binding, the code or the comments?
Also, the Ethereum blockchain has only the compiled version of the smart contracts that use a bytecode for a simple virtual machine. So the source code (and the comments) disappear before entering the blockchain.
[I guess you can add some comments in some dead code that is not optimized away during compilation, making the smart contract burn a small amount of additional gas each time it runs. My guess is that the current compilation just strips the comments.]