Skip to content

Errors when running test #3256

Answered by luloxi
Benrockiee asked this question in Q&A
Oct 12, 2022 · 1 comments · 6 replies
Discussion options

You must be logged in to vote

With spideyNft = await ethers.getContractFactory("SpideyNft") you're getting the contract factory, but not an instance of the spideyNft contract. Delete that line and replace it with spideyNft = await ethers.getContract("SpideyNft") to get the instance of SpideyNft connected to your deployer's account.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Benrockiee
Comment options

@luloxi
Comment options

@Benrockiee
Comment options

@luloxi
Comment options

@Benrockiee
Comment options

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