3 ms·
First place winner of last year's underhanded Solidity contest used exactly this trick: https://blog.soliditylang.org/2020/12/03/solidity-underhanded-contest-wi
by kfichter 5y ago
First place winner of last year's underhanded Solidity contest used exactly this trick: https://blog.soliditylang.org/2020/12/03/solidity-underhanded-contest-winners/ https://blog.soliditylang.org/2020/12/03/solidity-underhande...
- axic 5y agoThere was related issue in 2018 regarding line endings, which would allow disguised some lines as code, but keeping them as comments: https://docs.google.com/document/d/1PZBSCBWBwd6AqWCgXqLnw8FNQ4HRurP5usrXuKuU0a0/edit#heading=h.y1dslkvhlt7h https://docs.google.com/document/d/1PZBSCBWBwd6AqWCgXqLnw8FN... Both of these were fixed in Solidity shortly after the bug reports. (P.S. I'm a member of the Solidity team)
- kfichter 5y agoThis is a great treasure trove of deep Solidity trivia. Thanks for the link!