Skip to content

Difference between .getContractAt || .getContract || deployments.get #6004

Answered by shikhar229169
NickoMenty asked this question in Q&A
Discussion options

You must be logged in to vote

vrfCoordinatorInstance = await ethers.getContractAt(
"VRFCoordinatorV2Mock",
vrfCoordinatorV2Address,
deployer,
)

Over here replace deployer with signer, and move the signer line up.

Replies: 2 comments 12 replies

Comment options

You must be logged in to vote
11 replies
@shikhar229169
Comment options

@NickoMenty
Comment options

@NickoMenty
Comment options

@shikhar229169
Comment options

Answer selected by NickoMenty
@NickoMenty
Comment options

Comment options

You must be logged in to vote
1 reply
@NickoMenty
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