Robsonsjre / FlashloanUsecases

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Failed transaction on Etherscan - applicable for Post byzantium blocks only

Dante9988 opened this issue · comments

My steps:
Send 3000 DAI to the contract
Executed the contract

Actual result: When executed contract, Remix shows "Gas Estimation Error" and if proceed with and sumbit the transaction, on etherescan im getting Falied transaction and TX was reverted

Screen Shot 2021-06-23 at 5 46 19 PM

Screen Shot 2021-06-23 at 5 47 20 PM

NOTE: I believe this is not a fee issue, it is related to ethereum hard fork (byzantium blocks), but still I dont quite understand why its failing

commented

Have you tried smaller amounts? Sometimes the transaction fails because AAVE pool doesn't have enough funds to lend

I resolved the issue, it was a compiler issue that had different versions, so i will close out the issue