Lesson 9 : Error incorrect data lenght Big number #2939
-
Hi guys, i am having the below error message after running hh deploy. incorrect data length (argument="gasLane", value={"type":"BigNumber","hex":"0x2386f26fc10000"}, code=INVALID_ARGUMENT, version=abi/5.6.3). The previous questions on related topics are not same as my issue. Can someone help please?
01-deploy-raffle.js
thanks in advance |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Hello @Leonardll try and comment out this block of code and see if fixes your issue
|
Beta Was this translation helpful? Give feedback.
-
@Leonardll Make sure these arguments are in the same order as defined in the constructor of this contract. const arguments = [
vrfCoordinatorV2Address,
subscriptionId,
networkConfig[chainId]["raffleEntranceFee"],
networkConfig[chainId]["gasLane"],
networkConfig[chainId]["callbackGasLimit"],
networkConfig[chainId]["keepersUpdateInterval"],
] |
Beta Was this translation helpful? Give feedback.
@Leonardll Make sure these arguments are in the same order as defined in the constructor of this contract.