Re:Ethereum is Doomed
by aakilfernandes on Monday June 20, 2016 @08:12PM
(#11942630)
> it didn't use gas
this is incorrect
Well perhaps but I read this article (http://vessenes.com/deconstructing-thedao-attack-a-brief-cod...) and it says:
"OK, here we go. _recipient.call.value()() is called without a gas amount. That is easily attackable with an attacking wallet."
Re:Ethereum is Doomed
by aakilfernandes on Monday June 20, 2016 @08:27PM
(#11942693)
Ah, that means the exact opposite ie "use as much gas as needed".
This is different from the default _recipient.send() which would be limited to 2300 gas
But that's what was wrong with the exploited DAO code - it didn't use gas. The point of the article is that it's very hard or impossible to verify the correctness of the smart contracts.