Re:Missing line in a smart contract leads to $10M hack
by NateEag on Sunday May 16, 2021 @10:00PM
(#27179334)
100% code coverage isn't even close to a guarantee of correctness.
[ Parent
| on HN ]
Re:Missing line in a smart contract leads to $10M hack
by o-__-o on Sunday May 16, 2021 @11:03PM
(#27179684)
But is the easiest metric to guage test quality. What I’m saying is this code is probably not well tested
Re:Missing line in a smart contract leads to $10M hack
by dr_zoidberg on Monday May 17, 2021 @06:29AM
(#27181956)
This code isn't tested at all. They messed up copying code from a previous implementation, that's how bad this is. If they had had a few basic tests in place they would've spotted this before it even had a chance to be a problem.