Hacker News new | ask | show | jobs
by artdigital 1584 days ago
But selfdestruct only acts on balance held in the native token, if it's balance in ERC20 it wouldn't transfer it to the target account

I still have trouble understanding how this exploit worked

1 comments

Isn't that the actual bug? That balances are kept at two places? What actually happens in SetBalance() if rcfg.UsingOVM ==true?

So... I guess what it boils down to is 'How does Optimism manage it's state trie'? I'd really enjoy a more in-depth explanation for this.