full-blockchain-solidity-course-py icon indicating copy to clipboard operation
full-blockchain-solidity-course-py copied to clipboard

Lesson 10: code not working on the Kovan tesnet

Open kristiann57 opened this issue 2 years ago • 1 comments

Hi all,

I have successfully deployed all the code in lesson 10 (aave borrowing) however, it is not possible for me to test it on the Kovan network, every single time I try to run the code, it would get stuck, without error nor warning, it would simply not respond.

After some research, I found ut that it gets stuck when it tries to get the lending pool. for some reason I cannot get it to work.

I have uploaded the code I used here: https://github.com/kristiann57/aave_brownie

Any help would be greatly appreciated.

Many thanks

kristiann57 avatar Apr 04 '22 19:04 kristiann57

Hi @kristiann57 , same here. It looks like testnet Aave has moved to Rinkeby testnet with the v3 upgrade. I am trying to modify the code functions to adapt the v3 interfaces. Give it a try!

The error message comes from the exceptions.py script in the brownie github, specifically this function:

line 79: def __init__(self, exc: ValueError) -> None: which prompts: if not (isinstance(exc, dict) and "message" in exc): raise ValueError(str(exc)) from None

But I don't understand exactly what's the meaning of this, or what is this function doing.

blackyinsol avatar Apr 20 '22 09:04 blackyinsol