Hello, I'm stuck when deploying the lottery contract to hardhat. I get past the deploying mocks stage then when I need to create subscription in order to get my subscriptionId I get the error message that createSubscription() is not a function. I have gone through my code trying to find where I made a mistake but I followed the video perfectly. Can anyone help?
Hello, I'm stuck when deploying the lottery contract to hardhat. I get past the deploying mocks stage then when I need to create subscription in order to get my subscriptionId I get the error message that createSubscription() is not a function. I have gone through my code trying to find where I made a mistake but I followed the video perfectly. Can anyone help?