Remix.run Logo
▲ phire a day ago

Yeah, the DAO "fix" was only viable because the funds were time-locked and they could do it without reverting any transactions.

It’s everyone’s goto example of a rollback, but it wasn’t. They simply locked the attacker’s contract, then later created a new transaction to move the funds back to the DAO.

I’ve seen smaller cryptocurrencies that attempt to rollback transactions to fix hacks, and it’s always a huge mess. It sounds like a nice clean solution, but in practice the illegitimate funds almost immediately enter the wallets of major exchanges and are quickly handed out to regular users of those exchanges, who use them all over the network.

By the time a decision for an emergency hard fork can be made, it’s too late. A huge number of perfectly legitimate transactions and wallets are contaminated.

About the only sane option (other than nothing) is to create new coins out of thin air and use them to refund wallets you are sure were hacked (and maybe lock wallets you are 100% sure are still attacker controlled). Sure, the money printing will cause inflation, but inflation is potentially better than nothing, and a whole lot better than reverting a buck of legitimate transactions.