What is a 'reentrancy attack' in the context of smart contracts?
-
A
A bug where a contract calls itself recursively to drain funds before state updates
-
B
An attack where an outsider rewrites contract bytecode on-chain
-
C
A method to replay old transactions on a new network
-
D
A technique to front-run pending transactions in the mempool