Skip to content

Lesson 9 Error: invalid BigNumber value (argument="value", value=undefined, code=INVALID_ARGUMENT, version=bignumber/5.7.0) #5248

Answered by alymurtazamemon
highHumann asked this question in Q&A
Discussion options

You must be logged in to vote

@highHumann In the network config settings your fee variable name is this;

raffleEntranceFee: ethers.utils.parseEther("0.01"),

but in the args, in the deploy file, it is this;

const entranceFee = networkConfig[chainId]["entranceFee"]

Also make sure other variables, you can console log the args array to see all values and verify which value is undefined.

Replies: 1 comment

Comment options

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