full-blockchain-solidity-course-py
full-blockchain-solidity-course-py copied to clipboard
Lesson 10: code not working on the Kovan tesnet
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
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.