Skip to content

LESSON 7: Error: contract runner does not support sending transactions #6420

Closed Answered by mari0-0
Neel10Singh asked this question in Q&A
Discussion options

You must be logged in to vote

Hello 👋

Just add await keyword in front of getSigners()
change your code from

const accounts = ethers.getSigners()

to

const accounts = await ethers.getSigners()

this will solve the error. Mark this discussion as answered if it worked

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Neel10Singh
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