Skip to content

LESSON 13: "Error: invalid address or ENS name" when running the aaveBorrow.js script #2710

Answered by othaime-en
terrytjw asked this question in Q&A
Discussion options

You must be logged in to vote

Hello @t3reetan please add () in this line in your getWeth.js script const { deployer } = await getNamedAccounts;
The line should be const { deployer } = await getNamedAccounts();

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
2 replies
@terrytjw
Comment options

@othaime-en
Comment options

Answer selected by terrytjw
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
3 participants