-
Beta Was this translation helpful? Give feedback.
Answered by
aaankeet
May 28, 2023
Replies: 1 comment 4 replies
-
@mjviana Please give your repository link. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
check your state variables if they are initialized correctly that are being used in requestRandomWords(), When you get error like you have shown in Metamask it's mostly that something is wrong in the contract and metamask is not able to estimate gas to make the transaction because something is Off.
I have also faced such issues and found out that the problem lies in the contract if all the variables are correct. then you have to figure it out yourself mate.
Hope it helps