Hi guys, i have a question.
Is recursive reentrancy possible when contract A sends ether to contract B via .transfer() and then Contract B call contract A again recursively (before contract A function is completed) to drain contract A balances? I have read the solidity docs and there is stated that ether sent via send() and transfer() functions can rely on 2300 gas only. I have written POC and when i call contract A recursively on ether recived in contract B, it only works for 1 iteration, if there are more than 1 iterations tx reverts.
Sep 5, 2023, 8:58 AM
What's the question ❓
Sep 5, 2023, 9:41 AM
Is recursive reentrancy possible when contract A sends ether to contract B via .transfer() and then Contract B call contract A again recursively (before contract A function is completed) to drain contract A balances?
Sep 5, 2023, 9:48 AM
At the current state of the evm .. no
Sep 5, 2023, 10:34 AM