3 ms·
Are the different versions of solc really that different? I saw that was mentioned as a data cleaning difficulty and it has me wondering what the changes betwee
by tyoma 6y ago
Are the different versions of solc really that different? I saw that was mentioned as a data cleaning difficulty and it has me wondering what the changes between solc revisions are like.
- 3np 6y agoVery much so. Even between minor versions, if you want to have the same behavior (which can have practical difference), you want to ensure you use the same solc version. Syntax and functionality has also been changing quite a bit between versions (at least until 0.7). Solidity is not yet 1.0.
- galapago 6y agoAn interesting amount of the contracts from the blockchain (with source code) are using ancient versions of solc. The compiler changed (e.g. improved) a lot in terms of code generation during versions 0.4 to 0.7. In short snippets of code, it does not produce wildly different results but you need to be aware of this changes when handling this kind of data.