Closed nachoddiaz closed 2 years ago
Hi Nacho! I think your error comes with the fact that you are passing an object instead an array to the deploy!
const args = ETHUSDPriceAddress
Try wrap it with some brackets like this
const args = [ETHUSDPriceAddress]
Why i think this? Well, the error is saying that you are passing 42 args instead of one, i suppose that when you pass an string (in this case, the price feed address) the deploy is chunk it up the string into an array with each letter (42 letters string == 42 elements array). So try that and hit me up if its resolve the problem! If you dont understand please let me know, im from Argentina as well so i can explain this to you in spanish!
Best Regards! Saludos wachin!
Sí, ahí estaba el problema. Estaba tratando cada carácter por separado. Muchas gracias compañero.
Genial! Dale de baja al problema o marcalo como respondido!
Saludos.
I am at moment 10:59:00 in the tutorial, I try tu run:
and it returns me this:
Here is my code:
01-deploy-fund-me.js
hardhat.config.js
I have spent half an hour trying to solve it, after I have searched on stack exchange but I have not found the answer. I hope you can help me. thanks.