Skip to content

Lesson 10: issue with Aave borrowing function (Görli testnet) #1703

Answered by Nlferu
MarkizOrias asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @MarkizOrias and @cromewar,

First of all @MarkizOrias great idea for getting DAI/ETH correct price feed, that's very clever approach!

I have made some reaserches on it as I was able to test it on kovan and everything was working for me. I'm pretty sure this error pop's because of incorrect dai_address. As Patrick showed us we should take DAI address from lending pool available addresses saved in .json file as showed below:

Kovan:


Mainnet:

And here is the thing as for Goerli there is no such .json file, look below:

So the conclusion here is that we cannot borrow any assets for Goerli testnet programmatically unless Aave add .json assets file for Goerli network.

Regarding repay…

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@cromewar
Comment options

Answer selected by MarkizOrias
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants