Skip to content

aave_borrow.py - self._accounts[key] - list index out of range #378

Answered by cromewar
8bcb asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @asiaziola it seems your get account is returning accounts[0] meaning that it will use the accounts from ganache-cli, but if you are deploying to kovan you would use your account "from_key", make sure kovan is not on LOCAL_ENVIRONMENTS or LOCAL_FORK_ENVIRONMENTS.

Additionally please copy and paste your deploy script here so we can check it.

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Answer selected by 8bcb
Comment options

You must be logged in to vote
3 replies
@cromewar
Comment options

@8bcb
Comment options

@cromewar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants