Skip to content

Error: invalid contract address or ENS name (argument="addressOrName", value=undefined, code=INVALID_ARGUMENT, version=contracts/5.7.0) #5192

Discussion options

You must be logged in to vote

@mshahzadmalik1995 Console log the args you pass to deploy function, it looks like a value in this list is undefined console log to check which one is undefined.

If you feel difficulty then please leave your repo link so I can test it locally.

Replies: 2 comments 7 replies

Comment options

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

@mshahzadmalik1995
Comment options

@0xtdey
Comment options

@DhiveshKumar
Comment options

@deepeshrai37
Comment options

Answer selected by mshahzadmalik1995
Comment options

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