-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot estimate gas on flash loan #51
Comments
Hey @lucarducci, thank you for your question.
|
Also with the balancer flash loan I get the 2 objects in approval and the permitData in the estimateResult. Is it normal? How can I set a manual gas limit in protocolink? |
|
It worked adding Now I get the transaction completed with no errors but I can't see the tx in the blockchain explorer, it should be here: And also I don't see the few USDC that I should have paid from my wallet. Below the full log of the result of the sendTransaction function:
|
|
I see I can get it with
If this is a standard procedure to get the gas limit it would be helpful to add this to the docs.
|
This Tenderly simulation indicates that If you are unfamiliar with how the Uniswap off-chain permit2 sign works, I recommend using |
@lucarducci Is there anything else we can help you with? And feel free to join our Discord we're here and happy to help! |
So are flash loans working? Using furucombo I noticed it just fails the transactions. Anyone know of alternative that works or have code that can be forked? |
I have the following script to request a USD flash loan on Polygon blockchain:
This is the output log:
Why is it trowing this error on gas fees?
The text was updated successfully, but these errors were encountered: