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
Increasing the amount from 1 ether (to any of 2, 5, 10 ether) in FlashloanV2.sol:89 leads to the following error:
ValueError: Gas estimation failed: 'execution reverted'. This transaction will likely revert. If you wish to broadcast, you must set the gas limit manually.
Trying to interact with the overloaded flashloan function in the run_flash_loan_v2.py script via
Increasing the amount from 1 ether (to any of 2, 5, 10 ether) in FlashloanV2.sol:89 leads to the following error:
ValueError: Gas estimation failed: 'execution reverted'. This transaction will likely revert. If you wish to broadcast, you must set the gas limit manually.
Trying to interact with the overloaded flashloan function in the
run_flash_loan_v2.py
script viatx = flashloan.flashloan([weth], [5 * 1e18], {"from": acct})
also leads to the same error. Everything works fine as long as I only flash 1 ether.
What is the correct way to increase the loan amount?
The text was updated successfully, but these errors were encountered: