You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Thanks for the great tutorial this morning on flashloans -- the whys and hows of flashloans make much more sense. I've been experimenting locally and was looking for the contract exploit you mentioned, and I saw there is a reentrancy vulnerability. However, after some local tests it seems the gas fee to exploit the vulnerability is greater than the 0.09% bump you receive when calling arbitrage() (which is capped at 0.01 ETH). Executing a reentrancy attack once costs ~83603 gas, 10 times =~262802 gas in my tests, . Is there another method that I am missing? I am not too keen to burn all the funds on the contract in gas fees. This isn't an issue but was just wondering if I am on the right direction. Cheers!
The text was updated successfully, but these errors were encountered:
Hi Emilio,
Thanks for the great tutorial this morning on flashloans -- the whys and hows of flashloans make much more sense. I've been experimenting locally and was looking for the contract exploit you mentioned, and I saw there is a reentrancy vulnerability. However, after some local tests it seems the gas fee to exploit the vulnerability is greater than the 0.09% bump you receive when calling arbitrage() (which is capped at 0.01 ETH). Executing a reentrancy attack once costs ~83603 gas, 10 times =~262802 gas in my tests, . Is there another method that I am missing? I am not too keen to burn all the funds on the contract in gas fees. This isn't an issue but was just wondering if I am on the right direction. Cheers!
The text was updated successfully, but these errors were encountered: