News for hackers. Stuff that matters.
Re:Efficient smart contract security audits with machine lea... by tyoma on Friday October 23, 2020 @01:52PM (#24872044)
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.
Re:Efficient smart contract security audits with machine lea... by 3np on Friday October 23, 2020 @02:02PM (#24872137)
Very 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.

Re:Efficient smart contract security audits with machine lea... by galapago on Friday October 23, 2020 @02:12PM (#24872212)
An 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.