Live data from Hacker News

Missing line in a smart contract leads to $10M hack

rekt.news

331–333 of 333 posts

Re: Missing line in a smart contract leads to $10M hack

#331
post #327

Earlier quoted context omitted.

Didn't the US government just drain the crypto accounts of some online hacker collective that ransomwared that petrol pipeline? Also the verb is "garnisheed". They're not putting parsely on it :)

> Also the verb is "garnisheed". No, its “garnish”, past-tense “garnished”. > They're not putting parsely on it :) No, but its the exact same verb, just a different sense.

No it's not, the word is garnishee

Re: Missing line in a smart contract leads to $10M hack

#332
post #331

Earlier quoted context omitted.

> Also the verb is "garnisheed". No, its “garnish”, past-tense “garnished”. > They're not putting parsely on it :) No, but its the exact same verb, just a different sense.

No it's not, the word is garnishee

“garnishee” is the noun for the person subject to the garnishment (that is, the person owing/controlling money to/of the debtor whose held funds or payments are redirected from the debtor to the creditor); the verb for imposing the garnishment is “garnish”, and in the past tense “garnished” not “garnisheed”.

https://www.law.cornell.edu/wex/garnishee

Re: Missing line in a smart contract leads to $10M hack

#333
post #251

Earlier quoted context omitted.

But is the easiest metric to guage test quality. What I’m saying is this code is probably not well tested

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.

Then the problem has zero to do with the type of testing, now does it :)
Post reply on HN