-
First of all, I want to thank Patrick for the wonderful tutorials, I love it!I am having trouble with Lesson 9 Staging test. I funded enough link in the chainlink keepers and managed it to run several tests succesful, but it got stuck on performUpkeep and I don't know what is the problem and how to fix this, take a look at my deployed contract: From my point of view, keeper calls performUpkeep to check if anyone is entered etc and then it will call fulfilRandomWords to send prize to the winner and reset everything. But it got stuck after calling performUpkeep, not sure what I did wrong. if you can take a look at my screenshot below, it is stuck here... Then I deployed new contract and met the problem again, you can check at: From the new contract above, I entered the raffle with etherscan for the first time, and it made it, I got the prize back from the contract, but then I did with hardhat, here is the result, please see below.
test didn't go correctly which skips the checking balance etc, and it is ok. The worst part is I have to deploy the contract again now, because it is stuck at performUpKeep. If anyone knows the mistakes I made or have any clues please lmk, and I am not sure if this will process correctly in a later time, if so please lmk as well. Thank you! (my staging test script, just in case of needed)
My Repo: https://github.com/Astr0-G/Hardhat-Smartcontract-Lottery |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 4 replies
-
@astr0-g Hi, please check this discussion I have mentioned step by step process #1435 Hope it will help you. These days Rinkeby network is also creating many issues. You should make sure to mention the step in the above discussion (1st answer) and let me know if you still face the issues. |
Beta Was this translation helpful? Give feedback.
-
Try Goerli, as Rinkeby has been inconsistent lately. If the problem persists, let us know. |
Beta Was this translation helpful? Give feedback.
Try Goerli, as Rinkeby has been inconsistent lately. If the problem persists, let us know.