Lesson 9 => Error: invalid arrayify value (argument="value", value="", code=INVALID_ARGUMENT, version=bytes/5.7.0) #5795
Replies: 2 comments 1 reply
-
Also here is my helper-hardhat-config.js . Since we have gasLane which is a type of bytes. So maybe i made a mistake here.
|
Beta Was this translation helpful? Give feedback.
-
I've noticed while i was sharing my helper-hardhat-config.js file in here that i didn't specify the gasLane for hardhat network. In video, Patrick says "We'll mock this gasLane anyway so you can put anything here it doesn't matter". So i just put empty strings and moved on but this error occured. So i used same keyHash address that i used for Sepolia network.
It's been like me talking with myself but for those who might have same issue i wanted to explain the solution. :) |
Beta Was this translation helpful? Give feedback.
-
My deploy script and Raffle contract is located on above. I'm getting an error that says "invalid arrayify value...". I've made a research and people have already said that it's about bytes parameters. "We're passing empty string on checkUpkeep function but we need to pass empty byte data" they say but i don't understand how to do this convertion on my code. For those who know the solution i'll be really appreciated if you share with us :)
Beta Was this translation helpful? Give feedback.
All reactions