-
`PS C:\Users\The Elphees\aave_brownie_py> brownie run scripts/aave_borrow.py AaveBrowniePyProject is the active project. Launching 'ganache-cli.cmd --accounts 10 --fork https://eth-mainnet.alchemyapi.io/v2/yuSD4lrhnilT3jifb-RJk8rLTLcFwCHv --mnemonic brownie --port 8545 --hardfork istanbul'... Running '\Users\The Elphees\aave_brownie_py\scripts\aave_borrow.py::main'... Transaction confirmed Block: 13730510 Gas used: 43738 (0.65%) Received 0.1 WETH Transaction confirmed Block: 13730511 Gas used: 43952 (0.65%) Approved! File "C:\Users\The, line line, in in |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
hello @delphee please could you share your aave_borrow.py in order to check it, also make sure the def get_lending_pool():
lending_pool_addresses_provider = interface.ILendingPoolAddressesProvider(
config["networks"][network.show_active()]["lending_pool_addresses_provider"]
)
lending_pool_address = lending_pool_addresses_provider.getLendingPool()
lending_pool = interface.ILendingPool(lending_pool_address)
return lending_pool |
Beta Was this translation helpful? Give feedback.
-
cromewar, it was a typo in my get_lending_pool(). |
Beta Was this translation helpful? Give feedback.
hello @delphee please could you share your aave_borrow.py in order to check it, also make sure the
get_lending_pool
function is like this: