Skip to content

Stucked in lesson 9 for 3 days, cannot run staging tests successfully via Sepolia network #5556

Answered by aaankeet
mjviana asked this question in Q&A
Discussion options

You must be logged in to vote

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

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@mjviana
Comment options

@aaankeet
Comment options

Answer selected by mjviana
@mjviana
Comment options

@juliancabmar
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants