Skip to content

Lesson 7: fundme.test.js Error: Require a signer #1960

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

You must be logged in to vote

You forgot to add an await in this line const accounts = ethers.getSigners() As a result, you code execution proceeded without first waiting to get the list of accounts.
It should be const accounts = await ethers.getSigners()

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@tobezhanabi
Comment options

@tobezhanabi
Comment options

@othaime-en
Comment options

@tobezhanabi
Comment options

@KamalSuman
Comment options

Answer selected by tobezhanabi
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